configure 702 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for Wine 5.17.
  4. #
  5. # Report bugs to <wine-devel@winehq.org>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. as_myself=
  86. case $0 in #((
  87. *[\\/]* ) as_myself=$0 ;;
  88. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  89. for as_dir in $PATH
  90. do
  91. IFS=$as_save_IFS
  92. test -z "$as_dir" && as_dir=.
  93. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  94. done
  95. IFS=$as_save_IFS
  96. ;;
  97. esac
  98. # We did not find ourselves, most probably we were run as `sh COMMAND'
  99. # in which case we are not to be found in the path.
  100. if test "x$as_myself" = x; then
  101. as_myself=$0
  102. fi
  103. if test ! -f "$as_myself"; then
  104. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  105. exit 1
  106. fi
  107. # Unset variables that we do not need and which cause bugs (e.g. in
  108. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  109. # suppresses any "Segmentation fault" message there. '((' could
  110. # trigger a bug in pdksh 5.2.14.
  111. for as_var in BASH_ENV ENV MAIL MAILPATH
  112. do eval test x\${$as_var+set} = xset \
  113. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  114. done
  115. PS1='$ '
  116. PS2='> '
  117. PS4='+ '
  118. # NLS nuisances.
  119. LC_ALL=C
  120. export LC_ALL
  121. LANGUAGE=C
  122. export LANGUAGE
  123. # CDPATH.
  124. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  125. # Use a proper internal environment variable to ensure we don't fall
  126. # into an infinite loop, continuously re-executing ourselves.
  127. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  128. _as_can_reexec=no; export _as_can_reexec;
  129. # We cannot yet assume a decent shell, so we have to provide a
  130. # neutralization value for shells without unset; and this also
  131. # works around shells that cannot unset nonexistent variables.
  132. # Preserve -v and -x to the replacement shell.
  133. BASH_ENV=/dev/null
  134. ENV=/dev/null
  135. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  136. case $- in # ((((
  137. *v*x* | *x*v* ) as_opts=-vx ;;
  138. *v* ) as_opts=-v ;;
  139. *x* ) as_opts=-x ;;
  140. * ) as_opts= ;;
  141. esac
  142. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  143. # Admittedly, this is quite paranoid, since all the known shells bail
  144. # out after a failed `exec'.
  145. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  146. as_fn_exit 255
  147. fi
  148. # We don't want this to propagate to other subprocesses.
  149. { _as_can_reexec=; unset _as_can_reexec;}
  150. if test "x$CONFIG_SHELL" = x; then
  151. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  152. emulate sh
  153. NULLCMD=:
  154. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  155. # is contrary to our usage. Disable this feature.
  156. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  157. setopt NO_GLOB_SUBST
  158. else
  159. case \`(set -o) 2>/dev/null\` in #(
  160. *posix*) :
  161. set -o posix ;; #(
  162. *) :
  163. ;;
  164. esac
  165. fi
  166. "
  167. as_required="as_fn_return () { (exit \$1); }
  168. as_fn_success () { as_fn_return 0; }
  169. as_fn_failure () { as_fn_return 1; }
  170. as_fn_ret_success () { return 0; }
  171. as_fn_ret_failure () { return 1; }
  172. exitcode=0
  173. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  174. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  175. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  176. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  177. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  178. else
  179. exitcode=1; echo positional parameters were not saved.
  180. fi
  181. test x\$exitcode = x0 || exit 1
  182. test -x / || exit 1"
  183. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  184. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  185. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  186. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  187. test \$(( 1 + 1 )) = 2 || exit 1"
  188. if (eval "$as_required") 2>/dev/null; then :
  189. as_have_required=yes
  190. else
  191. as_have_required=no
  192. fi
  193. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  194. else
  195. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  196. as_found=false
  197. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  198. do
  199. IFS=$as_save_IFS
  200. test -z "$as_dir" && as_dir=.
  201. as_found=:
  202. case $as_dir in #(
  203. /*)
  204. for as_base in sh bash ksh sh5; do
  205. # Try only shells that exist, to save several forks.
  206. as_shell=$as_dir/$as_base
  207. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  208. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  209. CONFIG_SHELL=$as_shell as_have_required=yes
  210. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  211. break 2
  212. fi
  213. fi
  214. done;;
  215. esac
  216. as_found=false
  217. done
  218. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  219. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  220. CONFIG_SHELL=$SHELL as_have_required=yes
  221. fi; }
  222. IFS=$as_save_IFS
  223. if test "x$CONFIG_SHELL" != x; then :
  224. export CONFIG_SHELL
  225. # We cannot yet assume a decent shell, so we have to provide a
  226. # neutralization value for shells without unset; and this also
  227. # works around shells that cannot unset nonexistent variables.
  228. # Preserve -v and -x to the replacement shell.
  229. BASH_ENV=/dev/null
  230. ENV=/dev/null
  231. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  232. case $- in # ((((
  233. *v*x* | *x*v* ) as_opts=-vx ;;
  234. *v* ) as_opts=-v ;;
  235. *x* ) as_opts=-x ;;
  236. * ) as_opts= ;;
  237. esac
  238. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  239. # Admittedly, this is quite paranoid, since all the known shells bail
  240. # out after a failed `exec'.
  241. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  242. exit 255
  243. fi
  244. if test x$as_have_required = xno; then :
  245. $as_echo "$0: This script requires a shell more modern than all"
  246. $as_echo "$0: the shells that I found on your system."
  247. if test x${ZSH_VERSION+set} = xset ; then
  248. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  249. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  250. else
  251. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  252. $0: wine-devel@winehq.org about your system, including any
  253. $0: error possibly output before this message. Then install
  254. $0: a modern shell, or manually run the script under such a
  255. $0: shell if you do have one."
  256. fi
  257. exit 1
  258. fi
  259. fi
  260. fi
  261. SHELL=${CONFIG_SHELL-/bin/sh}
  262. export SHELL
  263. # Unset more variables known to interfere with behavior of common tools.
  264. CLICOLOR_FORCE= GREP_OPTIONS=
  265. unset CLICOLOR_FORCE GREP_OPTIONS
  266. ## --------------------- ##
  267. ## M4sh Shell Functions. ##
  268. ## --------------------- ##
  269. # as_fn_unset VAR
  270. # ---------------
  271. # Portably unset VAR.
  272. as_fn_unset ()
  273. {
  274. { eval $1=; unset $1;}
  275. }
  276. as_unset=as_fn_unset
  277. # as_fn_set_status STATUS
  278. # -----------------------
  279. # Set $? to STATUS, without forking.
  280. as_fn_set_status ()
  281. {
  282. return $1
  283. } # as_fn_set_status
  284. # as_fn_exit STATUS
  285. # -----------------
  286. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  287. as_fn_exit ()
  288. {
  289. set +e
  290. as_fn_set_status $1
  291. exit $1
  292. } # as_fn_exit
  293. # as_fn_mkdir_p
  294. # -------------
  295. # Create "$as_dir" as a directory, including parents if necessary.
  296. as_fn_mkdir_p ()
  297. {
  298. case $as_dir in #(
  299. -*) as_dir=./$as_dir;;
  300. esac
  301. test -d "$as_dir" || eval $as_mkdir_p || {
  302. as_dirs=
  303. while :; do
  304. case $as_dir in #(
  305. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  306. *) as_qdir=$as_dir;;
  307. esac
  308. as_dirs="'$as_qdir' $as_dirs"
  309. as_dir=`$as_dirname -- "$as_dir" ||
  310. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  311. X"$as_dir" : 'X\(//\)[^/]' \| \
  312. X"$as_dir" : 'X\(//\)$' \| \
  313. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  314. $as_echo X"$as_dir" |
  315. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  316. s//\1/
  317. q
  318. }
  319. /^X\(\/\/\)[^/].*/{
  320. s//\1/
  321. q
  322. }
  323. /^X\(\/\/\)$/{
  324. s//\1/
  325. q
  326. }
  327. /^X\(\/\).*/{
  328. s//\1/
  329. q
  330. }
  331. s/.*/./; q'`
  332. test -d "$as_dir" && break
  333. done
  334. test -z "$as_dirs" || eval "mkdir $as_dirs"
  335. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  336. } # as_fn_mkdir_p
  337. # as_fn_executable_p FILE
  338. # -----------------------
  339. # Test if FILE is an executable regular file.
  340. as_fn_executable_p ()
  341. {
  342. test -f "$1" && test -x "$1"
  343. } # as_fn_executable_p
  344. # as_fn_append VAR VALUE
  345. # ----------------------
  346. # Append the text in VALUE to the end of the definition contained in VAR. Take
  347. # advantage of any shell optimizations that allow amortized linear growth over
  348. # repeated appends, instead of the typical quadratic growth present in naive
  349. # implementations.
  350. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  351. eval 'as_fn_append ()
  352. {
  353. eval $1+=\$2
  354. }'
  355. else
  356. as_fn_append ()
  357. {
  358. eval $1=\$$1\$2
  359. }
  360. fi # as_fn_append
  361. # as_fn_arith ARG...
  362. # ------------------
  363. # Perform arithmetic evaluation on the ARGs, and store the result in the
  364. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  365. # must be portable across $(()) and expr.
  366. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  367. eval 'as_fn_arith ()
  368. {
  369. as_val=$(( $* ))
  370. }'
  371. else
  372. as_fn_arith ()
  373. {
  374. as_val=`expr "$@" || test $? -eq 1`
  375. }
  376. fi # as_fn_arith
  377. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  378. # ----------------------------------------
  379. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  380. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  381. # script with STATUS, using 1 if that was 0.
  382. as_fn_error ()
  383. {
  384. as_status=$1; test $as_status -eq 0 && as_status=1
  385. if test "$4"; then
  386. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  387. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  388. fi
  389. $as_echo "$as_me: error: $2" >&2
  390. as_fn_exit $as_status
  391. } # as_fn_error
  392. if expr a : '\(a\)' >/dev/null 2>&1 &&
  393. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  394. as_expr=expr
  395. else
  396. as_expr=false
  397. fi
  398. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  399. as_basename=basename
  400. else
  401. as_basename=false
  402. fi
  403. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  404. as_dirname=dirname
  405. else
  406. as_dirname=false
  407. fi
  408. as_me=`$as_basename -- "$0" ||
  409. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  410. X"$0" : 'X\(//\)$' \| \
  411. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  412. $as_echo X/"$0" |
  413. sed '/^.*\/\([^/][^/]*\)\/*$/{
  414. s//\1/
  415. q
  416. }
  417. /^X\/\(\/\/\)$/{
  418. s//\1/
  419. q
  420. }
  421. /^X\/\(\/\).*/{
  422. s//\1/
  423. q
  424. }
  425. s/.*/./; q'`
  426. # Avoid depending upon Character Ranges.
  427. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  428. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  429. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  430. as_cr_digits='0123456789'
  431. as_cr_alnum=$as_cr_Letters$as_cr_digits
  432. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  433. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  434. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  435. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  436. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  437. sed -n '
  438. p
  439. /[$]LINENO/=
  440. ' <$as_myself |
  441. sed '
  442. s/[$]LINENO.*/&-/
  443. t lineno
  444. b
  445. :lineno
  446. N
  447. :loop
  448. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  449. t loop
  450. s/-\n.*//
  451. ' >$as_me.lineno &&
  452. chmod +x "$as_me.lineno" ||
  453. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  454. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  455. # already done that, so ensure we don't try to do so again and fall
  456. # in an infinite loop. This has already happened in practice.
  457. _as_can_reexec=no; export _as_can_reexec
  458. # Don't try to exec as it changes $[0], causing all sort of problems
  459. # (the dirname of $[0] is not the place where we might find the
  460. # original and so on. Autoconf is especially sensitive to this).
  461. . "./$as_me.lineno"
  462. # Exit status is that of the last command.
  463. exit
  464. }
  465. ECHO_C= ECHO_N= ECHO_T=
  466. case `echo -n x` in #(((((
  467. -n*)
  468. case `echo 'xy\c'` in
  469. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  470. xy) ECHO_C='\c';;
  471. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  472. ECHO_T=' ';;
  473. esac;;
  474. *)
  475. ECHO_N='-n';;
  476. esac
  477. rm -f conf$$ conf$$.exe conf$$.file
  478. if test -d conf$$.dir; then
  479. rm -f conf$$.dir/conf$$.file
  480. else
  481. rm -f conf$$.dir
  482. mkdir conf$$.dir 2>/dev/null
  483. fi
  484. if (echo >conf$$.file) 2>/dev/null; then
  485. if ln -s conf$$.file conf$$ 2>/dev/null; then
  486. as_ln_s='ln -s'
  487. # ... but there are two gotchas:
  488. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  489. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  490. # In both cases, we have to default to `cp -pR'.
  491. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  492. as_ln_s='cp -pR'
  493. elif ln conf$$.file conf$$ 2>/dev/null; then
  494. as_ln_s=ln
  495. else
  496. as_ln_s='cp -pR'
  497. fi
  498. else
  499. as_ln_s='cp -pR'
  500. fi
  501. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  502. rmdir conf$$.dir 2>/dev/null
  503. if mkdir -p . 2>/dev/null; then
  504. as_mkdir_p='mkdir -p "$as_dir"'
  505. else
  506. test -d ./-p && rmdir ./-p
  507. as_mkdir_p=false
  508. fi
  509. as_test_x='test -x'
  510. as_executable_p=as_fn_executable_p
  511. # Sed expression to map a string onto a valid CPP name.
  512. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  513. # Sed expression to map a string onto a valid variable name.
  514. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  515. test -n "$DJDIR" || exec 7<&0 </dev/null
  516. exec 6>&1
  517. # Name of the host.
  518. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  519. # so uname gets run too.
  520. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  521. #
  522. # Initializations.
  523. #
  524. ac_default_prefix=/usr/local
  525. ac_clean_files=
  526. ac_config_libobj_dir=.
  527. LIBOBJS=
  528. cross_compiling=no
  529. subdirs=
  530. MFLAGS=
  531. MAKEFLAGS=
  532. # Identity of this package.
  533. PACKAGE_NAME='Wine'
  534. PACKAGE_TARNAME='wine'
  535. PACKAGE_VERSION='5.17'
  536. PACKAGE_STRING='Wine 5.17'
  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_LIBS
  586. VKD3D_CFLAGS
  587. NETAPI_LIBS
  588. NETAPI_CFLAGS
  589. PROCSTAT_LIBS
  590. KSTAT_LIBS
  591. MPG123_LIBS
  592. MPG123_CFLAGS
  593. TIFF_LIBS
  594. TIFF_CFLAGS
  595. PNG_LIBS
  596. PNG_CFLAGS
  597. JPEG_LIBS
  598. JPEG_CFLAGS
  599. GSSAPI_LIBS
  600. GSSAPI_CFLAGS
  601. KRB5_LIBS
  602. KRB5_CFLAGS
  603. FONTCONFIG_LIBS
  604. FONTCONFIG_CFLAGS
  605. CUPS_LIBS
  606. CUPS_CFLAGS
  607. CAPI20_LIBS
  608. CAPI20_CFLAGS
  609. FAUDIO_LIBS
  610. FAUDIO_CFLAGS
  611. SDL2_LIBS
  612. SDL2_CFLAGS
  613. UNWIND_LIBS
  614. UNWIND_CFLAGS
  615. UDEV_LIBS
  616. UDEV_CFLAGS
  617. OSS4_LIBS
  618. OSS4_CFLAGS
  619. ALSA_LIBS
  620. GSTREAMER_LIBS
  621. GSTREAMER_CFLAGS
  622. PULSE_LIBS
  623. PULSE_CFLAGS
  624. GETTEXTPO_LIBS
  625. FREETYPE_LIBS
  626. FREETYPE_CFLAGS
  627. LCMS2_LIBS
  628. LCMS2_CFLAGS
  629. RESOLV_LIBS
  630. GPHOTO2_PORT_LIBS
  631. GPHOTO2_PORT_CFLAGS
  632. GPHOTO2_LIBS
  633. GPHOTO2_CFLAGS
  634. USB_LIBS
  635. USB_CFLAGS
  636. SANE_LIBS
  637. SANE_CFLAGS
  638. GNUTLS_LIBS
  639. GNUTLS_CFLAGS
  640. HAL_LIBS
  641. HAL_CFLAGS
  642. DBUS_LIBS
  643. DBUS_CFLAGS
  644. INOTIFY_LIBS
  645. INOTIFY_CFLAGS
  646. XSLT_LIBS
  647. XSLT_CFLAGS
  648. XML2_LIBS
  649. XML2_CFLAGS
  650. PCAP_LIBS
  651. X_EXTRA_LIBS
  652. X_LIBS
  653. X_PRE_LIBS
  654. X_CFLAGS
  655. XMKMF
  656. PTHREAD_LIBS
  657. EXCESS_PRECISION_CFLAGS
  658. CROSSDEBUG
  659. DELAYLOADFLAG
  660. CROSSLDFLAGS
  661. EXTRACROSSCFLAGS
  662. CROSSCFLAGS
  663. CROSSCC
  664. CROSSTARGET
  665. LIBWINE_DEPENDS
  666. PRELINK
  667. WINELOADER_DEPENDS
  668. LIBWINE_LDFLAGS
  669. LIBWINE_SHAREDLIB
  670. METAL_LIBS
  671. CARBON_LIBS
  672. QUICKTIME_LIBS
  673. OPENCL_LIBS
  674. OPENAL_LIBS
  675. COREAUDIO_LIBS
  676. SECURITY_LIBS
  677. DISKARBITRATION_LIBS
  678. SYSTEMCONFIGURATION_LIBS
  679. APPKIT_LIBS
  680. CORESERVICES_LIBS
  681. APPLICATIONSERVICES_LIBS
  682. FORCEFEEDBACK_LIBS
  683. IOKIT_LIBS
  684. COREFOUNDATION_LIBS
  685. OBJCPP
  686. ac_ct_OBJC
  687. OBJCFLAGS
  688. OBJC
  689. DLLTOOL
  690. WINELOADER_PROGRAMS
  691. CONFIGURE_TARGETS
  692. DISABLED_SUBDIRS
  693. SUBDIRS
  694. READELF
  695. OTOOL
  696. LDD
  697. WINEPRELOADER_LDFLAGS
  698. WINELOADER_LDFLAGS
  699. TOP_INSTALL_DEV
  700. TOP_INSTALL_LIB
  701. LDEXECFLAGS
  702. LDDLLFLAGS
  703. DLLFLAGS
  704. CPP
  705. OPENGL_LIBS
  706. I386_LIBS
  707. ICOTOOL
  708. CONVERT
  709. RSVG
  710. FONTFORGE
  711. PKG_CONFIG
  712. MSGFMT
  713. LDCONFIG
  714. EGREP
  715. GREP
  716. LN_S
  717. RANLIB
  718. STRIP
  719. ac_ct_AR
  720. AR
  721. BISON
  722. FLEX
  723. TOOLSDIR
  724. TARGETFLAGS
  725. LD
  726. CPPBIN
  727. ac_ct_CXX
  728. CXXFLAGS
  729. CXX
  730. OBJEXT
  731. EXEEXT
  732. ac_ct_CC
  733. CPPFLAGS
  734. LDFLAGS
  735. CFLAGS
  736. CC
  737. SET_MAKE
  738. host_os
  739. host_vendor
  740. host_cpu
  741. host
  742. build_os
  743. build_vendor
  744. build_cpu
  745. build
  746. target_alias
  747. host_alias
  748. build_alias
  749. LIBS
  750. ECHO_T
  751. ECHO_N
  752. ECHO_C
  753. DEFS
  754. mandir
  755. localedir
  756. libdir
  757. psdir
  758. pdfdir
  759. dvidir
  760. htmldir
  761. infodir
  762. docdir
  763. oldincludedir
  764. includedir
  765. runstatedir
  766. localstatedir
  767. sharedstatedir
  768. sysconfdir
  769. datadir
  770. datarootdir
  771. libexecdir
  772. sbindir
  773. bindir
  774. program_transform_name
  775. prefix
  776. exec_prefix
  777. PACKAGE_URL
  778. PACKAGE_BUGREPORT
  779. PACKAGE_STRING
  780. PACKAGE_VERSION
  781. PACKAGE_TARNAME
  782. PACKAGE_NAME
  783. PATH_SEPARATOR
  784. SHELL'
  785. ac_subst_files=''
  786. ac_user_opts='
  787. enable_option_checking
  788. enable_win16
  789. enable_win64
  790. enable_tests
  791. enable_maintainer_mode
  792. enable_werror
  793. with_alsa
  794. with_capi
  795. with_cms
  796. with_coreaudio
  797. with_cups
  798. with_dbus
  799. with_faudio
  800. with_float_abi
  801. with_fontconfig
  802. with_freetype
  803. with_gettext
  804. with_gettextpo
  805. with_gphoto
  806. with_glu
  807. with_gnutls
  808. with_gsm
  809. with_gssapi
  810. with_gstreamer
  811. with_hal
  812. with_inotify
  813. with_jpeg
  814. with_krb5
  815. with_ldap
  816. with_mingw
  817. with_mpg123
  818. with_netapi
  819. with_openal
  820. with_opencl
  821. with_opengl
  822. with_osmesa
  823. with_oss
  824. with_pcap
  825. with_png
  826. with_pthread
  827. with_pulse
  828. with_quicktime
  829. with_sane
  830. with_sdl
  831. with_tiff
  832. with_udev
  833. with_unwind
  834. with_usb
  835. with_v4l2
  836. with_vkd3d
  837. with_vulkan
  838. with_xcomposite
  839. with_xcursor
  840. with_xfixes
  841. with_xinerama
  842. with_xinput
  843. with_xinput2
  844. with_xml
  845. with_xrandr
  846. with_xrender
  847. with_xshape
  848. with_xshm
  849. with_xslt
  850. with_xxf86vm
  851. with_wine_tools
  852. with_wine64
  853. enable_largefile
  854. with_x
  855. enable_acledit
  856. enable_aclui
  857. enable_activeds_tlb
  858. enable_activeds
  859. enable_actxprxy
  860. enable_adsiid
  861. enable_adsldp
  862. enable_adsldpc
  863. enable_advapi32
  864. enable_advpack
  865. enable_amsi
  866. enable_amstream
  867. enable_api_ms_win_appmodel_identity_l1_1_0
  868. enable_api_ms_win_appmodel_runtime_l1_1_1
  869. enable_api_ms_win_appmodel_runtime_l1_1_2
  870. enable_api_ms_win_core_apiquery_l1_1_0
  871. enable_api_ms_win_core_appcompat_l1_1_1
  872. enable_api_ms_win_core_appinit_l1_1_0
  873. enable_api_ms_win_core_atoms_l1_1_0
  874. enable_api_ms_win_core_bem_l1_1_0
  875. enable_api_ms_win_core_com_l1_1_0
  876. enable_api_ms_win_core_com_l1_1_1
  877. enable_api_ms_win_core_com_private_l1_1_0
  878. enable_api_ms_win_core_comm_l1_1_0
  879. enable_api_ms_win_core_console_l1_1_0
  880. enable_api_ms_win_core_console_l2_1_0
  881. enable_api_ms_win_core_crt_l1_1_0
  882. enable_api_ms_win_core_crt_l2_1_0
  883. enable_api_ms_win_core_datetime_l1_1_0
  884. enable_api_ms_win_core_datetime_l1_1_1
  885. enable_api_ms_win_core_debug_l1_1_0
  886. enable_api_ms_win_core_debug_l1_1_1
  887. enable_api_ms_win_core_delayload_l1_1_0
  888. enable_api_ms_win_core_delayload_l1_1_1
  889. enable_api_ms_win_core_errorhandling_l1_1_0
  890. enable_api_ms_win_core_errorhandling_l1_1_1
  891. enable_api_ms_win_core_errorhandling_l1_1_2
  892. enable_api_ms_win_core_errorhandling_l1_1_3
  893. enable_api_ms_win_core_fibers_l1_1_0
  894. enable_api_ms_win_core_fibers_l1_1_1
  895. enable_api_ms_win_core_file_ansi_l2_1_0
  896. enable_api_ms_win_core_file_fromapp_l1_1_0
  897. enable_api_ms_win_core_file_l1_1_0
  898. enable_api_ms_win_core_file_l1_2_0
  899. enable_api_ms_win_core_file_l1_2_1
  900. enable_api_ms_win_core_file_l1_2_2
  901. enable_api_ms_win_core_file_l2_1_0
  902. enable_api_ms_win_core_file_l2_1_1
  903. enable_api_ms_win_core_file_l2_1_2
  904. enable_api_ms_win_core_handle_l1_1_0
  905. enable_api_ms_win_core_heap_l1_1_0
  906. enable_api_ms_win_core_heap_l1_2_0
  907. enable_api_ms_win_core_heap_l2_1_0
  908. enable_api_ms_win_core_heap_obsolete_l1_1_0
  909. enable_api_ms_win_core_interlocked_l1_1_0
  910. enable_api_ms_win_core_interlocked_l1_2_0
  911. enable_api_ms_win_core_io_l1_1_0
  912. enable_api_ms_win_core_io_l1_1_1
  913. enable_api_ms_win_core_job_l1_1_0
  914. enable_api_ms_win_core_job_l2_1_0
  915. enable_api_ms_win_core_kernel32_legacy_l1_1_0
  916. enable_api_ms_win_core_kernel32_legacy_l1_1_1
  917. enable_api_ms_win_core_kernel32_private_l1_1_1
  918. enable_api_ms_win_core_largeinteger_l1_1_0
  919. enable_api_ms_win_core_libraryloader_l1_1_0
  920. enable_api_ms_win_core_libraryloader_l1_1_1
  921. enable_api_ms_win_core_libraryloader_l1_2_0
  922. enable_api_ms_win_core_libraryloader_l1_2_1
  923. enable_api_ms_win_core_libraryloader_l1_2_2
  924. enable_api_ms_win_core_libraryloader_l2_1_0
  925. enable_api_ms_win_core_localization_l1_1_0
  926. enable_api_ms_win_core_localization_l1_2_0
  927. enable_api_ms_win_core_localization_l1_2_1
  928. enable_api_ms_win_core_localization_l1_2_2
  929. enable_api_ms_win_core_localization_l2_1_0
  930. enable_api_ms_win_core_localization_obsolete_l1_1_0
  931. enable_api_ms_win_core_localization_obsolete_l1_2_0
  932. enable_api_ms_win_core_localization_obsolete_l1_3_0
  933. enable_api_ms_win_core_localization_private_l1_1_0
  934. enable_api_ms_win_core_localregistry_l1_1_0
  935. enable_api_ms_win_core_memory_l1_1_0
  936. enable_api_ms_win_core_memory_l1_1_1
  937. enable_api_ms_win_core_memory_l1_1_2
  938. enable_api_ms_win_core_memory_l1_1_3
  939. enable_api_ms_win_core_memory_l1_1_4
  940. enable_api_ms_win_core_misc_l1_1_0
  941. enable_api_ms_win_core_namedpipe_ansi_l1_1_0
  942. enable_api_ms_win_core_namedpipe_l1_1_0
  943. enable_api_ms_win_core_namedpipe_l1_2_0
  944. enable_api_ms_win_core_namespace_l1_1_0
  945. enable_api_ms_win_core_normalization_l1_1_0
  946. enable_api_ms_win_core_path_l1_1_0
  947. enable_api_ms_win_core_privateprofile_l1_1_1
  948. enable_api_ms_win_core_processenvironment_l1_1_0
  949. enable_api_ms_win_core_processenvironment_l1_2_0
  950. enable_api_ms_win_core_processthreads_l1_1_0
  951. enable_api_ms_win_core_processthreads_l1_1_1
  952. enable_api_ms_win_core_processthreads_l1_1_2
  953. enable_api_ms_win_core_processthreads_l1_1_3
  954. enable_api_ms_win_core_processtopology_obsolete_l1_1_0
  955. enable_api_ms_win_core_profile_l1_1_0
  956. enable_api_ms_win_core_psapi_ansi_l1_1_0
  957. enable_api_ms_win_core_psapi_l1_1_0
  958. enable_api_ms_win_core_psapi_obsolete_l1_1_0
  959. enable_api_ms_win_core_quirks_l1_1_0
  960. enable_api_ms_win_core_realtime_l1_1_0
  961. enable_api_ms_win_core_registry_l1_1_0
  962. enable_api_ms_win_core_registry_l2_1_0
  963. enable_api_ms_win_core_registry_l2_2_0
  964. enable_api_ms_win_core_registryuserspecific_l1_1_0
  965. enable_api_ms_win_core_rtlsupport_l1_1_0
  966. enable_api_ms_win_core_rtlsupport_l1_2_0
  967. enable_api_ms_win_core_shlwapi_legacy_l1_1_0
  968. enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
  969. enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
  970. enable_api_ms_win_core_shutdown_l1_1_0
  971. enable_api_ms_win_core_sidebyside_l1_1_0
  972. enable_api_ms_win_core_string_l1_1_0
  973. enable_api_ms_win_core_string_l2_1_0
  974. enable_api_ms_win_core_string_obsolete_l1_1_0
  975. enable_api_ms_win_core_stringansi_l1_1_0
  976. enable_api_ms_win_core_stringloader_l1_1_1
  977. enable_api_ms_win_core_synch_ansi_l1_1_0
  978. enable_api_ms_win_core_synch_l1_1_0
  979. enable_api_ms_win_core_synch_l1_2_0
  980. enable_api_ms_win_core_synch_l1_2_1
  981. enable_api_ms_win_core_sysinfo_l1_1_0
  982. enable_api_ms_win_core_sysinfo_l1_2_0
  983. enable_api_ms_win_core_sysinfo_l1_2_1
  984. enable_api_ms_win_core_systemtopology_l1_1_0
  985. enable_api_ms_win_core_threadpool_l1_1_0
  986. enable_api_ms_win_core_threadpool_l1_2_0
  987. enable_api_ms_win_core_threadpool_legacy_l1_1_0
  988. enable_api_ms_win_core_threadpool_private_l1_1_0
  989. enable_api_ms_win_core_timezone_l1_1_0
  990. enable_api_ms_win_core_toolhelp_l1_1_0
  991. enable_api_ms_win_core_url_l1_1_0
  992. enable_api_ms_win_core_util_l1_1_0
  993. enable_api_ms_win_core_version_l1_1_0
  994. enable_api_ms_win_core_version_l1_1_1
  995. enable_api_ms_win_core_version_private_l1_1_0
  996. enable_api_ms_win_core_versionansi_l1_1_0
  997. enable_api_ms_win_core_windowserrorreporting_l1_1_0
  998. enable_api_ms_win_core_winrt_error_l1_1_0
  999. enable_api_ms_win_core_winrt_error_l1_1_1
  1000. enable_api_ms_win_core_winrt_errorprivate_l1_1_1
  1001. enable_api_ms_win_core_winrt_l1_1_0
  1002. enable_api_ms_win_core_winrt_registration_l1_1_0
  1003. enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
  1004. enable_api_ms_win_core_winrt_string_l1_1_0
  1005. enable_api_ms_win_core_winrt_string_l1_1_1
  1006. enable_api_ms_win_core_wow64_l1_1_0
  1007. enable_api_ms_win_core_wow64_l1_1_1
  1008. enable_api_ms_win_core_xstate_l1_1_0
  1009. enable_api_ms_win_core_xstate_l2_1_0
  1010. enable_api_ms_win_crt_conio_l1_1_0
  1011. enable_api_ms_win_crt_convert_l1_1_0
  1012. enable_api_ms_win_crt_environment_l1_1_0
  1013. enable_api_ms_win_crt_filesystem_l1_1_0
  1014. enable_api_ms_win_crt_heap_l1_1_0
  1015. enable_api_ms_win_crt_locale_l1_1_0
  1016. enable_api_ms_win_crt_math_l1_1_0
  1017. enable_api_ms_win_crt_multibyte_l1_1_0
  1018. enable_api_ms_win_crt_private_l1_1_0
  1019. enable_api_ms_win_crt_process_l1_1_0
  1020. enable_api_ms_win_crt_runtime_l1_1_0
  1021. enable_api_ms_win_crt_stdio_l1_1_0
  1022. enable_api_ms_win_crt_string_l1_1_0
  1023. enable_api_ms_win_crt_time_l1_1_0
  1024. enable_api_ms_win_crt_utility_l1_1_0
  1025. enable_api_ms_win_devices_config_l1_1_0
  1026. enable_api_ms_win_devices_config_l1_1_1
  1027. enable_api_ms_win_devices_query_l1_1_1
  1028. enable_api_ms_win_downlevel_advapi32_l1_1_0
  1029. enable_api_ms_win_downlevel_advapi32_l2_1_0
  1030. enable_api_ms_win_downlevel_kernel32_l2_1_0
  1031. enable_api_ms_win_downlevel_normaliz_l1_1_0
  1032. enable_api_ms_win_downlevel_ole32_l1_1_0
  1033. enable_api_ms_win_downlevel_shell32_l1_1_0
  1034. enable_api_ms_win_downlevel_shlwapi_l1_1_0
  1035. enable_api_ms_win_downlevel_shlwapi_l2_1_0
  1036. enable_api_ms_win_downlevel_user32_l1_1_0
  1037. enable_api_ms_win_downlevel_version_l1_1_0
  1038. enable_api_ms_win_dx_d3dkmt_l1_1_0
  1039. enable_api_ms_win_eventing_classicprovider_l1_1_0
  1040. enable_api_ms_win_eventing_consumer_l1_1_0
  1041. enable_api_ms_win_eventing_controller_l1_1_0
  1042. enable_api_ms_win_eventing_legacy_l1_1_0
  1043. enable_api_ms_win_eventing_provider_l1_1_0
  1044. enable_api_ms_win_eventlog_legacy_l1_1_0
  1045. enable_api_ms_win_gdi_dpiinfo_l1_1_0
  1046. enable_api_ms_win_mm_joystick_l1_1_0
  1047. enable_api_ms_win_mm_misc_l1_1_1
  1048. enable_api_ms_win_mm_mme_l1_1_0
  1049. enable_api_ms_win_mm_time_l1_1_0
  1050. enable_api_ms_win_ntuser_dc_access_l1_1_0
  1051. enable_api_ms_win_ntuser_rectangle_l1_1_0
  1052. enable_api_ms_win_ntuser_sysparams_l1_1_0
  1053. enable_api_ms_win_perf_legacy_l1_1_0
  1054. enable_api_ms_win_power_base_l1_1_0
  1055. enable_api_ms_win_power_setting_l1_1_0
  1056. enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
  1057. enable_api_ms_win_rtcore_ntuser_private_l1_1_0
  1058. enable_api_ms_win_rtcore_ntuser_private_l1_1_4
  1059. enable_api_ms_win_rtcore_ntuser_window_l1_1_0
  1060. enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
  1061. enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
  1062. enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
  1063. enable_api_ms_win_security_activedirectoryclient_l1_1_0
  1064. enable_api_ms_win_security_audit_l1_1_1
  1065. enable_api_ms_win_security_base_l1_1_0
  1066. enable_api_ms_win_security_base_l1_2_0
  1067. enable_api_ms_win_security_base_private_l1_1_1
  1068. enable_api_ms_win_security_credentials_l1_1_0
  1069. enable_api_ms_win_security_cryptoapi_l1_1_0
  1070. enable_api_ms_win_security_grouppolicy_l1_1_0
  1071. enable_api_ms_win_security_lsalookup_l1_1_0
  1072. enable_api_ms_win_security_lsalookup_l1_1_1
  1073. enable_api_ms_win_security_lsalookup_l2_1_0
  1074. enable_api_ms_win_security_lsalookup_l2_1_1
  1075. enable_api_ms_win_security_lsapolicy_l1_1_0
  1076. enable_api_ms_win_security_provider_l1_1_0
  1077. enable_api_ms_win_security_sddl_l1_1_0
  1078. enable_api_ms_win_security_systemfunctions_l1_1_0
  1079. enable_api_ms_win_service_core_l1_1_0
  1080. enable_api_ms_win_service_core_l1_1_1
  1081. enable_api_ms_win_service_management_l1_1_0
  1082. enable_api_ms_win_service_management_l2_1_0
  1083. enable_api_ms_win_service_private_l1_1_1
  1084. enable_api_ms_win_service_winsvc_l1_1_0
  1085. enable_api_ms_win_service_winsvc_l1_2_0
  1086. enable_api_ms_win_shcore_obsolete_l1_1_0
  1087. enable_api_ms_win_shcore_scaling_l1_1_1
  1088. enable_api_ms_win_shcore_stream_l1_1_0
  1089. enable_api_ms_win_shcore_thread_l1_1_0
  1090. enable_api_ms_win_shell_shellcom_l1_1_0
  1091. enable_api_ms_win_shell_shellfolders_l1_1_0
  1092. enable_apphelp
  1093. enable_appwiz_cpl
  1094. enable_atl
  1095. enable_atl100
  1096. enable_atl110
  1097. enable_atl80
  1098. enable_atl90
  1099. enable_atlthunk
  1100. enable_atmlib
  1101. enable_authz
  1102. enable_avicap32
  1103. enable_avifil32
  1104. enable_avrt
  1105. enable_bcrypt
  1106. enable_bluetoothapis
  1107. enable_browseui
  1108. enable_bthprops_cpl
  1109. enable_cabinet
  1110. enable_capi2032
  1111. enable_cards
  1112. enable_cdosys
  1113. enable_cfgmgr32
  1114. enable_clusapi
  1115. enable_combase
  1116. enable_comcat
  1117. enable_comctl32
  1118. enable_comdlg32
  1119. enable_compstui
  1120. enable_comsvcs
  1121. enable_concrt140
  1122. enable_connect
  1123. enable_credui
  1124. enable_crtdll
  1125. enable_crypt32
  1126. enable_cryptdlg
  1127. enable_cryptdll
  1128. enable_cryptext
  1129. enable_cryptnet
  1130. enable_cryptui
  1131. enable_ctapi32
  1132. enable_ctl3d32
  1133. enable_d2d1
  1134. enable_d3d10
  1135. enable_d3d10_1
  1136. enable_d3d10core
  1137. enable_d3d11
  1138. enable_d3d12
  1139. enable_d3d8
  1140. enable_d3d9
  1141. enable_d3dcompiler_33
  1142. enable_d3dcompiler_34
  1143. enable_d3dcompiler_35
  1144. enable_d3dcompiler_36
  1145. enable_d3dcompiler_37
  1146. enable_d3dcompiler_38
  1147. enable_d3dcompiler_39
  1148. enable_d3dcompiler_40
  1149. enable_d3dcompiler_41
  1150. enable_d3dcompiler_42
  1151. enable_d3dcompiler_43
  1152. enable_d3dcompiler_46
  1153. enable_d3dcompiler_47
  1154. enable_d3dim
  1155. enable_d3drm
  1156. enable_d3dx10_33
  1157. enable_d3dx10_34
  1158. enable_d3dx10_35
  1159. enable_d3dx10_36
  1160. enable_d3dx10_37
  1161. enable_d3dx10_38
  1162. enable_d3dx10_39
  1163. enable_d3dx10_40
  1164. enable_d3dx10_41
  1165. enable_d3dx10_42
  1166. enable_d3dx10_43
  1167. enable_d3dx11_42
  1168. enable_d3dx11_43
  1169. enable_d3dx9_24
  1170. enable_d3dx9_25
  1171. enable_d3dx9_26
  1172. enable_d3dx9_27
  1173. enable_d3dx9_28
  1174. enable_d3dx9_29
  1175. enable_d3dx9_30
  1176. enable_d3dx9_31
  1177. enable_d3dx9_32
  1178. enable_d3dx9_33
  1179. enable_d3dx9_34
  1180. enable_d3dx9_35
  1181. enable_d3dx9_36
  1182. enable_d3dx9_37
  1183. enable_d3dx9_38
  1184. enable_d3dx9_39
  1185. enable_d3dx9_40
  1186. enable_d3dx9_41
  1187. enable_d3dx9_42
  1188. enable_d3dx9_43
  1189. enable_d3dxof
  1190. enable_davclnt
  1191. enable_dbgeng
  1192. enable_dbghelp
  1193. enable_dciman32
  1194. enable_ddraw
  1195. enable_ddrawex
  1196. enable_devenum
  1197. enable_dhcpcsvc
  1198. enable_dhtmled_ocx
  1199. enable_difxapi
  1200. enable_dinput
  1201. enable_dinput8
  1202. enable_directmanipulation
  1203. enable_dispex
  1204. enable_dmband
  1205. enable_dmcompos
  1206. enable_dmime
  1207. enable_dmloader
  1208. enable_dmoguids
  1209. enable_dmscript
  1210. enable_dmstyle
  1211. enable_dmsynth
  1212. enable_dmusic
  1213. enable_dmusic32
  1214. enable_dnsapi
  1215. enable_dplay
  1216. enable_dplayx
  1217. enable_dpnaddr
  1218. enable_dpnet
  1219. enable_dpnhpast
  1220. enable_dpnlobby
  1221. enable_dpvoice
  1222. enable_dpwsockx
  1223. enable_drmclien
  1224. enable_dsdmo
  1225. enable_dsound
  1226. enable_dsquery
  1227. enable_dssenh
  1228. enable_dsuiext
  1229. enable_dswave
  1230. enable_dwmapi
  1231. enable_dwrite
  1232. enable_dx8vb
  1233. enable_dxdiagn
  1234. enable_dxerr8
  1235. enable_dxerr9
  1236. enable_dxgi
  1237. enable_dxguid
  1238. enable_dxva2
  1239. enable_esent
  1240. enable_evr
  1241. enable_explorerframe
  1242. enable_ext_ms_win_authz_context_l1_1_0
  1243. enable_ext_ms_win_domainjoin_netjoin_l1_1_0
  1244. enable_ext_ms_win_dwmapi_ext_l1_1_0
  1245. enable_ext_ms_win_gdi_dc_create_l1_1_0
  1246. enable_ext_ms_win_gdi_dc_create_l1_1_1
  1247. enable_ext_ms_win_gdi_dc_l1_2_0
  1248. enable_ext_ms_win_gdi_devcaps_l1_1_0
  1249. enable_ext_ms_win_gdi_draw_l1_1_0
  1250. enable_ext_ms_win_gdi_draw_l1_1_1
  1251. enable_ext_ms_win_gdi_font_l1_1_0
  1252. enable_ext_ms_win_gdi_font_l1_1_1
  1253. enable_ext_ms_win_gdi_render_l1_1_0
  1254. enable_ext_ms_win_kernel32_package_current_l1_1_0
  1255. enable_ext_ms_win_kernel32_package_l1_1_1
  1256. enable_ext_ms_win_ntuser_dialogbox_l1_1_0
  1257. enable_ext_ms_win_ntuser_draw_l1_1_0
  1258. enable_ext_ms_win_ntuser_gui_l1_1_0
  1259. enable_ext_ms_win_ntuser_gui_l1_3_0
  1260. enable_ext_ms_win_ntuser_keyboard_l1_3_0
  1261. enable_ext_ms_win_ntuser_message_l1_1_0
  1262. enable_ext_ms_win_ntuser_message_l1_1_1
  1263. enable_ext_ms_win_ntuser_misc_l1_1_0
  1264. enable_ext_ms_win_ntuser_misc_l1_2_0
  1265. enable_ext_ms_win_ntuser_misc_l1_5_1
  1266. enable_ext_ms_win_ntuser_mouse_l1_1_0
  1267. enable_ext_ms_win_ntuser_private_l1_1_1
  1268. enable_ext_ms_win_ntuser_private_l1_3_1
  1269. enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
  1270. enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
  1271. enable_ext_ms_win_ntuser_window_l1_1_0
  1272. enable_ext_ms_win_ntuser_window_l1_1_1
  1273. enable_ext_ms_win_ntuser_window_l1_1_4
  1274. enable_ext_ms_win_ntuser_windowclass_l1_1_0
  1275. enable_ext_ms_win_ntuser_windowclass_l1_1_1
  1276. enable_ext_ms_win_oleacc_l1_1_0
  1277. enable_ext_ms_win_ras_rasapi32_l1_1_0
  1278. enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
  1279. enable_ext_ms_win_rtcore_gdi_object_l1_1_0
  1280. enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
  1281. enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
  1282. enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
  1283. enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
  1284. enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
  1285. enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
  1286. enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
  1287. enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
  1288. enable_ext_ms_win_security_credui_l1_1_0
  1289. enable_ext_ms_win_security_cryptui_l1_1_0
  1290. enable_ext_ms_win_shell_comctl32_init_l1_1_0
  1291. enable_ext_ms_win_shell_comdlg32_l1_1_0
  1292. enable_ext_ms_win_shell_shell32_l1_2_0
  1293. enable_ext_ms_win_uxtheme_themes_l1_1_0
  1294. enable_faultrep
  1295. enable_feclient
  1296. enable_fltlib
  1297. enable_fltmgr_sys
  1298. enable_fntcache
  1299. enable_fontsub
  1300. enable_fusion
  1301. enable_fwpuclnt
  1302. enable_gameux
  1303. enable_gdi32
  1304. enable_gdiplus
  1305. enable_glu32
  1306. enable_gphoto2_ds
  1307. enable_gpkcsp
  1308. enable_hal
  1309. enable_hhctrl_ocx
  1310. enable_hid
  1311. enable_hidclass_sys
  1312. enable_hlink
  1313. enable_hnetcfg
  1314. enable_http_sys
  1315. enable_httpapi
  1316. enable_iccvid
  1317. enable_icmp
  1318. enable_ieframe
  1319. enable_ieproxy
  1320. enable_imaadp32_acm
  1321. enable_imagehlp
  1322. enable_imm32
  1323. enable_inetcomm
  1324. enable_inetcpl_cpl
  1325. enable_inetmib1
  1326. enable_infosoft
  1327. enable_initpki
  1328. enable_inkobj
  1329. enable_inseng
  1330. enable_iphlpapi
  1331. enable_iprop
  1332. enable_irprops_cpl
  1333. enable_itircl
  1334. enable_itss
  1335. enable_joy_cpl
  1336. enable_jscript
  1337. enable_jsproxy
  1338. enable_kerberos
  1339. enable_kernel32
  1340. enable_kernelbase
  1341. enable_ksecdd_sys
  1342. enable_ksproxy_ax
  1343. enable_ksuser
  1344. enable_ktmw32
  1345. enable_l3codeca_acm
  1346. enable_loadperf
  1347. enable_localspl
  1348. enable_localui
  1349. enable_lz32
  1350. enable_mapi32
  1351. enable_mapistub
  1352. enable_mciavi32
  1353. enable_mcicda
  1354. enable_mciqtz32
  1355. enable_mciseq
  1356. enable_mciwave
  1357. enable_mf
  1358. enable_mf3216
  1359. enable_mferror
  1360. enable_mfmediaengine
  1361. enable_mfplat
  1362. enable_mfplay
  1363. enable_mfreadwrite
  1364. enable_mfuuid
  1365. enable_mgmtapi
  1366. enable_midimap
  1367. enable_mlang
  1368. enable_mmcndmgr
  1369. enable_mmdevapi
  1370. enable_mountmgr_sys
  1371. enable_mp3dmod
  1372. enable_mpr
  1373. enable_mprapi
  1374. enable_msacm32_drv
  1375. enable_msacm32
  1376. enable_msado15
  1377. enable_msadp32_acm
  1378. enable_msasn1
  1379. enable_mscat32
  1380. enable_mscms
  1381. enable_mscoree
  1382. enable_mscorwks
  1383. enable_msctf
  1384. enable_msctfp
  1385. enable_msdaps
  1386. enable_msdelta
  1387. enable_msdmo
  1388. enable_msdrm
  1389. enable_msftedit
  1390. enable_msg711_acm
  1391. enable_msgsm32_acm
  1392. enable_mshtml_tlb
  1393. enable_mshtml
  1394. enable_msi
  1395. enable_msident
  1396. enable_msimg32
  1397. enable_msimsg
  1398. enable_msimtf
  1399. enable_msisip
  1400. enable_msisys_ocx
  1401. enable_msls31
  1402. enable_msnet32
  1403. enable_mspatcha
  1404. enable_msports
  1405. enable_msrle32
  1406. enable_msscript_ocx
  1407. enable_mssign32
  1408. enable_mssip32
  1409. enable_mstask
  1410. enable_msvcirt
  1411. enable_msvcm80
  1412. enable_msvcm90
  1413. enable_msvcp100
  1414. enable_msvcp110
  1415. enable_msvcp120
  1416. enable_msvcp120_app
  1417. enable_msvcp140
  1418. enable_msvcp140_1
  1419. enable_msvcp60
  1420. enable_msvcp70
  1421. enable_msvcp71
  1422. enable_msvcp80
  1423. enable_msvcp90
  1424. enable_msvcr100
  1425. enable_msvcr110
  1426. enable_msvcr120
  1427. enable_msvcr120_app
  1428. enable_msvcr70
  1429. enable_msvcr71
  1430. enable_msvcr80
  1431. enable_msvcr90
  1432. enable_msvcrt
  1433. enable_msvcrt20
  1434. enable_msvcrt40
  1435. enable_msvcrtd
  1436. enable_msvfw32
  1437. enable_msvidc32
  1438. enable_mswsock
  1439. enable_msxml
  1440. enable_msxml2
  1441. enable_msxml3
  1442. enable_msxml4
  1443. enable_msxml6
  1444. enable_mtxdm
  1445. enable_ncrypt
  1446. enable_nddeapi
  1447. enable_ndis_sys
  1448. enable_netapi32
  1449. enable_netcfgx
  1450. enable_netio_sys
  1451. enable_netprofm
  1452. enable_newdev
  1453. enable_ninput
  1454. enable_normaliz
  1455. enable_npmshtml
  1456. enable_npptools
  1457. enable_ntdll
  1458. enable_ntdsapi
  1459. enable_ntoskrnl_exe
  1460. enable_ntprint
  1461. enable_objsel
  1462. enable_odbc32
  1463. enable_odbcbcp
  1464. enable_odbccp32
  1465. enable_odbccu32
  1466. enable_ole32
  1467. enable_oleacc
  1468. enable_oleaut32
  1469. enable_olecli32
  1470. enable_oledb32
  1471. enable_oledlg
  1472. enable_olepro32
  1473. enable_olesvr32
  1474. enable_olethk32
  1475. enable_opcservices
  1476. enable_openal32
  1477. enable_opencl
  1478. enable_opengl32
  1479. enable_packager
  1480. enable_pdh
  1481. enable_photometadatahandler
  1482. enable_pidgen
  1483. enable_powrprof
  1484. enable_printui
  1485. enable_prntvpt
  1486. enable_propsys
  1487. enable_psapi
  1488. enable_pstorec
  1489. enable_pwrshplugin
  1490. enable_qasf
  1491. enable_qcap
  1492. enable_qdvd
  1493. enable_qedit
  1494. enable_qmgr
  1495. enable_qmgrprxy
  1496. enable_quartz
  1497. enable_query
  1498. enable_qwave
  1499. enable_rasapi32
  1500. enable_rasdlg
  1501. enable_regapi
  1502. enable_resutils
  1503. enable_riched20
  1504. enable_riched32
  1505. enable_rpcrt4
  1506. enable_rsabase
  1507. enable_rsaenh
  1508. enable_rstrtmgr
  1509. enable_rtutils
  1510. enable_rtworkq
  1511. enable_samlib
  1512. enable_sane_ds
  1513. enable_sapi
  1514. enable_sas
  1515. enable_scarddlg
  1516. enable_sccbase
  1517. enable_schannel
  1518. enable_schedsvc
  1519. enable_scrobj
  1520. enable_scrrun
  1521. enable_scsiport_sys
  1522. enable_sechost
  1523. enable_secur32
  1524. enable_security
  1525. enable_sensapi
  1526. enable_serialui
  1527. enable_setupapi
  1528. enable_sfc
  1529. enable_sfc_os
  1530. enable_shcore
  1531. enable_shdoclc
  1532. enable_shdocvw
  1533. enable_shell32
  1534. enable_shfolder
  1535. enable_shlwapi
  1536. enable_slbcsp
  1537. enable_slc
  1538. enable_snmpapi
  1539. enable_softpub
  1540. enable_spoolss
  1541. enable_srclient
  1542. enable_sspicli
  1543. enable_stdole2_tlb
  1544. enable_stdole32_tlb
  1545. enable_sti
  1546. enable_strmbase
  1547. enable_strmdll
  1548. enable_strmiids
  1549. enable_svrapi
  1550. enable_sxs
  1551. enable_t2embed
  1552. enable_tapi32
  1553. enable_taskschd
  1554. enable_tdh
  1555. enable_tdi_sys
  1556. enable_traffic
  1557. enable_twain_32
  1558. enable_tzres
  1559. enable_ucrtbase
  1560. enable_uianimation
  1561. enable_uiautomationcore
  1562. enable_uiribbon
  1563. enable_unicows
  1564. enable_updspapi
  1565. enable_url
  1566. enable_urlmon
  1567. enable_usbd_sys
  1568. enable_user32
  1569. enable_userenv
  1570. enable_usp10
  1571. enable_utildll
  1572. enable_uuid
  1573. enable_uxtheme
  1574. enable_vbscript
  1575. enable_vcomp
  1576. enable_vcomp100
  1577. enable_vcomp110
  1578. enable_vcomp120
  1579. enable_vcomp140
  1580. enable_vcomp90
  1581. enable_vcruntime140
  1582. enable_vcruntime140_1
  1583. enable_vdmdbg
  1584. enable_version
  1585. enable_vga
  1586. enable_virtdisk
  1587. enable_vssapi
  1588. enable_vulkan_1
  1589. enable_wbemdisp
  1590. enable_wbemprox
  1591. enable_wbemuuid
  1592. enable_wdscore
  1593. enable_webservices
  1594. enable_wer
  1595. enable_wevtapi
  1596. enable_wiaservc
  1597. enable_wimgapi
  1598. enable_windowscodecs
  1599. enable_windowscodecsext
  1600. enable_winealsa_drv
  1601. enable_wineandroid_drv
  1602. enable_winebus_sys
  1603. enable_winecoreaudio_drv
  1604. enable_winecrt0
  1605. enable_wined3d
  1606. enable_winegstreamer
  1607. enable_winehid_sys
  1608. enable_winejoystick_drv
  1609. enable_winemac_drv
  1610. enable_winemapi
  1611. enable_wineoss_drv
  1612. enable_wineps_drv
  1613. enable_winepulse_drv
  1614. enable_wineqtdecoder
  1615. enable_wineusb_sys
  1616. enable_winevulkan
  1617. enable_winex11_drv
  1618. enable_wing32
  1619. enable_winhttp
  1620. enable_wininet
  1621. enable_winmm
  1622. enable_winnls32
  1623. enable_winscard
  1624. enable_winspool_drv
  1625. enable_winsta
  1626. enable_wintab32
  1627. enable_wintrust
  1628. enable_winusb
  1629. enable_wlanapi
  1630. enable_wlanui
  1631. enable_wldap32
  1632. enable_wmasf
  1633. enable_wmcodecdspuuid
  1634. enable_wmi
  1635. enable_wmiutils
  1636. enable_wmp
  1637. enable_wmphoto
  1638. enable_wmvcore
  1639. enable_wnaspi32
  1640. enable_wpc
  1641. enable_wpcap
  1642. enable_ws2_32
  1643. enable_wsdapi
  1644. enable_wshom_ocx
  1645. enable_wsnmp32
  1646. enable_wsock32
  1647. enable_wtsapi32
  1648. enable_wuapi
  1649. enable_wuaueng
  1650. enable_x3daudio1_0
  1651. enable_x3daudio1_1
  1652. enable_x3daudio1_2
  1653. enable_x3daudio1_3
  1654. enable_x3daudio1_4
  1655. enable_x3daudio1_5
  1656. enable_x3daudio1_6
  1657. enable_x3daudio1_7
  1658. enable_xactengine3_0
  1659. enable_xactengine3_1
  1660. enable_xactengine3_2
  1661. enable_xactengine3_3
  1662. enable_xactengine3_4
  1663. enable_xactengine3_5
  1664. enable_xactengine3_6
  1665. enable_xactengine3_7
  1666. enable_xapofx1_1
  1667. enable_xapofx1_2
  1668. enable_xapofx1_3
  1669. enable_xapofx1_4
  1670. enable_xapofx1_5
  1671. enable_xaudio2_0
  1672. enable_xaudio2_1
  1673. enable_xaudio2_2
  1674. enable_xaudio2_3
  1675. enable_xaudio2_4
  1676. enable_xaudio2_5
  1677. enable_xaudio2_6
  1678. enable_xaudio2_7
  1679. enable_xaudio2_8
  1680. enable_xaudio2_9
  1681. enable_xinput1_1
  1682. enable_xinput1_2
  1683. enable_xinput1_3
  1684. enable_xinput1_4
  1685. enable_xinput9_1_0
  1686. enable_xmllite
  1687. enable_xolehlp
  1688. enable_xpsprint
  1689. enable_xpssvcs
  1690. enable_fonts
  1691. enable_include
  1692. enable_port
  1693. enable_wine
  1694. enable_wpp
  1695. enable_loader
  1696. enable_nls
  1697. enable_po
  1698. enable_arp
  1699. enable_aspnet_regiis
  1700. enable_attrib
  1701. enable_cabarc
  1702. enable_cacls
  1703. enable_chcp_com
  1704. enable_clock
  1705. enable_cmd
  1706. enable_conhost
  1707. enable_control
  1708. enable_cscript
  1709. enable_dism
  1710. enable_dpnsvr
  1711. enable_dxdiag
  1712. enable_eject
  1713. enable_expand
  1714. enable_explorer
  1715. enable_extrac32
  1716. enable_fc
  1717. enable_find
  1718. enable_findstr
  1719. enable_fsutil
  1720. enable_hh
  1721. enable_hostname
  1722. enable_icacls
  1723. enable_icinfo
  1724. enable_iexplore
  1725. enable_ipconfig
  1726. enable_lodctr
  1727. enable_mofcomp
  1728. enable_mshta
  1729. enable_msidb
  1730. enable_msiexec
  1731. enable_msinfo32
  1732. enable_net
  1733. enable_netsh
  1734. enable_netstat
  1735. enable_ngen
  1736. enable_notepad
  1737. enable_oleview
  1738. enable_ping
  1739. enable_plugplay
  1740. enable_powershell
  1741. enable_presentationfontcache
  1742. enable_progman
  1743. enable_reg
  1744. enable_regasm
  1745. enable_regedit
  1746. enable_regini
  1747. enable_regsvcs
  1748. enable_regsvr32
  1749. enable_rpcss
  1750. enable_rundll32
  1751. enable_sc
  1752. enable_schtasks
  1753. enable_sdbinst
  1754. enable_secedit
  1755. enable_servicemodelreg
  1756. enable_services
  1757. enable_shutdown
  1758. enable_spoolsv
  1759. enable_start
  1760. enable_subst
  1761. enable_svchost
  1762. enable_systeminfo
  1763. enable_taskkill
  1764. enable_tasklist
  1765. enable_taskmgr
  1766. enable_termsv
  1767. enable_uninstaller
  1768. enable_unlodctr
  1769. enable_view
  1770. enable_wevtutil
  1771. enable_where
  1772. enable_whoami
  1773. enable_wineboot
  1774. enable_winebrowser
  1775. enable_winecfg
  1776. enable_wineconsole
  1777. enable_winedbg
  1778. enable_winedevice
  1779. enable_winefile
  1780. enable_winemenubuilder
  1781. enable_winemine
  1782. enable_winemsibuilder
  1783. enable_winepath
  1784. enable_winetest
  1785. enable_winhlp32
  1786. enable_winmgmt
  1787. enable_winver
  1788. enable_wmic
  1789. enable_wmplayer
  1790. enable_wordpad
  1791. enable_write
  1792. enable_wscript
  1793. enable_wuauserv
  1794. enable_wusa
  1795. enable_xcopy
  1796. enable_server
  1797. enable_tools
  1798. enable_sfnt2fon
  1799. enable_widl
  1800. enable_winebuild
  1801. enable_winedump
  1802. enable_winegcc
  1803. enable_winemaker
  1804. enable_wmc
  1805. enable_wrc
  1806. '
  1807. ac_precious_vars='build_alias
  1808. host_alias
  1809. target_alias
  1810. CC
  1811. CFLAGS
  1812. LDFLAGS
  1813. LIBS
  1814. CPPFLAGS
  1815. CXX
  1816. CXXFLAGS
  1817. CCC
  1818. CPP
  1819. OBJC
  1820. OBJCFLAGS
  1821. OBJCPP
  1822. XMKMF
  1823. XML2_CFLAGS
  1824. XML2_LIBS
  1825. XSLT_CFLAGS
  1826. XSLT_LIBS
  1827. INOTIFY_CFLAGS
  1828. INOTIFY_LIBS
  1829. DBUS_CFLAGS
  1830. DBUS_LIBS
  1831. HAL_CFLAGS
  1832. HAL_LIBS
  1833. GNUTLS_CFLAGS
  1834. GNUTLS_LIBS
  1835. SANE_CFLAGS
  1836. SANE_LIBS
  1837. USB_CFLAGS
  1838. USB_LIBS
  1839. GPHOTO2_CFLAGS
  1840. GPHOTO2_LIBS
  1841. GPHOTO2_PORT_CFLAGS
  1842. GPHOTO2_PORT_LIBS
  1843. LCMS2_CFLAGS
  1844. LCMS2_LIBS
  1845. FREETYPE_CFLAGS
  1846. FREETYPE_LIBS
  1847. PULSE_CFLAGS
  1848. PULSE_LIBS
  1849. GSTREAMER_CFLAGS
  1850. GSTREAMER_LIBS
  1851. UDEV_CFLAGS
  1852. UDEV_LIBS
  1853. UNWIND_CFLAGS
  1854. UNWIND_LIBS
  1855. SDL2_CFLAGS
  1856. SDL2_LIBS
  1857. FAUDIO_CFLAGS
  1858. FAUDIO_LIBS
  1859. CAPI20_CFLAGS
  1860. CAPI20_LIBS
  1861. CUPS_CFLAGS
  1862. CUPS_LIBS
  1863. FONTCONFIG_CFLAGS
  1864. FONTCONFIG_LIBS
  1865. KRB5_CFLAGS
  1866. KRB5_LIBS
  1867. GSSAPI_CFLAGS
  1868. GSSAPI_LIBS
  1869. JPEG_CFLAGS
  1870. JPEG_LIBS
  1871. PNG_CFLAGS
  1872. PNG_LIBS
  1873. TIFF_CFLAGS
  1874. TIFF_LIBS
  1875. MPG123_CFLAGS
  1876. MPG123_LIBS
  1877. NETAPI_CFLAGS
  1878. NETAPI_LIBS
  1879. VKD3D_CFLAGS
  1880. VKD3D_LIBS
  1881. LDAP_CFLAGS
  1882. LDAP_LIBS'
  1883. # Initialize some variables set by options.
  1884. ac_init_help=
  1885. ac_init_version=false
  1886. ac_unrecognized_opts=
  1887. ac_unrecognized_sep=
  1888. # The variables have the same names as the options, with
  1889. # dashes changed to underlines.
  1890. cache_file=/dev/null
  1891. exec_prefix=NONE
  1892. no_create=
  1893. no_recursion=
  1894. prefix=NONE
  1895. program_prefix=NONE
  1896. program_suffix=NONE
  1897. program_transform_name=s,x,x,
  1898. silent=
  1899. site=
  1900. srcdir=
  1901. verbose=
  1902. x_includes=NONE
  1903. x_libraries=NONE
  1904. # Installation directory options.
  1905. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1906. # and all the variables that are supposed to be based on exec_prefix
  1907. # by default will actually change.
  1908. # Use braces instead of parens because sh, perl, etc. also accept them.
  1909. # (The list follows the same order as the GNU Coding Standards.)
  1910. bindir='${exec_prefix}/bin'
  1911. sbindir='${exec_prefix}/sbin'
  1912. libexecdir='${exec_prefix}/libexec'
  1913. datarootdir='${prefix}/share'
  1914. datadir='${datarootdir}'
  1915. sysconfdir='${prefix}/etc'
  1916. sharedstatedir='${prefix}/com'
  1917. localstatedir='${prefix}/var'
  1918. runstatedir='${localstatedir}/run'
  1919. includedir='${prefix}/include'
  1920. oldincludedir='/usr/include'
  1921. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1922. infodir='${datarootdir}/info'
  1923. htmldir='${docdir}'
  1924. dvidir='${docdir}'
  1925. pdfdir='${docdir}'
  1926. psdir='${docdir}'
  1927. libdir='${exec_prefix}/lib'
  1928. localedir='${datarootdir}/locale'
  1929. mandir='${datarootdir}/man'
  1930. ac_prev=
  1931. ac_dashdash=
  1932. for ac_option
  1933. do
  1934. # If the previous option needs an argument, assign it.
  1935. if test -n "$ac_prev"; then
  1936. eval $ac_prev=\$ac_option
  1937. ac_prev=
  1938. continue
  1939. fi
  1940. case $ac_option in
  1941. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1942. *=) ac_optarg= ;;
  1943. *) ac_optarg=yes ;;
  1944. esac
  1945. # Accept the important Cygnus configure options, so we can diagnose typos.
  1946. case $ac_dashdash$ac_option in
  1947. --)
  1948. ac_dashdash=yes ;;
  1949. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1950. ac_prev=bindir ;;
  1951. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1952. bindir=$ac_optarg ;;
  1953. -build | --build | --buil | --bui | --bu)
  1954. ac_prev=build_alias ;;
  1955. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1956. build_alias=$ac_optarg ;;
  1957. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1958. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1959. ac_prev=cache_file ;;
  1960. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1961. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1962. cache_file=$ac_optarg ;;
  1963. --config-cache | -C)
  1964. cache_file=config.cache ;;
  1965. -datadir | --datadir | --datadi | --datad)
  1966. ac_prev=datadir ;;
  1967. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1968. datadir=$ac_optarg ;;
  1969. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1970. | --dataroo | --dataro | --datar)
  1971. ac_prev=datarootdir ;;
  1972. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1973. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1974. datarootdir=$ac_optarg ;;
  1975. -disable-* | --disable-*)
  1976. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1977. # Reject names that are not valid shell variable names.
  1978. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1979. as_fn_error $? "invalid feature name: $ac_useropt"
  1980. ac_useropt_orig=$ac_useropt
  1981. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1982. case $ac_user_opts in
  1983. *"
  1984. "enable_$ac_useropt"
  1985. "*) ;;
  1986. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1987. ac_unrecognized_sep=', ';;
  1988. esac
  1989. eval enable_$ac_useropt=no ;;
  1990. -docdir | --docdir | --docdi | --doc | --do)
  1991. ac_prev=docdir ;;
  1992. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1993. docdir=$ac_optarg ;;
  1994. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1995. ac_prev=dvidir ;;
  1996. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1997. dvidir=$ac_optarg ;;
  1998. -enable-* | --enable-*)
  1999. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  2000. # Reject names that are not valid shell variable names.
  2001. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2002. as_fn_error $? "invalid feature name: $ac_useropt"
  2003. ac_useropt_orig=$ac_useropt
  2004. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2005. case $ac_user_opts in
  2006. *"
  2007. "enable_$ac_useropt"
  2008. "*) ;;
  2009. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  2010. ac_unrecognized_sep=', ';;
  2011. esac
  2012. eval enable_$ac_useropt=\$ac_optarg ;;
  2013. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  2014. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  2015. | --exec | --exe | --ex)
  2016. ac_prev=exec_prefix ;;
  2017. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  2018. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  2019. | --exec=* | --exe=* | --ex=*)
  2020. exec_prefix=$ac_optarg ;;
  2021. -gas | --gas | --ga | --g)
  2022. # Obsolete; use --with-gas.
  2023. with_gas=yes ;;
  2024. -help | --help | --hel | --he | -h)
  2025. ac_init_help=long ;;
  2026. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  2027. ac_init_help=recursive ;;
  2028. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  2029. ac_init_help=short ;;
  2030. -host | --host | --hos | --ho)
  2031. ac_prev=host_alias ;;
  2032. -host=* | --host=* | --hos=* | --ho=*)
  2033. host_alias=$ac_optarg ;;
  2034. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  2035. ac_prev=htmldir ;;
  2036. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  2037. | --ht=*)
  2038. htmldir=$ac_optarg ;;
  2039. -includedir | --includedir | --includedi | --included | --include \
  2040. | --includ | --inclu | --incl | --inc)
  2041. ac_prev=includedir ;;
  2042. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  2043. | --includ=* | --inclu=* | --incl=* | --inc=*)
  2044. includedir=$ac_optarg ;;
  2045. -infodir | --infodir | --infodi | --infod | --info | --inf)
  2046. ac_prev=infodir ;;
  2047. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  2048. infodir=$ac_optarg ;;
  2049. -libdir | --libdir | --libdi | --libd)
  2050. ac_prev=libdir ;;
  2051. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  2052. libdir=$ac_optarg ;;
  2053. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  2054. | --libexe | --libex | --libe)
  2055. ac_prev=libexecdir ;;
  2056. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  2057. | --libexe=* | --libex=* | --libe=*)
  2058. libexecdir=$ac_optarg ;;
  2059. -localedir | --localedir | --localedi | --localed | --locale)
  2060. ac_prev=localedir ;;
  2061. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  2062. localedir=$ac_optarg ;;
  2063. -localstatedir | --localstatedir | --localstatedi | --localstated \
  2064. | --localstate | --localstat | --localsta | --localst | --locals)
  2065. ac_prev=localstatedir ;;
  2066. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  2067. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  2068. localstatedir=$ac_optarg ;;
  2069. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  2070. ac_prev=mandir ;;
  2071. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  2072. mandir=$ac_optarg ;;
  2073. -nfp | --nfp | --nf)
  2074. # Obsolete; use --without-fp.
  2075. with_fp=no ;;
  2076. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  2077. | --no-cr | --no-c | -n)
  2078. no_create=yes ;;
  2079. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  2080. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  2081. no_recursion=yes ;;
  2082. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  2083. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  2084. | --oldin | --oldi | --old | --ol | --o)
  2085. ac_prev=oldincludedir ;;
  2086. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  2087. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  2088. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  2089. oldincludedir=$ac_optarg ;;
  2090. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  2091. ac_prev=prefix ;;
  2092. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  2093. prefix=$ac_optarg ;;
  2094. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  2095. | --program-pre | --program-pr | --program-p)
  2096. ac_prev=program_prefix ;;
  2097. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  2098. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  2099. program_prefix=$ac_optarg ;;
  2100. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  2101. | --program-suf | --program-su | --program-s)
  2102. ac_prev=program_suffix ;;
  2103. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  2104. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  2105. program_suffix=$ac_optarg ;;
  2106. -program-transform-name | --program-transform-name \
  2107. | --program-transform-nam | --program-transform-na \
  2108. | --program-transform-n | --program-transform- \
  2109. | --program-transform | --program-transfor \
  2110. | --program-transfo | --program-transf \
  2111. | --program-trans | --program-tran \
  2112. | --progr-tra | --program-tr | --program-t)
  2113. ac_prev=program_transform_name ;;
  2114. -program-transform-name=* | --program-transform-name=* \
  2115. | --program-transform-nam=* | --program-transform-na=* \
  2116. | --program-transform-n=* | --program-transform-=* \
  2117. | --program-transform=* | --program-transfor=* \
  2118. | --program-transfo=* | --program-transf=* \
  2119. | --program-trans=* | --program-tran=* \
  2120. | --progr-tra=* | --program-tr=* | --program-t=*)
  2121. program_transform_name=$ac_optarg ;;
  2122. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  2123. ac_prev=pdfdir ;;
  2124. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  2125. pdfdir=$ac_optarg ;;
  2126. -psdir | --psdir | --psdi | --psd | --ps)
  2127. ac_prev=psdir ;;
  2128. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  2129. psdir=$ac_optarg ;;
  2130. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2131. | -silent | --silent | --silen | --sile | --sil)
  2132. silent=yes ;;
  2133. -runstatedir | --runstatedir | --runstatedi | --runstated \
  2134. | --runstate | --runstat | --runsta | --runst | --runs \
  2135. | --run | --ru | --r)
  2136. ac_prev=runstatedir ;;
  2137. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  2138. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  2139. | --run=* | --ru=* | --r=*)
  2140. runstatedir=$ac_optarg ;;
  2141. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  2142. ac_prev=sbindir ;;
  2143. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  2144. | --sbi=* | --sb=*)
  2145. sbindir=$ac_optarg ;;
  2146. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  2147. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  2148. | --sharedst | --shareds | --shared | --share | --shar \
  2149. | --sha | --sh)
  2150. ac_prev=sharedstatedir ;;
  2151. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  2152. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  2153. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  2154. | --sha=* | --sh=*)
  2155. sharedstatedir=$ac_optarg ;;
  2156. -site | --site | --sit)
  2157. ac_prev=site ;;
  2158. -site=* | --site=* | --sit=*)
  2159. site=$ac_optarg ;;
  2160. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  2161. ac_prev=srcdir ;;
  2162. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  2163. srcdir=$ac_optarg ;;
  2164. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  2165. | --syscon | --sysco | --sysc | --sys | --sy)
  2166. ac_prev=sysconfdir ;;
  2167. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  2168. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  2169. sysconfdir=$ac_optarg ;;
  2170. -target | --target | --targe | --targ | --tar | --ta | --t)
  2171. ac_prev=target_alias ;;
  2172. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  2173. target_alias=$ac_optarg ;;
  2174. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  2175. verbose=yes ;;
  2176. -version | --version | --versio | --versi | --vers | -V)
  2177. ac_init_version=: ;;
  2178. -with-* | --with-*)
  2179. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  2180. # Reject names that are not valid shell variable names.
  2181. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2182. as_fn_error $? "invalid package name: $ac_useropt"
  2183. ac_useropt_orig=$ac_useropt
  2184. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2185. case $ac_user_opts in
  2186. *"
  2187. "with_$ac_useropt"
  2188. "*) ;;
  2189. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  2190. ac_unrecognized_sep=', ';;
  2191. esac
  2192. eval with_$ac_useropt=\$ac_optarg ;;
  2193. -without-* | --without-*)
  2194. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  2195. # Reject names that are not valid shell variable names.
  2196. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2197. as_fn_error $? "invalid package name: $ac_useropt"
  2198. ac_useropt_orig=$ac_useropt
  2199. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2200. case $ac_user_opts in
  2201. *"
  2202. "with_$ac_useropt"
  2203. "*) ;;
  2204. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  2205. ac_unrecognized_sep=', ';;
  2206. esac
  2207. eval with_$ac_useropt=no ;;
  2208. --x)
  2209. # Obsolete; use --with-x.
  2210. with_x=yes ;;
  2211. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  2212. | --x-incl | --x-inc | --x-in | --x-i)
  2213. ac_prev=x_includes ;;
  2214. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  2215. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  2216. x_includes=$ac_optarg ;;
  2217. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  2218. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  2219. ac_prev=x_libraries ;;
  2220. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  2221. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2222. x_libraries=$ac_optarg ;;
  2223. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  2224. Try \`$0 --help' for more information"
  2225. ;;
  2226. *=*)
  2227. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  2228. # Reject names that are not valid shell variable names.
  2229. case $ac_envvar in #(
  2230. '' | [0-9]* | *[!_$as_cr_alnum]* )
  2231. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  2232. esac
  2233. eval $ac_envvar=\$ac_optarg
  2234. export $ac_envvar ;;
  2235. *)
  2236. # FIXME: should be removed in autoconf 3.0.
  2237. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  2238. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  2239. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  2240. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  2241. ;;
  2242. esac
  2243. done
  2244. if test -n "$ac_prev"; then
  2245. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  2246. as_fn_error $? "missing argument to $ac_option"
  2247. fi
  2248. if test -n "$ac_unrecognized_opts"; then
  2249. case $enable_option_checking in
  2250. no) ;;
  2251. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  2252. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  2253. esac
  2254. fi
  2255. # Check all directory arguments for consistency.
  2256. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  2257. datadir sysconfdir sharedstatedir localstatedir includedir \
  2258. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  2259. libdir localedir mandir runstatedir
  2260. do
  2261. eval ac_val=\$$ac_var
  2262. # Remove trailing slashes.
  2263. case $ac_val in
  2264. */ )
  2265. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  2266. eval $ac_var=\$ac_val;;
  2267. esac
  2268. # Be sure to have absolute directory names.
  2269. case $ac_val in
  2270. [\\/$]* | ?:[\\/]* ) continue;;
  2271. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  2272. esac
  2273. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  2274. done
  2275. # There might be people who depend on the old broken behavior: `$host'
  2276. # used to hold the argument of --host etc.
  2277. # FIXME: To remove some day.
  2278. build=$build_alias
  2279. host=$host_alias
  2280. target=$target_alias
  2281. # FIXME: To remove some day.
  2282. if test "x$host_alias" != x; then
  2283. if test "x$build_alias" = x; then
  2284. cross_compiling=maybe
  2285. elif test "x$build_alias" != "x$host_alias"; then
  2286. cross_compiling=yes
  2287. fi
  2288. fi
  2289. ac_tool_prefix=
  2290. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  2291. test "$silent" = yes && exec 6>/dev/null
  2292. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  2293. ac_ls_di=`ls -di .` &&
  2294. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  2295. as_fn_error $? "working directory cannot be determined"
  2296. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  2297. as_fn_error $? "pwd does not report name of working directory"
  2298. # Find the source files, if location was not specified.
  2299. if test -z "$srcdir"; then
  2300. ac_srcdir_defaulted=yes
  2301. # Try the directory containing this script, then the parent directory.
  2302. ac_confdir=`$as_dirname -- "$as_myself" ||
  2303. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2304. X"$as_myself" : 'X\(//\)[^/]' \| \
  2305. X"$as_myself" : 'X\(//\)$' \| \
  2306. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  2307. $as_echo X"$as_myself" |
  2308. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  2309. s//\1/
  2310. q
  2311. }
  2312. /^X\(\/\/\)[^/].*/{
  2313. s//\1/
  2314. q
  2315. }
  2316. /^X\(\/\/\)$/{
  2317. s//\1/
  2318. q
  2319. }
  2320. /^X\(\/\).*/{
  2321. s//\1/
  2322. q
  2323. }
  2324. s/.*/./; q'`
  2325. srcdir=$ac_confdir
  2326. if test ! -r "$srcdir/$ac_unique_file"; then
  2327. srcdir=..
  2328. fi
  2329. else
  2330. ac_srcdir_defaulted=no
  2331. fi
  2332. if test ! -r "$srcdir/$ac_unique_file"; then
  2333. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  2334. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  2335. fi
  2336. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  2337. ac_abs_confdir=`(
  2338. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  2339. pwd)`
  2340. # When building in place, set srcdir=.
  2341. if test "$ac_abs_confdir" = "$ac_pwd"; then
  2342. srcdir=.
  2343. fi
  2344. # Remove unnecessary trailing slashes from srcdir.
  2345. # Double slashes in file names in object file debugging info
  2346. # mess up M-x gdb in Emacs.
  2347. case $srcdir in
  2348. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  2349. esac
  2350. for ac_var in $ac_precious_vars; do
  2351. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  2352. eval ac_env_${ac_var}_value=\$${ac_var}
  2353. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  2354. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  2355. done
  2356. #
  2357. # Report the --help message.
  2358. #
  2359. if test "$ac_init_help" = "long"; then
  2360. # Omit some internal or obsolete options to make the list less imposing.
  2361. # This message is too long to be a string in the A/UX 3.1 sh.
  2362. cat <<_ACEOF
  2363. \`configure' configures Wine 5.17 to adapt to many kinds of systems.
  2364. Usage: $0 [OPTION]... [VAR=VALUE]...
  2365. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  2366. VAR=VALUE. See below for descriptions of some of the useful variables.
  2367. Defaults for the options are specified in brackets.
  2368. Configuration:
  2369. -h, --help display this help and exit
  2370. --help=short display options specific to this package
  2371. --help=recursive display the short help of all the included packages
  2372. -V, --version display version information and exit
  2373. -q, --quiet, --silent do not print \`checking ...' messages
  2374. --cache-file=FILE cache test results in FILE [disabled]
  2375. -C, --config-cache alias for \`--cache-file=config.cache'
  2376. -n, --no-create do not create output files
  2377. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  2378. Installation directories:
  2379. --prefix=PREFIX install architecture-independent files in PREFIX
  2380. [$ac_default_prefix]
  2381. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  2382. [PREFIX]
  2383. By default, \`make install' will install all the files in
  2384. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  2385. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  2386. for instance \`--prefix=\$HOME'.
  2387. For better control, use the options below.
  2388. Fine tuning of the installation directories:
  2389. --bindir=DIR user executables [EPREFIX/bin]
  2390. --sbindir=DIR system admin executables [EPREFIX/sbin]
  2391. --libexecdir=DIR program executables [EPREFIX/libexec]
  2392. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  2393. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  2394. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  2395. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  2396. --libdir=DIR object code libraries [EPREFIX/lib]
  2397. --includedir=DIR C header files [PREFIX/include]
  2398. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  2399. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  2400. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  2401. --infodir=DIR info documentation [DATAROOTDIR/info]
  2402. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  2403. --mandir=DIR man documentation [DATAROOTDIR/man]
  2404. --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
  2405. --htmldir=DIR html documentation [DOCDIR]
  2406. --dvidir=DIR dvi documentation [DOCDIR]
  2407. --pdfdir=DIR pdf documentation [DOCDIR]
  2408. --psdir=DIR ps documentation [DOCDIR]
  2409. _ACEOF
  2410. cat <<\_ACEOF
  2411. X features:
  2412. --x-includes=DIR X include files are in DIR
  2413. --x-libraries=DIR X library files are in DIR
  2414. System types:
  2415. --build=BUILD configure for building on BUILD [guessed]
  2416. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  2417. _ACEOF
  2418. fi
  2419. if test -n "$ac_init_help"; then
  2420. case $ac_init_help in
  2421. short | recursive ) echo "Configuration of Wine 5.17:";;
  2422. esac
  2423. cat <<\_ACEOF
  2424. Optional Features:
  2425. --disable-option-checking ignore unrecognized --enable/--with options
  2426. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  2427. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  2428. --disable-win16 do not include Win16 support
  2429. --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
  2430. binaries)
  2431. --disable-tests do not build the regression tests
  2432. --enable-maintainer-mode
  2433. enable maintainer-specific build rules
  2434. --enable-werror treat compilation warnings as errors
  2435. --disable-largefile omit support for large files
  2436. Optional Packages:
  2437. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  2438. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  2439. --without-alsa do not use the Alsa sound support
  2440. --without-capi do not use CAPI (ISDN support)
  2441. --without-cms do not use CMS (color management support)
  2442. --without-coreaudio do not use the CoreAudio sound support
  2443. --without-cups do not use CUPS
  2444. --without-dbus do not use DBus (dynamic device support)
  2445. --without-faudio do not use FAudio (XAudio2 support)
  2446. --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
  2447. --without-fontconfig do not use fontconfig
  2448. --without-freetype do not use the FreeType library
  2449. --without-gettext do not use gettext
  2450. --with-gettextpo use the GetTextPO library to rebuild po files
  2451. --without-gphoto do not use gphoto (Digital Camera support)
  2452. --without-glu do not use the GLU library
  2453. --without-gnutls do not use GnuTLS (schannel support)
  2454. --without-gsm do not use libgsm (GSM 06.10 codec support)
  2455. --without-gssapi do not use GSSAPI (Kerberos SSP support)
  2456. --without-gstreamer do not use GStreamer (codecs support)
  2457. --without-hal do not use HAL (dynamic device support)
  2458. --without-inotify do not use inotify (filesystem change notifications)
  2459. --without-jpeg do not use JPEG
  2460. --without-krb5 do not use krb5 (Kerberos)
  2461. --without-ldap do not use LDAP
  2462. --without-mingw do not use the MinGW cross-compiler
  2463. --without-mpg123 do not use the mpg123 library
  2464. --without-netapi do not use the Samba NetAPI library
  2465. --without-openal do not use OpenAL
  2466. --without-opencl do not use OpenCL
  2467. --without-opengl do not use OpenGL
  2468. --without-osmesa do not use the OSMesa library
  2469. --without-oss do not use the OSS sound support
  2470. --without-pcap do not use the Packet Capture library
  2471. --without-png do not use PNG
  2472. --without-pthread do not use the pthread library
  2473. --without-pulse do not use PulseAudio sound support
  2474. --without-quicktime do not use QuickTime support
  2475. --without-sane do not use SANE (scanner support)
  2476. --without-sdl do not use SDL
  2477. --without-tiff do not use TIFF
  2478. --without-udev do not use udev (plug and play support)
  2479. --without-unwind do not use the libunwind library (exception
  2480. handling)
  2481. --without-usb do not use the libusb library
  2482. --without-v4l2 do not use v4l2 (video capture)
  2483. --without-vkd3d do not use vkd3d (Direct3D 12 support)
  2484. --without-vulkan do not use Vulkan
  2485. --without-xcomposite do not use the Xcomposite extension
  2486. --without-xcursor do not use the Xcursor extension
  2487. --without-xfixes do not use Xfixes for clipboard change notifications
  2488. --without-xinerama do not use Xinerama (legacy multi-monitor support)
  2489. --without-xinput do not use the Xinput extension
  2490. --without-xinput2 do not use the Xinput 2 extension
  2491. --without-xml do not use XML
  2492. --without-xrandr do not use Xrandr (multi-monitor support)
  2493. --without-xrender do not use the Xrender extension
  2494. --without-xshape do not use the Xshape extension
  2495. --without-xshm do not use XShm (shared memory extension)
  2496. --without-xslt do not use XSLT
  2497. --without-xxf86vm do not use XFree video mode extension
  2498. --with-wine-tools=DIR use Wine tools from directory DIR
  2499. --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
  2500. --with-x use the X Window System
  2501. Some influential environment variables:
  2502. CC C compiler command
  2503. CFLAGS C compiler flags
  2504. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2505. nonstandard directory <lib dir>
  2506. LIBS libraries to pass to the linker, e.g. -l<library>
  2507. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2508. you have headers in a nonstandard directory <include dir>
  2509. CXX C++ compiler command
  2510. CXXFLAGS C++ compiler flags
  2511. CPP C preprocessor
  2512. OBJC Objective C compiler command
  2513. OBJCFLAGS Objective C compiler flags
  2514. OBJCPP Objective C preprocessor
  2515. XMKMF Path to xmkmf, Makefile generator for X Window System
  2516. XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
  2517. XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
  2518. XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
  2519. XSLT_LIBS Linker flags for libxslt, overriding pkg-config
  2520. INOTIFY_CFLAGS
  2521. C compiler flags for libinotify, overriding pkg-config
  2522. INOTIFY_LIBS
  2523. Linker flags for libinotify, overriding pkg-config
  2524. DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
  2525. DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
  2526. HAL_CFLAGS C compiler flags for hal, overriding pkg-config
  2527. HAL_LIBS Linker flags for hal, overriding pkg-config
  2528. GNUTLS_CFLAGS
  2529. C compiler flags for gnutls, overriding pkg-config
  2530. GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
  2531. SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
  2532. SANE_LIBS Linker flags for libsane, overriding pkg-config
  2533. USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
  2534. USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
  2535. GPHOTO2_CFLAGS
  2536. C compiler flags for libgphoto2, overriding pkg-config
  2537. GPHOTO2_LIBS
  2538. Linker flags for libgphoto2, overriding pkg-config
  2539. GPHOTO2_PORT_CFLAGS
  2540. C compiler flags for libgphoto2_port, overriding pkg-config
  2541. GPHOTO2_PORT_LIBS
  2542. Linker flags for libgphoto2_port, overriding pkg-config
  2543. LCMS2_CFLAGS
  2544. C compiler flags for lcms2, overriding pkg-config
  2545. LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
  2546. FREETYPE_CFLAGS
  2547. C compiler flags for freetype2, overriding pkg-config
  2548. FREETYPE_LIBS
  2549. Linker flags for freetype2, overriding pkg-config
  2550. PULSE_CFLAGS
  2551. C compiler flags for libpulse, overriding pkg-config
  2552. PULSE_LIBS Linker flags for libpulse, overriding pkg-config
  2553. GSTREAMER_CFLAGS
  2554. C compiler flags for gstreamer-1.0 gstreamer-video-1.0
  2555. gstreamer-audio-1.0, overriding pkg-config
  2556. GSTREAMER_LIBS
  2557. Linker flags for gstreamer-1.0 gstreamer-video-1.0
  2558. gstreamer-audio-1.0, overriding pkg-config
  2559. UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
  2560. UDEV_LIBS Linker flags for libudev, overriding pkg-config
  2561. UNWIND_CFLAGS
  2562. C compiler flags for libunwind, overriding pkg-config
  2563. UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
  2564. SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
  2565. SDL2_LIBS Linker flags for sdl2, overriding pkg-config
  2566. FAUDIO_CFLAGS
  2567. C compiler flags for faudio, overriding pkg-config
  2568. FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
  2569. CAPI20_CFLAGS
  2570. C compiler flags for capi20, overriding pkg-config
  2571. CAPI20_LIBS Linker flags for capi20, overriding pkg-config
  2572. CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
  2573. CUPS_LIBS Linker flags for cups, overriding pkg-config
  2574. FONTCONFIG_CFLAGS
  2575. C compiler flags for fontconfig, overriding pkg-config
  2576. FONTCONFIG_LIBS
  2577. Linker flags for fontconfig, overriding pkg-config
  2578. KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
  2579. KRB5_LIBS Linker flags for krb5, overriding pkg-config
  2580. GSSAPI_CFLAGS
  2581. C compiler flags for krb5-gssapi, overriding pkg-config
  2582. GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
  2583. JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
  2584. JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
  2585. PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
  2586. PNG_LIBS Linker flags for libpng, overriding pkg-config
  2587. TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
  2588. TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
  2589. MPG123_CFLAGS
  2590. C compiler flags for libmpg123, overriding pkg-config
  2591. MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
  2592. NETAPI_CFLAGS
  2593. C compiler flags for netapi, overriding pkg-config
  2594. NETAPI_LIBS Linker flags for netapi, overriding pkg-config
  2595. VKD3D_CFLAGS
  2596. C compiler flags for libvkd3d, overriding pkg-config
  2597. VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
  2598. LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
  2599. LDAP_LIBS Linker flags for openldap, overriding pkg-config
  2600. Use these variables to override the choices made by `configure' or to help
  2601. it to find libraries and programs with nonstandard names/locations.
  2602. Report bugs to <wine-devel@winehq.org>.
  2603. Wine home page: <https://www.winehq.org>.
  2604. _ACEOF
  2605. ac_status=$?
  2606. fi
  2607. if test "$ac_init_help" = "recursive"; then
  2608. # If there are subdirs, report their specific --help.
  2609. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2610. test -d "$ac_dir" ||
  2611. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2612. continue
  2613. ac_builddir=.
  2614. case "$ac_dir" in
  2615. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2616. *)
  2617. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  2618. # A ".." for each directory in $ac_dir_suffix.
  2619. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2620. case $ac_top_builddir_sub in
  2621. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2622. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2623. esac ;;
  2624. esac
  2625. ac_abs_top_builddir=$ac_pwd
  2626. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2627. # for backward compatibility:
  2628. ac_top_builddir=$ac_top_build_prefix
  2629. case $srcdir in
  2630. .) # We are building in place.
  2631. ac_srcdir=.
  2632. ac_top_srcdir=$ac_top_builddir_sub
  2633. ac_abs_top_srcdir=$ac_pwd ;;
  2634. [\\/]* | ?:[\\/]* ) # Absolute name.
  2635. ac_srcdir=$srcdir$ac_dir_suffix;
  2636. ac_top_srcdir=$srcdir
  2637. ac_abs_top_srcdir=$srcdir ;;
  2638. *) # Relative name.
  2639. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2640. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2641. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2642. esac
  2643. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2644. cd "$ac_dir" || { ac_status=$?; continue; }
  2645. # Check for guested configure.
  2646. if test -f "$ac_srcdir/configure.gnu"; then
  2647. echo &&
  2648. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2649. elif test -f "$ac_srcdir/configure"; then
  2650. echo &&
  2651. $SHELL "$ac_srcdir/configure" --help=recursive
  2652. else
  2653. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2654. fi || ac_status=$?
  2655. cd "$ac_pwd" || { ac_status=$?; break; }
  2656. done
  2657. fi
  2658. test -n "$ac_init_help" && exit $ac_status
  2659. if $ac_init_version; then
  2660. cat <<\_ACEOF
  2661. Wine configure 5.17
  2662. generated by GNU Autoconf 2.69
  2663. Copyright (C) 2012 Free Software Foundation, Inc.
  2664. This configure script is free software; the Free Software Foundation
  2665. gives unlimited permission to copy, distribute and modify it.
  2666. _ACEOF
  2667. exit
  2668. fi
  2669. ## ------------------------ ##
  2670. ## Autoconf initialization. ##
  2671. ## ------------------------ ##
  2672. # ac_fn_c_try_compile LINENO
  2673. # --------------------------
  2674. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2675. ac_fn_c_try_compile ()
  2676. {
  2677. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2678. rm -f conftest.$ac_objext
  2679. if { { ac_try="$ac_compile"
  2680. case "(($ac_try" in
  2681. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2682. *) ac_try_echo=$ac_try;;
  2683. esac
  2684. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2685. $as_echo "$ac_try_echo"; } >&5
  2686. (eval "$ac_compile") 2>conftest.err
  2687. ac_status=$?
  2688. if test -s conftest.err; then
  2689. grep -v '^ *+' conftest.err >conftest.er1
  2690. cat conftest.er1 >&5
  2691. mv -f conftest.er1 conftest.err
  2692. fi
  2693. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2694. test $ac_status = 0; } && {
  2695. test -z "$ac_c_werror_flag" ||
  2696. test ! -s conftest.err
  2697. } && test -s conftest.$ac_objext; then :
  2698. ac_retval=0
  2699. else
  2700. $as_echo "$as_me: failed program was:" >&5
  2701. sed 's/^/| /' conftest.$ac_ext >&5
  2702. ac_retval=1
  2703. fi
  2704. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2705. as_fn_set_status $ac_retval
  2706. } # ac_fn_c_try_compile
  2707. # ac_fn_cxx_try_compile LINENO
  2708. # ----------------------------
  2709. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2710. ac_fn_cxx_try_compile ()
  2711. {
  2712. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2713. rm -f conftest.$ac_objext
  2714. if { { ac_try="$ac_compile"
  2715. case "(($ac_try" in
  2716. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2717. *) ac_try_echo=$ac_try;;
  2718. esac
  2719. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2720. $as_echo "$ac_try_echo"; } >&5
  2721. (eval "$ac_compile") 2>conftest.err
  2722. ac_status=$?
  2723. if test -s conftest.err; then
  2724. grep -v '^ *+' conftest.err >conftest.er1
  2725. cat conftest.er1 >&5
  2726. mv -f conftest.er1 conftest.err
  2727. fi
  2728. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2729. test $ac_status = 0; } && {
  2730. test -z "$ac_cxx_werror_flag" ||
  2731. test ! -s conftest.err
  2732. } && test -s conftest.$ac_objext; then :
  2733. ac_retval=0
  2734. else
  2735. $as_echo "$as_me: failed program was:" >&5
  2736. sed 's/^/| /' conftest.$ac_ext >&5
  2737. ac_retval=1
  2738. fi
  2739. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2740. as_fn_set_status $ac_retval
  2741. } # ac_fn_cxx_try_compile
  2742. # ac_fn_c_try_link LINENO
  2743. # -----------------------
  2744. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2745. ac_fn_c_try_link ()
  2746. {
  2747. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2748. rm -f conftest.$ac_objext conftest$ac_exeext
  2749. if { { ac_try="$ac_link"
  2750. case "(($ac_try" in
  2751. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2752. *) ac_try_echo=$ac_try;;
  2753. esac
  2754. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2755. $as_echo "$ac_try_echo"; } >&5
  2756. (eval "$ac_link") 2>conftest.err
  2757. ac_status=$?
  2758. if test -s conftest.err; then
  2759. grep -v '^ *+' conftest.err >conftest.er1
  2760. cat conftest.er1 >&5
  2761. mv -f conftest.er1 conftest.err
  2762. fi
  2763. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2764. test $ac_status = 0; } && {
  2765. test -z "$ac_c_werror_flag" ||
  2766. test ! -s conftest.err
  2767. } && test -s conftest$ac_exeext && {
  2768. test "$cross_compiling" = yes ||
  2769. test -x conftest$ac_exeext
  2770. }; then :
  2771. ac_retval=0
  2772. else
  2773. $as_echo "$as_me: failed program was:" >&5
  2774. sed 's/^/| /' conftest.$ac_ext >&5
  2775. ac_retval=1
  2776. fi
  2777. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2778. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2779. # interfere with the next link command; also delete a directory that is
  2780. # left behind by Apple's compiler. We do this before executing the actions.
  2781. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2782. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2783. as_fn_set_status $ac_retval
  2784. } # ac_fn_c_try_link
  2785. # ac_fn_c_try_cpp LINENO
  2786. # ----------------------
  2787. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2788. ac_fn_c_try_cpp ()
  2789. {
  2790. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2791. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2792. case "(($ac_try" in
  2793. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2794. *) ac_try_echo=$ac_try;;
  2795. esac
  2796. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2797. $as_echo "$ac_try_echo"; } >&5
  2798. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2799. ac_status=$?
  2800. if test -s conftest.err; then
  2801. grep -v '^ *+' conftest.err >conftest.er1
  2802. cat conftest.er1 >&5
  2803. mv -f conftest.er1 conftest.err
  2804. fi
  2805. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2806. test $ac_status = 0; } > conftest.i && {
  2807. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2808. test ! -s conftest.err
  2809. }; then :
  2810. ac_retval=0
  2811. else
  2812. $as_echo "$as_me: failed program was:" >&5
  2813. sed 's/^/| /' conftest.$ac_ext >&5
  2814. ac_retval=1
  2815. fi
  2816. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2817. as_fn_set_status $ac_retval
  2818. } # ac_fn_c_try_cpp
  2819. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2820. # -------------------------------------------------------
  2821. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2822. # the include files in INCLUDES and setting the cache variable VAR
  2823. # accordingly.
  2824. ac_fn_c_check_header_mongrel ()
  2825. {
  2826. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2827. if eval \${$3+:} false; then :
  2828. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2829. $as_echo_n "checking for $2... " >&6; }
  2830. if eval \${$3+:} false; then :
  2831. $as_echo_n "(cached) " >&6
  2832. fi
  2833. eval ac_res=\$$3
  2834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2835. $as_echo "$ac_res" >&6; }
  2836. else
  2837. # Is the header compilable?
  2838. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2839. $as_echo_n "checking $2 usability... " >&6; }
  2840. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2841. /* end confdefs.h. */
  2842. $4
  2843. #include <$2>
  2844. _ACEOF
  2845. if ac_fn_c_try_compile "$LINENO"; then :
  2846. ac_header_compiler=yes
  2847. else
  2848. ac_header_compiler=no
  2849. fi
  2850. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2851. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2852. $as_echo "$ac_header_compiler" >&6; }
  2853. # Is the header present?
  2854. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2855. $as_echo_n "checking $2 presence... " >&6; }
  2856. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2857. /* end confdefs.h. */
  2858. #include <$2>
  2859. _ACEOF
  2860. if ac_fn_c_try_cpp "$LINENO"; then :
  2861. ac_header_preproc=yes
  2862. else
  2863. ac_header_preproc=no
  2864. fi
  2865. rm -f conftest.err conftest.i conftest.$ac_ext
  2866. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2867. $as_echo "$ac_header_preproc" >&6; }
  2868. # So? What about this header?
  2869. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2870. yes:no: )
  2871. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2872. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2873. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2874. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2875. ;;
  2876. no:yes:* )
  2877. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2878. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2879. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2880. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2881. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2882. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2883. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2884. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2885. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2886. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2887. ( $as_echo "## ------------------------------------ ##
  2888. ## Report this to wine-devel@winehq.org ##
  2889. ## ------------------------------------ ##"
  2890. ) | sed "s/^/$as_me: WARNING: /" >&2
  2891. ;;
  2892. esac
  2893. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2894. $as_echo_n "checking for $2... " >&6; }
  2895. if eval \${$3+:} false; then :
  2896. $as_echo_n "(cached) " >&6
  2897. else
  2898. eval "$3=\$ac_header_compiler"
  2899. fi
  2900. eval ac_res=\$$3
  2901. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2902. $as_echo "$ac_res" >&6; }
  2903. fi
  2904. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2905. } # ac_fn_c_check_header_mongrel
  2906. # ac_fn_c_try_run LINENO
  2907. # ----------------------
  2908. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  2909. # that executables *can* be run.
  2910. ac_fn_c_try_run ()
  2911. {
  2912. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2913. if { { ac_try="$ac_link"
  2914. case "(($ac_try" in
  2915. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2916. *) ac_try_echo=$ac_try;;
  2917. esac
  2918. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2919. $as_echo "$ac_try_echo"; } >&5
  2920. (eval "$ac_link") 2>&5
  2921. ac_status=$?
  2922. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2923. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  2924. { { case "(($ac_try" in
  2925. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2926. *) ac_try_echo=$ac_try;;
  2927. esac
  2928. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2929. $as_echo "$ac_try_echo"; } >&5
  2930. (eval "$ac_try") 2>&5
  2931. ac_status=$?
  2932. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2933. test $ac_status = 0; }; }; then :
  2934. ac_retval=0
  2935. else
  2936. $as_echo "$as_me: program exited with status $ac_status" >&5
  2937. $as_echo "$as_me: failed program was:" >&5
  2938. sed 's/^/| /' conftest.$ac_ext >&5
  2939. ac_retval=$ac_status
  2940. fi
  2941. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2942. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2943. as_fn_set_status $ac_retval
  2944. } # ac_fn_c_try_run
  2945. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2946. # -------------------------------------------------------
  2947. # Tests whether HEADER exists and can be compiled using the include files in
  2948. # INCLUDES, setting the cache variable VAR accordingly.
  2949. ac_fn_c_check_header_compile ()
  2950. {
  2951. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2952. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2953. $as_echo_n "checking for $2... " >&6; }
  2954. if eval \${$3+:} false; then :
  2955. $as_echo_n "(cached) " >&6
  2956. else
  2957. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2958. /* end confdefs.h. */
  2959. $4
  2960. #include <$2>
  2961. _ACEOF
  2962. if ac_fn_c_try_compile "$LINENO"; then :
  2963. eval "$3=yes"
  2964. else
  2965. eval "$3=no"
  2966. fi
  2967. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2968. fi
  2969. eval ac_res=\$$3
  2970. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2971. $as_echo "$ac_res" >&6; }
  2972. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2973. } # ac_fn_c_check_header_compile
  2974. # ac_fn_objc_try_compile LINENO
  2975. # -----------------------------
  2976. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2977. ac_fn_objc_try_compile ()
  2978. {
  2979. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2980. rm -f conftest.$ac_objext
  2981. if { { ac_try="$ac_compile"
  2982. case "(($ac_try" in
  2983. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2984. *) ac_try_echo=$ac_try;;
  2985. esac
  2986. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2987. $as_echo "$ac_try_echo"; } >&5
  2988. (eval "$ac_compile") 2>conftest.err
  2989. ac_status=$?
  2990. if test -s conftest.err; then
  2991. grep -v '^ *+' conftest.err >conftest.er1
  2992. cat conftest.er1 >&5
  2993. mv -f conftest.er1 conftest.err
  2994. fi
  2995. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2996. test $ac_status = 0; } && {
  2997. test -z "$ac_objc_werror_flag" ||
  2998. test ! -s conftest.err
  2999. } && test -s conftest.$ac_objext; then :
  3000. ac_retval=0
  3001. else
  3002. $as_echo "$as_me: failed program was:" >&5
  3003. sed 's/^/| /' conftest.$ac_ext >&5
  3004. ac_retval=1
  3005. fi
  3006. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3007. as_fn_set_status $ac_retval
  3008. } # ac_fn_objc_try_compile
  3009. # ac_fn_objc_try_cpp LINENO
  3010. # -------------------------
  3011. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  3012. ac_fn_objc_try_cpp ()
  3013. {
  3014. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3015. if { { ac_try="$ac_cpp conftest.$ac_ext"
  3016. case "(($ac_try" in
  3017. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3018. *) ac_try_echo=$ac_try;;
  3019. esac
  3020. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3021. $as_echo "$ac_try_echo"; } >&5
  3022. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  3023. ac_status=$?
  3024. if test -s conftest.err; then
  3025. grep -v '^ *+' conftest.err >conftest.er1
  3026. cat conftest.er1 >&5
  3027. mv -f conftest.er1 conftest.err
  3028. fi
  3029. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3030. test $ac_status = 0; } > conftest.i && {
  3031. test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  3032. test ! -s conftest.err
  3033. }; then :
  3034. ac_retval=0
  3035. else
  3036. $as_echo "$as_me: failed program was:" >&5
  3037. sed 's/^/| /' conftest.$ac_ext >&5
  3038. ac_retval=1
  3039. fi
  3040. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3041. as_fn_set_status $ac_retval
  3042. } # ac_fn_objc_try_cpp
  3043. # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
  3044. # ----------------------------------------------------------
  3045. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  3046. # the include files in INCLUDES and setting the cache variable VAR
  3047. # accordingly.
  3048. ac_fn_objc_check_header_mongrel ()
  3049. {
  3050. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3051. if eval \${$3+:} false; then :
  3052. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3053. $as_echo_n "checking for $2... " >&6; }
  3054. if eval \${$3+:} false; then :
  3055. $as_echo_n "(cached) " >&6
  3056. fi
  3057. eval ac_res=\$$3
  3058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3059. $as_echo "$ac_res" >&6; }
  3060. else
  3061. # Is the header compilable?
  3062. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  3063. $as_echo_n "checking $2 usability... " >&6; }
  3064. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3065. /* end confdefs.h. */
  3066. $4
  3067. #include <$2>
  3068. _ACEOF
  3069. if ac_fn_objc_try_compile "$LINENO"; then :
  3070. ac_header_compiler=yes
  3071. else
  3072. ac_header_compiler=no
  3073. fi
  3074. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  3076. $as_echo "$ac_header_compiler" >&6; }
  3077. # Is the header present?
  3078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  3079. $as_echo_n "checking $2 presence... " >&6; }
  3080. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3081. /* end confdefs.h. */
  3082. #include <$2>
  3083. _ACEOF
  3084. if ac_fn_objc_try_cpp "$LINENO"; then :
  3085. ac_header_preproc=yes
  3086. else
  3087. ac_header_preproc=no
  3088. fi
  3089. rm -f conftest.err conftest.i conftest.$ac_ext
  3090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  3091. $as_echo "$ac_header_preproc" >&6; }
  3092. # So? What about this header?
  3093. case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
  3094. yes:no: )
  3095. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  3096. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3097. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3098. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3099. ;;
  3100. no:yes:* )
  3101. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  3102. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  3103. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  3104. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  3105. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  3106. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  3107. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  3108. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  3109. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3110. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3111. ( $as_echo "## ------------------------------------ ##
  3112. ## Report this to wine-devel@winehq.org ##
  3113. ## ------------------------------------ ##"
  3114. ) | sed "s/^/$as_me: WARNING: /" >&2
  3115. ;;
  3116. esac
  3117. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3118. $as_echo_n "checking for $2... " >&6; }
  3119. if eval \${$3+:} false; then :
  3120. $as_echo_n "(cached) " >&6
  3121. else
  3122. eval "$3=\$ac_header_compiler"
  3123. fi
  3124. eval ac_res=\$$3
  3125. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3126. $as_echo "$ac_res" >&6; }
  3127. fi
  3128. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3129. } # ac_fn_objc_check_header_mongrel
  3130. # ac_fn_c_check_func LINENO FUNC VAR
  3131. # ----------------------------------
  3132. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  3133. ac_fn_c_check_func ()
  3134. {
  3135. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3136. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3137. $as_echo_n "checking for $2... " >&6; }
  3138. if eval \${$3+:} false; then :
  3139. $as_echo_n "(cached) " >&6
  3140. else
  3141. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3142. /* end confdefs.h. */
  3143. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  3144. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3145. #define $2 innocuous_$2
  3146. /* System header to define __stub macros and hopefully few prototypes,
  3147. which can conflict with char $2 (); below.
  3148. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3149. <limits.h> exists even on freestanding compilers. */
  3150. #ifdef __STDC__
  3151. # include <limits.h>
  3152. #else
  3153. # include <assert.h>
  3154. #endif
  3155. #undef $2
  3156. /* Override any GCC internal prototype to avoid an error.
  3157. Use char because int might match the return type of a GCC
  3158. builtin and then its argument prototype would still apply. */
  3159. #ifdef __cplusplus
  3160. extern "C"
  3161. #endif
  3162. char $2 ();
  3163. /* The GNU C library defines this for functions which it implements
  3164. to always fail with ENOSYS. Some functions are actually named
  3165. something starting with __ and the normal name is an alias. */
  3166. #if defined __stub_$2 || defined __stub___$2
  3167. choke me
  3168. #endif
  3169. int
  3170. main ()
  3171. {
  3172. return $2 ();
  3173. ;
  3174. return 0;
  3175. }
  3176. _ACEOF
  3177. if ac_fn_c_try_link "$LINENO"; then :
  3178. eval "$3=yes"
  3179. else
  3180. eval "$3=no"
  3181. fi
  3182. rm -f core conftest.err conftest.$ac_objext \
  3183. conftest$ac_exeext conftest.$ac_ext
  3184. fi
  3185. eval ac_res=\$$3
  3186. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3187. $as_echo "$ac_res" >&6; }
  3188. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3189. } # ac_fn_c_check_func
  3190. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  3191. # ----------------------------------------------------
  3192. # Tries to find if the field MEMBER exists in type AGGR, after including
  3193. # INCLUDES, setting cache variable VAR accordingly.
  3194. ac_fn_c_check_member ()
  3195. {
  3196. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3197. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  3198. $as_echo_n "checking for $2.$3... " >&6; }
  3199. if eval \${$4+:} false; then :
  3200. $as_echo_n "(cached) " >&6
  3201. else
  3202. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3203. /* end confdefs.h. */
  3204. $5
  3205. int
  3206. main ()
  3207. {
  3208. static $2 ac_aggr;
  3209. if (ac_aggr.$3)
  3210. return 0;
  3211. ;
  3212. return 0;
  3213. }
  3214. _ACEOF
  3215. if ac_fn_c_try_compile "$LINENO"; then :
  3216. eval "$4=yes"
  3217. else
  3218. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3219. /* end confdefs.h. */
  3220. $5
  3221. int
  3222. main ()
  3223. {
  3224. static $2 ac_aggr;
  3225. if (sizeof ac_aggr.$3)
  3226. return 0;
  3227. ;
  3228. return 0;
  3229. }
  3230. _ACEOF
  3231. if ac_fn_c_try_compile "$LINENO"; then :
  3232. eval "$4=yes"
  3233. else
  3234. eval "$4=no"
  3235. fi
  3236. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3237. fi
  3238. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3239. fi
  3240. eval ac_res=\$$4
  3241. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3242. $as_echo "$ac_res" >&6; }
  3243. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3244. } # ac_fn_c_check_member
  3245. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  3246. # -------------------------------------------
  3247. # Tests whether TYPE exists after having included INCLUDES, setting cache
  3248. # variable VAR accordingly.
  3249. ac_fn_c_check_type ()
  3250. {
  3251. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3252. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3253. $as_echo_n "checking for $2... " >&6; }
  3254. if eval \${$3+:} false; then :
  3255. $as_echo_n "(cached) " >&6
  3256. else
  3257. eval "$3=no"
  3258. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3259. /* end confdefs.h. */
  3260. $4
  3261. int
  3262. main ()
  3263. {
  3264. if (sizeof ($2))
  3265. return 0;
  3266. ;
  3267. return 0;
  3268. }
  3269. _ACEOF
  3270. if ac_fn_c_try_compile "$LINENO"; then :
  3271. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3272. /* end confdefs.h. */
  3273. $4
  3274. int
  3275. main ()
  3276. {
  3277. if (sizeof (($2)))
  3278. return 0;
  3279. ;
  3280. return 0;
  3281. }
  3282. _ACEOF
  3283. if ac_fn_c_try_compile "$LINENO"; then :
  3284. else
  3285. eval "$3=yes"
  3286. fi
  3287. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3288. fi
  3289. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3290. fi
  3291. eval ac_res=\$$3
  3292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3293. $as_echo "$ac_res" >&6; }
  3294. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3295. } # ac_fn_c_check_type
  3296. cat >config.log <<_ACEOF
  3297. This file contains any messages produced by compilers while
  3298. running configure, to aid debugging if configure makes a mistake.
  3299. It was created by Wine $as_me 5.17, which was
  3300. generated by GNU Autoconf 2.69. Invocation command line was
  3301. $ $0 $@
  3302. _ACEOF
  3303. exec 5>>config.log
  3304. {
  3305. cat <<_ASUNAME
  3306. ## --------- ##
  3307. ## Platform. ##
  3308. ## --------- ##
  3309. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3310. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3311. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3312. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3313. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3314. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3315. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  3316. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  3317. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  3318. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3319. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  3320. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  3321. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  3322. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  3323. _ASUNAME
  3324. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3325. for as_dir in $PATH
  3326. do
  3327. IFS=$as_save_IFS
  3328. test -z "$as_dir" && as_dir=.
  3329. $as_echo "PATH: $as_dir"
  3330. done
  3331. IFS=$as_save_IFS
  3332. } >&5
  3333. cat >&5 <<_ACEOF
  3334. ## ----------- ##
  3335. ## Core tests. ##
  3336. ## ----------- ##
  3337. _ACEOF
  3338. # Keep a trace of the command line.
  3339. # Strip out --no-create and --no-recursion so they do not pile up.
  3340. # Strip out --silent because we don't want to record it for future runs.
  3341. # Also quote any args containing shell meta-characters.
  3342. # Make two passes to allow for proper duplicate-argument suppression.
  3343. ac_configure_args=
  3344. ac_configure_args0=
  3345. ac_configure_args1=
  3346. ac_must_keep_next=false
  3347. for ac_pass in 1 2
  3348. do
  3349. for ac_arg
  3350. do
  3351. case $ac_arg in
  3352. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  3353. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3354. | -silent | --silent | --silen | --sile | --sil)
  3355. continue ;;
  3356. *\'*)
  3357. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3358. esac
  3359. case $ac_pass in
  3360. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  3361. 2)
  3362. as_fn_append ac_configure_args1 " '$ac_arg'"
  3363. if test $ac_must_keep_next = true; then
  3364. ac_must_keep_next=false # Got value, back to normal.
  3365. else
  3366. case $ac_arg in
  3367. *=* | --config-cache | -C | -disable-* | --disable-* \
  3368. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3369. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3370. | -with-* | --with-* | -without-* | --without-* | --x)
  3371. case "$ac_configure_args0 " in
  3372. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3373. esac
  3374. ;;
  3375. -* ) ac_must_keep_next=true ;;
  3376. esac
  3377. fi
  3378. as_fn_append ac_configure_args " '$ac_arg'"
  3379. ;;
  3380. esac
  3381. done
  3382. done
  3383. { ac_configure_args0=; unset ac_configure_args0;}
  3384. { ac_configure_args1=; unset ac_configure_args1;}
  3385. # When interrupted or exit'd, cleanup temporary files, and complete
  3386. # config.log. We remove comments because anyway the quotes in there
  3387. # would cause problems or look ugly.
  3388. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3389. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3390. trap 'exit_status=$?
  3391. # Save into config.log some information that might help in debugging.
  3392. {
  3393. echo
  3394. $as_echo "## ---------------- ##
  3395. ## Cache variables. ##
  3396. ## ---------------- ##"
  3397. echo
  3398. # The following way of writing the cache mishandles newlines in values,
  3399. (
  3400. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3401. eval ac_val=\$$ac_var
  3402. case $ac_val in #(
  3403. *${as_nl}*)
  3404. case $ac_var in #(
  3405. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3406. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3407. esac
  3408. case $ac_var in #(
  3409. _ | IFS | as_nl) ;; #(
  3410. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3411. *) { eval $ac_var=; unset $ac_var;} ;;
  3412. esac ;;
  3413. esac
  3414. done
  3415. (set) 2>&1 |
  3416. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3417. *${as_nl}ac_space=\ *)
  3418. sed -n \
  3419. "s/'\''/'\''\\\\'\'''\''/g;
  3420. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3421. ;; #(
  3422. *)
  3423. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3424. ;;
  3425. esac |
  3426. sort
  3427. )
  3428. echo
  3429. $as_echo "## ----------------- ##
  3430. ## Output variables. ##
  3431. ## ----------------- ##"
  3432. echo
  3433. for ac_var in $ac_subst_vars
  3434. do
  3435. eval ac_val=\$$ac_var
  3436. case $ac_val in
  3437. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3438. esac
  3439. $as_echo "$ac_var='\''$ac_val'\''"
  3440. done | sort
  3441. echo
  3442. if test -n "$ac_subst_files"; then
  3443. $as_echo "## ------------------- ##
  3444. ## File substitutions. ##
  3445. ## ------------------- ##"
  3446. echo
  3447. for ac_var in $ac_subst_files
  3448. do
  3449. eval ac_val=\$$ac_var
  3450. case $ac_val in
  3451. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3452. esac
  3453. $as_echo "$ac_var='\''$ac_val'\''"
  3454. done | sort
  3455. echo
  3456. fi
  3457. if test -s confdefs.h; then
  3458. $as_echo "## ----------- ##
  3459. ## confdefs.h. ##
  3460. ## ----------- ##"
  3461. echo
  3462. cat confdefs.h
  3463. echo
  3464. fi
  3465. test "$ac_signal" != 0 &&
  3466. $as_echo "$as_me: caught signal $ac_signal"
  3467. $as_echo "$as_me: exit $exit_status"
  3468. } >&5
  3469. rm -f core *.core core.conftest.* &&
  3470. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3471. exit $exit_status
  3472. ' 0
  3473. for ac_signal in 1 2 13 15; do
  3474. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3475. done
  3476. ac_signal=0
  3477. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3478. rm -f -r conftest* confdefs.h
  3479. $as_echo "/* confdefs.h */" > confdefs.h
  3480. # Predefined preprocessor variables.
  3481. cat >>confdefs.h <<_ACEOF
  3482. #define PACKAGE_NAME "$PACKAGE_NAME"
  3483. _ACEOF
  3484. cat >>confdefs.h <<_ACEOF
  3485. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  3486. _ACEOF
  3487. cat >>confdefs.h <<_ACEOF
  3488. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  3489. _ACEOF
  3490. cat >>confdefs.h <<_ACEOF
  3491. #define PACKAGE_STRING "$PACKAGE_STRING"
  3492. _ACEOF
  3493. cat >>confdefs.h <<_ACEOF
  3494. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3495. _ACEOF
  3496. cat >>confdefs.h <<_ACEOF
  3497. #define PACKAGE_URL "$PACKAGE_URL"
  3498. _ACEOF
  3499. # Let the site file select an alternate cache file if it wants to.
  3500. # Prefer an explicitly selected file to automatically selected ones.
  3501. ac_site_file1=NONE
  3502. ac_site_file2=NONE
  3503. if test -n "$CONFIG_SITE"; then
  3504. # We do not want a PATH search for config.site.
  3505. case $CONFIG_SITE in #((
  3506. -*) ac_site_file1=./$CONFIG_SITE;;
  3507. */*) ac_site_file1=$CONFIG_SITE;;
  3508. *) ac_site_file1=./$CONFIG_SITE;;
  3509. esac
  3510. elif test "x$prefix" != xNONE; then
  3511. ac_site_file1=$prefix/share/config.site
  3512. ac_site_file2=$prefix/etc/config.site
  3513. else
  3514. ac_site_file1=$ac_default_prefix/share/config.site
  3515. ac_site_file2=$ac_default_prefix/etc/config.site
  3516. fi
  3517. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3518. do
  3519. test "x$ac_site_file" = xNONE && continue
  3520. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  3521. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3522. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3523. sed 's/^/| /' "$ac_site_file" >&5
  3524. . "$ac_site_file" \
  3525. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3526. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3527. as_fn_error $? "failed to load site script $ac_site_file
  3528. See \`config.log' for more details" "$LINENO" 5; }
  3529. fi
  3530. done
  3531. if test -r "$cache_file"; then
  3532. # Some versions of bash will fail to source /dev/null (special files
  3533. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3534. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3535. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3536. $as_echo "$as_me: loading cache $cache_file" >&6;}
  3537. case $cache_file in
  3538. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3539. *) . "./$cache_file";;
  3540. esac
  3541. fi
  3542. else
  3543. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3544. $as_echo "$as_me: creating cache $cache_file" >&6;}
  3545. >$cache_file
  3546. fi
  3547. # Check that the precious variables saved in the cache have kept the same
  3548. # value.
  3549. ac_cache_corrupted=false
  3550. for ac_var in $ac_precious_vars; do
  3551. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3552. eval ac_new_set=\$ac_env_${ac_var}_set
  3553. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3554. eval ac_new_val=\$ac_env_${ac_var}_value
  3555. case $ac_old_set,$ac_new_set in
  3556. set,)
  3557. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3558. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3559. ac_cache_corrupted=: ;;
  3560. ,set)
  3561. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3562. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3563. ac_cache_corrupted=: ;;
  3564. ,);;
  3565. *)
  3566. if test "x$ac_old_val" != "x$ac_new_val"; then
  3567. # differences in whitespace do not lead to failure.
  3568. ac_old_val_w=`echo x $ac_old_val`
  3569. ac_new_val_w=`echo x $ac_new_val`
  3570. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3571. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3572. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3573. ac_cache_corrupted=:
  3574. else
  3575. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3576. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3577. eval $ac_var=\$ac_old_val
  3578. fi
  3579. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3580. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  3581. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3582. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  3583. fi;;
  3584. esac
  3585. # Pass precious variables to config.status.
  3586. if test "$ac_new_set" = set; then
  3587. case $ac_new_val in
  3588. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3589. *) ac_arg=$ac_var=$ac_new_val ;;
  3590. esac
  3591. case " $ac_configure_args " in
  3592. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3593. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3594. esac
  3595. fi
  3596. done
  3597. if $ac_cache_corrupted; then
  3598. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3599. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3600. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3601. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3602. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  3603. fi
  3604. ## -------------------- ##
  3605. ## Main body of script. ##
  3606. ## -------------------- ##
  3607. ac_ext=c
  3608. ac_cpp='$CPP $CPPFLAGS'
  3609. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3610. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3611. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3612. ac_config_headers="$ac_config_headers include/config.h"
  3613. ac_aux_dir=
  3614. for ac_dir in tools "$srcdir"/tools; do
  3615. if test -f "$ac_dir/install-sh"; then
  3616. ac_aux_dir=$ac_dir
  3617. ac_install_sh="$ac_aux_dir/install-sh -c"
  3618. break
  3619. elif test -f "$ac_dir/install.sh"; then
  3620. ac_aux_dir=$ac_dir
  3621. ac_install_sh="$ac_aux_dir/install.sh -c"
  3622. break
  3623. elif test -f "$ac_dir/shtool"; then
  3624. ac_aux_dir=$ac_dir
  3625. ac_install_sh="$ac_aux_dir/shtool install -c"
  3626. break
  3627. fi
  3628. done
  3629. if test -z "$ac_aux_dir"; then
  3630. as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
  3631. fi
  3632. # These three variables are undocumented and unsupported,
  3633. # and are intended to be withdrawn in a future Autoconf release.
  3634. # They can cause serious problems if a builder's source tree is in a directory
  3635. # whose full name contains unusual characters.
  3636. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  3637. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  3638. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  3639. libwine_version="1.0"
  3640. # Check whether --enable-win16 was given.
  3641. if test "${enable_win16+set}" = set; then :
  3642. enableval=$enable_win16;
  3643. fi
  3644. # Check whether --enable-win64 was given.
  3645. if test "${enable_win64+set}" = set; then :
  3646. enableval=$enable_win64;
  3647. fi
  3648. # Check whether --enable-tests was given.
  3649. if test "${enable_tests+set}" = set; then :
  3650. enableval=$enable_tests;
  3651. fi
  3652. # Check whether --enable-maintainer-mode was given.
  3653. if test "${enable_maintainer_mode+set}" = set; then :
  3654. enableval=$enable_maintainer_mode;
  3655. fi
  3656. # Check whether --enable-werror was given.
  3657. if test "${enable_werror+set}" = set; then :
  3658. enableval=$enable_werror;
  3659. fi
  3660. # Check whether --with-alsa was given.
  3661. if test "${with_alsa+set}" = set; then :
  3662. withval=$with_alsa;
  3663. fi
  3664. # Check whether --with-capi was given.
  3665. if test "${with_capi+set}" = set; then :
  3666. withval=$with_capi;
  3667. fi
  3668. # Check whether --with-cms was given.
  3669. if test "${with_cms+set}" = set; then :
  3670. withval=$with_cms;
  3671. fi
  3672. # Check whether --with-coreaudio was given.
  3673. if test "${with_coreaudio+set}" = set; then :
  3674. withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
  3675. fi
  3676. # Check whether --with-cups was given.
  3677. if test "${with_cups+set}" = set; then :
  3678. withval=$with_cups;
  3679. fi
  3680. # Check whether --with-dbus was given.
  3681. if test "${with_dbus+set}" = set; then :
  3682. withval=$with_dbus;
  3683. fi
  3684. # Check whether --with-faudio was given.
  3685. if test "${with_faudio+set}" = set; then :
  3686. withval=$with_faudio;
  3687. fi
  3688. # Check whether --with-float-abi was given.
  3689. if test "${with_float_abi+set}" = set; then :
  3690. withval=$with_float_abi;
  3691. fi
  3692. # Check whether --with-fontconfig was given.
  3693. if test "${with_fontconfig+set}" = set; then :
  3694. withval=$with_fontconfig;
  3695. fi
  3696. # Check whether --with-freetype was given.
  3697. if test "${with_freetype+set}" = set; then :
  3698. withval=$with_freetype;
  3699. fi
  3700. # Check whether --with-gettext was given.
  3701. if test "${with_gettext+set}" = set; then :
  3702. withval=$with_gettext;
  3703. fi
  3704. # Check whether --with-gettextpo was given.
  3705. if test "${with_gettextpo+set}" = set; then :
  3706. withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
  3707. fi
  3708. # Check whether --with-gphoto was given.
  3709. if test "${with_gphoto+set}" = set; then :
  3710. withval=$with_gphoto;
  3711. fi
  3712. # Check whether --with-glu was given.
  3713. if test "${with_glu+set}" = set; then :
  3714. withval=$with_glu;
  3715. fi
  3716. # Check whether --with-gnutls was given.
  3717. if test "${with_gnutls+set}" = set; then :
  3718. withval=$with_gnutls;
  3719. fi
  3720. # Check whether --with-gsm was given.
  3721. if test "${with_gsm+set}" = set; then :
  3722. withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
  3723. fi
  3724. # Check whether --with-gssapi was given.
  3725. if test "${with_gssapi+set}" = set; then :
  3726. withval=$with_gssapi;
  3727. fi
  3728. # Check whether --with-gstreamer was given.
  3729. if test "${with_gstreamer+set}" = set; then :
  3730. withval=$with_gstreamer;
  3731. fi
  3732. # Check whether --with-hal was given.
  3733. if test "${with_hal+set}" = set; then :
  3734. withval=$with_hal;
  3735. fi
  3736. # Check whether --with-inotify was given.
  3737. if test "${with_inotify+set}" = set; then :
  3738. withval=$with_inotify;
  3739. fi
  3740. # Check whether --with-jpeg was given.
  3741. if test "${with_jpeg+set}" = set; then :
  3742. withval=$with_jpeg;
  3743. fi
  3744. # Check whether --with-krb5 was given.
  3745. if test "${with_krb5+set}" = set; then :
  3746. withval=$with_krb5;
  3747. fi
  3748. # Check whether --with-ldap was given.
  3749. if test "${with_ldap+set}" = set; then :
  3750. withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
  3751. fi
  3752. # Check whether --with-mingw was given.
  3753. if test "${with_mingw+set}" = set; then :
  3754. withval=$with_mingw;
  3755. fi
  3756. # Check whether --with-mpg123 was given.
  3757. if test "${with_mpg123+set}" = set; then :
  3758. withval=$with_mpg123;
  3759. fi
  3760. # Check whether --with-netapi was given.
  3761. if test "${with_netapi+set}" = set; then :
  3762. withval=$with_netapi;
  3763. fi
  3764. # Check whether --with-openal was given.
  3765. if test "${with_openal+set}" = set; then :
  3766. withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
  3767. fi
  3768. # Check whether --with-opencl was given.
  3769. if test "${with_opencl+set}" = set; then :
  3770. withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
  3771. fi
  3772. # Check whether --with-opengl was given.
  3773. if test "${with_opengl+set}" = set; then :
  3774. withval=$with_opengl;
  3775. fi
  3776. # Check whether --with-osmesa was given.
  3777. if test "${with_osmesa+set}" = set; then :
  3778. withval=$with_osmesa;
  3779. fi
  3780. # Check whether --with-oss was given.
  3781. if test "${with_oss+set}" = set; then :
  3782. withval=$with_oss;
  3783. fi
  3784. # Check whether --with-pcap was given.
  3785. if test "${with_pcap+set}" = set; then :
  3786. withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
  3787. fi
  3788. # Check whether --with-png was given.
  3789. if test "${with_png+set}" = set; then :
  3790. withval=$with_png;
  3791. fi
  3792. # Check whether --with-pthread was given.
  3793. if test "${with_pthread+set}" = set; then :
  3794. withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
  3795. fi
  3796. # Check whether --with-pulse was given.
  3797. if test "${with_pulse+set}" = set; then :
  3798. withval=$with_pulse;
  3799. fi
  3800. # Check whether --with-quicktime was given.
  3801. if test "${with_quicktime+set}" = set; then :
  3802. withval=$with_quicktime;
  3803. fi
  3804. # Check whether --with-sane was given.
  3805. if test "${with_sane+set}" = set; then :
  3806. withval=$with_sane;
  3807. fi
  3808. # Check whether --with-sdl was given.
  3809. if test "${with_sdl+set}" = set; then :
  3810. withval=$with_sdl;
  3811. fi
  3812. # Check whether --with-tiff was given.
  3813. if test "${with_tiff+set}" = set; then :
  3814. withval=$with_tiff;
  3815. fi
  3816. # Check whether --with-udev was given.
  3817. if test "${with_udev+set}" = set; then :
  3818. withval=$with_udev;
  3819. fi
  3820. # Check whether --with-unwind was given.
  3821. if test "${with_unwind+set}" = set; then :
  3822. withval=$with_unwind;
  3823. fi
  3824. # Check whether --with-usb was given.
  3825. if test "${with_usb+set}" = set; then :
  3826. withval=$with_usb;
  3827. fi
  3828. # Check whether --with-v4l2 was given.
  3829. if test "${with_v4l2+set}" = set; then :
  3830. withval=$with_v4l2;
  3831. fi
  3832. # Check whether --with-vkd3d was given.
  3833. if test "${with_vkd3d+set}" = set; then :
  3834. withval=$with_vkd3d;
  3835. fi
  3836. # Check whether --with-vulkan was given.
  3837. if test "${with_vulkan+set}" = set; then :
  3838. withval=$with_vulkan;
  3839. fi
  3840. # Check whether --with-xcomposite was given.
  3841. if test "${with_xcomposite+set}" = set; then :
  3842. withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
  3843. fi
  3844. # Check whether --with-xcursor was given.
  3845. if test "${with_xcursor+set}" = set; then :
  3846. withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
  3847. fi
  3848. # Check whether --with-xfixes was given.
  3849. if test "${with_xfixes+set}" = set; then :
  3850. withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
  3851. fi
  3852. # Check whether --with-xinerama was given.
  3853. if test "${with_xinerama+set}" = set; then :
  3854. withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
  3855. fi
  3856. # Check whether --with-xinput was given.
  3857. if test "${with_xinput+set}" = set; then :
  3858. withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
  3859. fi
  3860. # Check whether --with-xinput2 was given.
  3861. if test "${with_xinput2+set}" = set; then :
  3862. withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
  3863. fi
  3864. # Check whether --with-xml was given.
  3865. if test "${with_xml+set}" = set; then :
  3866. withval=$with_xml;
  3867. fi
  3868. # Check whether --with-xrandr was given.
  3869. if test "${with_xrandr+set}" = set; then :
  3870. withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
  3871. fi
  3872. # Check whether --with-xrender was given.
  3873. if test "${with_xrender+set}" = set; then :
  3874. withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
  3875. fi
  3876. # Check whether --with-xshape was given.
  3877. if test "${with_xshape+set}" = set; then :
  3878. withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
  3879. fi
  3880. # Check whether --with-xshm was given.
  3881. if test "${with_xshm+set}" = set; then :
  3882. withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
  3883. fi
  3884. # Check whether --with-xslt was given.
  3885. if test "${with_xslt+set}" = set; then :
  3886. withval=$with_xslt;
  3887. fi
  3888. # Check whether --with-xxf86vm was given.
  3889. if test "${with_xxf86vm+set}" = set; then :
  3890. 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
  3891. fi
  3892. # Check whether --with-wine-tools was given.
  3893. if test "${with_wine_tools+set}" = set; then :
  3894. withval=$with_wine_tools;
  3895. fi
  3896. # Check whether --with-wine64 was given.
  3897. if test "${with_wine64+set}" = set; then :
  3898. withval=$with_wine64;
  3899. fi
  3900. # Make sure we can run config.sub.
  3901. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3902. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3903. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3904. $as_echo_n "checking build system type... " >&6; }
  3905. if ${ac_cv_build+:} false; then :
  3906. $as_echo_n "(cached) " >&6
  3907. else
  3908. ac_build_alias=$build_alias
  3909. test "x$ac_build_alias" = x &&
  3910. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3911. test "x$ac_build_alias" = x &&
  3912. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  3913. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3914. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3915. fi
  3916. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3917. $as_echo "$ac_cv_build" >&6; }
  3918. case $ac_cv_build in
  3919. *-*-*) ;;
  3920. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  3921. esac
  3922. build=$ac_cv_build
  3923. ac_save_IFS=$IFS; IFS='-'
  3924. set x $ac_cv_build
  3925. shift
  3926. build_cpu=$1
  3927. build_vendor=$2
  3928. shift; shift
  3929. # Remember, the first character of IFS is used to create $*,
  3930. # except with old shells:
  3931. build_os=$*
  3932. IFS=$ac_save_IFS
  3933. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3934. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3935. $as_echo_n "checking host system type... " >&6; }
  3936. if ${ac_cv_host+:} false; then :
  3937. $as_echo_n "(cached) " >&6
  3938. else
  3939. if test "x$host_alias" = x; then
  3940. ac_cv_host=$ac_cv_build
  3941. else
  3942. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3943. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3944. fi
  3945. fi
  3946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3947. $as_echo "$ac_cv_host" >&6; }
  3948. case $ac_cv_host in
  3949. *-*-*) ;;
  3950. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  3951. esac
  3952. host=$ac_cv_host
  3953. ac_save_IFS=$IFS; IFS='-'
  3954. set x $ac_cv_host
  3955. shift
  3956. host_cpu=$1
  3957. host_vendor=$2
  3958. shift; shift
  3959. # Remember, the first character of IFS is used to create $*,
  3960. # except with old shells:
  3961. host_os=$*
  3962. IFS=$ac_save_IFS
  3963. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3964. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  3965. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  3966. set x ${MAKE-make}
  3967. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  3968. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  3969. $as_echo_n "(cached) " >&6
  3970. else
  3971. cat >conftest.make <<\_ACEOF
  3972. SHELL = /bin/sh
  3973. all:
  3974. @echo '@@@%%%=$(MAKE)=@@@%%%'
  3975. _ACEOF
  3976. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  3977. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  3978. *@@@%%%=?*=@@@%%%*)
  3979. eval ac_cv_prog_make_${ac_make}_set=yes;;
  3980. *)
  3981. eval ac_cv_prog_make_${ac_make}_set=no;;
  3982. esac
  3983. rm -f conftest.make
  3984. fi
  3985. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  3986. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3987. $as_echo "yes" >&6; }
  3988. SET_MAKE=
  3989. else
  3990. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3991. $as_echo "no" >&6; }
  3992. SET_MAKE="MAKE=${MAKE-make}"
  3993. fi
  3994. ac_ext=c
  3995. ac_cpp='$CPP $CPPFLAGS'
  3996. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3997. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3998. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3999. if test -n "$ac_tool_prefix"; then
  4000. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4001. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4002. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4003. $as_echo_n "checking for $ac_word... " >&6; }
  4004. if ${ac_cv_prog_CC+:} false; then :
  4005. $as_echo_n "(cached) " >&6
  4006. else
  4007. if test -n "$CC"; then
  4008. ac_cv_prog_CC="$CC" # Let the user override the test.
  4009. else
  4010. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4011. for as_dir in $PATH
  4012. do
  4013. IFS=$as_save_IFS
  4014. test -z "$as_dir" && as_dir=.
  4015. for ac_exec_ext in '' $ac_executable_extensions; do
  4016. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4017. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4018. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4019. break 2
  4020. fi
  4021. done
  4022. done
  4023. IFS=$as_save_IFS
  4024. fi
  4025. fi
  4026. CC=$ac_cv_prog_CC
  4027. if test -n "$CC"; then
  4028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4029. $as_echo "$CC" >&6; }
  4030. else
  4031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4032. $as_echo "no" >&6; }
  4033. fi
  4034. fi
  4035. if test -z "$ac_cv_prog_CC"; then
  4036. ac_ct_CC=$CC
  4037. # Extract the first word of "gcc", so it can be a program name with args.
  4038. set dummy gcc; ac_word=$2
  4039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4040. $as_echo_n "checking for $ac_word... " >&6; }
  4041. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4042. $as_echo_n "(cached) " >&6
  4043. else
  4044. if test -n "$ac_ct_CC"; then
  4045. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4046. else
  4047. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4048. for as_dir in $PATH
  4049. do
  4050. IFS=$as_save_IFS
  4051. test -z "$as_dir" && as_dir=.
  4052. for ac_exec_ext in '' $ac_executable_extensions; do
  4053. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4054. ac_cv_prog_ac_ct_CC="gcc"
  4055. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4056. break 2
  4057. fi
  4058. done
  4059. done
  4060. IFS=$as_save_IFS
  4061. fi
  4062. fi
  4063. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4064. if test -n "$ac_ct_CC"; then
  4065. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4066. $as_echo "$ac_ct_CC" >&6; }
  4067. else
  4068. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4069. $as_echo "no" >&6; }
  4070. fi
  4071. if test "x$ac_ct_CC" = x; then
  4072. CC=""
  4073. else
  4074. case $cross_compiling:$ac_tool_warned in
  4075. yes:)
  4076. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4077. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4078. ac_tool_warned=yes ;;
  4079. esac
  4080. CC=$ac_ct_CC
  4081. fi
  4082. else
  4083. CC="$ac_cv_prog_CC"
  4084. fi
  4085. if test -z "$CC"; then
  4086. if test -n "$ac_tool_prefix"; then
  4087. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4088. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4089. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4090. $as_echo_n "checking for $ac_word... " >&6; }
  4091. if ${ac_cv_prog_CC+:} false; then :
  4092. $as_echo_n "(cached) " >&6
  4093. else
  4094. if test -n "$CC"; then
  4095. ac_cv_prog_CC="$CC" # Let the user override the test.
  4096. else
  4097. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4098. for as_dir in $PATH
  4099. do
  4100. IFS=$as_save_IFS
  4101. test -z "$as_dir" && as_dir=.
  4102. for ac_exec_ext in '' $ac_executable_extensions; do
  4103. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4104. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4105. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4106. break 2
  4107. fi
  4108. done
  4109. done
  4110. IFS=$as_save_IFS
  4111. fi
  4112. fi
  4113. CC=$ac_cv_prog_CC
  4114. if test -n "$CC"; then
  4115. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4116. $as_echo "$CC" >&6; }
  4117. else
  4118. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4119. $as_echo "no" >&6; }
  4120. fi
  4121. fi
  4122. fi
  4123. if test -z "$CC"; then
  4124. # Extract the first word of "cc", so it can be a program name with args.
  4125. set dummy cc; ac_word=$2
  4126. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4127. $as_echo_n "checking for $ac_word... " >&6; }
  4128. if ${ac_cv_prog_CC+:} false; then :
  4129. $as_echo_n "(cached) " >&6
  4130. else
  4131. if test -n "$CC"; then
  4132. ac_cv_prog_CC="$CC" # Let the user override the test.
  4133. else
  4134. ac_prog_rejected=no
  4135. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4136. for as_dir in $PATH
  4137. do
  4138. IFS=$as_save_IFS
  4139. test -z "$as_dir" && as_dir=.
  4140. for ac_exec_ext in '' $ac_executable_extensions; do
  4141. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4142. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4143. ac_prog_rejected=yes
  4144. continue
  4145. fi
  4146. ac_cv_prog_CC="cc"
  4147. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4148. break 2
  4149. fi
  4150. done
  4151. done
  4152. IFS=$as_save_IFS
  4153. if test $ac_prog_rejected = yes; then
  4154. # We found a bogon in the path, so make sure we never use it.
  4155. set dummy $ac_cv_prog_CC
  4156. shift
  4157. if test $# != 0; then
  4158. # We chose a different compiler from the bogus one.
  4159. # However, it has the same basename, so the bogon will be chosen
  4160. # first if we set CC to just the basename; use the full file name.
  4161. shift
  4162. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4163. fi
  4164. fi
  4165. fi
  4166. fi
  4167. CC=$ac_cv_prog_CC
  4168. if test -n "$CC"; then
  4169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4170. $as_echo "$CC" >&6; }
  4171. else
  4172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4173. $as_echo "no" >&6; }
  4174. fi
  4175. fi
  4176. if test -z "$CC"; then
  4177. if test -n "$ac_tool_prefix"; then
  4178. for ac_prog in cl.exe
  4179. do
  4180. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4181. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4182. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4183. $as_echo_n "checking for $ac_word... " >&6; }
  4184. if ${ac_cv_prog_CC+:} false; then :
  4185. $as_echo_n "(cached) " >&6
  4186. else
  4187. if test -n "$CC"; then
  4188. ac_cv_prog_CC="$CC" # Let the user override the test.
  4189. else
  4190. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4191. for as_dir in $PATH
  4192. do
  4193. IFS=$as_save_IFS
  4194. test -z "$as_dir" && as_dir=.
  4195. for ac_exec_ext in '' $ac_executable_extensions; do
  4196. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4197. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4198. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4199. break 2
  4200. fi
  4201. done
  4202. done
  4203. IFS=$as_save_IFS
  4204. fi
  4205. fi
  4206. CC=$ac_cv_prog_CC
  4207. if test -n "$CC"; then
  4208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4209. $as_echo "$CC" >&6; }
  4210. else
  4211. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4212. $as_echo "no" >&6; }
  4213. fi
  4214. test -n "$CC" && break
  4215. done
  4216. fi
  4217. if test -z "$CC"; then
  4218. ac_ct_CC=$CC
  4219. for ac_prog in cl.exe
  4220. do
  4221. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4222. set dummy $ac_prog; ac_word=$2
  4223. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4224. $as_echo_n "checking for $ac_word... " >&6; }
  4225. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4226. $as_echo_n "(cached) " >&6
  4227. else
  4228. if test -n "$ac_ct_CC"; then
  4229. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4230. else
  4231. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4232. for as_dir in $PATH
  4233. do
  4234. IFS=$as_save_IFS
  4235. test -z "$as_dir" && as_dir=.
  4236. for ac_exec_ext in '' $ac_executable_extensions; do
  4237. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4238. ac_cv_prog_ac_ct_CC="$ac_prog"
  4239. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4240. break 2
  4241. fi
  4242. done
  4243. done
  4244. IFS=$as_save_IFS
  4245. fi
  4246. fi
  4247. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4248. if test -n "$ac_ct_CC"; then
  4249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4250. $as_echo "$ac_ct_CC" >&6; }
  4251. else
  4252. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4253. $as_echo "no" >&6; }
  4254. fi
  4255. test -n "$ac_ct_CC" && break
  4256. done
  4257. if test "x$ac_ct_CC" = x; then
  4258. CC=""
  4259. else
  4260. case $cross_compiling:$ac_tool_warned in
  4261. yes:)
  4262. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4263. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4264. ac_tool_warned=yes ;;
  4265. esac
  4266. CC=$ac_ct_CC
  4267. fi
  4268. fi
  4269. fi
  4270. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4271. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4272. as_fn_error $? "no acceptable C compiler found in \$PATH
  4273. See \`config.log' for more details" "$LINENO" 5; }
  4274. # Provide some information about the compiler.
  4275. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4276. set X $ac_compile
  4277. ac_compiler=$2
  4278. for ac_option in --version -v -V -qversion; do
  4279. { { ac_try="$ac_compiler $ac_option >&5"
  4280. case "(($ac_try" in
  4281. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4282. *) ac_try_echo=$ac_try;;
  4283. esac
  4284. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4285. $as_echo "$ac_try_echo"; } >&5
  4286. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4287. ac_status=$?
  4288. if test -s conftest.err; then
  4289. sed '10a\
  4290. ... rest of stderr output deleted ...
  4291. 10q' conftest.err >conftest.er1
  4292. cat conftest.er1 >&5
  4293. fi
  4294. rm -f conftest.er1 conftest.err
  4295. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4296. test $ac_status = 0; }
  4297. done
  4298. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4299. /* end confdefs.h. */
  4300. int
  4301. main ()
  4302. {
  4303. ;
  4304. return 0;
  4305. }
  4306. _ACEOF
  4307. ac_clean_files_save=$ac_clean_files
  4308. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  4309. # Try to create an executable without -o first, disregard a.out.
  4310. # It will help us diagnose broken compilers, and finding out an intuition
  4311. # of exeext.
  4312. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  4313. $as_echo_n "checking whether the C compiler works... " >&6; }
  4314. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4315. # The possible output files:
  4316. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  4317. ac_rmfiles=
  4318. for ac_file in $ac_files
  4319. do
  4320. case $ac_file in
  4321. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4322. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  4323. esac
  4324. done
  4325. rm -f $ac_rmfiles
  4326. if { { ac_try="$ac_link_default"
  4327. case "(($ac_try" in
  4328. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4329. *) ac_try_echo=$ac_try;;
  4330. esac
  4331. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4332. $as_echo "$ac_try_echo"; } >&5
  4333. (eval "$ac_link_default") 2>&5
  4334. ac_status=$?
  4335. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4336. test $ac_status = 0; }; then :
  4337. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  4338. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  4339. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  4340. # so that the user can short-circuit this test for compilers unknown to
  4341. # Autoconf.
  4342. for ac_file in $ac_files ''
  4343. do
  4344. test -f "$ac_file" || continue
  4345. case $ac_file in
  4346. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  4347. ;;
  4348. [ab].out )
  4349. # We found the default executable, but exeext='' is most
  4350. # certainly right.
  4351. break;;
  4352. *.* )
  4353. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  4354. then :; else
  4355. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4356. fi
  4357. # We set ac_cv_exeext here because the later test for it is not
  4358. # safe: cross compilers may not add the suffix if given an `-o'
  4359. # argument, so we may need to know it at that point already.
  4360. # Even if this section looks crufty: it has the advantage of
  4361. # actually working.
  4362. break;;
  4363. * )
  4364. break;;
  4365. esac
  4366. done
  4367. test "$ac_cv_exeext" = no && ac_cv_exeext=
  4368. else
  4369. ac_file=''
  4370. fi
  4371. if test -z "$ac_file"; then :
  4372. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4373. $as_echo "no" >&6; }
  4374. $as_echo "$as_me: failed program was:" >&5
  4375. sed 's/^/| /' conftest.$ac_ext >&5
  4376. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4377. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4378. as_fn_error 77 "C compiler cannot create executables
  4379. See \`config.log' for more details" "$LINENO" 5; }
  4380. else
  4381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4382. $as_echo "yes" >&6; }
  4383. fi
  4384. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  4385. $as_echo_n "checking for C compiler default output file name... " >&6; }
  4386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  4387. $as_echo "$ac_file" >&6; }
  4388. ac_exeext=$ac_cv_exeext
  4389. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  4390. ac_clean_files=$ac_clean_files_save
  4391. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  4392. $as_echo_n "checking for suffix of executables... " >&6; }
  4393. if { { ac_try="$ac_link"
  4394. case "(($ac_try" in
  4395. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4396. *) ac_try_echo=$ac_try;;
  4397. esac
  4398. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4399. $as_echo "$ac_try_echo"; } >&5
  4400. (eval "$ac_link") 2>&5
  4401. ac_status=$?
  4402. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4403. test $ac_status = 0; }; then :
  4404. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  4405. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  4406. # work properly (i.e., refer to `conftest.exe'), while it won't with
  4407. # `rm'.
  4408. for ac_file in conftest.exe conftest conftest.*; do
  4409. test -f "$ac_file" || continue
  4410. case $ac_file in
  4411. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4412. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4413. break;;
  4414. * ) break;;
  4415. esac
  4416. done
  4417. else
  4418. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4419. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4420. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  4421. See \`config.log' for more details" "$LINENO" 5; }
  4422. fi
  4423. rm -f conftest conftest$ac_cv_exeext
  4424. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  4425. $as_echo "$ac_cv_exeext" >&6; }
  4426. rm -f conftest.$ac_ext
  4427. EXEEXT=$ac_cv_exeext
  4428. ac_exeext=$EXEEXT
  4429. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4430. /* end confdefs.h. */
  4431. #include <stdio.h>
  4432. int
  4433. main ()
  4434. {
  4435. FILE *f = fopen ("conftest.out", "w");
  4436. return ferror (f) || fclose (f) != 0;
  4437. ;
  4438. return 0;
  4439. }
  4440. _ACEOF
  4441. ac_clean_files="$ac_clean_files conftest.out"
  4442. # Check that the compiler produces executables we can run. If not, either
  4443. # the compiler is broken, or we cross compile.
  4444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  4445. $as_echo_n "checking whether we are cross compiling... " >&6; }
  4446. if test "$cross_compiling" != yes; then
  4447. { { ac_try="$ac_link"
  4448. case "(($ac_try" in
  4449. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4450. *) ac_try_echo=$ac_try;;
  4451. esac
  4452. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4453. $as_echo "$ac_try_echo"; } >&5
  4454. (eval "$ac_link") 2>&5
  4455. ac_status=$?
  4456. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4457. test $ac_status = 0; }
  4458. if { ac_try='./conftest$ac_cv_exeext'
  4459. { { case "(($ac_try" in
  4460. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4461. *) ac_try_echo=$ac_try;;
  4462. esac
  4463. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4464. $as_echo "$ac_try_echo"; } >&5
  4465. (eval "$ac_try") 2>&5
  4466. ac_status=$?
  4467. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4468. test $ac_status = 0; }; }; then
  4469. cross_compiling=no
  4470. else
  4471. if test "$cross_compiling" = maybe; then
  4472. cross_compiling=yes
  4473. else
  4474. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4475. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4476. as_fn_error $? "cannot run C compiled programs.
  4477. If you meant to cross compile, use \`--host'.
  4478. See \`config.log' for more details" "$LINENO" 5; }
  4479. fi
  4480. fi
  4481. fi
  4482. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  4483. $as_echo "$cross_compiling" >&6; }
  4484. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  4485. ac_clean_files=$ac_clean_files_save
  4486. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  4487. $as_echo_n "checking for suffix of object files... " >&6; }
  4488. if ${ac_cv_objext+:} false; then :
  4489. $as_echo_n "(cached) " >&6
  4490. else
  4491. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4492. /* end confdefs.h. */
  4493. int
  4494. main ()
  4495. {
  4496. ;
  4497. return 0;
  4498. }
  4499. _ACEOF
  4500. rm -f conftest.o conftest.obj
  4501. if { { ac_try="$ac_compile"
  4502. case "(($ac_try" in
  4503. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4504. *) ac_try_echo=$ac_try;;
  4505. esac
  4506. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4507. $as_echo "$ac_try_echo"; } >&5
  4508. (eval "$ac_compile") 2>&5
  4509. ac_status=$?
  4510. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4511. test $ac_status = 0; }; then :
  4512. for ac_file in conftest.o conftest.obj conftest.*; do
  4513. test -f "$ac_file" || continue;
  4514. case $ac_file in
  4515. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  4516. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  4517. break;;
  4518. esac
  4519. done
  4520. else
  4521. $as_echo "$as_me: failed program was:" >&5
  4522. sed 's/^/| /' conftest.$ac_ext >&5
  4523. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4524. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4525. as_fn_error $? "cannot compute suffix of object files: cannot compile
  4526. See \`config.log' for more details" "$LINENO" 5; }
  4527. fi
  4528. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4529. fi
  4530. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4531. $as_echo "$ac_cv_objext" >&6; }
  4532. OBJEXT=$ac_cv_objext
  4533. ac_objext=$OBJEXT
  4534. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4535. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4536. if ${ac_cv_c_compiler_gnu+:} false; then :
  4537. $as_echo_n "(cached) " >&6
  4538. else
  4539. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4540. /* end confdefs.h. */
  4541. int
  4542. main ()
  4543. {
  4544. #ifndef __GNUC__
  4545. choke me
  4546. #endif
  4547. ;
  4548. return 0;
  4549. }
  4550. _ACEOF
  4551. if ac_fn_c_try_compile "$LINENO"; then :
  4552. ac_compiler_gnu=yes
  4553. else
  4554. ac_compiler_gnu=no
  4555. fi
  4556. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4557. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4558. fi
  4559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4560. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4561. if test $ac_compiler_gnu = yes; then
  4562. GCC=yes
  4563. else
  4564. GCC=
  4565. fi
  4566. ac_test_CFLAGS=${CFLAGS+set}
  4567. ac_save_CFLAGS=$CFLAGS
  4568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4569. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4570. if ${ac_cv_prog_cc_g+:} false; then :
  4571. $as_echo_n "(cached) " >&6
  4572. else
  4573. ac_save_c_werror_flag=$ac_c_werror_flag
  4574. ac_c_werror_flag=yes
  4575. ac_cv_prog_cc_g=no
  4576. CFLAGS="-g"
  4577. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4578. /* end confdefs.h. */
  4579. int
  4580. main ()
  4581. {
  4582. ;
  4583. return 0;
  4584. }
  4585. _ACEOF
  4586. if ac_fn_c_try_compile "$LINENO"; then :
  4587. ac_cv_prog_cc_g=yes
  4588. else
  4589. CFLAGS=""
  4590. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4591. /* end confdefs.h. */
  4592. int
  4593. main ()
  4594. {
  4595. ;
  4596. return 0;
  4597. }
  4598. _ACEOF
  4599. if ac_fn_c_try_compile "$LINENO"; then :
  4600. else
  4601. ac_c_werror_flag=$ac_save_c_werror_flag
  4602. CFLAGS="-g"
  4603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4604. /* end confdefs.h. */
  4605. int
  4606. main ()
  4607. {
  4608. ;
  4609. return 0;
  4610. }
  4611. _ACEOF
  4612. if ac_fn_c_try_compile "$LINENO"; then :
  4613. ac_cv_prog_cc_g=yes
  4614. fi
  4615. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4616. fi
  4617. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4618. fi
  4619. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4620. ac_c_werror_flag=$ac_save_c_werror_flag
  4621. fi
  4622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4623. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4624. if test "$ac_test_CFLAGS" = set; then
  4625. CFLAGS=$ac_save_CFLAGS
  4626. elif test $ac_cv_prog_cc_g = yes; then
  4627. if test "$GCC" = yes; then
  4628. CFLAGS="-g -O2"
  4629. else
  4630. CFLAGS="-g"
  4631. fi
  4632. else
  4633. if test "$GCC" = yes; then
  4634. CFLAGS="-O2"
  4635. else
  4636. CFLAGS=
  4637. fi
  4638. fi
  4639. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4640. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4641. if ${ac_cv_prog_cc_c89+:} false; then :
  4642. $as_echo_n "(cached) " >&6
  4643. else
  4644. ac_cv_prog_cc_c89=no
  4645. ac_save_CC=$CC
  4646. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4647. /* end confdefs.h. */
  4648. #include <stdarg.h>
  4649. #include <stdio.h>
  4650. struct stat;
  4651. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4652. struct buf { int x; };
  4653. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4654. static char *e (p, i)
  4655. char **p;
  4656. int i;
  4657. {
  4658. return p[i];
  4659. }
  4660. static char *f (char * (*g) (char **, int), char **p, ...)
  4661. {
  4662. char *s;
  4663. va_list v;
  4664. va_start (v,p);
  4665. s = g (p, va_arg (v,int));
  4666. va_end (v);
  4667. return s;
  4668. }
  4669. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4670. function prototypes and stuff, but not '\xHH' hex character constants.
  4671. These don't provoke an error unfortunately, instead are silently treated
  4672. as 'x'. The following induces an error, until -std is added to get
  4673. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4674. array size at least. It's necessary to write '\x00'==0 to get something
  4675. that's true only with -std. */
  4676. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4677. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4678. inside strings and character constants. */
  4679. #define FOO(x) 'x'
  4680. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4681. int test (int i, double x);
  4682. struct s1 {int (*f) (int a);};
  4683. struct s2 {int (*f) (double a);};
  4684. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4685. int argc;
  4686. char **argv;
  4687. int
  4688. main ()
  4689. {
  4690. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4691. ;
  4692. return 0;
  4693. }
  4694. _ACEOF
  4695. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4696. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4697. do
  4698. CC="$ac_save_CC $ac_arg"
  4699. if ac_fn_c_try_compile "$LINENO"; then :
  4700. ac_cv_prog_cc_c89=$ac_arg
  4701. fi
  4702. rm -f core conftest.err conftest.$ac_objext
  4703. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4704. done
  4705. rm -f conftest.$ac_ext
  4706. CC=$ac_save_CC
  4707. fi
  4708. # AC_CACHE_VAL
  4709. case "x$ac_cv_prog_cc_c89" in
  4710. x)
  4711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4712. $as_echo "none needed" >&6; } ;;
  4713. xno)
  4714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4715. $as_echo "unsupported" >&6; } ;;
  4716. *)
  4717. CC="$CC $ac_cv_prog_cc_c89"
  4718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4719. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4720. esac
  4721. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4722. fi
  4723. ac_ext=c
  4724. ac_cpp='$CPP $CPPFLAGS'
  4725. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4726. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4727. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4728. ac_ext=cpp
  4729. ac_cpp='$CXXCPP $CPPFLAGS'
  4730. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4731. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4732. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4733. if test -z "$CXX"; then
  4734. if test -n "$CCC"; then
  4735. CXX=$CCC
  4736. else
  4737. if test -n "$ac_tool_prefix"; then
  4738. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4739. do
  4740. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4741. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4742. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4743. $as_echo_n "checking for $ac_word... " >&6; }
  4744. if ${ac_cv_prog_CXX+:} false; then :
  4745. $as_echo_n "(cached) " >&6
  4746. else
  4747. if test -n "$CXX"; then
  4748. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  4749. else
  4750. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4751. for as_dir in $PATH
  4752. do
  4753. IFS=$as_save_IFS
  4754. test -z "$as_dir" && as_dir=.
  4755. for ac_exec_ext in '' $ac_executable_extensions; do
  4756. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4757. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  4758. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4759. break 2
  4760. fi
  4761. done
  4762. done
  4763. IFS=$as_save_IFS
  4764. fi
  4765. fi
  4766. CXX=$ac_cv_prog_CXX
  4767. if test -n "$CXX"; then
  4768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  4769. $as_echo "$CXX" >&6; }
  4770. else
  4771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4772. $as_echo "no" >&6; }
  4773. fi
  4774. test -n "$CXX" && break
  4775. done
  4776. fi
  4777. if test -z "$CXX"; then
  4778. ac_ct_CXX=$CXX
  4779. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4780. do
  4781. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4782. set dummy $ac_prog; ac_word=$2
  4783. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4784. $as_echo_n "checking for $ac_word... " >&6; }
  4785. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  4786. $as_echo_n "(cached) " >&6
  4787. else
  4788. if test -n "$ac_ct_CXX"; then
  4789. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  4790. else
  4791. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4792. for as_dir in $PATH
  4793. do
  4794. IFS=$as_save_IFS
  4795. test -z "$as_dir" && as_dir=.
  4796. for ac_exec_ext in '' $ac_executable_extensions; do
  4797. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4798. ac_cv_prog_ac_ct_CXX="$ac_prog"
  4799. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4800. break 2
  4801. fi
  4802. done
  4803. done
  4804. IFS=$as_save_IFS
  4805. fi
  4806. fi
  4807. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  4808. if test -n "$ac_ct_CXX"; then
  4809. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  4810. $as_echo "$ac_ct_CXX" >&6; }
  4811. else
  4812. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4813. $as_echo "no" >&6; }
  4814. fi
  4815. test -n "$ac_ct_CXX" && break
  4816. done
  4817. if test "x$ac_ct_CXX" = x; then
  4818. CXX="g++"
  4819. else
  4820. case $cross_compiling:$ac_tool_warned in
  4821. yes:)
  4822. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4823. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4824. ac_tool_warned=yes ;;
  4825. esac
  4826. CXX=$ac_ct_CXX
  4827. fi
  4828. fi
  4829. fi
  4830. fi
  4831. # Provide some information about the compiler.
  4832. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  4833. set X $ac_compile
  4834. ac_compiler=$2
  4835. for ac_option in --version -v -V -qversion; do
  4836. { { ac_try="$ac_compiler $ac_option >&5"
  4837. case "(($ac_try" in
  4838. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4839. *) ac_try_echo=$ac_try;;
  4840. esac
  4841. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4842. $as_echo "$ac_try_echo"; } >&5
  4843. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4844. ac_status=$?
  4845. if test -s conftest.err; then
  4846. sed '10a\
  4847. ... rest of stderr output deleted ...
  4848. 10q' conftest.err >conftest.er1
  4849. cat conftest.er1 >&5
  4850. fi
  4851. rm -f conftest.er1 conftest.err
  4852. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4853. test $ac_status = 0; }
  4854. done
  4855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  4856. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  4857. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  4858. $as_echo_n "(cached) " >&6
  4859. else
  4860. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4861. /* end confdefs.h. */
  4862. int
  4863. main ()
  4864. {
  4865. #ifndef __GNUC__
  4866. choke me
  4867. #endif
  4868. ;
  4869. return 0;
  4870. }
  4871. _ACEOF
  4872. if ac_fn_cxx_try_compile "$LINENO"; then :
  4873. ac_compiler_gnu=yes
  4874. else
  4875. ac_compiler_gnu=no
  4876. fi
  4877. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4878. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  4879. fi
  4880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  4881. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  4882. if test $ac_compiler_gnu = yes; then
  4883. GXX=yes
  4884. else
  4885. GXX=
  4886. fi
  4887. ac_test_CXXFLAGS=${CXXFLAGS+set}
  4888. ac_save_CXXFLAGS=$CXXFLAGS
  4889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  4890. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  4891. if ${ac_cv_prog_cxx_g+:} false; then :
  4892. $as_echo_n "(cached) " >&6
  4893. else
  4894. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4895. ac_cxx_werror_flag=yes
  4896. ac_cv_prog_cxx_g=no
  4897. CXXFLAGS="-g"
  4898. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4899. /* end confdefs.h. */
  4900. int
  4901. main ()
  4902. {
  4903. ;
  4904. return 0;
  4905. }
  4906. _ACEOF
  4907. if ac_fn_cxx_try_compile "$LINENO"; then :
  4908. ac_cv_prog_cxx_g=yes
  4909. else
  4910. CXXFLAGS=""
  4911. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4912. /* end confdefs.h. */
  4913. int
  4914. main ()
  4915. {
  4916. ;
  4917. return 0;
  4918. }
  4919. _ACEOF
  4920. if ac_fn_cxx_try_compile "$LINENO"; then :
  4921. else
  4922. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4923. CXXFLAGS="-g"
  4924. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4925. /* end confdefs.h. */
  4926. int
  4927. main ()
  4928. {
  4929. ;
  4930. return 0;
  4931. }
  4932. _ACEOF
  4933. if ac_fn_cxx_try_compile "$LINENO"; then :
  4934. ac_cv_prog_cxx_g=yes
  4935. fi
  4936. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4937. fi
  4938. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4939. fi
  4940. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4941. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4942. fi
  4943. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  4944. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  4945. if test "$ac_test_CXXFLAGS" = set; then
  4946. CXXFLAGS=$ac_save_CXXFLAGS
  4947. elif test $ac_cv_prog_cxx_g = yes; then
  4948. if test "$GXX" = yes; then
  4949. CXXFLAGS="-g -O2"
  4950. else
  4951. CXXFLAGS="-g"
  4952. fi
  4953. else
  4954. if test "$GXX" = yes; then
  4955. CXXFLAGS="-O2"
  4956. else
  4957. CXXFLAGS=
  4958. fi
  4959. fi
  4960. ac_ext=c
  4961. ac_cpp='$CPP $CPPFLAGS'
  4962. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4963. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4964. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4965. if test -n "$ac_tool_prefix"; then
  4966. # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
  4967. set dummy ${ac_tool_prefix}cpp; ac_word=$2
  4968. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4969. $as_echo_n "checking for $ac_word... " >&6; }
  4970. if ${ac_cv_prog_CPPBIN+:} false; then :
  4971. $as_echo_n "(cached) " >&6
  4972. else
  4973. if test -n "$CPPBIN"; then
  4974. ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
  4975. else
  4976. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4977. for as_dir in $PATH
  4978. do
  4979. IFS=$as_save_IFS
  4980. test -z "$as_dir" && as_dir=.
  4981. for ac_exec_ext in '' $ac_executable_extensions; do
  4982. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4983. ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
  4984. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4985. break 2
  4986. fi
  4987. done
  4988. done
  4989. IFS=$as_save_IFS
  4990. fi
  4991. fi
  4992. CPPBIN=$ac_cv_prog_CPPBIN
  4993. if test -n "$CPPBIN"; then
  4994. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
  4995. $as_echo "$CPPBIN" >&6; }
  4996. else
  4997. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4998. $as_echo "no" >&6; }
  4999. fi
  5000. fi
  5001. if test -z "$ac_cv_prog_CPPBIN"; then
  5002. ac_ct_CPPBIN=$CPPBIN
  5003. # Extract the first word of "cpp", so it can be a program name with args.
  5004. set dummy cpp; ac_word=$2
  5005. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5006. $as_echo_n "checking for $ac_word... " >&6; }
  5007. if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
  5008. $as_echo_n "(cached) " >&6
  5009. else
  5010. if test -n "$ac_ct_CPPBIN"; then
  5011. ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
  5012. else
  5013. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5014. for as_dir in $PATH
  5015. do
  5016. IFS=$as_save_IFS
  5017. test -z "$as_dir" && as_dir=.
  5018. for ac_exec_ext in '' $ac_executable_extensions; do
  5019. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5020. ac_cv_prog_ac_ct_CPPBIN="cpp"
  5021. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5022. break 2
  5023. fi
  5024. done
  5025. done
  5026. IFS=$as_save_IFS
  5027. fi
  5028. fi
  5029. ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
  5030. if test -n "$ac_ct_CPPBIN"; then
  5031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
  5032. $as_echo "$ac_ct_CPPBIN" >&6; }
  5033. else
  5034. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5035. $as_echo "no" >&6; }
  5036. fi
  5037. if test "x$ac_ct_CPPBIN" = x; then
  5038. CPPBIN="cpp"
  5039. else
  5040. case $cross_compiling:$ac_tool_warned in
  5041. yes:)
  5042. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5043. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5044. ac_tool_warned=yes ;;
  5045. esac
  5046. CPPBIN=$ac_ct_CPPBIN
  5047. fi
  5048. else
  5049. CPPBIN="$ac_cv_prog_CPPBIN"
  5050. fi
  5051. cat >>confdefs.h <<_ACEOF
  5052. #define EXEEXT "$ac_exeext"
  5053. _ACEOF
  5054. if test -n "$ac_tool_prefix"; then
  5055. # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
  5056. set dummy ${ac_tool_prefix}ld; ac_word=$2
  5057. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5058. $as_echo_n "checking for $ac_word... " >&6; }
  5059. if ${ac_cv_prog_LD+:} false; then :
  5060. $as_echo_n "(cached) " >&6
  5061. else
  5062. if test -n "$LD"; then
  5063. ac_cv_prog_LD="$LD" # Let the user override the test.
  5064. else
  5065. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5066. for as_dir in $PATH
  5067. do
  5068. IFS=$as_save_IFS
  5069. test -z "$as_dir" && as_dir=.
  5070. for ac_exec_ext in '' $ac_executable_extensions; do
  5071. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5072. ac_cv_prog_LD="${ac_tool_prefix}ld"
  5073. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5074. break 2
  5075. fi
  5076. done
  5077. done
  5078. IFS=$as_save_IFS
  5079. fi
  5080. fi
  5081. LD=$ac_cv_prog_LD
  5082. if test -n "$LD"; then
  5083. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5084. $as_echo "$LD" >&6; }
  5085. else
  5086. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5087. $as_echo "no" >&6; }
  5088. fi
  5089. fi
  5090. if test -z "$ac_cv_prog_LD"; then
  5091. ac_ct_LD=$LD
  5092. # Extract the first word of "ld", so it can be a program name with args.
  5093. set dummy ld; ac_word=$2
  5094. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5095. $as_echo_n "checking for $ac_word... " >&6; }
  5096. if ${ac_cv_prog_ac_ct_LD+:} false; then :
  5097. $as_echo_n "(cached) " >&6
  5098. else
  5099. if test -n "$ac_ct_LD"; then
  5100. ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
  5101. else
  5102. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5103. for as_dir in $PATH
  5104. do
  5105. IFS=$as_save_IFS
  5106. test -z "$as_dir" && as_dir=.
  5107. for ac_exec_ext in '' $ac_executable_extensions; do
  5108. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5109. ac_cv_prog_ac_ct_LD="ld"
  5110. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5111. break 2
  5112. fi
  5113. done
  5114. done
  5115. IFS=$as_save_IFS
  5116. fi
  5117. fi
  5118. ac_ct_LD=$ac_cv_prog_ac_ct_LD
  5119. if test -n "$ac_ct_LD"; then
  5120. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
  5121. $as_echo "$ac_ct_LD" >&6; }
  5122. else
  5123. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5124. $as_echo "no" >&6; }
  5125. fi
  5126. if test "x$ac_ct_LD" = x; then
  5127. LD=""
  5128. else
  5129. case $cross_compiling:$ac_tool_warned in
  5130. yes:)
  5131. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5132. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5133. ac_tool_warned=yes ;;
  5134. esac
  5135. LD=$ac_ct_LD
  5136. fi
  5137. else
  5138. LD="$ac_cv_prog_LD"
  5139. fi
  5140. case $host in
  5141. *-darwin*)
  5142. with_fontconfig=${with_fontconfig:-no}
  5143. ;;
  5144. *-mingw32*|*-cygwin*)
  5145. enable_win16=${enable_win16:-no}
  5146. with_mingw=${with_mingw:-no}
  5147. CFLAGS="$CFLAGS -D_WIN32"
  5148. ;;
  5149. esac
  5150. case $host in
  5151. x86_64*|amd64*)
  5152. if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
  5153. then
  5154. CC="$CC -m32"
  5155. CXX="$CXX -m32"
  5156. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
  5157. $as_echo_n "checking whether $CC works... " >&6; }
  5158. if ${wine_cv_cc_m32+:} false; then :
  5159. $as_echo_n "(cached) " >&6
  5160. else
  5161. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5162. /* end confdefs.h. */
  5163. int
  5164. main ()
  5165. {
  5166. ;
  5167. return 0;
  5168. }
  5169. _ACEOF
  5170. if ac_fn_c_try_link "$LINENO"; then :
  5171. wine_cv_cc_m32=yes
  5172. else
  5173. wine_cv_cc_m32=no
  5174. fi
  5175. rm -f core conftest.err conftest.$ac_objext \
  5176. conftest$ac_exeext conftest.$ac_ext
  5177. fi
  5178. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
  5179. $as_echo "$wine_cv_cc_m32" >&6; }
  5180. 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
  5181. host_cpu="i386"
  5182. notice_platform="32-bit "
  5183. TARGETFLAGS="-m32"
  5184. PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
  5185. export PKG_CONFIG_PATH
  5186. enable_win16=${enable_win16:-yes}
  5187. with_unwind=${with_unwind:-no}
  5188. else
  5189. if test "x${GCC}" = "xyes"
  5190. then
  5191. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5192. $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5193. if ${wine_cv_builtin_ms_va_list+:} false; then :
  5194. $as_echo_n "(cached) " >&6
  5195. else
  5196. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5197. /* end confdefs.h. */
  5198. #include <stdarg.h>
  5199. int
  5200. main ()
  5201. {
  5202. void func(__builtin_ms_va_list *args);
  5203. ;
  5204. return 0;
  5205. }
  5206. _ACEOF
  5207. if ac_fn_c_try_compile "$LINENO"; then :
  5208. wine_cv_builtin_ms_va_list=yes
  5209. else
  5210. wine_cv_builtin_ms_va_list=no
  5211. fi
  5212. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5213. fi
  5214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5215. $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
  5216. 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
  5217. fi
  5218. CC="$CC -m64"
  5219. CXX="$CXX -m64"
  5220. host_cpu="x86_64"
  5221. notice_platform="64-bit "
  5222. TARGETFLAGS="-m64"
  5223. fi
  5224. ;;
  5225. arm*)
  5226. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
  5227. $as_echo_n "checking whether $CC supports Thumb... " >&6; }
  5228. if ${wine_cv_thumb+:} false; then :
  5229. $as_echo_n "(cached) " >&6
  5230. else
  5231. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5232. /* end confdefs.h. */
  5233. int ac_test(int i) { return i; }
  5234. int
  5235. main ()
  5236. {
  5237. asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
  5238. ;
  5239. return 0;
  5240. }
  5241. _ACEOF
  5242. if ac_fn_c_try_link "$LINENO"; then :
  5243. wine_cv_thumb=yes
  5244. else
  5245. wine_cv_thumb=no
  5246. fi
  5247. rm -f core conftest.err conftest.$ac_objext \
  5248. conftest$ac_exeext conftest.$ac_ext
  5249. fi
  5250. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
  5251. $as_echo "$wine_cv_thumb" >&6; }
  5252. test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
  5253. case $with_float_abi in
  5254. soft|softfp|hard)
  5255. float_abi=$with_float_abi ;;
  5256. *)
  5257. case $host_os in
  5258. *eabihf)
  5259. float_abi=hard ;;
  5260. *)
  5261. float_abi=softfp
  5262. saved_CFLAGS=$CFLAGS
  5263. CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
  5264. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
  5265. $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
  5266. if ${wine_cv_float_abi+:} false; then :
  5267. $as_echo_n "(cached) " >&6
  5268. else
  5269. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5270. /* end confdefs.h. */
  5271. int
  5272. main ()
  5273. {
  5274. asm("vmrs r2,fpscr");
  5275. ;
  5276. return 0;
  5277. }
  5278. _ACEOF
  5279. if ac_fn_c_try_link "$LINENO"; then :
  5280. wine_cv_float_abi=yes
  5281. else
  5282. wine_cv_float_abi=no
  5283. fi
  5284. rm -f core conftest.err conftest.$ac_objext \
  5285. conftest$ac_exeext conftest.$ac_ext
  5286. fi
  5287. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
  5288. $as_echo "$wine_cv_float_abi" >&6; }
  5289. if test $wine_cv_float_abi = no
  5290. then
  5291. float_abi=soft
  5292. as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
  5293. fi
  5294. CFLAGS=$saved_CFLAGS
  5295. esac
  5296. ;;
  5297. esac
  5298. CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
  5299. TARGETFLAGS="-marm -mfloat-abi=$float_abi"
  5300. ;;
  5301. aarch64*)
  5302. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5303. $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5304. if ${wine_cv_builtin_ms_va_list+:} false; then :
  5305. $as_echo_n "(cached) " >&6
  5306. else
  5307. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5308. /* end confdefs.h. */
  5309. #include <stdarg.h>
  5310. int
  5311. main ()
  5312. {
  5313. void func(__builtin_ms_va_list *args);
  5314. ;
  5315. return 0;
  5316. }
  5317. _ACEOF
  5318. if ac_fn_c_try_compile "$LINENO"; then :
  5319. wine_cv_builtin_ms_va_list=yes
  5320. else
  5321. wine_cv_builtin_ms_va_list=no
  5322. fi
  5323. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5324. fi
  5325. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5326. $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
  5327. test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
  5328. ;;
  5329. i[3456789]86*)
  5330. enable_win16=${enable_win16:-yes}
  5331. with_unwind=${with_unwind:-no}
  5332. ;;
  5333. esac
  5334. enable_win16=${enable_win16:-no}
  5335. enable_win64=${enable_win64:-no}
  5336. enable_winetest=${enable_winetest:-$enable_tests}
  5337. if test "x$enable_win64" = "xyes"
  5338. then
  5339. test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
  5340. --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
  5341. test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
  5342. fi
  5343. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
  5344. $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
  5345. if ${wine_cv_toolsdir+:} false; then :
  5346. $as_echo_n "(cached) " >&6
  5347. else
  5348. wine_cv_toolsdir="$with_wine_tools"
  5349. if test -z "$with_wine_tools"; then
  5350. if test "$cross_compiling" = "yes"; then
  5351. as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
  5352. elif test -n "$with_wine64"; then
  5353. wine_cv_toolsdir="$with_wine64"
  5354. fi
  5355. fi
  5356. fi
  5357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
  5358. $as_echo "$wine_cv_toolsdir" >&6; }
  5359. if test -z "$wine_cv_toolsdir"; then
  5360. wine_makedep=tools/makedep
  5361. TOOLSDIR="."
  5362. elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
  5363. wine_makedep=$wine_cv_toolsdir/tools/makedep
  5364. TOOLSDIR=$wine_cv_toolsdir
  5365. enable_tools=${enable_tools:-no}
  5366. test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
  5367. else
  5368. as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
  5369. fi
  5370. if test -n "$host_alias" -a "$host_alias" != "$build_alias"
  5371. then
  5372. TARGETFLAGS="-b $host_alias $TARGETFLAGS"
  5373. fi
  5374. for ac_prog in flex
  5375. do
  5376. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5377. set dummy $ac_prog; ac_word=$2
  5378. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5379. $as_echo_n "checking for $ac_word... " >&6; }
  5380. if ${ac_cv_prog_FLEX+:} false; then :
  5381. $as_echo_n "(cached) " >&6
  5382. else
  5383. if test -n "$FLEX"; then
  5384. ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
  5385. else
  5386. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5387. for as_dir in $PATH
  5388. do
  5389. IFS=$as_save_IFS
  5390. test -z "$as_dir" && as_dir=.
  5391. for ac_exec_ext in '' $ac_executable_extensions; do
  5392. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5393. ac_cv_prog_FLEX="$ac_prog"
  5394. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5395. break 2
  5396. fi
  5397. done
  5398. done
  5399. IFS=$as_save_IFS
  5400. fi
  5401. fi
  5402. FLEX=$ac_cv_prog_FLEX
  5403. if test -n "$FLEX"; then
  5404. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
  5405. $as_echo "$FLEX" >&6; }
  5406. else
  5407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5408. $as_echo "no" >&6; }
  5409. fi
  5410. test -n "$FLEX" && break
  5411. done
  5412. test -n "$FLEX" || FLEX="none"
  5413. if test "$FLEX" = "none"
  5414. then
  5415. as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
  5416. fi
  5417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
  5418. $as_echo_n "checking whether flex is recent enough... " >&6; }
  5419. if ${wine_cv_recent_flex+:} false; then :
  5420. $as_echo_n "(cached) " >&6
  5421. else
  5422. cat >conftest.l <<EOF
  5423. %top{
  5424. #include "prediluvian.h"
  5425. }
  5426. %%
  5427. EOF
  5428. if $FLEX -t conftest.l >/dev/null 2>&5
  5429. then
  5430. wine_cv_recent_flex=yes
  5431. else
  5432. wine_cv_recent_flex=no
  5433. fi
  5434. fi
  5435. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
  5436. $as_echo "$wine_cv_recent_flex" >&6; }
  5437. 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
  5438. for ac_prog in bison
  5439. do
  5440. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5441. set dummy $ac_prog; ac_word=$2
  5442. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5443. $as_echo_n "checking for $ac_word... " >&6; }
  5444. if ${ac_cv_prog_BISON+:} false; then :
  5445. $as_echo_n "(cached) " >&6
  5446. else
  5447. if test -n "$BISON"; then
  5448. ac_cv_prog_BISON="$BISON" # Let the user override the test.
  5449. else
  5450. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5451. for as_dir in $PATH
  5452. do
  5453. IFS=$as_save_IFS
  5454. test -z "$as_dir" && as_dir=.
  5455. for ac_exec_ext in '' $ac_executable_extensions; do
  5456. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5457. ac_cv_prog_BISON="$ac_prog"
  5458. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5459. break 2
  5460. fi
  5461. done
  5462. done
  5463. IFS=$as_save_IFS
  5464. fi
  5465. fi
  5466. BISON=$ac_cv_prog_BISON
  5467. if test -n "$BISON"; then
  5468. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
  5469. $as_echo "$BISON" >&6; }
  5470. else
  5471. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5472. $as_echo "no" >&6; }
  5473. fi
  5474. test -n "$BISON" && break
  5475. done
  5476. test -n "$BISON" || BISON="none"
  5477. if test "$BISON" = "none"
  5478. then
  5479. as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
  5480. fi
  5481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
  5482. $as_echo_n "checking whether bison is recent enough... " >&6; }
  5483. if ${wine_cv_recent_bison+:} false; then :
  5484. $as_echo_n "(cached) " >&6
  5485. else
  5486. cat >conftest.y <<EOF
  5487. %define parse.error verbose
  5488. %%
  5489. empty: ;
  5490. EOF
  5491. if $BISON conftest.y >/dev/null 2>&5
  5492. then
  5493. wine_cv_recent_bison=yes
  5494. else
  5495. wine_cv_recent_bison=no
  5496. fi
  5497. fi
  5498. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
  5499. $as_echo "$wine_cv_recent_bison" >&6; }
  5500. 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
  5501. if test -n "$ac_tool_prefix"; then
  5502. for ac_prog in ar gar
  5503. do
  5504. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5505. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5506. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5507. $as_echo_n "checking for $ac_word... " >&6; }
  5508. if ${ac_cv_prog_AR+:} false; then :
  5509. $as_echo_n "(cached) " >&6
  5510. else
  5511. if test -n "$AR"; then
  5512. ac_cv_prog_AR="$AR" # Let the user override the test.
  5513. else
  5514. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5515. for as_dir in $PATH
  5516. do
  5517. IFS=$as_save_IFS
  5518. test -z "$as_dir" && as_dir=.
  5519. for ac_exec_ext in '' $ac_executable_extensions; do
  5520. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5521. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5522. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5523. break 2
  5524. fi
  5525. done
  5526. done
  5527. IFS=$as_save_IFS
  5528. fi
  5529. fi
  5530. AR=$ac_cv_prog_AR
  5531. if test -n "$AR"; then
  5532. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5533. $as_echo "$AR" >&6; }
  5534. else
  5535. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5536. $as_echo "no" >&6; }
  5537. fi
  5538. test -n "$AR" && break
  5539. done
  5540. fi
  5541. if test -z "$AR"; then
  5542. ac_ct_AR=$AR
  5543. for ac_prog in ar gar
  5544. do
  5545. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5546. set dummy $ac_prog; ac_word=$2
  5547. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5548. $as_echo_n "checking for $ac_word... " >&6; }
  5549. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5550. $as_echo_n "(cached) " >&6
  5551. else
  5552. if test -n "$ac_ct_AR"; then
  5553. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5554. else
  5555. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5556. for as_dir in $PATH
  5557. do
  5558. IFS=$as_save_IFS
  5559. test -z "$as_dir" && as_dir=.
  5560. for ac_exec_ext in '' $ac_executable_extensions; do
  5561. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5562. ac_cv_prog_ac_ct_AR="$ac_prog"
  5563. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5564. break 2
  5565. fi
  5566. done
  5567. done
  5568. IFS=$as_save_IFS
  5569. fi
  5570. fi
  5571. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5572. if test -n "$ac_ct_AR"; then
  5573. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5574. $as_echo "$ac_ct_AR" >&6; }
  5575. else
  5576. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5577. $as_echo "no" >&6; }
  5578. fi
  5579. test -n "$ac_ct_AR" && break
  5580. done
  5581. if test "x$ac_ct_AR" = x; then
  5582. AR="ar"
  5583. else
  5584. case $cross_compiling:$ac_tool_warned in
  5585. yes:)
  5586. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5587. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5588. ac_tool_warned=yes ;;
  5589. esac
  5590. AR=$ac_ct_AR
  5591. fi
  5592. fi
  5593. if test -n "$ac_tool_prefix"; then
  5594. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5595. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5596. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5597. $as_echo_n "checking for $ac_word... " >&6; }
  5598. if ${ac_cv_prog_STRIP+:} false; then :
  5599. $as_echo_n "(cached) " >&6
  5600. else
  5601. if test -n "$STRIP"; then
  5602. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5603. else
  5604. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5605. for as_dir in $PATH
  5606. do
  5607. IFS=$as_save_IFS
  5608. test -z "$as_dir" && as_dir=.
  5609. for ac_exec_ext in '' $ac_executable_extensions; do
  5610. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5611. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5612. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5613. break 2
  5614. fi
  5615. done
  5616. done
  5617. IFS=$as_save_IFS
  5618. fi
  5619. fi
  5620. STRIP=$ac_cv_prog_STRIP
  5621. if test -n "$STRIP"; then
  5622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5623. $as_echo "$STRIP" >&6; }
  5624. else
  5625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5626. $as_echo "no" >&6; }
  5627. fi
  5628. fi
  5629. if test -z "$ac_cv_prog_STRIP"; then
  5630. ac_ct_STRIP=$STRIP
  5631. # Extract the first word of "strip", so it can be a program name with args.
  5632. set dummy strip; ac_word=$2
  5633. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5634. $as_echo_n "checking for $ac_word... " >&6; }
  5635. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5636. $as_echo_n "(cached) " >&6
  5637. else
  5638. if test -n "$ac_ct_STRIP"; then
  5639. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5640. else
  5641. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5642. for as_dir in $PATH
  5643. do
  5644. IFS=$as_save_IFS
  5645. test -z "$as_dir" && as_dir=.
  5646. for ac_exec_ext in '' $ac_executable_extensions; do
  5647. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5648. ac_cv_prog_ac_ct_STRIP="strip"
  5649. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5650. break 2
  5651. fi
  5652. done
  5653. done
  5654. IFS=$as_save_IFS
  5655. fi
  5656. fi
  5657. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5658. if test -n "$ac_ct_STRIP"; then
  5659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5660. $as_echo "$ac_ct_STRIP" >&6; }
  5661. else
  5662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5663. $as_echo "no" >&6; }
  5664. fi
  5665. if test "x$ac_ct_STRIP" = x; then
  5666. STRIP="strip"
  5667. else
  5668. case $cross_compiling:$ac_tool_warned in
  5669. yes:)
  5670. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5671. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5672. ac_tool_warned=yes ;;
  5673. esac
  5674. STRIP=$ac_ct_STRIP
  5675. fi
  5676. else
  5677. STRIP="$ac_cv_prog_STRIP"
  5678. fi
  5679. if test -n "$ac_tool_prefix"; then
  5680. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5681. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5682. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5683. $as_echo_n "checking for $ac_word... " >&6; }
  5684. if ${ac_cv_prog_RANLIB+:} false; then :
  5685. $as_echo_n "(cached) " >&6
  5686. else
  5687. if test -n "$RANLIB"; then
  5688. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5689. else
  5690. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5691. for as_dir in $PATH
  5692. do
  5693. IFS=$as_save_IFS
  5694. test -z "$as_dir" && as_dir=.
  5695. for ac_exec_ext in '' $ac_executable_extensions; do
  5696. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5697. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5698. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5699. break 2
  5700. fi
  5701. done
  5702. done
  5703. IFS=$as_save_IFS
  5704. fi
  5705. fi
  5706. RANLIB=$ac_cv_prog_RANLIB
  5707. if test -n "$RANLIB"; then
  5708. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5709. $as_echo "$RANLIB" >&6; }
  5710. else
  5711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5712. $as_echo "no" >&6; }
  5713. fi
  5714. fi
  5715. if test -z "$ac_cv_prog_RANLIB"; then
  5716. ac_ct_RANLIB=$RANLIB
  5717. # Extract the first word of "ranlib", so it can be a program name with args.
  5718. set dummy ranlib; ac_word=$2
  5719. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5720. $as_echo_n "checking for $ac_word... " >&6; }
  5721. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5722. $as_echo_n "(cached) " >&6
  5723. else
  5724. if test -n "$ac_ct_RANLIB"; then
  5725. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5726. else
  5727. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5728. for as_dir in $PATH
  5729. do
  5730. IFS=$as_save_IFS
  5731. test -z "$as_dir" && as_dir=.
  5732. for ac_exec_ext in '' $ac_executable_extensions; do
  5733. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5734. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5735. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5736. break 2
  5737. fi
  5738. done
  5739. done
  5740. IFS=$as_save_IFS
  5741. fi
  5742. fi
  5743. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5744. if test -n "$ac_ct_RANLIB"; then
  5745. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5746. $as_echo "$ac_ct_RANLIB" >&6; }
  5747. else
  5748. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5749. $as_echo "no" >&6; }
  5750. fi
  5751. if test "x$ac_ct_RANLIB" = x; then
  5752. RANLIB=":"
  5753. else
  5754. case $cross_compiling:$ac_tool_warned in
  5755. yes:)
  5756. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5757. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5758. ac_tool_warned=yes ;;
  5759. esac
  5760. RANLIB=$ac_ct_RANLIB
  5761. fi
  5762. else
  5763. RANLIB="$ac_cv_prog_RANLIB"
  5764. fi
  5765. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5766. $as_echo_n "checking whether ln -s works... " >&6; }
  5767. LN_S=$as_ln_s
  5768. if test "$LN_S" = "ln -s"; then
  5769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5770. $as_echo "yes" >&6; }
  5771. else
  5772. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5773. $as_echo "no, using $LN_S" >&6; }
  5774. fi
  5775. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  5776. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5777. if ${ac_cv_path_GREP+:} false; then :
  5778. $as_echo_n "(cached) " >&6
  5779. else
  5780. if test -z "$GREP"; then
  5781. ac_path_GREP_found=false
  5782. # Loop through the user's path and test for each of PROGNAME-LIST
  5783. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5784. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5785. do
  5786. IFS=$as_save_IFS
  5787. test -z "$as_dir" && as_dir=.
  5788. for ac_prog in grep ggrep; do
  5789. for ac_exec_ext in '' $ac_executable_extensions; do
  5790. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5791. as_fn_executable_p "$ac_path_GREP" || continue
  5792. # Check for GNU ac_path_GREP and select it if it is found.
  5793. # Check for GNU $ac_path_GREP
  5794. case `"$ac_path_GREP" --version 2>&1` in
  5795. *GNU*)
  5796. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5797. *)
  5798. ac_count=0
  5799. $as_echo_n 0123456789 >"conftest.in"
  5800. while :
  5801. do
  5802. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5803. mv "conftest.tmp" "conftest.in"
  5804. cp "conftest.in" "conftest.nl"
  5805. $as_echo 'GREP' >> "conftest.nl"
  5806. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5807. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5808. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5809. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5810. # Best one so far, save it but keep looking for a better one
  5811. ac_cv_path_GREP="$ac_path_GREP"
  5812. ac_path_GREP_max=$ac_count
  5813. fi
  5814. # 10*(2^10) chars as input seems more than enough
  5815. test $ac_count -gt 10 && break
  5816. done
  5817. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5818. esac
  5819. $ac_path_GREP_found && break 3
  5820. done
  5821. done
  5822. done
  5823. IFS=$as_save_IFS
  5824. if test -z "$ac_cv_path_GREP"; then
  5825. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5826. fi
  5827. else
  5828. ac_cv_path_GREP=$GREP
  5829. fi
  5830. fi
  5831. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  5832. $as_echo "$ac_cv_path_GREP" >&6; }
  5833. GREP="$ac_cv_path_GREP"
  5834. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  5835. $as_echo_n "checking for egrep... " >&6; }
  5836. if ${ac_cv_path_EGREP+:} false; then :
  5837. $as_echo_n "(cached) " >&6
  5838. else
  5839. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5840. then ac_cv_path_EGREP="$GREP -E"
  5841. else
  5842. if test -z "$EGREP"; then
  5843. ac_path_EGREP_found=false
  5844. # Loop through the user's path and test for each of PROGNAME-LIST
  5845. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5846. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5847. do
  5848. IFS=$as_save_IFS
  5849. test -z "$as_dir" && as_dir=.
  5850. for ac_prog in egrep; do
  5851. for ac_exec_ext in '' $ac_executable_extensions; do
  5852. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5853. as_fn_executable_p "$ac_path_EGREP" || continue
  5854. # Check for GNU ac_path_EGREP and select it if it is found.
  5855. # Check for GNU $ac_path_EGREP
  5856. case `"$ac_path_EGREP" --version 2>&1` in
  5857. *GNU*)
  5858. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5859. *)
  5860. ac_count=0
  5861. $as_echo_n 0123456789 >"conftest.in"
  5862. while :
  5863. do
  5864. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5865. mv "conftest.tmp" "conftest.in"
  5866. cp "conftest.in" "conftest.nl"
  5867. $as_echo 'EGREP' >> "conftest.nl"
  5868. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5869. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5870. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5871. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5872. # Best one so far, save it but keep looking for a better one
  5873. ac_cv_path_EGREP="$ac_path_EGREP"
  5874. ac_path_EGREP_max=$ac_count
  5875. fi
  5876. # 10*(2^10) chars as input seems more than enough
  5877. test $ac_count -gt 10 && break
  5878. done
  5879. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5880. esac
  5881. $ac_path_EGREP_found && break 3
  5882. done
  5883. done
  5884. done
  5885. IFS=$as_save_IFS
  5886. if test -z "$ac_cv_path_EGREP"; then
  5887. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5888. fi
  5889. else
  5890. ac_cv_path_EGREP=$EGREP
  5891. fi
  5892. fi
  5893. fi
  5894. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  5895. $as_echo "$ac_cv_path_EGREP" >&6; }
  5896. EGREP="$ac_cv_path_EGREP"
  5897. # Extract the first word of "ldconfig", so it can be a program name with args.
  5898. set dummy ldconfig; ac_word=$2
  5899. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5900. $as_echo_n "checking for $ac_word... " >&6; }
  5901. if ${ac_cv_path_LDCONFIG+:} false; then :
  5902. $as_echo_n "(cached) " >&6
  5903. else
  5904. case $LDCONFIG in
  5905. [\\/]* | ?:[\\/]*)
  5906. ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
  5907. ;;
  5908. *)
  5909. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5910. for as_dir in /sbin /usr/sbin $PATH
  5911. do
  5912. IFS=$as_save_IFS
  5913. test -z "$as_dir" && as_dir=.
  5914. for ac_exec_ext in '' $ac_executable_extensions; do
  5915. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5916. ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
  5917. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5918. break 2
  5919. fi
  5920. done
  5921. done
  5922. IFS=$as_save_IFS
  5923. test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
  5924. ;;
  5925. esac
  5926. fi
  5927. LDCONFIG=$ac_cv_path_LDCONFIG
  5928. if test -n "$LDCONFIG"; then
  5929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
  5930. $as_echo "$LDCONFIG" >&6; }
  5931. else
  5932. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5933. $as_echo "no" >&6; }
  5934. fi
  5935. for ac_prog in msgfmt
  5936. do
  5937. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5938. set dummy $ac_prog; ac_word=$2
  5939. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5940. $as_echo_n "checking for $ac_word... " >&6; }
  5941. if ${ac_cv_prog_MSGFMT+:} false; then :
  5942. $as_echo_n "(cached) " >&6
  5943. else
  5944. if test -n "$MSGFMT"; then
  5945. ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
  5946. else
  5947. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5948. for as_dir in $PATH
  5949. do
  5950. IFS=$as_save_IFS
  5951. test -z "$as_dir" && as_dir=.
  5952. for ac_exec_ext in '' $ac_executable_extensions; do
  5953. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5954. ac_cv_prog_MSGFMT="$ac_prog"
  5955. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5956. break 2
  5957. fi
  5958. done
  5959. done
  5960. IFS=$as_save_IFS
  5961. fi
  5962. fi
  5963. MSGFMT=$ac_cv_prog_MSGFMT
  5964. if test -n "$MSGFMT"; then
  5965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  5966. $as_echo "$MSGFMT" >&6; }
  5967. else
  5968. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5969. $as_echo "no" >&6; }
  5970. fi
  5971. test -n "$MSGFMT" && break
  5972. done
  5973. test -n "$MSGFMT" || MSGFMT="false"
  5974. if ${ac_tool_prefix+:} false; then :
  5975. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  5976. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  5977. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5978. $as_echo_n "checking for $ac_word... " >&6; }
  5979. if ${ac_cv_prog_PKG_CONFIG+:} false; then :
  5980. $as_echo_n "(cached) " >&6
  5981. else
  5982. if test -n "$PKG_CONFIG"; then
  5983. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  5984. else
  5985. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5986. for as_dir in $PATH
  5987. do
  5988. IFS=$as_save_IFS
  5989. test -z "$as_dir" && as_dir=.
  5990. for ac_exec_ext in '' $ac_executable_extensions; do
  5991. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5992. ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
  5993. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5994. break 2
  5995. fi
  5996. done
  5997. done
  5998. IFS=$as_save_IFS
  5999. fi
  6000. fi
  6001. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6002. if test -n "$PKG_CONFIG"; then
  6003. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6004. $as_echo "$PKG_CONFIG" >&6; }
  6005. else
  6006. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6007. $as_echo "no" >&6; }
  6008. fi
  6009. fi
  6010. if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
  6011. if test "x$cross_compiling" = xyes; then :
  6012. else
  6013. { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
  6014. # Extract the first word of "pkg-config", so it can be a program name with args.
  6015. set dummy pkg-config; ac_word=$2
  6016. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6017. $as_echo_n "checking for $ac_word... " >&6; }
  6018. if ${ac_cv_prog_PKG_CONFIG+:} false; then :
  6019. $as_echo_n "(cached) " >&6
  6020. else
  6021. if test -n "$PKG_CONFIG"; then
  6022. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6023. else
  6024. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6025. for as_dir in $PATH
  6026. do
  6027. IFS=$as_save_IFS
  6028. test -z "$as_dir" && as_dir=.
  6029. for ac_exec_ext in '' $ac_executable_extensions; do
  6030. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6031. ac_cv_prog_PKG_CONFIG="pkg-config"
  6032. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6033. break 2
  6034. fi
  6035. done
  6036. done
  6037. IFS=$as_save_IFS
  6038. fi
  6039. fi
  6040. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6041. if test -n "$PKG_CONFIG"; then
  6042. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6043. $as_echo "$PKG_CONFIG" >&6; }
  6044. else
  6045. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6046. $as_echo "no" >&6; }
  6047. fi
  6048. fi
  6049. else
  6050. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6051. fi
  6052. if test "x$enable_maintainer_mode" != "xyes"
  6053. then
  6054. FONTFORGE=""
  6055. RSVG=""
  6056. CONVERT=""
  6057. ICOTOOL=""
  6058. else
  6059. test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
  6060. for ac_prog in fontforge
  6061. do
  6062. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6063. set dummy $ac_prog; ac_word=$2
  6064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6065. $as_echo_n "checking for $ac_word... " >&6; }
  6066. if ${ac_cv_prog_FONTFORGE+:} false; then :
  6067. $as_echo_n "(cached) " >&6
  6068. else
  6069. if test -n "$FONTFORGE"; then
  6070. ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
  6071. else
  6072. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6073. for as_dir in $PATH
  6074. do
  6075. IFS=$as_save_IFS
  6076. test -z "$as_dir" && as_dir=.
  6077. for ac_exec_ext in '' $ac_executable_extensions; do
  6078. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6079. ac_cv_prog_FONTFORGE="$ac_prog"
  6080. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6081. break 2
  6082. fi
  6083. done
  6084. done
  6085. IFS=$as_save_IFS
  6086. fi
  6087. fi
  6088. FONTFORGE=$ac_cv_prog_FONTFORGE
  6089. if test -n "$FONTFORGE"; then
  6090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
  6091. $as_echo "$FONTFORGE" >&6; }
  6092. else
  6093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6094. $as_echo "no" >&6; }
  6095. fi
  6096. test -n "$FONTFORGE" && break
  6097. done
  6098. test -n "$FONTFORGE" || FONTFORGE="false"
  6099. for ac_prog in rsvg-convert rsvg
  6100. do
  6101. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6102. set dummy $ac_prog; ac_word=$2
  6103. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6104. $as_echo_n "checking for $ac_word... " >&6; }
  6105. if ${ac_cv_prog_RSVG+:} false; then :
  6106. $as_echo_n "(cached) " >&6
  6107. else
  6108. if test -n "$RSVG"; then
  6109. ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
  6110. else
  6111. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6112. for as_dir in $PATH
  6113. do
  6114. IFS=$as_save_IFS
  6115. test -z "$as_dir" && as_dir=.
  6116. for ac_exec_ext in '' $ac_executable_extensions; do
  6117. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6118. ac_cv_prog_RSVG="$ac_prog"
  6119. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6120. break 2
  6121. fi
  6122. done
  6123. done
  6124. IFS=$as_save_IFS
  6125. fi
  6126. fi
  6127. RSVG=$ac_cv_prog_RSVG
  6128. if test -n "$RSVG"; then
  6129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
  6130. $as_echo "$RSVG" >&6; }
  6131. else
  6132. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6133. $as_echo "no" >&6; }
  6134. fi
  6135. test -n "$RSVG" && break
  6136. done
  6137. test -n "$RSVG" || RSVG="false"
  6138. for ac_prog in convert
  6139. do
  6140. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6141. set dummy $ac_prog; ac_word=$2
  6142. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6143. $as_echo_n "checking for $ac_word... " >&6; }
  6144. if ${ac_cv_prog_CONVERT+:} false; then :
  6145. $as_echo_n "(cached) " >&6
  6146. else
  6147. if test -n "$CONVERT"; then
  6148. ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
  6149. else
  6150. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6151. for as_dir in $PATH
  6152. do
  6153. IFS=$as_save_IFS
  6154. test -z "$as_dir" && as_dir=.
  6155. for ac_exec_ext in '' $ac_executable_extensions; do
  6156. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6157. ac_cv_prog_CONVERT="$ac_prog"
  6158. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6159. break 2
  6160. fi
  6161. done
  6162. done
  6163. IFS=$as_save_IFS
  6164. fi
  6165. fi
  6166. CONVERT=$ac_cv_prog_CONVERT
  6167. if test -n "$CONVERT"; then
  6168. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
  6169. $as_echo "$CONVERT" >&6; }
  6170. else
  6171. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6172. $as_echo "no" >&6; }
  6173. fi
  6174. test -n "$CONVERT" && break
  6175. done
  6176. test -n "$CONVERT" || CONVERT="false"
  6177. for ac_prog in icotool
  6178. do
  6179. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6180. set dummy $ac_prog; ac_word=$2
  6181. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6182. $as_echo_n "checking for $ac_word... " >&6; }
  6183. if ${ac_cv_prog_ICOTOOL+:} false; then :
  6184. $as_echo_n "(cached) " >&6
  6185. else
  6186. if test -n "$ICOTOOL"; then
  6187. ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
  6188. else
  6189. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6190. for as_dir in $PATH
  6191. do
  6192. IFS=$as_save_IFS
  6193. test -z "$as_dir" && as_dir=.
  6194. for ac_exec_ext in '' $ac_executable_extensions; do
  6195. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6196. ac_cv_prog_ICOTOOL="$ac_prog"
  6197. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6198. break 2
  6199. fi
  6200. done
  6201. done
  6202. IFS=$as_save_IFS
  6203. fi
  6204. fi
  6205. ICOTOOL=$ac_cv_prog_ICOTOOL
  6206. if test -n "$ICOTOOL"; then
  6207. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
  6208. $as_echo "$ICOTOOL" >&6; }
  6209. else
  6210. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6211. $as_echo "no" >&6; }
  6212. fi
  6213. test -n "$ICOTOOL" && break
  6214. done
  6215. test -n "$ICOTOOL" || ICOTOOL="false"
  6216. test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
  6217. test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
  6218. if test "$CONVERT" = false
  6219. then
  6220. as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
  6221. else
  6222. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
  6223. $as_echo_n "checking for recent enough imagemagick... " >&6; }
  6224. convert_version=`convert --version | head -n1`
  6225. if test "x$convert_version" != "x"
  6226. then
  6227. convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
  6228. convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
  6229. if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
  6230. then
  6231. CONVERT=false
  6232. fi
  6233. fi
  6234. if test "$CONVERT" = false
  6235. then
  6236. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
  6237. $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
  6238. as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6239. else
  6240. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
  6241. $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
  6242. fi
  6243. fi
  6244. if test "$ICOTOOL" = false
  6245. then
  6246. as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
  6247. else
  6248. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
  6249. $as_echo_n "checking for recent enough icotool... " >&6; }
  6250. icotool_version=`icotool --version | head -n1`
  6251. if test "x$icotool_version" != "x"
  6252. then
  6253. icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
  6254. icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
  6255. if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
  6256. then
  6257. ICOTOOL=false
  6258. as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
  6259. fi
  6260. fi
  6261. if test "$ICOTOOL" = false
  6262. then
  6263. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
  6264. $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
  6265. as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6266. else
  6267. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
  6268. $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
  6269. fi
  6270. fi
  6271. with_gettext=yes
  6272. with_gettextpo=yes
  6273. enable_werror=yes
  6274. fi
  6275. test "x$with_gettext" != xno || MSGFMT=false
  6276. if test "$MSGFMT" != "false"
  6277. then
  6278. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
  6279. $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
  6280. if ${wine_cv_msgfmt_contexts+:} false; then :
  6281. $as_echo_n "(cached) " >&6
  6282. else
  6283. cat >conftest.po <<EOF
  6284. # comment
  6285. msgctxt "ctxt"
  6286. msgid "id"
  6287. msgstr "str"
  6288. EOF
  6289. if $MSGFMT -o /dev/null conftest.po 2>&5
  6290. then
  6291. wine_cv_msgfmt_contexts=yes
  6292. else
  6293. wine_cv_msgfmt_contexts=no
  6294. fi
  6295. fi
  6296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
  6297. $as_echo "$wine_cv_msgfmt_contexts" >&6; }
  6298. test $wine_cv_msgfmt_contexts != no || MSGFMT=false
  6299. fi
  6300. if test "$MSGFMT" = false; then :
  6301. case "x$with_gettext" in
  6302. x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
  6303. xno) ;;
  6304. *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
  6305. This is an error since --with-gettext was requested." "$LINENO" 5 ;;
  6306. esac
  6307. enable_po=${enable_po:-no}
  6308. fi
  6309. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
  6310. $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
  6311. if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
  6312. $as_echo_n "(cached) " >&6
  6313. else
  6314. ac_check_lib_save_LIBS=$LIBS
  6315. LIBS="-li386 $LIBS"
  6316. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6317. /* end confdefs.h. */
  6318. /* Override any GCC internal prototype to avoid an error.
  6319. Use char because int might match the return type of a GCC
  6320. builtin and then its argument prototype would still apply. */
  6321. #ifdef __cplusplus
  6322. extern "C"
  6323. #endif
  6324. char i386_set_ldt ();
  6325. int
  6326. main ()
  6327. {
  6328. return i386_set_ldt ();
  6329. ;
  6330. return 0;
  6331. }
  6332. _ACEOF
  6333. if ac_fn_c_try_link "$LINENO"; then :
  6334. ac_cv_lib_i386_i386_set_ldt=yes
  6335. else
  6336. ac_cv_lib_i386_i386_set_ldt=no
  6337. fi
  6338. rm -f core conftest.err conftest.$ac_objext \
  6339. conftest$ac_exeext conftest.$ac_ext
  6340. LIBS=$ac_check_lib_save_LIBS
  6341. fi
  6342. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
  6343. $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
  6344. if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
  6345. I386_LIBS="-li386"
  6346. fi
  6347. OPENGL_LIBS=""
  6348. # Check whether --enable-largefile was given.
  6349. if test "${enable_largefile+set}" = set; then :
  6350. enableval=$enable_largefile;
  6351. fi
  6352. if test "$enable_largefile" != no; then
  6353. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  6354. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  6355. if ${ac_cv_sys_largefile_CC+:} false; then :
  6356. $as_echo_n "(cached) " >&6
  6357. else
  6358. ac_cv_sys_largefile_CC=no
  6359. if test "$GCC" != yes; then
  6360. ac_save_CC=$CC
  6361. while :; do
  6362. # IRIX 6.2 and later do not support large files by default,
  6363. # so use the C compiler's -n32 option if that helps.
  6364. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6365. /* end confdefs.h. */
  6366. #include <sys/types.h>
  6367. /* Check that off_t can represent 2**63 - 1 correctly.
  6368. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6369. since some C++ compilers masquerading as C compilers
  6370. incorrectly reject 9223372036854775807. */
  6371. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6372. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6373. && LARGE_OFF_T % 2147483647 == 1)
  6374. ? 1 : -1];
  6375. int
  6376. main ()
  6377. {
  6378. ;
  6379. return 0;
  6380. }
  6381. _ACEOF
  6382. if ac_fn_c_try_compile "$LINENO"; then :
  6383. break
  6384. fi
  6385. rm -f core conftest.err conftest.$ac_objext
  6386. CC="$CC -n32"
  6387. if ac_fn_c_try_compile "$LINENO"; then :
  6388. ac_cv_sys_largefile_CC=' -n32'; break
  6389. fi
  6390. rm -f core conftest.err conftest.$ac_objext
  6391. break
  6392. done
  6393. CC=$ac_save_CC
  6394. rm -f conftest.$ac_ext
  6395. fi
  6396. fi
  6397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  6398. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  6399. if test "$ac_cv_sys_largefile_CC" != no; then
  6400. CC=$CC$ac_cv_sys_largefile_CC
  6401. fi
  6402. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  6403. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  6404. if ${ac_cv_sys_file_offset_bits+:} false; then :
  6405. $as_echo_n "(cached) " >&6
  6406. else
  6407. while :; do
  6408. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6409. /* end confdefs.h. */
  6410. #include <sys/types.h>
  6411. /* Check that off_t can represent 2**63 - 1 correctly.
  6412. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6413. since some C++ compilers masquerading as C compilers
  6414. incorrectly reject 9223372036854775807. */
  6415. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6416. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6417. && LARGE_OFF_T % 2147483647 == 1)
  6418. ? 1 : -1];
  6419. int
  6420. main ()
  6421. {
  6422. ;
  6423. return 0;
  6424. }
  6425. _ACEOF
  6426. if ac_fn_c_try_compile "$LINENO"; then :
  6427. ac_cv_sys_file_offset_bits=no; break
  6428. fi
  6429. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6430. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6431. /* end confdefs.h. */
  6432. #define _FILE_OFFSET_BITS 64
  6433. #include <sys/types.h>
  6434. /* Check that off_t can represent 2**63 - 1 correctly.
  6435. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6436. since some C++ compilers masquerading as C compilers
  6437. incorrectly reject 9223372036854775807. */
  6438. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6439. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6440. && LARGE_OFF_T % 2147483647 == 1)
  6441. ? 1 : -1];
  6442. int
  6443. main ()
  6444. {
  6445. ;
  6446. return 0;
  6447. }
  6448. _ACEOF
  6449. if ac_fn_c_try_compile "$LINENO"; then :
  6450. ac_cv_sys_file_offset_bits=64; break
  6451. fi
  6452. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6453. ac_cv_sys_file_offset_bits=unknown
  6454. break
  6455. done
  6456. fi
  6457. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  6458. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  6459. case $ac_cv_sys_file_offset_bits in #(
  6460. no | unknown) ;;
  6461. *)
  6462. cat >>confdefs.h <<_ACEOF
  6463. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  6464. _ACEOF
  6465. ;;
  6466. esac
  6467. rm -rf conftest*
  6468. if test $ac_cv_sys_file_offset_bits = unknown; then
  6469. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  6470. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  6471. if ${ac_cv_sys_large_files+:} false; then :
  6472. $as_echo_n "(cached) " >&6
  6473. else
  6474. while :; do
  6475. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6476. /* end confdefs.h. */
  6477. #include <sys/types.h>
  6478. /* Check that off_t can represent 2**63 - 1 correctly.
  6479. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6480. since some C++ compilers masquerading as C compilers
  6481. incorrectly reject 9223372036854775807. */
  6482. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6483. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6484. && LARGE_OFF_T % 2147483647 == 1)
  6485. ? 1 : -1];
  6486. int
  6487. main ()
  6488. {
  6489. ;
  6490. return 0;
  6491. }
  6492. _ACEOF
  6493. if ac_fn_c_try_compile "$LINENO"; then :
  6494. ac_cv_sys_large_files=no; break
  6495. fi
  6496. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6497. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6498. /* end confdefs.h. */
  6499. #define _LARGE_FILES 1
  6500. #include <sys/types.h>
  6501. /* Check that off_t can represent 2**63 - 1 correctly.
  6502. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6503. since some C++ compilers masquerading as C compilers
  6504. incorrectly reject 9223372036854775807. */
  6505. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6506. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6507. && LARGE_OFF_T % 2147483647 == 1)
  6508. ? 1 : -1];
  6509. int
  6510. main ()
  6511. {
  6512. ;
  6513. return 0;
  6514. }
  6515. _ACEOF
  6516. if ac_fn_c_try_compile "$LINENO"; then :
  6517. ac_cv_sys_large_files=1; break
  6518. fi
  6519. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6520. ac_cv_sys_large_files=unknown
  6521. break
  6522. done
  6523. fi
  6524. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  6525. $as_echo "$ac_cv_sys_large_files" >&6; }
  6526. case $ac_cv_sys_large_files in #(
  6527. no | unknown) ;;
  6528. *)
  6529. cat >>confdefs.h <<_ACEOF
  6530. #define _LARGE_FILES $ac_cv_sys_large_files
  6531. _ACEOF
  6532. ;;
  6533. esac
  6534. rm -rf conftest*
  6535. fi
  6536. fi
  6537. ac_ext=c
  6538. ac_cpp='$CPP $CPPFLAGS'
  6539. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6540. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6541. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6542. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6543. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6544. # On Suns, sometimes $CPP names a directory.
  6545. if test -n "$CPP" && test -d "$CPP"; then
  6546. CPP=
  6547. fi
  6548. if test -z "$CPP"; then
  6549. if ${ac_cv_prog_CPP+:} false; then :
  6550. $as_echo_n "(cached) " >&6
  6551. else
  6552. # Double quotes because CPP needs to be expanded
  6553. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6554. do
  6555. ac_preproc_ok=false
  6556. for ac_c_preproc_warn_flag in '' yes
  6557. do
  6558. # Use a header file that comes with gcc, so configuring glibc
  6559. # with a fresh cross-compiler works.
  6560. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6561. # <limits.h> exists even on freestanding compilers.
  6562. # On the NeXT, cc -E runs the code through the compiler's parser,
  6563. # not just through cpp. "Syntax error" is here to catch this case.
  6564. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6565. /* end confdefs.h. */
  6566. #ifdef __STDC__
  6567. # include <limits.h>
  6568. #else
  6569. # include <assert.h>
  6570. #endif
  6571. Syntax error
  6572. _ACEOF
  6573. if ac_fn_c_try_cpp "$LINENO"; then :
  6574. else
  6575. # Broken: fails on valid input.
  6576. continue
  6577. fi
  6578. rm -f conftest.err conftest.i conftest.$ac_ext
  6579. # OK, works on sane cases. Now check whether nonexistent headers
  6580. # can be detected and how.
  6581. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6582. /* end confdefs.h. */
  6583. #include <ac_nonexistent.h>
  6584. _ACEOF
  6585. if ac_fn_c_try_cpp "$LINENO"; then :
  6586. # Broken: success on invalid input.
  6587. continue
  6588. else
  6589. # Passes both tests.
  6590. ac_preproc_ok=:
  6591. break
  6592. fi
  6593. rm -f conftest.err conftest.i conftest.$ac_ext
  6594. done
  6595. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6596. rm -f conftest.i conftest.err conftest.$ac_ext
  6597. if $ac_preproc_ok; then :
  6598. break
  6599. fi
  6600. done
  6601. ac_cv_prog_CPP=$CPP
  6602. fi
  6603. CPP=$ac_cv_prog_CPP
  6604. else
  6605. ac_cv_prog_CPP=$CPP
  6606. fi
  6607. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6608. $as_echo "$CPP" >&6; }
  6609. ac_preproc_ok=false
  6610. for ac_c_preproc_warn_flag in '' yes
  6611. do
  6612. # Use a header file that comes with gcc, so configuring glibc
  6613. # with a fresh cross-compiler works.
  6614. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6615. # <limits.h> exists even on freestanding compilers.
  6616. # On the NeXT, cc -E runs the code through the compiler's parser,
  6617. # not just through cpp. "Syntax error" is here to catch this case.
  6618. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6619. /* end confdefs.h. */
  6620. #ifdef __STDC__
  6621. # include <limits.h>
  6622. #else
  6623. # include <assert.h>
  6624. #endif
  6625. Syntax error
  6626. _ACEOF
  6627. if ac_fn_c_try_cpp "$LINENO"; then :
  6628. else
  6629. # Broken: fails on valid input.
  6630. continue
  6631. fi
  6632. rm -f conftest.err conftest.i conftest.$ac_ext
  6633. # OK, works on sane cases. Now check whether nonexistent headers
  6634. # can be detected and how.
  6635. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6636. /* end confdefs.h. */
  6637. #include <ac_nonexistent.h>
  6638. _ACEOF
  6639. if ac_fn_c_try_cpp "$LINENO"; then :
  6640. # Broken: success on invalid input.
  6641. continue
  6642. else
  6643. # Passes both tests.
  6644. ac_preproc_ok=:
  6645. break
  6646. fi
  6647. rm -f conftest.err conftest.i conftest.$ac_ext
  6648. done
  6649. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6650. rm -f conftest.i conftest.err conftest.$ac_ext
  6651. if $ac_preproc_ok; then :
  6652. else
  6653. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6654. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6655. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6656. See \`config.log' for more details" "$LINENO" 5; }
  6657. fi
  6658. ac_ext=c
  6659. ac_cpp='$CPP $CPPFLAGS'
  6660. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6661. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6662. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6663. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6664. $as_echo_n "checking for ANSI C header files... " >&6; }
  6665. if ${ac_cv_header_stdc+:} false; then :
  6666. $as_echo_n "(cached) " >&6
  6667. else
  6668. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6669. /* end confdefs.h. */
  6670. #include <stdlib.h>
  6671. #include <stdarg.h>
  6672. #include <string.h>
  6673. #include <float.h>
  6674. int
  6675. main ()
  6676. {
  6677. ;
  6678. return 0;
  6679. }
  6680. _ACEOF
  6681. if ac_fn_c_try_compile "$LINENO"; then :
  6682. ac_cv_header_stdc=yes
  6683. else
  6684. ac_cv_header_stdc=no
  6685. fi
  6686. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6687. if test $ac_cv_header_stdc = yes; then
  6688. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6689. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6690. /* end confdefs.h. */
  6691. #include <string.h>
  6692. _ACEOF
  6693. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6694. $EGREP "memchr" >/dev/null 2>&1; then :
  6695. else
  6696. ac_cv_header_stdc=no
  6697. fi
  6698. rm -f conftest*
  6699. fi
  6700. if test $ac_cv_header_stdc = yes; then
  6701. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6702. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6703. /* end confdefs.h. */
  6704. #include <stdlib.h>
  6705. _ACEOF
  6706. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6707. $EGREP "free" >/dev/null 2>&1; then :
  6708. else
  6709. ac_cv_header_stdc=no
  6710. fi
  6711. rm -f conftest*
  6712. fi
  6713. if test $ac_cv_header_stdc = yes; then
  6714. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6715. if test "$cross_compiling" = yes; then :
  6716. :
  6717. else
  6718. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6719. /* end confdefs.h. */
  6720. #include <ctype.h>
  6721. #include <stdlib.h>
  6722. #if ((' ' & 0x0FF) == 0x020)
  6723. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6724. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6725. #else
  6726. # define ISLOWER(c) \
  6727. (('a' <= (c) && (c) <= 'i') \
  6728. || ('j' <= (c) && (c) <= 'r') \
  6729. || ('s' <= (c) && (c) <= 'z'))
  6730. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6731. #endif
  6732. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6733. int
  6734. main ()
  6735. {
  6736. int i;
  6737. for (i = 0; i < 256; i++)
  6738. if (XOR (islower (i), ISLOWER (i))
  6739. || toupper (i) != TOUPPER (i))
  6740. return 2;
  6741. return 0;
  6742. }
  6743. _ACEOF
  6744. if ac_fn_c_try_run "$LINENO"; then :
  6745. else
  6746. ac_cv_header_stdc=no
  6747. fi
  6748. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6749. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6750. fi
  6751. fi
  6752. fi
  6753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6754. $as_echo "$ac_cv_header_stdc" >&6; }
  6755. if test $ac_cv_header_stdc = yes; then
  6756. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6757. fi
  6758. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6759. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6760. inttypes.h stdint.h unistd.h
  6761. do :
  6762. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6763. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6764. "
  6765. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6766. cat >>confdefs.h <<_ACEOF
  6767. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6768. _ACEOF
  6769. fi
  6770. done
  6771. for ac_header in \
  6772. AL/al.h \
  6773. ApplicationServices/ApplicationServices.h \
  6774. AudioToolbox/AudioConverter.h \
  6775. AudioUnit/AudioUnit.h \
  6776. AudioUnit/AudioComponent.h \
  6777. CL/cl.h \
  6778. Carbon/Carbon.h \
  6779. CommonCrypto/CommonCryptor.h \
  6780. CoreAudio/CoreAudio.h \
  6781. CoreServices/CoreServices.h \
  6782. DiskArbitration/DiskArbitration.h \
  6783. EGL/egl.h \
  6784. IOKit/IOKitLib.h \
  6785. IOKit/hid/IOHIDLib.h \
  6786. OpenAL/al.h \
  6787. OpenCL/opencl.h \
  6788. QuickTime/ImageCompression.h \
  6789. Security/Security.h \
  6790. SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
  6791. SystemConfiguration/SCNetworkConfiguration.h \
  6792. alias.h \
  6793. arpa/inet.h \
  6794. arpa/nameser.h \
  6795. asm/types.h \
  6796. asm/user.h \
  6797. dirent.h \
  6798. dlfcn.h \
  6799. elf.h \
  6800. float.h \
  6801. fnmatch.h \
  6802. getopt.h \
  6803. gettext-po.h \
  6804. grp.h \
  6805. gsm.h \
  6806. gsm/gsm.h \
  6807. ieeefp.h \
  6808. inet/mib2.h \
  6809. kstat.h \
  6810. libproc.h \
  6811. link.h \
  6812. linux/cdrom.h \
  6813. linux/compiler.h \
  6814. linux/filter.h \
  6815. linux/hdreg.h \
  6816. linux/hidraw.h \
  6817. linux/input.h \
  6818. linux/ioctl.h \
  6819. linux/joystick.h \
  6820. linux/major.h \
  6821. linux/param.h \
  6822. linux/serial.h \
  6823. linux/types.h \
  6824. linux/ucdrom.h \
  6825. lwp.h \
  6826. mach-o/nlist.h \
  6827. mach-o/loader.h \
  6828. mach/mach.h \
  6829. mach/machine.h \
  6830. machine/cpu.h \
  6831. machine/sysarch.h \
  6832. mntent.h \
  6833. netdb.h \
  6834. netinet/in.h \
  6835. netinet/in_systm.h \
  6836. netinet/tcp.h \
  6837. netinet/tcp_fsm.h \
  6838. pcap/pcap.h \
  6839. poll.h \
  6840. port.h \
  6841. pthread.h \
  6842. pwd.h \
  6843. sasl/sasl.h \
  6844. sched.h \
  6845. scsi/scsi.h \
  6846. scsi/scsi_ioctl.h \
  6847. scsi/sg.h \
  6848. stdbool.h \
  6849. stdint.h \
  6850. stropts.h \
  6851. sys/attr.h \
  6852. sys/auxv.h \
  6853. sys/cdio.h \
  6854. sys/epoll.h \
  6855. sys/event.h \
  6856. sys/filio.h \
  6857. sys/ioctl.h \
  6858. sys/ipc.h \
  6859. sys/link.h \
  6860. sys/mman.h \
  6861. sys/modem.h \
  6862. sys/msg.h \
  6863. sys/mtio.h \
  6864. sys/param.h \
  6865. sys/poll.h \
  6866. sys/prctl.h \
  6867. sys/protosw.h \
  6868. sys/ptrace.h \
  6869. sys/queue.h \
  6870. sys/random.h \
  6871. sys/resource.h \
  6872. sys/scsiio.h \
  6873. sys/shm.h \
  6874. sys/signal.h \
  6875. sys/socket.h \
  6876. sys/socketvar.h \
  6877. sys/sockio.h \
  6878. sys/statvfs.h \
  6879. sys/strtio.h \
  6880. sys/syscall.h \
  6881. sys/sysinfo.h \
  6882. sys/tihdr.h \
  6883. sys/time.h \
  6884. sys/timeout.h \
  6885. sys/times.h \
  6886. sys/uio.h \
  6887. sys/user.h \
  6888. sys/utsname.h \
  6889. sys/vnode.h \
  6890. sys/wait.h \
  6891. syscall.h \
  6892. termios.h \
  6893. unistd.h \
  6894. utime.h \
  6895. valgrind/memcheck.h \
  6896. valgrind/valgrind.h
  6897. do :
  6898. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6899. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  6900. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6901. cat >>confdefs.h <<_ACEOF
  6902. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6903. _ACEOF
  6904. fi
  6905. done
  6906. ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
  6907. if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
  6908. $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
  6909. fi
  6910. if test $ac_cv_header_sys_mkdev_h = no; then
  6911. ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
  6912. if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
  6913. $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
  6914. fi
  6915. fi
  6916. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  6917. $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
  6918. if ${ac_cv_header_stat_broken+:} false; then :
  6919. $as_echo_n "(cached) " >&6
  6920. else
  6921. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6922. /* end confdefs.h. */
  6923. #include <sys/types.h>
  6924. #include <sys/stat.h>
  6925. #if defined S_ISBLK && defined S_IFDIR
  6926. extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  6927. #endif
  6928. #if defined S_ISBLK && defined S_IFCHR
  6929. extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  6930. #endif
  6931. #if defined S_ISLNK && defined S_IFREG
  6932. extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  6933. #endif
  6934. #if defined S_ISSOCK && defined S_IFREG
  6935. extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  6936. #endif
  6937. _ACEOF
  6938. if ac_fn_c_try_compile "$LINENO"; then :
  6939. ac_cv_header_stat_broken=no
  6940. else
  6941. ac_cv_header_stat_broken=yes
  6942. fi
  6943. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6944. fi
  6945. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
  6946. $as_echo "$ac_cv_header_stat_broken" >&6; }
  6947. if test $ac_cv_header_stat_broken = yes; then
  6948. $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
  6949. fi
  6950. for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
  6951. do :
  6952. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6953. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  6954. #ifdef HAVE_SYS_PARAM_H
  6955. # include <sys/param.h>
  6956. #endif
  6957. "
  6958. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6959. cat >>confdefs.h <<_ACEOF
  6960. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6961. _ACEOF
  6962. fi
  6963. done
  6964. saved_sysctl_h_CFLAGS=$CFLAGS
  6965. test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
  6966. for ac_header in sys/sysctl.h
  6967. do :
  6968. ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
  6969. #ifdef HAVE_SYS_PARAM_H
  6970. # include <sys/param.h>
  6971. #endif
  6972. "
  6973. if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
  6974. cat >>confdefs.h <<_ACEOF
  6975. #define HAVE_SYS_SYSCTL_H 1
  6976. _ACEOF
  6977. fi
  6978. done
  6979. CFLAGS=$saved_sysctl_h_CFLAGS
  6980. for ac_header in \
  6981. netinet/ip.h \
  6982. net/if.h \
  6983. net/if_arp.h \
  6984. net/if_dl.h \
  6985. net/if_types.h \
  6986. net/route.h \
  6987. netinet/if_ether.h \
  6988. netinet/if_inarp.h \
  6989. netinet/in_pcb.h \
  6990. netinet/ip_icmp.h \
  6991. netinet/ip_var.h \
  6992. netinet/udp.h \
  6993. netipx/ipx.h \
  6994. sys/un.h \
  6995. do :
  6996. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6997. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  6998. #ifdef HAVE_SYS_SOCKET_H
  6999. # include <sys/socket.h>
  7000. #endif
  7001. #ifdef HAVE_SYS_SOCKETVAR_H
  7002. # include <sys/socketvar.h>
  7003. #endif
  7004. #ifdef HAVE_NET_ROUTE_H
  7005. # include <net/route.h>
  7006. #endif
  7007. #ifdef HAVE_NETINET_IN_H
  7008. # include <netinet/in.h>
  7009. #endif
  7010. #ifdef HAVE_NETINET_IN_SYSTM_H
  7011. # include <netinet/in_systm.h>
  7012. #endif
  7013. #ifdef HAVE_NET_IF_H
  7014. # include <net/if.h>
  7015. #endif
  7016. #ifdef HAVE_NETINET_IP_H
  7017. # include <netinet/ip.h>
  7018. #endif
  7019. "
  7020. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7021. cat >>confdefs.h <<_ACEOF
  7022. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7023. _ACEOF
  7024. fi
  7025. done
  7026. for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
  7027. do :
  7028. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7029. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7030. #ifdef HAVE_ALIAS_H
  7031. # include <alias.h>
  7032. #endif
  7033. #ifdef HAVE_SYS_SOCKET_H
  7034. # include <sys/socket.h>
  7035. #endif
  7036. #ifdef HAVE_SYS_SOCKETVAR_H
  7037. # include <sys/socketvar.h>
  7038. #endif
  7039. #ifdef HAVE_SYS_TIMEOUT_H
  7040. # include <sys/timeout.h>
  7041. #endif
  7042. #ifdef HAVE_NETINET_IN_H
  7043. # include <netinet/in.h>
  7044. #endif
  7045. #ifdef HAVE_NETINET_IN_SYSTM_H
  7046. # include <netinet/in_systm.h>
  7047. #endif
  7048. #ifdef HAVE_NETINET_IP_H
  7049. # include <netinet/ip.h>
  7050. #endif
  7051. #ifdef HAVE_NETINET_IP_VAR_H
  7052. # include <netinet/ip_var.h>
  7053. #endif
  7054. #ifdef HAVE_NETINET_IP_ICMP_H
  7055. # include <netinet/ip_icmp.h>
  7056. #endif
  7057. #ifdef HAVE_NETINET_UDP_H
  7058. # include <netinet/udp.h>
  7059. #endif
  7060. #ifdef HAVE_NETINET_TCP_H
  7061. # include <netinet/tcp.h>
  7062. #endif
  7063. #ifdef HAVE_NETINET_TCP_TIMER_H
  7064. #include <netinet/tcp_timer.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 linux/ipx.h linux/irda.h linux/rtnetlink.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_ASM_TYPES_H
  7078. # include <asm/types.h>
  7079. #endif
  7080. #ifdef HAVE_SYS_SOCKET_H
  7081. # include <sys/socket.h>
  7082. #endif
  7083. #ifdef HAVE_LINUX_TYPES_H
  7084. # include <linux/types.h>
  7085. #endif
  7086. "
  7087. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7088. cat >>confdefs.h <<_ACEOF
  7089. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7090. _ACEOF
  7091. fi
  7092. done
  7093. for ac_header in resolv.h
  7094. do :
  7095. ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
  7096. #ifdef HAVE_SYS_SOCKET_H
  7097. # include <sys/socket.h>
  7098. #endif
  7099. #ifdef HAVE_NETINET_IN_H
  7100. # include <netinet/in.h>
  7101. #endif
  7102. #ifdef HAVE_ARPA_NAMESER_H
  7103. # include <arpa/nameser.h>
  7104. #endif
  7105. "
  7106. if test "x$ac_cv_header_resolv_h" = xyes; then :
  7107. cat >>confdefs.h <<_ACEOF
  7108. #define HAVE_RESOLV_H 1
  7109. _ACEOF
  7110. fi
  7111. done
  7112. for ac_header in ifaddrs.h
  7113. do :
  7114. ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
  7115. "
  7116. if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
  7117. cat >>confdefs.h <<_ACEOF
  7118. #define HAVE_IFADDRS_H 1
  7119. _ACEOF
  7120. fi
  7121. done
  7122. for ac_header in sys/ucontext.h
  7123. do :
  7124. ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
  7125. "
  7126. if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
  7127. cat >>confdefs.h <<_ACEOF
  7128. #define HAVE_SYS_UCONTEXT_H 1
  7129. _ACEOF
  7130. fi
  7131. done
  7132. for ac_header in sys/thr.h
  7133. do :
  7134. ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
  7135. #ifdef HAVE_SYS_UCONTEXT_H
  7136. #include <sys/ucontext.h>
  7137. #endif
  7138. "
  7139. if test "x$ac_cv_header_sys_thr_h" = xyes; then :
  7140. cat >>confdefs.h <<_ACEOF
  7141. #define HAVE_SYS_THR_H 1
  7142. _ACEOF
  7143. fi
  7144. done
  7145. for ac_header in pthread_np.h
  7146. do :
  7147. ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
  7148. #include <pthread.h>
  7149. #endif
  7150. "
  7151. if test "x$ac_cv_header_pthread_np_h" = xyes; then :
  7152. cat >>confdefs.h <<_ACEOF
  7153. #define HAVE_PTHREAD_NP_H 1
  7154. _ACEOF
  7155. fi
  7156. done
  7157. for ac_header in linux/videodev2.h
  7158. do :
  7159. ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
  7160. #include <sys/time.h>
  7161. #endif
  7162. #include <sys/types.h>
  7163. #ifdef HAVE_ASM_TYPES_H
  7164. #include <asm/types.h>
  7165. #endif
  7166. "
  7167. if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
  7168. cat >>confdefs.h <<_ACEOF
  7169. #define HAVE_LINUX_VIDEODEV2_H 1
  7170. _ACEOF
  7171. fi
  7172. done
  7173. for ac_header in libprocstat.h
  7174. do :
  7175. ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
  7176. #include <sys/param.h>
  7177. #endif
  7178. #ifdef HAVE_SYS_QUEUE_H
  7179. #include <sys/queue.h>
  7180. #endif
  7181. #ifdef HAVE_SYS_SOCKET_H
  7182. #include <sys/socket.h>
  7183. #endif
  7184. "
  7185. if test "x$ac_cv_header_libprocstat_h" = xyes; then :
  7186. cat >>confdefs.h <<_ACEOF
  7187. #define HAVE_LIBPROCSTAT_H 1
  7188. _ACEOF
  7189. fi
  7190. done
  7191. DLLFLAGS="-D_REENTRANT"
  7192. LDDLLFLAGS=""
  7193. LDEXECFLAGS=""
  7194. TOP_INSTALL_LIB=""
  7195. TOP_INSTALL_DEV=""
  7196. WINELOADER_LDFLAGS=""
  7197. WINEPRELOADER_LDFLAGS=""
  7198. LIBEXT="so"
  7199. DLLEXT=".so"
  7200. # Extract the first word of "ldd", so it can be a program name with args.
  7201. set dummy ldd; ac_word=$2
  7202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7203. $as_echo_n "checking for $ac_word... " >&6; }
  7204. if ${ac_cv_path_LDD+:} false; then :
  7205. $as_echo_n "(cached) " >&6
  7206. else
  7207. case $LDD in
  7208. [\\/]* | ?:[\\/]*)
  7209. ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
  7210. ;;
  7211. *)
  7212. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7213. as_dummy="/sbin:/usr/sbin:$PATH"
  7214. for as_dir in $as_dummy
  7215. do
  7216. IFS=$as_save_IFS
  7217. test -z "$as_dir" && as_dir=.
  7218. for ac_exec_ext in '' $ac_executable_extensions; do
  7219. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7220. ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
  7221. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7222. break 2
  7223. fi
  7224. done
  7225. done
  7226. IFS=$as_save_IFS
  7227. test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
  7228. ;;
  7229. esac
  7230. fi
  7231. LDD=$ac_cv_path_LDD
  7232. if test -n "$LDD"; then
  7233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
  7234. $as_echo "$LDD" >&6; }
  7235. else
  7236. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7237. $as_echo "no" >&6; }
  7238. fi
  7239. if test -n "$ac_tool_prefix"; then
  7240. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7241. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7242. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7243. $as_echo_n "checking for $ac_word... " >&6; }
  7244. if ${ac_cv_prog_OTOOL+:} false; then :
  7245. $as_echo_n "(cached) " >&6
  7246. else
  7247. if test -n "$OTOOL"; then
  7248. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7249. else
  7250. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7251. for as_dir in $PATH
  7252. do
  7253. IFS=$as_save_IFS
  7254. test -z "$as_dir" && as_dir=.
  7255. for ac_exec_ext in '' $ac_executable_extensions; do
  7256. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7257. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7258. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7259. break 2
  7260. fi
  7261. done
  7262. done
  7263. IFS=$as_save_IFS
  7264. fi
  7265. fi
  7266. OTOOL=$ac_cv_prog_OTOOL
  7267. if test -n "$OTOOL"; then
  7268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7269. $as_echo "$OTOOL" >&6; }
  7270. else
  7271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7272. $as_echo "no" >&6; }
  7273. fi
  7274. fi
  7275. if test -z "$ac_cv_prog_OTOOL"; then
  7276. ac_ct_OTOOL=$OTOOL
  7277. # Extract the first word of "otool", so it can be a program name with args.
  7278. set dummy otool; ac_word=$2
  7279. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7280. $as_echo_n "checking for $ac_word... " >&6; }
  7281. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7282. $as_echo_n "(cached) " >&6
  7283. else
  7284. if test -n "$ac_ct_OTOOL"; then
  7285. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7286. else
  7287. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7288. for as_dir in $PATH
  7289. do
  7290. IFS=$as_save_IFS
  7291. test -z "$as_dir" && as_dir=.
  7292. for ac_exec_ext in '' $ac_executable_extensions; do
  7293. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7294. ac_cv_prog_ac_ct_OTOOL="otool"
  7295. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7296. break 2
  7297. fi
  7298. done
  7299. done
  7300. IFS=$as_save_IFS
  7301. fi
  7302. fi
  7303. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7304. if test -n "$ac_ct_OTOOL"; then
  7305. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7306. $as_echo "$ac_ct_OTOOL" >&6; }
  7307. else
  7308. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7309. $as_echo "no" >&6; }
  7310. fi
  7311. if test "x$ac_ct_OTOOL" = x; then
  7312. OTOOL="otool"
  7313. else
  7314. case $cross_compiling:$ac_tool_warned in
  7315. yes:)
  7316. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7317. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7318. ac_tool_warned=yes ;;
  7319. esac
  7320. OTOOL=$ac_ct_OTOOL
  7321. fi
  7322. else
  7323. OTOOL="$ac_cv_prog_OTOOL"
  7324. fi
  7325. if test -n "$ac_tool_prefix"; then
  7326. # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
  7327. set dummy ${ac_tool_prefix}readelf; ac_word=$2
  7328. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7329. $as_echo_n "checking for $ac_word... " >&6; }
  7330. if ${ac_cv_prog_READELF+:} false; then :
  7331. $as_echo_n "(cached) " >&6
  7332. else
  7333. if test -n "$READELF"; then
  7334. ac_cv_prog_READELF="$READELF" # Let the user override the test.
  7335. else
  7336. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7337. for as_dir in $PATH
  7338. do
  7339. IFS=$as_save_IFS
  7340. test -z "$as_dir" && as_dir=.
  7341. for ac_exec_ext in '' $ac_executable_extensions; do
  7342. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7343. ac_cv_prog_READELF="${ac_tool_prefix}readelf"
  7344. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7345. break 2
  7346. fi
  7347. done
  7348. done
  7349. IFS=$as_save_IFS
  7350. fi
  7351. fi
  7352. READELF=$ac_cv_prog_READELF
  7353. if test -n "$READELF"; then
  7354. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
  7355. $as_echo "$READELF" >&6; }
  7356. else
  7357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7358. $as_echo "no" >&6; }
  7359. fi
  7360. fi
  7361. if test -z "$ac_cv_prog_READELF"; then
  7362. ac_ct_READELF=$READELF
  7363. # Extract the first word of "readelf", so it can be a program name with args.
  7364. set dummy readelf; ac_word=$2
  7365. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7366. $as_echo_n "checking for $ac_word... " >&6; }
  7367. if ${ac_cv_prog_ac_ct_READELF+:} false; then :
  7368. $as_echo_n "(cached) " >&6
  7369. else
  7370. if test -n "$ac_ct_READELF"; then
  7371. ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
  7372. else
  7373. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7374. for as_dir in $PATH
  7375. do
  7376. IFS=$as_save_IFS
  7377. test -z "$as_dir" && as_dir=.
  7378. for ac_exec_ext in '' $ac_executable_extensions; do
  7379. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7380. ac_cv_prog_ac_ct_READELF="readelf"
  7381. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7382. break 2
  7383. fi
  7384. done
  7385. done
  7386. IFS=$as_save_IFS
  7387. fi
  7388. fi
  7389. ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
  7390. if test -n "$ac_ct_READELF"; then
  7391. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
  7392. $as_echo "$ac_ct_READELF" >&6; }
  7393. else
  7394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7395. $as_echo "no" >&6; }
  7396. fi
  7397. if test "x$ac_ct_READELF" = x; then
  7398. READELF="true"
  7399. else
  7400. case $cross_compiling:$ac_tool_warned in
  7401. yes:)
  7402. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7403. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7404. ac_tool_warned=yes ;;
  7405. esac
  7406. READELF=$ac_ct_READELF
  7407. fi
  7408. else
  7409. READELF="$ac_cv_prog_READELF"
  7410. fi
  7411. wine_rules_file=conf$$rules.make
  7412. rm -f $wine_rules_file
  7413. SUBDIRS=""
  7414. DISABLED_SUBDIRS=""
  7415. CONFIGURE_TARGETS=""
  7416. wine_fn_append_file ()
  7417. {
  7418. as_fn_append $1 " \\$as_nl $2"
  7419. }
  7420. wine_fn_append_rule ()
  7421. {
  7422. $as_echo "$1" >>$wine_rules_file
  7423. }
  7424. wine_fn_config_makefile ()
  7425. {
  7426. wine_fn_append_file SUBDIRS $1
  7427. if eval test \"x\$"$2"\" = x"no"; then :
  7428. wine_fn_append_file DISABLED_SUBDIRS $1
  7429. fi
  7430. }
  7431. wine_fn_config_symlink ()
  7432. {
  7433. ac_links=$@
  7434. wine_fn_append_rule \
  7435. "$ac_links:
  7436. @./config.status \$@"
  7437. for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
  7438. }
  7439. wine_binary="wine"
  7440. test "x$enable_win64" != "xyes" || wine_binary="wine64"
  7441. WINELOADER_PROGRAMS="$wine_binary"
  7442. libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
  7443. case $host_os in
  7444. cygwin*|mingw32*)
  7445. if test -n "$ac_tool_prefix"; then
  7446. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  7447. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  7448. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7449. $as_echo_n "checking for $ac_word... " >&6; }
  7450. if ${ac_cv_prog_DLLTOOL+:} false; then :
  7451. $as_echo_n "(cached) " >&6
  7452. else
  7453. if test -n "$DLLTOOL"; then
  7454. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  7455. else
  7456. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7457. for as_dir in $PATH
  7458. do
  7459. IFS=$as_save_IFS
  7460. test -z "$as_dir" && as_dir=.
  7461. for ac_exec_ext in '' $ac_executable_extensions; do
  7462. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7463. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  7464. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7465. break 2
  7466. fi
  7467. done
  7468. done
  7469. IFS=$as_save_IFS
  7470. fi
  7471. fi
  7472. DLLTOOL=$ac_cv_prog_DLLTOOL
  7473. if test -n "$DLLTOOL"; then
  7474. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  7475. $as_echo "$DLLTOOL" >&6; }
  7476. else
  7477. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7478. $as_echo "no" >&6; }
  7479. fi
  7480. fi
  7481. if test -z "$ac_cv_prog_DLLTOOL"; then
  7482. ac_ct_DLLTOOL=$DLLTOOL
  7483. # Extract the first word of "dlltool", so it can be a program name with args.
  7484. set dummy dlltool; ac_word=$2
  7485. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7486. $as_echo_n "checking for $ac_word... " >&6; }
  7487. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  7488. $as_echo_n "(cached) " >&6
  7489. else
  7490. if test -n "$ac_ct_DLLTOOL"; then
  7491. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  7492. else
  7493. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7494. for as_dir in $PATH
  7495. do
  7496. IFS=$as_save_IFS
  7497. test -z "$as_dir" && as_dir=.
  7498. for ac_exec_ext in '' $ac_executable_extensions; do
  7499. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7500. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  7501. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7502. break 2
  7503. fi
  7504. done
  7505. done
  7506. IFS=$as_save_IFS
  7507. fi
  7508. fi
  7509. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  7510. if test -n "$ac_ct_DLLTOOL"; then
  7511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  7512. $as_echo "$ac_ct_DLLTOOL" >&6; }
  7513. else
  7514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7515. $as_echo "no" >&6; }
  7516. fi
  7517. if test "x$ac_ct_DLLTOOL" = x; then
  7518. DLLTOOL="false"
  7519. else
  7520. case $cross_compiling:$ac_tool_warned in
  7521. yes:)
  7522. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7523. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7524. ac_tool_warned=yes ;;
  7525. esac
  7526. DLLTOOL=$ac_ct_DLLTOOL
  7527. fi
  7528. else
  7529. DLLTOOL="$ac_cv_prog_DLLTOOL"
  7530. fi
  7531. LIBEXT="dll"
  7532. DLLEXT=""
  7533. case $host_cpu in
  7534. *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
  7535. $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
  7536. if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
  7537. $as_echo_n "(cached) " >&6
  7538. else
  7539. ac_wine_try_cflags_saved=$CFLAGS
  7540. CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
  7541. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7542. /* end confdefs.h. */
  7543. int main(int argc, char **argv) { return 0; }
  7544. _ACEOF
  7545. if ac_fn_c_try_link "$LINENO"; then :
  7546. ac_cv_cflags__Wl___disable_stdcall_fixup=yes
  7547. else
  7548. ac_cv_cflags__Wl___disable_stdcall_fixup=no
  7549. fi
  7550. rm -f core conftest.err conftest.$ac_objext \
  7551. conftest$ac_exeext conftest.$ac_ext
  7552. CFLAGS=$ac_wine_try_cflags_saved
  7553. fi
  7554. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
  7555. $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
  7556. if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
  7557. LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
  7558. fi ;;
  7559. esac
  7560. enable_iphlpapi=${enable_iphlpapi:-no}
  7561. enable_kernel32=${enable_kernel32:-no}
  7562. enable_ntdll=${enable_ntdll:-no}
  7563. enable_ws2_32=${enable_ws2_32:-no}
  7564. enable_loader=${enable_loader:-no}
  7565. enable_server=${enable_server:-no}
  7566. with_x=${with_x:-no}
  7567. with_pthread=${with_pthread:-no}
  7568. ;;
  7569. darwin*|macosx*)
  7570. ac_ext=m
  7571. ac_cpp='$OBJCPP $CPPFLAGS'
  7572. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7573. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7574. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7575. ac_ext=m
  7576. ac_cpp='$OBJCPP $CPPFLAGS'
  7577. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7578. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7579. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7580. if test -n "$ac_tool_prefix"; then
  7581. for ac_prog in gcc objcc objc cc CC
  7582. do
  7583. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7584. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7585. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7586. $as_echo_n "checking for $ac_word... " >&6; }
  7587. if ${ac_cv_prog_OBJC+:} false; then :
  7588. $as_echo_n "(cached) " >&6
  7589. else
  7590. if test -n "$OBJC"; then
  7591. ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  7592. else
  7593. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7594. for as_dir in $PATH
  7595. do
  7596. IFS=$as_save_IFS
  7597. test -z "$as_dir" && as_dir=.
  7598. for ac_exec_ext in '' $ac_executable_extensions; do
  7599. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7600. ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  7601. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7602. break 2
  7603. fi
  7604. done
  7605. done
  7606. IFS=$as_save_IFS
  7607. fi
  7608. fi
  7609. OBJC=$ac_cv_prog_OBJC
  7610. if test -n "$OBJC"; then
  7611. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
  7612. $as_echo "$OBJC" >&6; }
  7613. else
  7614. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7615. $as_echo "no" >&6; }
  7616. fi
  7617. test -n "$OBJC" && break
  7618. done
  7619. fi
  7620. if test -z "$OBJC"; then
  7621. ac_ct_OBJC=$OBJC
  7622. for ac_prog in gcc objcc objc cc CC
  7623. do
  7624. # Extract the first word of "$ac_prog", so it can be a program name with args.
  7625. set dummy $ac_prog; ac_word=$2
  7626. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7627. $as_echo_n "checking for $ac_word... " >&6; }
  7628. if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
  7629. $as_echo_n "(cached) " >&6
  7630. else
  7631. if test -n "$ac_ct_OBJC"; then
  7632. ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  7633. else
  7634. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7635. for as_dir in $PATH
  7636. do
  7637. IFS=$as_save_IFS
  7638. test -z "$as_dir" && as_dir=.
  7639. for ac_exec_ext in '' $ac_executable_extensions; do
  7640. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7641. ac_cv_prog_ac_ct_OBJC="$ac_prog"
  7642. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7643. break 2
  7644. fi
  7645. done
  7646. done
  7647. IFS=$as_save_IFS
  7648. fi
  7649. fi
  7650. ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  7651. if test -n "$ac_ct_OBJC"; then
  7652. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
  7653. $as_echo "$ac_ct_OBJC" >&6; }
  7654. else
  7655. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7656. $as_echo "no" >&6; }
  7657. fi
  7658. test -n "$ac_ct_OBJC" && break
  7659. done
  7660. if test "x$ac_ct_OBJC" = x; then
  7661. OBJC="gcc"
  7662. else
  7663. case $cross_compiling:$ac_tool_warned in
  7664. yes:)
  7665. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7666. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7667. ac_tool_warned=yes ;;
  7668. esac
  7669. OBJC=$ac_ct_OBJC
  7670. fi
  7671. fi
  7672. # Provide some information about the compiler.
  7673. $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
  7674. set X $ac_compile
  7675. ac_compiler=$2
  7676. for ac_option in --version -v -V -qversion; do
  7677. { { ac_try="$ac_compiler $ac_option >&5"
  7678. case "(($ac_try" in
  7679. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7680. *) ac_try_echo=$ac_try;;
  7681. esac
  7682. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7683. $as_echo "$ac_try_echo"; } >&5
  7684. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  7685. ac_status=$?
  7686. if test -s conftest.err; then
  7687. sed '10a\
  7688. ... rest of stderr output deleted ...
  7689. 10q' conftest.err >conftest.er1
  7690. cat conftest.er1 >&5
  7691. fi
  7692. rm -f conftest.er1 conftest.err
  7693. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7694. test $ac_status = 0; }
  7695. done
  7696. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
  7697. $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  7698. if ${ac_cv_objc_compiler_gnu+:} false; then :
  7699. $as_echo_n "(cached) " >&6
  7700. else
  7701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7702. /* end confdefs.h. */
  7703. int
  7704. main ()
  7705. {
  7706. #ifndef __GNUC__
  7707. choke me
  7708. #endif
  7709. ;
  7710. return 0;
  7711. }
  7712. _ACEOF
  7713. if ac_fn_objc_try_compile "$LINENO"; then :
  7714. ac_compiler_gnu=yes
  7715. else
  7716. ac_compiler_gnu=no
  7717. fi
  7718. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7719. ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  7720. fi
  7721. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
  7722. $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  7723. if test $ac_compiler_gnu = yes; then
  7724. GOBJC=yes
  7725. else
  7726. GOBJC=
  7727. fi
  7728. ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  7729. ac_save_OBJCFLAGS=$OBJCFLAGS
  7730. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
  7731. $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  7732. if ${ac_cv_prog_objc_g+:} false; then :
  7733. $as_echo_n "(cached) " >&6
  7734. else
  7735. ac_save_objc_werror_flag=$ac_objc_werror_flag
  7736. ac_objc_werror_flag=yes
  7737. ac_cv_prog_objc_g=no
  7738. OBJCFLAGS="-g"
  7739. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7740. /* end confdefs.h. */
  7741. int
  7742. main ()
  7743. {
  7744. ;
  7745. return 0;
  7746. }
  7747. _ACEOF
  7748. if ac_fn_objc_try_compile "$LINENO"; then :
  7749. ac_cv_prog_objc_g=yes
  7750. else
  7751. OBJCFLAGS=""
  7752. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7753. /* end confdefs.h. */
  7754. int
  7755. main ()
  7756. {
  7757. ;
  7758. return 0;
  7759. }
  7760. _ACEOF
  7761. if ac_fn_objc_try_compile "$LINENO"; then :
  7762. else
  7763. ac_objc_werror_flag=$ac_save_objc_werror_flag
  7764. OBJCFLAGS="-g"
  7765. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7766. /* end confdefs.h. */
  7767. int
  7768. main ()
  7769. {
  7770. ;
  7771. return 0;
  7772. }
  7773. _ACEOF
  7774. if ac_fn_objc_try_compile "$LINENO"; then :
  7775. ac_cv_prog_objc_g=yes
  7776. fi
  7777. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7778. fi
  7779. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7780. fi
  7781. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7782. ac_objc_werror_flag=$ac_save_objc_werror_flag
  7783. fi
  7784. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
  7785. $as_echo "$ac_cv_prog_objc_g" >&6; }
  7786. if test "$ac_test_OBJCFLAGS" = set; then
  7787. OBJCFLAGS=$ac_save_OBJCFLAGS
  7788. elif test $ac_cv_prog_objc_g = yes; then
  7789. if test "$GOBJC" = yes; then
  7790. OBJCFLAGS="-g -O2"
  7791. else
  7792. OBJCFLAGS="-g"
  7793. fi
  7794. else
  7795. if test "$GOBJC" = yes; then
  7796. OBJCFLAGS="-O2"
  7797. else
  7798. OBJCFLAGS=
  7799. fi
  7800. fi
  7801. ac_ext=m
  7802. ac_cpp='$OBJCPP $CPPFLAGS'
  7803. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7804. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7805. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7806. ac_ext=m
  7807. ac_cpp='$OBJCPP $CPPFLAGS'
  7808. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7809. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7810. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7811. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
  7812. $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
  7813. if test -z "$OBJCPP"; then
  7814. if ${ac_cv_prog_OBJCPP+:} false; then :
  7815. $as_echo_n "(cached) " >&6
  7816. else
  7817. # Double quotes because OBJCPP needs to be expanded
  7818. for OBJCPP in "$OBJC -E" "/lib/cpp"
  7819. do
  7820. ac_preproc_ok=false
  7821. for ac_objc_preproc_warn_flag in '' yes
  7822. do
  7823. # Use a header file that comes with gcc, so configuring glibc
  7824. # with a fresh cross-compiler works.
  7825. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7826. # <limits.h> exists even on freestanding compilers.
  7827. # On the NeXT, cc -E runs the code through the compiler's parser,
  7828. # not just through cpp. "Syntax error" is here to catch this case.
  7829. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7830. /* end confdefs.h. */
  7831. #ifdef __STDC__
  7832. # include <limits.h>
  7833. #else
  7834. # include <assert.h>
  7835. #endif
  7836. Syntax error
  7837. _ACEOF
  7838. if ac_fn_objc_try_cpp "$LINENO"; then :
  7839. else
  7840. # Broken: fails on valid input.
  7841. continue
  7842. fi
  7843. rm -f conftest.err conftest.i conftest.$ac_ext
  7844. # OK, works on sane cases. Now check whether nonexistent headers
  7845. # can be detected and how.
  7846. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7847. /* end confdefs.h. */
  7848. #include <ac_nonexistent.h>
  7849. _ACEOF
  7850. if ac_fn_objc_try_cpp "$LINENO"; then :
  7851. # Broken: success on invalid input.
  7852. continue
  7853. else
  7854. # Passes both tests.
  7855. ac_preproc_ok=:
  7856. break
  7857. fi
  7858. rm -f conftest.err conftest.i conftest.$ac_ext
  7859. done
  7860. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7861. rm -f conftest.i conftest.err conftest.$ac_ext
  7862. if $ac_preproc_ok; then :
  7863. break
  7864. fi
  7865. done
  7866. ac_cv_prog_OBJCPP=$OBJCPP
  7867. fi
  7868. OBJCPP=$ac_cv_prog_OBJCPP
  7869. else
  7870. ac_cv_prog_OBJCPP=$OBJCPP
  7871. fi
  7872. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
  7873. $as_echo "$OBJCPP" >&6; }
  7874. ac_preproc_ok=false
  7875. for ac_objc_preproc_warn_flag in '' yes
  7876. do
  7877. # Use a header file that comes with gcc, so configuring glibc
  7878. # with a fresh cross-compiler works.
  7879. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7880. # <limits.h> exists even on freestanding compilers.
  7881. # On the NeXT, cc -E runs the code through the compiler's parser,
  7882. # not just through cpp. "Syntax error" is here to catch this case.
  7883. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7884. /* end confdefs.h. */
  7885. #ifdef __STDC__
  7886. # include <limits.h>
  7887. #else
  7888. # include <assert.h>
  7889. #endif
  7890. Syntax error
  7891. _ACEOF
  7892. if ac_fn_objc_try_cpp "$LINENO"; then :
  7893. else
  7894. # Broken: fails on valid input.
  7895. continue
  7896. fi
  7897. rm -f conftest.err conftest.i conftest.$ac_ext
  7898. # OK, works on sane cases. Now check whether nonexistent headers
  7899. # can be detected and how.
  7900. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7901. /* end confdefs.h. */
  7902. #include <ac_nonexistent.h>
  7903. _ACEOF
  7904. if ac_fn_objc_try_cpp "$LINENO"; then :
  7905. # Broken: success on invalid input.
  7906. continue
  7907. else
  7908. # Passes both tests.
  7909. ac_preproc_ok=:
  7910. break
  7911. fi
  7912. rm -f conftest.err conftest.i conftest.$ac_ext
  7913. done
  7914. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7915. rm -f conftest.i conftest.err conftest.$ac_ext
  7916. if $ac_preproc_ok; then :
  7917. else
  7918. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7919. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7920. as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
  7921. See \`config.log' for more details" "$LINENO" 5; }
  7922. fi
  7923. ac_ext=m
  7924. ac_cpp='$OBJCPP $CPPFLAGS'
  7925. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7926. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7927. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7928. for ac_header in Metal/Metal.h
  7929. do :
  7930. ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
  7931. if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
  7932. cat >>confdefs.h <<_ACEOF
  7933. #define HAVE_METAL_METAL_H 1
  7934. _ACEOF
  7935. fi
  7936. done
  7937. ac_ext=c
  7938. ac_cpp='$CPP $CPPFLAGS'
  7939. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7940. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7941. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7942. LIBEXT="dylib"
  7943. DLLFLAGS="$DLLFLAGS -fPIC"
  7944. LDDLLFLAGS="-fPIC"
  7945. COREFOUNDATION_LIBS="-framework CoreFoundation"
  7946. IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
  7947. FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
  7948. APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
  7949. CORESERVICES_LIBS="-framework CoreServices"
  7950. APPKIT_LIBS="-framework AppKit"
  7951. SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
  7952. WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
  7953. wine_can_build_preloader=yes
  7954. WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
  7955. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
  7956. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
  7957. if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
  7958. $as_echo_n "(cached) " >&6
  7959. else
  7960. ac_wine_try_cflags_saved=$CFLAGS
  7961. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
  7962. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7963. /* end confdefs.h. */
  7964. int main(int argc, char **argv) { return 0; }
  7965. _ACEOF
  7966. if ac_fn_c_try_link "$LINENO"; then :
  7967. ac_cv_cflags__Wl__no_new_main__e__main=yes
  7968. else
  7969. ac_cv_cflags__Wl__no_new_main__e__main=no
  7970. fi
  7971. rm -f core conftest.err conftest.$ac_objext \
  7972. conftest$ac_exeext conftest.$ac_ext
  7973. CFLAGS=$ac_wine_try_cflags_saved
  7974. fi
  7975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
  7976. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
  7977. if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
  7978. WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
  7979. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
  7980. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
  7981. if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
  7982. $as_echo_n "(cached) " >&6
  7983. else
  7984. ac_wine_try_cflags_saved=$CFLAGS
  7985. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
  7986. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7987. /* end confdefs.h. */
  7988. int main(int argc, char **argv) { return 0; }
  7989. _ACEOF
  7990. if ac_fn_c_try_link "$LINENO"; then :
  7991. ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
  7992. else
  7993. ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
  7994. fi
  7995. rm -f core conftest.err conftest.$ac_objext \
  7996. conftest$ac_exeext conftest.$ac_ext
  7997. CFLAGS=$ac_wine_try_cflags_saved
  7998. fi
  7999. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
  8000. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
  8001. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
  8002. EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
  8003. else
  8004. { $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
  8005. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8006. if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
  8007. $as_echo_n "(cached) " >&6
  8008. else
  8009. ac_wine_try_cflags_saved=$CFLAGS
  8010. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8011. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8012. /* end confdefs.h. */
  8013. int main(int argc, char **argv) { return 0; }
  8014. _ACEOF
  8015. if ac_fn_c_try_link "$LINENO"; then :
  8016. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8017. else
  8018. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8019. fi
  8020. rm -f core conftest.err conftest.$ac_objext \
  8021. conftest$ac_exeext conftest.$ac_ext
  8022. CFLAGS=$ac_wine_try_cflags_saved
  8023. fi
  8024. { $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
  8025. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8026. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
  8027. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8028. else
  8029. wine_can_build_preloader=no
  8030. fi
  8031. fi
  8032. else
  8033. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
  8034. $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
  8035. if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
  8036. $as_echo_n "(cached) " >&6
  8037. else
  8038. ac_wine_try_cflags_saved=$CFLAGS
  8039. CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
  8040. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8041. /* end confdefs.h. */
  8042. int main(int argc, char **argv) { return 0; }
  8043. _ACEOF
  8044. if ac_fn_c_try_link "$LINENO"; then :
  8045. ac_cv_cflags__nostartfiles__nodefaultlibs=yes
  8046. else
  8047. ac_cv_cflags__nostartfiles__nodefaultlibs=no
  8048. fi
  8049. rm -f core conftest.err conftest.$ac_objext \
  8050. conftest$ac_exeext conftest.$ac_ext
  8051. CFLAGS=$ac_wine_try_cflags_saved
  8052. fi
  8053. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
  8054. $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
  8055. if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
  8056. EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
  8057. else
  8058. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  8059. $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8060. if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
  8061. $as_echo_n "(cached) " >&6
  8062. else
  8063. ac_wine_try_cflags_saved=$CFLAGS
  8064. CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8065. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8066. /* end confdefs.h. */
  8067. int main(int argc, char **argv) { return 0; }
  8068. _ACEOF
  8069. if ac_fn_c_try_link "$LINENO"; then :
  8070. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8071. else
  8072. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8073. fi
  8074. rm -f core conftest.err conftest.$ac_objext \
  8075. conftest$ac_exeext conftest.$ac_ext
  8076. CFLAGS=$ac_wine_try_cflags_saved
  8077. fi
  8078. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  8079. $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8080. if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
  8081. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8082. else
  8083. wine_can_build_preloader=no
  8084. fi
  8085. fi
  8086. fi
  8087. if test "$wine_can_build_preloader" = "yes"
  8088. then
  8089. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
  8090. $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
  8091. if ${ac_cv_cflags__Wl__no_pie+:} false; then :
  8092. $as_echo_n "(cached) " >&6
  8093. else
  8094. ac_wine_try_cflags_saved=$CFLAGS
  8095. CFLAGS="$CFLAGS -Wl,-no_pie"
  8096. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8097. /* end confdefs.h. */
  8098. int main(int argc, char **argv) { return 0; }
  8099. _ACEOF
  8100. if ac_fn_c_try_link "$LINENO"; then :
  8101. ac_cv_cflags__Wl__no_pie=yes
  8102. else
  8103. ac_cv_cflags__Wl__no_pie=no
  8104. fi
  8105. rm -f core conftest.err conftest.$ac_objext \
  8106. conftest$ac_exeext conftest.$ac_ext
  8107. CFLAGS=$ac_wine_try_cflags_saved
  8108. fi
  8109. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
  8110. $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
  8111. if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
  8112. WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
  8113. fi
  8114. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  8115. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  8116. else
  8117. as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
  8118. fi
  8119. if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
  8120. then
  8121. DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
  8122. fi
  8123. if test "$ac_cv_header_Security_Security_h" = "yes"
  8124. then
  8125. SECURITY_LIBS="-framework Security -framework CoreFoundation"
  8126. ac_save_LIBS="$LIBS"
  8127. LIBS="$LIBS $SECURITY_LIBS"
  8128. for ac_func in SSLCopyPeerCertificates
  8129. do :
  8130. ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
  8131. if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
  8132. cat >>confdefs.h <<_ACEOF
  8133. #define HAVE_SSLCOPYPEERCERTIFICATES 1
  8134. _ACEOF
  8135. fi
  8136. done
  8137. LIBS="$ac_save_LIBS"
  8138. fi
  8139. if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
  8140. then
  8141. if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
  8142. then
  8143. COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
  8144. else
  8145. COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
  8146. fi
  8147. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
  8148. ac_save_LIBS="$LIBS"
  8149. LIBS="$LIBS $COREAUDIO_LIBS"
  8150. for ac_func in AUGraphAddNode
  8151. do :
  8152. ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
  8153. if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
  8154. cat >>confdefs.h <<_ACEOF
  8155. #define HAVE_AUGRAPHADDNODE 1
  8156. _ACEOF
  8157. fi
  8158. done
  8159. LIBS="$ac_save_LIBS"
  8160. fi
  8161. if test "$ac_cv_header_OpenAL_al_h" = "yes"
  8162. then
  8163. OPENAL_LIBS="-framework OpenAL"
  8164. cat >>confdefs.h <<_ACEOF
  8165. #define HAVE_OPENAL 1
  8166. _ACEOF
  8167. ac_cv_lib_openal=yes
  8168. fi
  8169. if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
  8170. then
  8171. OPENCL_LIBS="-framework OpenCL"
  8172. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  8173. fi
  8174. if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
  8175. then
  8176. ac_save_LIBS="$LIBS"
  8177. LIBS="$LIBS $IOKIT_LIBS"
  8178. for ac_func in IOHIDManagerCreate
  8179. do :
  8180. ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
  8181. if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
  8182. cat >>confdefs.h <<_ACEOF
  8183. #define HAVE_IOHIDMANAGERCREATE 1
  8184. _ACEOF
  8185. fi
  8186. done
  8187. LIBS="$ac_save_LIBS"
  8188. fi
  8189. if test "x$with_quicktime" != "xno"
  8190. then
  8191. if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
  8192. then
  8193. ac_save_LIBS="$LIBS"
  8194. LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
  8195. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
  8196. $as_echo_n "checking for the QuickTime framework... " >&6; }
  8197. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8198. /* end confdefs.h. */
  8199. #include <QuickTime/ImageCompression.h>
  8200. int
  8201. main ()
  8202. {
  8203. CodecManagerVersion(NULL);
  8204. ;
  8205. return 0;
  8206. }
  8207. _ACEOF
  8208. if ac_fn_c_try_link "$LINENO"; then :
  8209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8210. $as_echo "yes" >&6; }
  8211. QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
  8212. enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
  8213. else
  8214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8215. $as_echo "no" >&6; }
  8216. ac_cv_header_QuickTime_ImageCompression_h=no
  8217. fi
  8218. rm -f core conftest.err conftest.$ac_objext \
  8219. conftest$ac_exeext conftest.$ac_ext
  8220. LIBS="$ac_save_LIBS"
  8221. fi
  8222. fi
  8223. if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
  8224. case "x$with_quicktime" in
  8225. x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
  8226. xno) ;;
  8227. *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
  8228. This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
  8229. esac
  8230. fi
  8231. if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
  8232. then
  8233. CARBON_LIBS="-framework Carbon"
  8234. fi
  8235. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  8236. then
  8237. METAL_LIBS="-framework Metal -framework QuartzCore"
  8238. fi
  8239. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  8240. then
  8241. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
  8242. $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
  8243. ac_ext=m
  8244. ac_cpp='$OBJCPP $CPPFLAGS'
  8245. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8246. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8247. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8248. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8249. /* end confdefs.h. */
  8250. #include <Metal/Metal.h>
  8251. int
  8252. main ()
  8253. {
  8254. id<MTLDevice> device; device.registryID;
  8255. ;
  8256. return 0;
  8257. }
  8258. _ACEOF
  8259. if ac_fn_objc_try_compile "$LINENO"; then :
  8260. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8261. $as_echo "yes" >&6; }
  8262. $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
  8263. else
  8264. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8265. $as_echo "no" >&6; }
  8266. fi
  8267. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8268. ac_ext=c
  8269. ac_cpp='$CPP $CPPFLAGS'
  8270. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8271. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8272. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8273. fi
  8274. if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
  8275. then
  8276. ac_save_LIBS="$LIBS"
  8277. LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
  8278. ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
  8279. if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
  8280. enable_winemac_drv=${enable_winemac_drv:-yes}
  8281. fi
  8282. LIBS="$ac_save_LIBS"
  8283. fi
  8284. if test "x$enable_win16" = "xyes"
  8285. then
  8286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
  8287. $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
  8288. if test "$cross_compiling" = yes; then :
  8289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
  8290. $as_echo "cross-compiling, assuming yes" >&6; }
  8291. else
  8292. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8293. /* end confdefs.h. */
  8294. asm(".text\n"
  8295. "bad:\tnop;nop\n"
  8296. "good:\tnop;nop\n\t"
  8297. ".globl _testfunc\n"
  8298. "_testfunc:\tcallw good");
  8299. extern void testfunc();
  8300. int
  8301. main ()
  8302. {
  8303. unsigned short *p = (unsigned short *)testfunc;
  8304. return p[0] != 0xe866 || p[1] != 0xfffa
  8305. ;
  8306. return 0;
  8307. }
  8308. _ACEOF
  8309. if ac_fn_c_try_run "$LINENO"; then :
  8310. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8311. $as_echo "yes" >&6; }
  8312. else
  8313. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8314. $as_echo "no" >&6; }
  8315. as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
  8316. fi
  8317. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8318. conftest.$ac_objext conftest.beam conftest.$ac_ext
  8319. fi
  8320. fi
  8321. LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
  8322. LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
  8323. WINELOADER_DEPENDS="wine_info.plist"
  8324. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
  8325. TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
  8326. ;;
  8327. linux-android*)
  8328. DLLFLAGS="$DLLFLAGS -fPIC"
  8329. LDDLLFLAGS="-fPIC"
  8330. LDEXECFLAGS="-Wl,-pie"
  8331. enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
  8332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
  8333. $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
  8334. if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
  8335. $as_echo_n "(cached) " >&6
  8336. else
  8337. ac_wine_try_cflags_saved=$CFLAGS
  8338. CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
  8339. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8340. /* end confdefs.h. */
  8341. int main(int argc, char **argv) { return 0; }
  8342. _ACEOF
  8343. if ac_fn_c_try_link "$LINENO"; then :
  8344. ac_cv_cflags__fPIC__Wl___export_dynamic=yes
  8345. else
  8346. ac_cv_cflags__fPIC__Wl___export_dynamic=no
  8347. fi
  8348. rm -f core conftest.err conftest.$ac_objext \
  8349. conftest$ac_exeext conftest.$ac_ext
  8350. CFLAGS=$ac_wine_try_cflags_saved
  8351. fi
  8352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
  8353. $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
  8354. if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
  8355. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  8356. fi
  8357. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  8358. LIBWINE_SHAREDLIB="libwine.so"
  8359. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
  8360. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
  8361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
  8362. $as_echo_n "checking for -lEGL... " >&6; }
  8363. if ${ac_cv_lib_soname_EGL+:} false; then :
  8364. $as_echo_n "(cached) " >&6
  8365. else
  8366. ac_check_soname_save_LIBS=$LIBS
  8367. LIBS="-lEGL $LIBS"
  8368. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8369. /* end confdefs.h. */
  8370. /* Override any GCC internal prototype to avoid an error.
  8371. Use char because int might match the return type of a GCC
  8372. builtin and then its argument prototype would still apply. */
  8373. #ifdef __cplusplus
  8374. extern "C"
  8375. #endif
  8376. char eglGetProcAddress ();
  8377. int
  8378. main ()
  8379. {
  8380. return eglGetProcAddress ();
  8381. ;
  8382. return 0;
  8383. }
  8384. _ACEOF
  8385. if ac_fn_c_try_link "$LINENO"; then :
  8386. case "$LIBEXT" in
  8387. dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  8388. 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'` ;;
  8389. *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  8390. if ${ac_cv_lib_soname_EGL:+false} :; then :
  8391. ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  8392. fi ;;
  8393. esac
  8394. else
  8395. ac_cv_lib_soname_EGL=
  8396. fi
  8397. rm -f core conftest.err conftest.$ac_objext \
  8398. conftest$ac_exeext conftest.$ac_ext
  8399. LIBS=$ac_check_soname_save_LIBS
  8400. fi
  8401. if ${ac_cv_lib_soname_EGL:+false} :; then :
  8402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  8403. $as_echo "not found" >&6; }
  8404. else
  8405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
  8406. $as_echo "$ac_cv_lib_soname_EGL" >&6; }
  8407. cat >>confdefs.h <<_ACEOF
  8408. #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
  8409. _ACEOF
  8410. fi
  8411. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
  8412. $as_echo_n "checking for -lGLESv2... " >&6; }
  8413. if ${ac_cv_lib_soname_GLESv2+:} false; then :
  8414. $as_echo_n "(cached) " >&6
  8415. else
  8416. ac_check_soname_save_LIBS=$LIBS
  8417. LIBS="-lGLESv2 $LIBS"
  8418. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8419. /* end confdefs.h. */
  8420. /* Override any GCC internal prototype to avoid an error.
  8421. Use char because int might match the return type of a GCC
  8422. builtin and then its argument prototype would still apply. */
  8423. #ifdef __cplusplus
  8424. extern "C"
  8425. #endif
  8426. char glFlush ();
  8427. int
  8428. main ()
  8429. {
  8430. return glFlush ();
  8431. ;
  8432. return 0;
  8433. }
  8434. _ACEOF
  8435. if ac_fn_c_try_link "$LINENO"; then :
  8436. case "$LIBEXT" in
  8437. dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  8438. 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'` ;;
  8439. *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  8440. if ${ac_cv_lib_soname_GLESv2:+false} :; then :
  8441. ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  8442. fi ;;
  8443. esac
  8444. else
  8445. ac_cv_lib_soname_GLESv2=
  8446. fi
  8447. rm -f core conftest.err conftest.$ac_objext \
  8448. conftest$ac_exeext conftest.$ac_ext
  8449. LIBS=$ac_check_soname_save_LIBS
  8450. fi
  8451. if ${ac_cv_lib_soname_GLESv2:+false} :; then :
  8452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  8453. $as_echo "not found" >&6; }
  8454. else
  8455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
  8456. $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
  8457. cat >>confdefs.h <<_ACEOF
  8458. #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
  8459. _ACEOF
  8460. fi
  8461. if test "x$exec_prefix" = xNONE
  8462. then
  8463. case $host_cpu in
  8464. *i[3456]86*) exec_prefix='${prefix}/x86' ;;
  8465. *x86_64*) exec_prefix='${prefix}/x86_64' ;;
  8466. *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
  8467. *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
  8468. esac
  8469. fi
  8470. ;;
  8471. *)
  8472. case $host_cpu in
  8473. *i[3456789]86*)
  8474. DLLFLAGS="$DLLFLAGS -fno-PIC"
  8475. LDDLLFLAGS="-fno-PIC" ;;
  8476. *)
  8477. DLLFLAGS="$DLLFLAGS -fPIC"
  8478. LDDLLFLAGS="-fPIC" ;;
  8479. esac
  8480. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
  8481. $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
  8482. if ${ac_cv_c_dll_gnuelf+:} false; then :
  8483. $as_echo_n "(cached) " >&6
  8484. else
  8485. ac_wine_try_cflags_saved=$CFLAGS
  8486. CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
  8487. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8488. /* end confdefs.h. */
  8489. void myfunc() {}
  8490. _ACEOF
  8491. if ac_fn_c_try_link "$LINENO"; then :
  8492. ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
  8493. else
  8494. ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
  8495. fi
  8496. rm -f core conftest.err conftest.$ac_objext \
  8497. conftest$ac_exeext conftest.$ac_ext
  8498. CFLAGS=$ac_wine_try_cflags_saved
  8499. if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
  8500. ac_cv_c_dll_gnuelf="yes"
  8501. else
  8502. ac_cv_c_dll_gnuelf="no"
  8503. fi
  8504. fi
  8505. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
  8506. $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
  8507. if test "$ac_cv_c_dll_gnuelf" = "yes"
  8508. then
  8509. LIBWINE_LDFLAGS="-shared"
  8510. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
  8511. $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
  8512. if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
  8513. $as_echo_n "(cached) " >&6
  8514. else
  8515. ac_wine_try_cflags_saved=$CFLAGS
  8516. CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
  8517. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8518. /* end confdefs.h. */
  8519. int main(int argc, char **argv) { return 0; }
  8520. _ACEOF
  8521. if ac_fn_c_try_link "$LINENO"; then :
  8522. ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
  8523. else
  8524. ac_cv_cflags__shared__Wl__soname_confest_so_1=no
  8525. fi
  8526. rm -f core conftest.err conftest.$ac_objext \
  8527. conftest$ac_exeext conftest.$ac_ext
  8528. CFLAGS=$ac_wine_try_cflags_saved
  8529. fi
  8530. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
  8531. $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
  8532. if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
  8533. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
  8534. else
  8535. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
  8536. $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
  8537. if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
  8538. $as_echo_n "(cached) " >&6
  8539. else
  8540. ac_wine_try_cflags_saved=$CFLAGS
  8541. CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
  8542. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8543. /* end confdefs.h. */
  8544. int main(int argc, char **argv) { return 0; }
  8545. _ACEOF
  8546. if ac_fn_c_try_link "$LINENO"; then :
  8547. ac_cv_cflags__shared__Wl__h_confest_so_1=yes
  8548. else
  8549. ac_cv_cflags__shared__Wl__h_confest_so_1=no
  8550. fi
  8551. rm -f core conftest.err conftest.$ac_objext \
  8552. conftest$ac_exeext conftest.$ac_ext
  8553. CFLAGS=$ac_wine_try_cflags_saved
  8554. fi
  8555. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
  8556. $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
  8557. if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
  8558. LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
  8559. fi
  8560. fi
  8561. echo '{ global: *; };' >conftest.map
  8562. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
  8563. $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
  8564. if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
  8565. $as_echo_n "(cached) " >&6
  8566. else
  8567. ac_wine_try_cflags_saved=$CFLAGS
  8568. CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
  8569. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8570. /* end confdefs.h. */
  8571. int main(int argc, char **argv) { return 0; }
  8572. _ACEOF
  8573. if ac_fn_c_try_link "$LINENO"; then :
  8574. ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
  8575. else
  8576. ac_cv_cflags__shared__Wl___version_script_conftest_map=no
  8577. fi
  8578. rm -f core conftest.err conftest.$ac_objext \
  8579. conftest$ac_exeext conftest.$ac_ext
  8580. CFLAGS=$ac_wine_try_cflags_saved
  8581. fi
  8582. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
  8583. $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
  8584. if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
  8585. LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
  8586. fi
  8587. rm -f conftest.map
  8588. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
  8589. $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
  8590. if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
  8591. $as_echo_n "(cached) " >&6
  8592. else
  8593. ac_wine_try_cflags_saved=$CFLAGS
  8594. CFLAGS="$CFLAGS -Wl,--export-dynamic"
  8595. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8596. /* end confdefs.h. */
  8597. int main(int argc, char **argv) { return 0; }
  8598. _ACEOF
  8599. if ac_fn_c_try_link "$LINENO"; then :
  8600. ac_cv_cflags__Wl___export_dynamic=yes
  8601. else
  8602. ac_cv_cflags__Wl___export_dynamic=no
  8603. fi
  8604. rm -f core conftest.err conftest.$ac_objext \
  8605. conftest$ac_exeext conftest.$ac_ext
  8606. CFLAGS=$ac_wine_try_cflags_saved
  8607. fi
  8608. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
  8609. $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
  8610. if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
  8611. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  8612. fi
  8613. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  8614. case $host_cpu in
  8615. *i[3456789]86* | x86_64 | *aarch64*)
  8616. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
  8617. $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
  8618. if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
  8619. $as_echo_n "(cached) " >&6
  8620. else
  8621. ac_wine_try_cflags_saved=$CFLAGS
  8622. CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
  8623. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8624. /* end confdefs.h. */
  8625. int main(int argc, char **argv) { return 0; }
  8626. _ACEOF
  8627. if ac_fn_c_try_link "$LINENO"; then :
  8628. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
  8629. else
  8630. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
  8631. fi
  8632. rm -f core conftest.err conftest.$ac_objext \
  8633. conftest$ac_exeext conftest.$ac_ext
  8634. CFLAGS=$ac_wine_try_cflags_saved
  8635. fi
  8636. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
  8637. $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
  8638. if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
  8639. case $host_os in
  8640. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
  8641. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
  8642. esac
  8643. else
  8644. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
  8645. $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
  8646. if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
  8647. $as_echo_n "(cached) " >&6
  8648. else
  8649. ac_wine_try_cflags_saved=$CFLAGS
  8650. CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
  8651. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8652. /* end confdefs.h. */
  8653. int main(int argc, char **argv) { return 0; }
  8654. _ACEOF
  8655. if ac_fn_c_try_link "$LINENO"; then :
  8656. ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
  8657. else
  8658. ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
  8659. fi
  8660. rm -f core conftest.err conftest.$ac_objext \
  8661. conftest$ac_exeext conftest.$ac_ext
  8662. CFLAGS=$ac_wine_try_cflags_saved
  8663. fi
  8664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
  8665. $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
  8666. if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
  8667. case $host_os in
  8668. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
  8669. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
  8670. esac
  8671. fi
  8672. # Extract the first word of "prelink", so it can be a program name with args.
  8673. set dummy prelink; ac_word=$2
  8674. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8675. $as_echo_n "checking for $ac_word... " >&6; }
  8676. if ${ac_cv_path_PRELINK+:} false; then :
  8677. $as_echo_n "(cached) " >&6
  8678. else
  8679. case $PRELINK in
  8680. [\\/]* | ?:[\\/]*)
  8681. ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
  8682. ;;
  8683. *)
  8684. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8685. for as_dir in /sbin /usr/sbin $PATH
  8686. do
  8687. IFS=$as_save_IFS
  8688. test -z "$as_dir" && as_dir=.
  8689. for ac_exec_ext in '' $ac_executable_extensions; do
  8690. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8691. ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
  8692. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8693. break 2
  8694. fi
  8695. done
  8696. done
  8697. IFS=$as_save_IFS
  8698. test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
  8699. ;;
  8700. esac
  8701. fi
  8702. PRELINK=$ac_cv_path_PRELINK
  8703. if test -n "$PRELINK"; then
  8704. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
  8705. $as_echo "$PRELINK" >&6; }
  8706. else
  8707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8708. $as_echo "no" >&6; }
  8709. fi
  8710. if test "x$PRELINK" = xfalse
  8711. then
  8712. as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
  8713. fi
  8714. fi
  8715. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
  8716. $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
  8717. if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
  8718. $as_echo_n "(cached) " >&6
  8719. else
  8720. ac_wine_try_cflags_saved=$CFLAGS
  8721. CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
  8722. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8723. /* end confdefs.h. */
  8724. int main(int argc, char **argv) { return 0; }
  8725. _ACEOF
  8726. if ac_fn_c_try_link "$LINENO"; then :
  8727. ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
  8728. else
  8729. ac_cv_cflags__Wl__z_max_page_size_0x1000=no
  8730. fi
  8731. rm -f core conftest.err conftest.$ac_objext \
  8732. conftest$ac_exeext conftest.$ac_ext
  8733. CFLAGS=$ac_wine_try_cflags_saved
  8734. fi
  8735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
  8736. $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
  8737. if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
  8738. WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
  8739. fi
  8740. ;;
  8741. esac
  8742. else
  8743. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
  8744. $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
  8745. if ${ac_cv_c_dll_unixware+:} false; then :
  8746. $as_echo_n "(cached) " >&6
  8747. else
  8748. ac_wine_try_cflags_saved=$CFLAGS
  8749. CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
  8750. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8751. /* end confdefs.h. */
  8752. void myfunc() {}
  8753. _ACEOF
  8754. if ac_fn_c_try_link "$LINENO"; then :
  8755. ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
  8756. else
  8757. ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
  8758. fi
  8759. rm -f core conftest.err conftest.$ac_objext \
  8760. conftest$ac_exeext conftest.$ac_ext
  8761. CFLAGS=$ac_wine_try_cflags_saved
  8762. if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
  8763. ac_cv_c_dll_unixware="yes"
  8764. else
  8765. ac_cv_c_dll_unixware="no"
  8766. fi
  8767. fi
  8768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
  8769. $as_echo "$ac_cv_c_dll_unixware" >&6; }
  8770. if test "$ac_cv_c_dll_unixware" = "yes"
  8771. then
  8772. LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
  8773. fi
  8774. fi
  8775. LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
  8776. LIBWINE_DEPENDS="wine.map"
  8777. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
  8778. TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
  8779. ;;
  8780. esac
  8781. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
  8782. enable_wineqtdecoder=${enable_wineqtdecoder:-no}
  8783. enable_wineandroid_drv=${enable_wineandroid_drv:-no}
  8784. enable_winemac_drv=${enable_winemac_drv:-no}
  8785. test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
  8786. if test "x$with_mingw" != xno
  8787. then
  8788. case "x$with_mingw" in
  8789. x|xyes) case "$host_cpu" in
  8790. aarch64*)
  8791. ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
  8792. arm*)
  8793. ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
  8794. i[3456789]86*)
  8795. 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
  8796. i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
  8797. mingw32-gcc" ;;
  8798. x86_64)
  8799. 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
  8800. x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
  8801. *)
  8802. ac_prefix_list="" ;;
  8803. esac
  8804. for ac_prog in $ac_prefix_list
  8805. do
  8806. # Extract the first word of "$ac_prog", so it can be a program name with args.
  8807. set dummy $ac_prog; ac_word=$2
  8808. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8809. $as_echo_n "checking for $ac_word... " >&6; }
  8810. if ${ac_cv_prog_CROSSCC+:} false; then :
  8811. $as_echo_n "(cached) " >&6
  8812. else
  8813. if test -n "$CROSSCC"; then
  8814. ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
  8815. else
  8816. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8817. for as_dir in $PATH
  8818. do
  8819. IFS=$as_save_IFS
  8820. test -z "$as_dir" && as_dir=.
  8821. for ac_exec_ext in '' $ac_executable_extensions; do
  8822. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8823. ac_cv_prog_CROSSCC="$ac_prog"
  8824. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8825. break 2
  8826. fi
  8827. done
  8828. done
  8829. IFS=$as_save_IFS
  8830. fi
  8831. fi
  8832. CROSSCC=$ac_cv_prog_CROSSCC
  8833. if test -n "$CROSSCC"; then
  8834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
  8835. $as_echo "$CROSSCC" >&6; }
  8836. else
  8837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8838. $as_echo "no" >&6; }
  8839. fi
  8840. test -n "$CROSSCC" && break
  8841. done
  8842. test -n "$CROSSCC" || CROSSCC="false"
  8843. ;;
  8844. *) CROSSCC=$with_mingw ;;
  8845. esac
  8846. if test "$CROSSCC" != "false"
  8847. then
  8848. ac_save_CC="$CC"
  8849. saved_CFLAGS=$CFLAGS
  8850. CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
  8851. EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
  8852. CC="$CROSSCC"
  8853. CFLAGS=$CROSSCFLAGS
  8854. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
  8855. $as_echo_n "checking whether $CROSSCC works... " >&6; }
  8856. if ${wine_cv_crosscc+:} false; then :
  8857. $as_echo_n "(cached) " >&6
  8858. else
  8859. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8860. /* end confdefs.h. */
  8861. int
  8862. main ()
  8863. {
  8864. ;
  8865. return 0;
  8866. }
  8867. _ACEOF
  8868. if ac_fn_c_try_compile "$LINENO"; then :
  8869. wine_cv_crosscc=yes
  8870. else
  8871. wine_cv_crosscc=no
  8872. fi
  8873. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8874. fi
  8875. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
  8876. $as_echo "$wine_cv_crosscc" >&6; }
  8877. if test $wine_cv_crosscc = yes
  8878. then
  8879. set x $CROSSCC
  8880. shift
  8881. while test $# -ge 1
  8882. do
  8883. case "$1" in
  8884. *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
  8885. *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
  8886. esac
  8887. shift
  8888. done
  8889. llvm_target=$CROSSTARGET
  8890. llvm_cflags="-fuse-ld=lld"
  8891. if test -z "$llvm_target"
  8892. then
  8893. case $host_cpu in
  8894. *i[3456789]86*) llvm_target=i686-windows ;;
  8895. *) llvm_target=$host_cpu-windows ;;
  8896. esac
  8897. fi
  8898. case $llvm_target in
  8899. *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
  8900. esac
  8901. as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
  8902. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
  8903. $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
  8904. if eval \${$as_ac_var+:} false; then :
  8905. $as_echo_n "(cached) " >&6
  8906. else
  8907. ac_wine_try_cflags_saved=$CFLAGS
  8908. ac_wine_try_cflags_saved_cc=$CC
  8909. ac_wine_try_cflags_saved_exeext=$ac_exeext
  8910. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
  8911. CC="$CROSSCC"
  8912. ac_exeext=".exe"
  8913. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8914. /* end confdefs.h. */
  8915. int __cdecl mainCRTStartup(void) { return 0; }
  8916. _ACEOF
  8917. if ac_fn_c_try_link "$LINENO"; then :
  8918. eval "$as_ac_var=yes"
  8919. else
  8920. eval "$as_ac_var=no"
  8921. fi
  8922. rm -f core conftest.err conftest.$ac_objext \
  8923. conftest$ac_exeext conftest.$ac_ext
  8924. CFLAGS=$ac_wine_try_cflags_saved
  8925. CC=$ac_wine_try_cflags_saved_cc
  8926. ac_exeext=$ac_wine_try_cflags_saved_exeext
  8927. fi
  8928. eval ac_res=\$$as_ac_var
  8929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8930. $as_echo "$ac_res" >&6; }
  8931. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8932. CROSSTARGET=$llvm_target
  8933. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
  8934. DELAYLOADFLAG="-Wl,-delayload,"
  8935. CFLAGS="$CFLAGS $llvm_cflags"
  8936. fi
  8937. fi
  8938. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
  8939. $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
  8940. if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
  8941. $as_echo_n "(cached) " >&6
  8942. else
  8943. ac_wine_try_cflags_saved=$CFLAGS
  8944. ac_wine_try_cflags_saved_cc=$CC
  8945. ac_wine_try_cflags_saved_exeext=$ac_exeext
  8946. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
  8947. CC="$CROSSCC"
  8948. ac_exeext=".exe"
  8949. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8950. /* end confdefs.h. */
  8951. int __cdecl mainCRTStartup(void) { return 0; }
  8952. _ACEOF
  8953. if ac_fn_c_try_link "$LINENO"; then :
  8954. ac_cv_crosscflags__fno_strict_aliasing=yes
  8955. else
  8956. ac_cv_crosscflags__fno_strict_aliasing=no
  8957. fi
  8958. rm -f core conftest.err conftest.$ac_objext \
  8959. conftest$ac_exeext conftest.$ac_ext
  8960. CFLAGS=$ac_wine_try_cflags_saved
  8961. CC=$ac_wine_try_cflags_saved_cc
  8962. ac_exeext=$ac_wine_try_cflags_saved_exeext
  8963. fi
  8964. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
  8965. $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
  8966. if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
  8967. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
  8968. fi
  8969. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
  8970. $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
  8971. if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
  8972. $as_echo_n "(cached) " >&6
  8973. else
  8974. ac_wine_try_cflags_saved=$CFLAGS
  8975. ac_wine_try_cflags_saved_cc=$CC
  8976. ac_wine_try_cflags_saved_exeext=$ac_exeext
  8977. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
  8978. CC="$CROSSCC"
  8979. ac_exeext=".exe"
  8980. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8981. /* end confdefs.h. */
  8982. int __cdecl mainCRTStartup(void) { return 0; }
  8983. _ACEOF
  8984. if ac_fn_c_try_link "$LINENO"; then :
  8985. ac_cv_crosscflags__Werror_unknown_warning_option=yes
  8986. else
  8987. ac_cv_crosscflags__Werror_unknown_warning_option=no
  8988. fi
  8989. rm -f core conftest.err conftest.$ac_objext \
  8990. conftest$ac_exeext conftest.$ac_ext
  8991. CFLAGS=$ac_wine_try_cflags_saved
  8992. CC=$ac_wine_try_cflags_saved_cc
  8993. ac_exeext=$ac_wine_try_cflags_saved_exeext
  8994. fi
  8995. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
  8996. $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
  8997. if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
  8998. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  8999. fi
  9000. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
  9001. $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
  9002. if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
  9003. $as_echo_n "(cached) " >&6
  9004. else
  9005. ac_wine_try_cflags_saved=$CFLAGS
  9006. ac_wine_try_cflags_saved_cc=$CC
  9007. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9008. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
  9009. CC="$CROSSCC"
  9010. ac_exeext=".exe"
  9011. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9012. /* end confdefs.h. */
  9013. int __cdecl mainCRTStartup(void) { return 0; }
  9014. _ACEOF
  9015. if ac_fn_c_try_link "$LINENO"; then :
  9016. ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
  9017. else
  9018. ac_cv_crosscflags__Werror_ignored_optimization_argument=no
  9019. fi
  9020. rm -f core conftest.err conftest.$ac_objext \
  9021. conftest$ac_exeext conftest.$ac_ext
  9022. CFLAGS=$ac_wine_try_cflags_saved
  9023. CC=$ac_wine_try_cflags_saved_cc
  9024. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9025. fi
  9026. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
  9027. $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
  9028. if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
  9029. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  9030. fi
  9031. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
  9032. $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
  9033. if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
  9034. $as_echo_n "(cached) " >&6
  9035. else
  9036. ac_wine_try_cflags_saved=$CFLAGS
  9037. ac_wine_try_cflags_saved_cc=$CC
  9038. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9039. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
  9040. CC="$CROSSCC"
  9041. ac_exeext=".exe"
  9042. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9043. /* end confdefs.h. */
  9044. int __cdecl mainCRTStartup(void) { return 0; }
  9045. _ACEOF
  9046. if ac_fn_c_try_link "$LINENO"; then :
  9047. ac_cv_crosscflags__Wdeclaration_after_statement=yes
  9048. else
  9049. ac_cv_crosscflags__Wdeclaration_after_statement=no
  9050. fi
  9051. rm -f core conftest.err conftest.$ac_objext \
  9052. conftest$ac_exeext conftest.$ac_ext
  9053. CFLAGS=$ac_wine_try_cflags_saved
  9054. CC=$ac_wine_try_cflags_saved_cc
  9055. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9056. fi
  9057. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
  9058. $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
  9059. if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
  9060. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
  9061. fi
  9062. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
  9063. $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
  9064. if ${ac_cv_crosscflags__Wempty_body+:} false; then :
  9065. $as_echo_n "(cached) " >&6
  9066. else
  9067. ac_wine_try_cflags_saved=$CFLAGS
  9068. ac_wine_try_cflags_saved_cc=$CC
  9069. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9070. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
  9071. CC="$CROSSCC"
  9072. ac_exeext=".exe"
  9073. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9074. /* end confdefs.h. */
  9075. int __cdecl mainCRTStartup(void) { return 0; }
  9076. _ACEOF
  9077. if ac_fn_c_try_link "$LINENO"; then :
  9078. ac_cv_crosscflags__Wempty_body=yes
  9079. else
  9080. ac_cv_crosscflags__Wempty_body=no
  9081. fi
  9082. rm -f core conftest.err conftest.$ac_objext \
  9083. conftest$ac_exeext conftest.$ac_ext
  9084. CFLAGS=$ac_wine_try_cflags_saved
  9085. CC=$ac_wine_try_cflags_saved_cc
  9086. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9087. fi
  9088. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
  9089. $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
  9090. if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
  9091. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
  9092. fi
  9093. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
  9094. $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
  9095. if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
  9096. $as_echo_n "(cached) " >&6
  9097. else
  9098. ac_wine_try_cflags_saved=$CFLAGS
  9099. ac_wine_try_cflags_saved_cc=$CC
  9100. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9101. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
  9102. CC="$CROSSCC"
  9103. ac_exeext=".exe"
  9104. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9105. /* end confdefs.h. */
  9106. int __cdecl mainCRTStartup(void) { return 0; }
  9107. _ACEOF
  9108. if ac_fn_c_try_link "$LINENO"; then :
  9109. ac_cv_crosscflags__Wignored_qualifiers=yes
  9110. else
  9111. ac_cv_crosscflags__Wignored_qualifiers=no
  9112. fi
  9113. rm -f core conftest.err conftest.$ac_objext \
  9114. conftest$ac_exeext conftest.$ac_ext
  9115. CFLAGS=$ac_wine_try_cflags_saved
  9116. CC=$ac_wine_try_cflags_saved_cc
  9117. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9118. fi
  9119. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
  9120. $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
  9121. if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
  9122. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
  9123. fi
  9124. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
  9125. $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
  9126. if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
  9127. $as_echo_n "(cached) " >&6
  9128. else
  9129. ac_wine_try_cflags_saved=$CFLAGS
  9130. ac_wine_try_cflags_saved_cc=$CC
  9131. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9132. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
  9133. CC="$CROSSCC"
  9134. ac_exeext=".exe"
  9135. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9136. /* end confdefs.h. */
  9137. int __cdecl mainCRTStartup(void) { return 0; }
  9138. _ACEOF
  9139. if ac_fn_c_try_link "$LINENO"; then :
  9140. ac_cv_crosscflags__Wpacked_not_aligned=yes
  9141. else
  9142. ac_cv_crosscflags__Wpacked_not_aligned=no
  9143. fi
  9144. rm -f core conftest.err conftest.$ac_objext \
  9145. conftest$ac_exeext conftest.$ac_ext
  9146. CFLAGS=$ac_wine_try_cflags_saved
  9147. CC=$ac_wine_try_cflags_saved_cc
  9148. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9149. fi
  9150. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
  9151. $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
  9152. if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
  9153. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
  9154. fi
  9155. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
  9156. $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
  9157. if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
  9158. $as_echo_n "(cached) " >&6
  9159. else
  9160. ac_wine_try_cflags_saved=$CFLAGS
  9161. ac_wine_try_cflags_saved_cc=$CC
  9162. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9163. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
  9164. CC="$CROSSCC"
  9165. ac_exeext=".exe"
  9166. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9167. /* end confdefs.h. */
  9168. int __cdecl mainCRTStartup(void) { return 0; }
  9169. _ACEOF
  9170. if ac_fn_c_try_link "$LINENO"; then :
  9171. ac_cv_crosscflags__Wpragma_pack=yes
  9172. else
  9173. ac_cv_crosscflags__Wpragma_pack=no
  9174. fi
  9175. rm -f core conftest.err conftest.$ac_objext \
  9176. conftest$ac_exeext conftest.$ac_ext
  9177. CFLAGS=$ac_wine_try_cflags_saved
  9178. CC=$ac_wine_try_cflags_saved_cc
  9179. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9180. fi
  9181. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
  9182. $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
  9183. if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
  9184. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
  9185. fi
  9186. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
  9187. $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
  9188. if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
  9189. $as_echo_n "(cached) " >&6
  9190. else
  9191. ac_wine_try_cflags_saved=$CFLAGS
  9192. ac_wine_try_cflags_saved_cc=$CC
  9193. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9194. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
  9195. CC="$CROSSCC"
  9196. ac_exeext=".exe"
  9197. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9198. /* end confdefs.h. */
  9199. int __cdecl mainCRTStartup(void) { return 0; }
  9200. _ACEOF
  9201. if ac_fn_c_try_link "$LINENO"; then :
  9202. ac_cv_crosscflags__Wshift_overflow_2=yes
  9203. else
  9204. ac_cv_crosscflags__Wshift_overflow_2=no
  9205. fi
  9206. rm -f core conftest.err conftest.$ac_objext \
  9207. conftest$ac_exeext conftest.$ac_ext
  9208. CFLAGS=$ac_wine_try_cflags_saved
  9209. CC=$ac_wine_try_cflags_saved_cc
  9210. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9211. fi
  9212. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
  9213. $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
  9214. if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
  9215. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
  9216. fi
  9217. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
  9218. $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
  9219. if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
  9220. $as_echo_n "(cached) " >&6
  9221. else
  9222. ac_wine_try_cflags_saved=$CFLAGS
  9223. ac_wine_try_cflags_saved_cc=$CC
  9224. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9225. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
  9226. CC="$CROSSCC"
  9227. ac_exeext=".exe"
  9228. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9229. /* end confdefs.h. */
  9230. int __cdecl mainCRTStartup(void) { return 0; }
  9231. _ACEOF
  9232. if ac_fn_c_try_link "$LINENO"; then :
  9233. ac_cv_crosscflags__Wstrict_prototypes=yes
  9234. else
  9235. ac_cv_crosscflags__Wstrict_prototypes=no
  9236. fi
  9237. rm -f core conftest.err conftest.$ac_objext \
  9238. conftest$ac_exeext conftest.$ac_ext
  9239. CFLAGS=$ac_wine_try_cflags_saved
  9240. CC=$ac_wine_try_cflags_saved_cc
  9241. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9242. fi
  9243. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
  9244. $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
  9245. if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
  9246. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
  9247. fi
  9248. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
  9249. $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
  9250. if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
  9251. $as_echo_n "(cached) " >&6
  9252. else
  9253. ac_wine_try_cflags_saved=$CFLAGS
  9254. ac_wine_try_cflags_saved_cc=$CC
  9255. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9256. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
  9257. CC="$CROSSCC"
  9258. ac_exeext=".exe"
  9259. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9260. /* end confdefs.h. */
  9261. int __cdecl mainCRTStartup(void) { return 0; }
  9262. _ACEOF
  9263. if ac_fn_c_try_link "$LINENO"; then :
  9264. ac_cv_crosscflags__Wtype_limits=yes
  9265. else
  9266. ac_cv_crosscflags__Wtype_limits=no
  9267. fi
  9268. rm -f core conftest.err conftest.$ac_objext \
  9269. conftest$ac_exeext conftest.$ac_ext
  9270. CFLAGS=$ac_wine_try_cflags_saved
  9271. CC=$ac_wine_try_cflags_saved_cc
  9272. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9273. fi
  9274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
  9275. $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
  9276. if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
  9277. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
  9278. fi
  9279. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
  9280. $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
  9281. if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
  9282. $as_echo_n "(cached) " >&6
  9283. else
  9284. ac_wine_try_cflags_saved=$CFLAGS
  9285. ac_wine_try_cflags_saved_cc=$CC
  9286. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9287. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
  9288. CC="$CROSSCC"
  9289. ac_exeext=".exe"
  9290. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9291. /* end confdefs.h. */
  9292. int __cdecl mainCRTStartup(void) { return 0; }
  9293. _ACEOF
  9294. if ac_fn_c_try_link "$LINENO"; then :
  9295. ac_cv_crosscflags__Wunused_but_set_parameter=yes
  9296. else
  9297. ac_cv_crosscflags__Wunused_but_set_parameter=no
  9298. fi
  9299. rm -f core conftest.err conftest.$ac_objext \
  9300. conftest$ac_exeext conftest.$ac_ext
  9301. CFLAGS=$ac_wine_try_cflags_saved
  9302. CC=$ac_wine_try_cflags_saved_cc
  9303. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9304. fi
  9305. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
  9306. $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
  9307. if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
  9308. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
  9309. fi
  9310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
  9311. $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
  9312. if ${ac_cv_crosscflags__Wvla+:} false; then :
  9313. $as_echo_n "(cached) " >&6
  9314. else
  9315. ac_wine_try_cflags_saved=$CFLAGS
  9316. ac_wine_try_cflags_saved_cc=$CC
  9317. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9318. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
  9319. CC="$CROSSCC"
  9320. ac_exeext=".exe"
  9321. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9322. /* end confdefs.h. */
  9323. int __cdecl mainCRTStartup(void) { return 0; }
  9324. _ACEOF
  9325. if ac_fn_c_try_link "$LINENO"; then :
  9326. ac_cv_crosscflags__Wvla=yes
  9327. else
  9328. ac_cv_crosscflags__Wvla=no
  9329. fi
  9330. rm -f core conftest.err conftest.$ac_objext \
  9331. conftest$ac_exeext conftest.$ac_ext
  9332. CFLAGS=$ac_wine_try_cflags_saved
  9333. CC=$ac_wine_try_cflags_saved_cc
  9334. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9335. fi
  9336. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
  9337. $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
  9338. if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
  9339. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
  9340. fi
  9341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
  9342. $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
  9343. if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
  9344. $as_echo_n "(cached) " >&6
  9345. else
  9346. ac_wine_try_cflags_saved=$CFLAGS
  9347. ac_wine_try_cflags_saved_cc=$CC
  9348. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9349. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
  9350. CC="$CROSSCC"
  9351. ac_exeext=".exe"
  9352. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9353. /* end confdefs.h. */
  9354. int __cdecl mainCRTStartup(void) { return 0; }
  9355. _ACEOF
  9356. if ac_fn_c_try_link "$LINENO"; then :
  9357. ac_cv_crosscflags__Wwrite_strings=yes
  9358. else
  9359. ac_cv_crosscflags__Wwrite_strings=no
  9360. fi
  9361. rm -f core conftest.err conftest.$ac_objext \
  9362. conftest$ac_exeext conftest.$ac_ext
  9363. CFLAGS=$ac_wine_try_cflags_saved
  9364. CC=$ac_wine_try_cflags_saved_cc
  9365. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9366. fi
  9367. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
  9368. $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
  9369. if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
  9370. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
  9371. fi
  9372. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
  9373. $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
  9374. if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
  9375. $as_echo_n "(cached) " >&6
  9376. else
  9377. ac_wine_try_cflags_saved=$CFLAGS
  9378. ac_wine_try_cflags_saved_cc=$CC
  9379. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9380. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
  9381. CC="$CROSSCC"
  9382. ac_exeext=".exe"
  9383. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9384. /* end confdefs.h. */
  9385. int __cdecl mainCRTStartup(void) { return 0; }
  9386. _ACEOF
  9387. if ac_fn_c_try_link "$LINENO"; then :
  9388. ac_cv_crosscflags__Wpointer_arith=yes
  9389. else
  9390. ac_cv_crosscflags__Wpointer_arith=no
  9391. fi
  9392. rm -f core conftest.err conftest.$ac_objext \
  9393. conftest$ac_exeext conftest.$ac_ext
  9394. CFLAGS=$ac_wine_try_cflags_saved
  9395. CC=$ac_wine_try_cflags_saved_cc
  9396. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9397. fi
  9398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
  9399. $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
  9400. if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
  9401. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
  9402. fi
  9403. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
  9404. $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
  9405. if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
  9406. $as_echo_n "(cached) " >&6
  9407. else
  9408. ac_wine_try_cflags_saved=$CFLAGS
  9409. ac_wine_try_cflags_saved_cc=$CC
  9410. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9411. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
  9412. CC="$CROSSCC"
  9413. ac_exeext=".exe"
  9414. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9415. /* end confdefs.h. */
  9416. int __cdecl mainCRTStartup(void) { return 0; }
  9417. _ACEOF
  9418. if ac_fn_c_try_link "$LINENO"; then :
  9419. ac_cv_crosscflags__Wlogical_op=yes
  9420. else
  9421. ac_cv_crosscflags__Wlogical_op=no
  9422. fi
  9423. rm -f core conftest.err conftest.$ac_objext \
  9424. conftest$ac_exeext conftest.$ac_ext
  9425. CFLAGS=$ac_wine_try_cflags_saved
  9426. CC=$ac_wine_try_cflags_saved_cc
  9427. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9428. fi
  9429. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
  9430. $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
  9431. if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
  9432. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
  9433. fi
  9434. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
  9435. $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
  9436. if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
  9437. $as_echo_n "(cached) " >&6
  9438. else
  9439. ac_wine_try_cflags_saved=$CFLAGS
  9440. ac_wine_try_cflags_saved_cc=$CC
  9441. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9442. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
  9443. CC="$CROSSCC"
  9444. ac_exeext=".exe"
  9445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9446. /* end confdefs.h. */
  9447. int __cdecl mainCRTStartup(void) { return 0; }
  9448. _ACEOF
  9449. if ac_fn_c_try_link "$LINENO"; then :
  9450. ac_cv_crosscflags__Wabsolute_value=yes
  9451. else
  9452. ac_cv_crosscflags__Wabsolute_value=no
  9453. fi
  9454. rm -f core conftest.err conftest.$ac_objext \
  9455. conftest$ac_exeext conftest.$ac_ext
  9456. CFLAGS=$ac_wine_try_cflags_saved
  9457. CC=$ac_wine_try_cflags_saved_cc
  9458. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9459. fi
  9460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
  9461. $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
  9462. if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
  9463. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
  9464. fi
  9465. case $host_cpu in
  9466. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
  9467. $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
  9468. if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} 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 -fno-omit-frame-pointer"
  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__fno_omit_frame_pointer=yes
  9483. else
  9484. ac_cv_crosscflags__fno_omit_frame_pointer=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__fno_omit_frame_pointer" >&5
  9493. $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
  9494. if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
  9495. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
  9496. fi ;;
  9497. x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  9498. $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
  9499. if ${ac_cv_crosscflags__Wno_format+:} 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 -Wno-format"
  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__Wno_format=yes
  9514. else
  9515. ac_cv_crosscflags__Wno_format=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__Wno_format" >&5
  9524. $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
  9525. if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
  9526. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  9527. fi
  9528. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
  9529. $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
  9530. if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
  9531. $as_echo_n "(cached) " >&6
  9532. else
  9533. ac_wine_try_cflags_saved=$CFLAGS
  9534. ac_wine_try_cflags_saved_cc=$CC
  9535. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9536. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
  9537. CC="$CROSSCC"
  9538. ac_exeext=".exe"
  9539. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9540. /* end confdefs.h. */
  9541. int __cdecl mainCRTStartup(void) { return 0; }
  9542. _ACEOF
  9543. if ac_fn_c_try_link "$LINENO"; then :
  9544. ac_cv_crosscflags__Wformat_overflow=yes
  9545. else
  9546. ac_cv_crosscflags__Wformat_overflow=no
  9547. fi
  9548. rm -f core conftest.err conftest.$ac_objext \
  9549. conftest$ac_exeext conftest.$ac_ext
  9550. CFLAGS=$ac_wine_try_cflags_saved
  9551. CC=$ac_wine_try_cflags_saved_cc
  9552. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9553. fi
  9554. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
  9555. $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
  9556. if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
  9557. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
  9558. fi
  9559. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
  9560. $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
  9561. if ${ac_cv_crosscflags__Wnonnull+:} false; then :
  9562. $as_echo_n "(cached) " >&6
  9563. else
  9564. ac_wine_try_cflags_saved=$CFLAGS
  9565. ac_wine_try_cflags_saved_cc=$CC
  9566. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9567. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
  9568. CC="$CROSSCC"
  9569. ac_exeext=".exe"
  9570. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9571. /* end confdefs.h. */
  9572. int __cdecl mainCRTStartup(void) { return 0; }
  9573. _ACEOF
  9574. if ac_fn_c_try_link "$LINENO"; then :
  9575. ac_cv_crosscflags__Wnonnull=yes
  9576. else
  9577. ac_cv_crosscflags__Wnonnull=no
  9578. fi
  9579. rm -f core conftest.err conftest.$ac_objext \
  9580. conftest$ac_exeext conftest.$ac_ext
  9581. CFLAGS=$ac_wine_try_cflags_saved
  9582. CC=$ac_wine_try_cflags_saved_cc
  9583. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9584. fi
  9585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
  9586. $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
  9587. if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
  9588. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
  9589. fi
  9590. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
  9591. $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
  9592. if ${ac_cv_crosscflags__mcx16+:} false; then :
  9593. $as_echo_n "(cached) " >&6
  9594. else
  9595. ac_wine_try_cflags_saved=$CFLAGS
  9596. ac_wine_try_cflags_saved_cc=$CC
  9597. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9598. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
  9599. CC="$CROSSCC"
  9600. ac_exeext=".exe"
  9601. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9602. /* end confdefs.h. */
  9603. int __cdecl mainCRTStartup(void) { return 0; }
  9604. _ACEOF
  9605. if ac_fn_c_try_link "$LINENO"; then :
  9606. ac_cv_crosscflags__mcx16=yes
  9607. else
  9608. ac_cv_crosscflags__mcx16=no
  9609. fi
  9610. rm -f core conftest.err conftest.$ac_objext \
  9611. conftest$ac_exeext conftest.$ac_ext
  9612. CFLAGS=$ac_wine_try_cflags_saved
  9613. CC=$ac_wine_try_cflags_saved_cc
  9614. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9615. fi
  9616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
  9617. $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
  9618. if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
  9619. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
  9620. fi ;;
  9621. esac
  9622. if test -z "$CROSSDEBUG"
  9623. then
  9624. for ac_flag in $CROSSCFLAGS; do
  9625. case $ac_flag in
  9626. -gdwarf*) CROSSDEBUG=dwarf ;;
  9627. -gcodeview) CROSSDEBUG=pdb ;;
  9628. -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
  9629. esac
  9630. done
  9631. fi
  9632. case $CROSSDEBUG in
  9633. *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
  9634. $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
  9635. if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
  9636. $as_echo_n "(cached) " >&6
  9637. else
  9638. ac_wine_try_cflags_saved=$CFLAGS
  9639. ac_wine_try_cflags_saved_cc=$CC
  9640. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9641. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
  9642. CC="$CROSSCC"
  9643. ac_exeext=".exe"
  9644. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9645. /* end confdefs.h. */
  9646. int __cdecl mainCRTStartup(void) { return 0; }
  9647. _ACEOF
  9648. if ac_fn_c_try_link "$LINENO"; then :
  9649. ac_cv_crosscflags__gdwarf_2=yes
  9650. else
  9651. ac_cv_crosscflags__gdwarf_2=no
  9652. fi
  9653. rm -f core conftest.err conftest.$ac_objext \
  9654. conftest$ac_exeext conftest.$ac_ext
  9655. CFLAGS=$ac_wine_try_cflags_saved
  9656. CC=$ac_wine_try_cflags_saved_cc
  9657. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9658. fi
  9659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
  9660. $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
  9661. if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
  9662. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
  9663. fi
  9664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
  9665. $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
  9666. if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
  9667. $as_echo_n "(cached) " >&6
  9668. else
  9669. ac_wine_try_cflags_saved=$CFLAGS
  9670. ac_wine_try_cflags_saved_cc=$CC
  9671. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9672. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
  9673. CC="$CROSSCC"
  9674. ac_exeext=".exe"
  9675. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9676. /* end confdefs.h. */
  9677. int __cdecl mainCRTStartup(void) { return 0; }
  9678. _ACEOF
  9679. if ac_fn_c_try_link "$LINENO"; then :
  9680. ac_cv_crosscflags__gstrict_dwarf=yes
  9681. else
  9682. ac_cv_crosscflags__gstrict_dwarf=no
  9683. fi
  9684. rm -f core conftest.err conftest.$ac_objext \
  9685. conftest$ac_exeext conftest.$ac_ext
  9686. CFLAGS=$ac_wine_try_cflags_saved
  9687. CC=$ac_wine_try_cflags_saved_cc
  9688. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9689. fi
  9690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
  9691. $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
  9692. if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
  9693. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
  9694. fi ;;
  9695. pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
  9696. $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
  9697. if ${ac_cv_crosscflags__gcodeview+:} false; then :
  9698. $as_echo_n "(cached) " >&6
  9699. else
  9700. ac_wine_try_cflags_saved=$CFLAGS
  9701. ac_wine_try_cflags_saved_cc=$CC
  9702. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9703. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
  9704. CC="$CROSSCC"
  9705. ac_exeext=".exe"
  9706. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9707. /* end confdefs.h. */
  9708. int __cdecl mainCRTStartup(void) { return 0; }
  9709. _ACEOF
  9710. if ac_fn_c_try_link "$LINENO"; then :
  9711. ac_cv_crosscflags__gcodeview=yes
  9712. else
  9713. ac_cv_crosscflags__gcodeview=no
  9714. fi
  9715. rm -f core conftest.err conftest.$ac_objext \
  9716. conftest$ac_exeext conftest.$ac_ext
  9717. CFLAGS=$ac_wine_try_cflags_saved
  9718. CC=$ac_wine_try_cflags_saved_cc
  9719. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9720. fi
  9721. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
  9722. $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
  9723. if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
  9724. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
  9725. fi ;;
  9726. esac
  9727. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
  9728. $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
  9729. if ${ac_cv_crosscflags__fexcess_precision_standard+:} 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 -fexcess-precision=standard"
  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__fexcess_precision_standard=yes
  9744. else
  9745. ac_cv_crosscflags__fexcess_precision_standard=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__fexcess_precision_standard" >&5
  9754. $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
  9755. if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
  9756. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  9757. fi
  9758. if test "x$enable_werror" = "xyes"
  9759. then
  9760. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
  9761. $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
  9762. if ${ac_cv_crosscflags__Werror+:} false; then :
  9763. $as_echo_n "(cached) " >&6
  9764. else
  9765. ac_wine_try_cflags_saved=$CFLAGS
  9766. ac_wine_try_cflags_saved_cc=$CC
  9767. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9768. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
  9769. CC="$CROSSCC"
  9770. ac_exeext=".exe"
  9771. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9772. /* end confdefs.h. */
  9773. int __cdecl mainCRTStartup(void) { return 0; }
  9774. _ACEOF
  9775. if ac_fn_c_try_link "$LINENO"; then :
  9776. ac_cv_crosscflags__Werror=yes
  9777. else
  9778. ac_cv_crosscflags__Werror=no
  9779. fi
  9780. rm -f core conftest.err conftest.$ac_objext \
  9781. conftest$ac_exeext conftest.$ac_ext
  9782. CFLAGS=$ac_wine_try_cflags_saved
  9783. CC=$ac_wine_try_cflags_saved_cc
  9784. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9785. fi
  9786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
  9787. $as_echo "$ac_cv_crosscflags__Werror" >&6; }
  9788. if test "x$ac_cv_crosscflags__Werror" = xyes; then :
  9789. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
  9790. fi
  9791. fi
  9792. CFLAGS=$saved_CFLAGS
  9793. CC="$ac_save_CC"
  9794. fi
  9795. fi
  9796. if test "x$CROSSTARGET" = "x"; then :
  9797. case "x$with_mingw" in
  9798. x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
  9799. xno) ;;
  9800. *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
  9801. This is an error since --with-mingw was requested." "$LINENO" 5 ;;
  9802. esac
  9803. fi
  9804. if test "$ac_cv_header_pthread_h" = "yes"
  9805. then
  9806. ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
  9807. if test "x$ac_cv_func_pthread_create" = xyes; then :
  9808. else
  9809. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  9810. $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
  9811. if ${ac_cv_lib_pthread_pthread_create+:} false; then :
  9812. $as_echo_n "(cached) " >&6
  9813. else
  9814. ac_check_lib_save_LIBS=$LIBS
  9815. LIBS="-lpthread $LIBS"
  9816. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9817. /* end confdefs.h. */
  9818. /* Override any GCC internal prototype to avoid an error.
  9819. Use char because int might match the return type of a GCC
  9820. builtin and then its argument prototype would still apply. */
  9821. #ifdef __cplusplus
  9822. extern "C"
  9823. #endif
  9824. char pthread_create ();
  9825. int
  9826. main ()
  9827. {
  9828. return pthread_create ();
  9829. ;
  9830. return 0;
  9831. }
  9832. _ACEOF
  9833. if ac_fn_c_try_link "$LINENO"; then :
  9834. ac_cv_lib_pthread_pthread_create=yes
  9835. else
  9836. ac_cv_lib_pthread_pthread_create=no
  9837. fi
  9838. rm -f core conftest.err conftest.$ac_objext \
  9839. conftest$ac_exeext conftest.$ac_ext
  9840. LIBS=$ac_check_lib_save_LIBS
  9841. fi
  9842. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  9843. $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
  9844. if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
  9845. PTHREAD_LIBS="-lpthread"
  9846. fi
  9847. fi
  9848. fi
  9849. if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
  9850. case "x$with_pthread" in
  9851. xno) ;;
  9852. *) as_fn_error $? "pthread ${notice_platform}development files not found.
  9853. Wine cannot support threads without libpthread.
  9854. Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
  9855. esac
  9856. fi
  9857. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  9858. $as_echo_n "checking for X... " >&6; }
  9859. # Check whether --with-x was given.
  9860. if test "${with_x+set}" = set; then :
  9861. withval=$with_x;
  9862. fi
  9863. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  9864. if test "x$with_x" = xno; then
  9865. # The user explicitly disabled X.
  9866. have_x=disabled
  9867. else
  9868. case $x_includes,$x_libraries in #(
  9869. *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  9870. *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
  9871. $as_echo_n "(cached) " >&6
  9872. else
  9873. # One or both of the vars are not set, and there is no cached value.
  9874. ac_x_includes=no ac_x_libraries=no
  9875. rm -f -r conftest.dir
  9876. if mkdir conftest.dir; then
  9877. cd conftest.dir
  9878. cat >Imakefile <<'_ACEOF'
  9879. incroot:
  9880. @echo incroot='${INCROOT}'
  9881. usrlibdir:
  9882. @echo usrlibdir='${USRLIBDIR}'
  9883. libdir:
  9884. @echo libdir='${LIBDIR}'
  9885. _ACEOF
  9886. if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  9887. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  9888. for ac_var in incroot usrlibdir libdir; do
  9889. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  9890. done
  9891. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  9892. for ac_extension in a so sl dylib la dll; do
  9893. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  9894. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  9895. ac_im_usrlibdir=$ac_im_libdir; break
  9896. fi
  9897. done
  9898. # Screen out bogus values from the imake configuration. They are
  9899. # bogus both because they are the default anyway, and because
  9900. # using them would break gcc on systems where it needs fixed includes.
  9901. case $ac_im_incroot in
  9902. /usr/include) ac_x_includes= ;;
  9903. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  9904. esac
  9905. case $ac_im_usrlibdir in
  9906. /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  9907. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  9908. esac
  9909. fi
  9910. cd ..
  9911. rm -f -r conftest.dir
  9912. fi
  9913. # Standard set of common directories for X headers.
  9914. # Check X11 before X11Rn because it is often a symlink to the current release.
  9915. ac_x_header_dirs='
  9916. /usr/X11/include
  9917. /usr/X11R7/include
  9918. /usr/X11R6/include
  9919. /usr/X11R5/include
  9920. /usr/X11R4/include
  9921. /usr/include/X11
  9922. /usr/include/X11R7
  9923. /usr/include/X11R6
  9924. /usr/include/X11R5
  9925. /usr/include/X11R4
  9926. /usr/local/X11/include
  9927. /usr/local/X11R7/include
  9928. /usr/local/X11R6/include
  9929. /usr/local/X11R5/include
  9930. /usr/local/X11R4/include
  9931. /usr/local/include/X11
  9932. /usr/local/include/X11R7
  9933. /usr/local/include/X11R6
  9934. /usr/local/include/X11R5
  9935. /usr/local/include/X11R4
  9936. /usr/X386/include
  9937. /usr/x386/include
  9938. /usr/XFree86/include/X11
  9939. /usr/include
  9940. /usr/local/include
  9941. /usr/unsupported/include
  9942. /usr/athena/include
  9943. /usr/local/x11r5/include
  9944. /usr/lpp/Xamples/include
  9945. /usr/openwin/include
  9946. /usr/openwin/share/include'
  9947. if test "$ac_x_includes" = no; then
  9948. # Guess where to find include files, by looking for Xlib.h.
  9949. # First, try using that file with no special directory specified.
  9950. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9951. /* end confdefs.h. */
  9952. #include <X11/Xlib.h>
  9953. _ACEOF
  9954. if ac_fn_c_try_cpp "$LINENO"; then :
  9955. # We can compile using X headers with no special include directory.
  9956. ac_x_includes=
  9957. else
  9958. for ac_dir in $ac_x_header_dirs; do
  9959. if test -r "$ac_dir/X11/Xlib.h"; then
  9960. ac_x_includes=$ac_dir
  9961. break
  9962. fi
  9963. done
  9964. fi
  9965. rm -f conftest.err conftest.i conftest.$ac_ext
  9966. fi # $ac_x_includes = no
  9967. if test "$ac_x_libraries" = no; then
  9968. # Check for the libraries.
  9969. # See if we find them without any special options.
  9970. # Don't add to $LIBS permanently.
  9971. ac_save_LIBS=$LIBS
  9972. LIBS="-lX11 $LIBS"
  9973. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9974. /* end confdefs.h. */
  9975. #include <X11/Xlib.h>
  9976. int
  9977. main ()
  9978. {
  9979. XrmInitialize ()
  9980. ;
  9981. return 0;
  9982. }
  9983. _ACEOF
  9984. if ac_fn_c_try_link "$LINENO"; then :
  9985. LIBS=$ac_save_LIBS
  9986. # We can link X programs with no special library path.
  9987. ac_x_libraries=
  9988. else
  9989. LIBS=$ac_save_LIBS
  9990. for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  9991. do
  9992. # Don't even attempt the hair of trying to link an X program!
  9993. for ac_extension in a so sl dylib la dll; do
  9994. if test -r "$ac_dir/libX11.$ac_extension"; then
  9995. ac_x_libraries=$ac_dir
  9996. break 2
  9997. fi
  9998. done
  9999. done
  10000. fi
  10001. rm -f core conftest.err conftest.$ac_objext \
  10002. conftest$ac_exeext conftest.$ac_ext
  10003. fi # $ac_x_libraries = no
  10004. case $ac_x_includes,$ac_x_libraries in #(
  10005. no,* | *,no | *\'*)
  10006. # Didn't find X, or a directory has "'" in its name.
  10007. ac_cv_have_x="have_x=no";; #(
  10008. *)
  10009. # Record where we found X for the cache.
  10010. ac_cv_have_x="have_x=yes\
  10011. ac_x_includes='$ac_x_includes'\
  10012. ac_x_libraries='$ac_x_libraries'"
  10013. esac
  10014. fi
  10015. ;; #(
  10016. *) have_x=yes;;
  10017. esac
  10018. eval "$ac_cv_have_x"
  10019. fi # $with_x != no
  10020. if test "$have_x" != yes; then
  10021. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  10022. $as_echo "$have_x" >&6; }
  10023. no_x=yes
  10024. else
  10025. # If each of the values was on the command line, it overrides each guess.
  10026. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  10027. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  10028. # Update the cache value to reflect the command line values.
  10029. ac_cv_have_x="have_x=yes\
  10030. ac_x_includes='$x_includes'\
  10031. ac_x_libraries='$x_libraries'"
  10032. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  10033. $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  10034. fi
  10035. if test "$no_x" = yes; then
  10036. # Not all programs may use this symbol, but it does not hurt to define it.
  10037. $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
  10038. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  10039. else
  10040. if test -n "$x_includes"; then
  10041. X_CFLAGS="$X_CFLAGS -I$x_includes"
  10042. fi
  10043. # It would also be nice to do this for all -L options, not just this one.
  10044. if test -n "$x_libraries"; then
  10045. X_LIBS="$X_LIBS -L$x_libraries"
  10046. # For Solaris; some versions of Sun CC require a space after -R and
  10047. # others require no space. Words are not sufficient . . . .
  10048. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  10049. $as_echo_n "checking whether -R must be followed by a space... " >&6; }
  10050. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  10051. ac_xsave_c_werror_flag=$ac_c_werror_flag
  10052. ac_c_werror_flag=yes
  10053. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10054. /* end confdefs.h. */
  10055. int
  10056. main ()
  10057. {
  10058. ;
  10059. return 0;
  10060. }
  10061. _ACEOF
  10062. if ac_fn_c_try_link "$LINENO"; then :
  10063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10064. $as_echo "no" >&6; }
  10065. X_LIBS="$X_LIBS -R$x_libraries"
  10066. else
  10067. LIBS="$ac_xsave_LIBS -R $x_libraries"
  10068. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10069. /* end confdefs.h. */
  10070. int
  10071. main ()
  10072. {
  10073. ;
  10074. return 0;
  10075. }
  10076. _ACEOF
  10077. if ac_fn_c_try_link "$LINENO"; then :
  10078. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10079. $as_echo "yes" >&6; }
  10080. X_LIBS="$X_LIBS -R $x_libraries"
  10081. else
  10082. { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  10083. $as_echo "neither works" >&6; }
  10084. fi
  10085. rm -f core conftest.err conftest.$ac_objext \
  10086. conftest$ac_exeext conftest.$ac_ext
  10087. fi
  10088. rm -f core conftest.err conftest.$ac_objext \
  10089. conftest$ac_exeext conftest.$ac_ext
  10090. ac_c_werror_flag=$ac_xsave_c_werror_flag
  10091. LIBS=$ac_xsave_LIBS
  10092. fi
  10093. # Check for system-dependent libraries X programs must link with.
  10094. # Do this before checking for the system-independent R6 libraries
  10095. # (-lICE), since we may need -lsocket or whatever for X linking.
  10096. if test "$ISC" = yes; then
  10097. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  10098. else
  10099. # Martyn Johnson says this is needed for Ultrix, if the X
  10100. # libraries were built with DECnet support. And Karl Berry says
  10101. # the Alpha needs dnet_stub (dnet does not exist).
  10102. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  10103. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10104. /* end confdefs.h. */
  10105. /* Override any GCC internal prototype to avoid an error.
  10106. Use char because int might match the return type of a GCC
  10107. builtin and then its argument prototype would still apply. */
  10108. #ifdef __cplusplus
  10109. extern "C"
  10110. #endif
  10111. char XOpenDisplay ();
  10112. int
  10113. main ()
  10114. {
  10115. return XOpenDisplay ();
  10116. ;
  10117. return 0;
  10118. }
  10119. _ACEOF
  10120. if ac_fn_c_try_link "$LINENO"; then :
  10121. else
  10122. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  10123. $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
  10124. if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
  10125. $as_echo_n "(cached) " >&6
  10126. else
  10127. ac_check_lib_save_LIBS=$LIBS
  10128. LIBS="-ldnet $LIBS"
  10129. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10130. /* end confdefs.h. */
  10131. /* Override any GCC internal prototype to avoid an error.
  10132. Use char because int might match the return type of a GCC
  10133. builtin and then its argument prototype would still apply. */
  10134. #ifdef __cplusplus
  10135. extern "C"
  10136. #endif
  10137. char dnet_ntoa ();
  10138. int
  10139. main ()
  10140. {
  10141. return dnet_ntoa ();
  10142. ;
  10143. return 0;
  10144. }
  10145. _ACEOF
  10146. if ac_fn_c_try_link "$LINENO"; then :
  10147. ac_cv_lib_dnet_dnet_ntoa=yes
  10148. else
  10149. ac_cv_lib_dnet_dnet_ntoa=no
  10150. fi
  10151. rm -f core conftest.err conftest.$ac_objext \
  10152. conftest$ac_exeext conftest.$ac_ext
  10153. LIBS=$ac_check_lib_save_LIBS
  10154. fi
  10155. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  10156. $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  10157. if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
  10158. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  10159. fi
  10160. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  10161. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  10162. $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  10163. if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
  10164. $as_echo_n "(cached) " >&6
  10165. else
  10166. ac_check_lib_save_LIBS=$LIBS
  10167. LIBS="-ldnet_stub $LIBS"
  10168. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10169. /* end confdefs.h. */
  10170. /* Override any GCC internal prototype to avoid an error.
  10171. Use char because int might match the return type of a GCC
  10172. builtin and then its argument prototype would still apply. */
  10173. #ifdef __cplusplus
  10174. extern "C"
  10175. #endif
  10176. char dnet_ntoa ();
  10177. int
  10178. main ()
  10179. {
  10180. return dnet_ntoa ();
  10181. ;
  10182. return 0;
  10183. }
  10184. _ACEOF
  10185. if ac_fn_c_try_link "$LINENO"; then :
  10186. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  10187. else
  10188. ac_cv_lib_dnet_stub_dnet_ntoa=no
  10189. fi
  10190. rm -f core conftest.err conftest.$ac_objext \
  10191. conftest$ac_exeext conftest.$ac_ext
  10192. LIBS=$ac_check_lib_save_LIBS
  10193. fi
  10194. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  10195. $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  10196. if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
  10197. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  10198. fi
  10199. fi
  10200. fi
  10201. rm -f core conftest.err conftest.$ac_objext \
  10202. conftest$ac_exeext conftest.$ac_ext
  10203. LIBS="$ac_xsave_LIBS"
  10204. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  10205. # to get the SysV transport functions.
  10206. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  10207. # needs -lnsl.
  10208. # The nsl library prevents programs from opening the X display
  10209. # on Irix 5.2, according to T.E. Dickey.
  10210. # The functions gethostbyname, getservbyname, and inet_addr are
  10211. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  10212. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  10213. if test "x$ac_cv_func_gethostbyname" = xyes; then :
  10214. fi
  10215. if test $ac_cv_func_gethostbyname = no; then
  10216. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  10217. $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
  10218. if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
  10219. $as_echo_n "(cached) " >&6
  10220. else
  10221. ac_check_lib_save_LIBS=$LIBS
  10222. LIBS="-lnsl $LIBS"
  10223. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10224. /* end confdefs.h. */
  10225. /* Override any GCC internal prototype to avoid an error.
  10226. Use char because int might match the return type of a GCC
  10227. builtin and then its argument prototype would still apply. */
  10228. #ifdef __cplusplus
  10229. extern "C"
  10230. #endif
  10231. char gethostbyname ();
  10232. int
  10233. main ()
  10234. {
  10235. return gethostbyname ();
  10236. ;
  10237. return 0;
  10238. }
  10239. _ACEOF
  10240. if ac_fn_c_try_link "$LINENO"; then :
  10241. ac_cv_lib_nsl_gethostbyname=yes
  10242. else
  10243. ac_cv_lib_nsl_gethostbyname=no
  10244. fi
  10245. rm -f core conftest.err conftest.$ac_objext \
  10246. conftest$ac_exeext conftest.$ac_ext
  10247. LIBS=$ac_check_lib_save_LIBS
  10248. fi
  10249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  10250. $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
  10251. if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
  10252. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  10253. fi
  10254. if test $ac_cv_lib_nsl_gethostbyname = no; then
  10255. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  10256. $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
  10257. if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
  10258. $as_echo_n "(cached) " >&6
  10259. else
  10260. ac_check_lib_save_LIBS=$LIBS
  10261. LIBS="-lbsd $LIBS"
  10262. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10263. /* end confdefs.h. */
  10264. /* Override any GCC internal prototype to avoid an error.
  10265. Use char because int might match the return type of a GCC
  10266. builtin and then its argument prototype would still apply. */
  10267. #ifdef __cplusplus
  10268. extern "C"
  10269. #endif
  10270. char gethostbyname ();
  10271. int
  10272. main ()
  10273. {
  10274. return gethostbyname ();
  10275. ;
  10276. return 0;
  10277. }
  10278. _ACEOF
  10279. if ac_fn_c_try_link "$LINENO"; then :
  10280. ac_cv_lib_bsd_gethostbyname=yes
  10281. else
  10282. ac_cv_lib_bsd_gethostbyname=no
  10283. fi
  10284. rm -f core conftest.err conftest.$ac_objext \
  10285. conftest$ac_exeext conftest.$ac_ext
  10286. LIBS=$ac_check_lib_save_LIBS
  10287. fi
  10288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  10289. $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
  10290. if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
  10291. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  10292. fi
  10293. fi
  10294. fi
  10295. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  10296. # socket/setsockopt and other routines are undefined under SCO ODT
  10297. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  10298. # on later versions), says Simon Leinen: it contains gethostby*
  10299. # variants that don't use the name server (or something). -lsocket
  10300. # must be given before -lnsl if both are needed. We assume that
  10301. # if connect needs -lnsl, so does gethostbyname.
  10302. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  10303. if test "x$ac_cv_func_connect" = xyes; then :
  10304. fi
  10305. if test $ac_cv_func_connect = no; then
  10306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  10307. $as_echo_n "checking for connect in -lsocket... " >&6; }
  10308. if ${ac_cv_lib_socket_connect+:} false; then :
  10309. $as_echo_n "(cached) " >&6
  10310. else
  10311. ac_check_lib_save_LIBS=$LIBS
  10312. LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  10313. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10314. /* end confdefs.h. */
  10315. /* Override any GCC internal prototype to avoid an error.
  10316. Use char because int might match the return type of a GCC
  10317. builtin and then its argument prototype would still apply. */
  10318. #ifdef __cplusplus
  10319. extern "C"
  10320. #endif
  10321. char connect ();
  10322. int
  10323. main ()
  10324. {
  10325. return connect ();
  10326. ;
  10327. return 0;
  10328. }
  10329. _ACEOF
  10330. if ac_fn_c_try_link "$LINENO"; then :
  10331. ac_cv_lib_socket_connect=yes
  10332. else
  10333. ac_cv_lib_socket_connect=no
  10334. fi
  10335. rm -f core conftest.err conftest.$ac_objext \
  10336. conftest$ac_exeext conftest.$ac_ext
  10337. LIBS=$ac_check_lib_save_LIBS
  10338. fi
  10339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  10340. $as_echo "$ac_cv_lib_socket_connect" >&6; }
  10341. if test "x$ac_cv_lib_socket_connect" = xyes; then :
  10342. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  10343. fi
  10344. fi
  10345. # Guillermo Gomez says -lposix is necessary on A/UX.
  10346. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  10347. if test "x$ac_cv_func_remove" = xyes; then :
  10348. fi
  10349. if test $ac_cv_func_remove = no; then
  10350. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  10351. $as_echo_n "checking for remove in -lposix... " >&6; }
  10352. if ${ac_cv_lib_posix_remove+:} false; then :
  10353. $as_echo_n "(cached) " >&6
  10354. else
  10355. ac_check_lib_save_LIBS=$LIBS
  10356. LIBS="-lposix $LIBS"
  10357. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10358. /* end confdefs.h. */
  10359. /* Override any GCC internal prototype to avoid an error.
  10360. Use char because int might match the return type of a GCC
  10361. builtin and then its argument prototype would still apply. */
  10362. #ifdef __cplusplus
  10363. extern "C"
  10364. #endif
  10365. char remove ();
  10366. int
  10367. main ()
  10368. {
  10369. return remove ();
  10370. ;
  10371. return 0;
  10372. }
  10373. _ACEOF
  10374. if ac_fn_c_try_link "$LINENO"; then :
  10375. ac_cv_lib_posix_remove=yes
  10376. else
  10377. ac_cv_lib_posix_remove=no
  10378. fi
  10379. rm -f core conftest.err conftest.$ac_objext \
  10380. conftest$ac_exeext conftest.$ac_ext
  10381. LIBS=$ac_check_lib_save_LIBS
  10382. fi
  10383. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  10384. $as_echo "$ac_cv_lib_posix_remove" >&6; }
  10385. if test "x$ac_cv_lib_posix_remove" = xyes; then :
  10386. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  10387. fi
  10388. fi
  10389. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  10390. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  10391. if test "x$ac_cv_func_shmat" = xyes; then :
  10392. fi
  10393. if test $ac_cv_func_shmat = no; then
  10394. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  10395. $as_echo_n "checking for shmat in -lipc... " >&6; }
  10396. if ${ac_cv_lib_ipc_shmat+:} false; then :
  10397. $as_echo_n "(cached) " >&6
  10398. else
  10399. ac_check_lib_save_LIBS=$LIBS
  10400. LIBS="-lipc $LIBS"
  10401. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10402. /* end confdefs.h. */
  10403. /* Override any GCC internal prototype to avoid an error.
  10404. Use char because int might match the return type of a GCC
  10405. builtin and then its argument prototype would still apply. */
  10406. #ifdef __cplusplus
  10407. extern "C"
  10408. #endif
  10409. char shmat ();
  10410. int
  10411. main ()
  10412. {
  10413. return shmat ();
  10414. ;
  10415. return 0;
  10416. }
  10417. _ACEOF
  10418. if ac_fn_c_try_link "$LINENO"; then :
  10419. ac_cv_lib_ipc_shmat=yes
  10420. else
  10421. ac_cv_lib_ipc_shmat=no
  10422. fi
  10423. rm -f core conftest.err conftest.$ac_objext \
  10424. conftest$ac_exeext conftest.$ac_ext
  10425. LIBS=$ac_check_lib_save_LIBS
  10426. fi
  10427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  10428. $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
  10429. if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
  10430. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  10431. fi
  10432. fi
  10433. fi
  10434. # Check for libraries that X11R6 Xt/Xaw programs need.
  10435. ac_save_LDFLAGS=$LDFLAGS
  10436. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  10437. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  10438. # check for ICE first), but we must link in the order -lSM -lICE or
  10439. # we get undefined symbols. So assume we have SM if we have ICE.
  10440. # These have to be linked with before -lX11, unlike the other
  10441. # libraries we check for below, so use a different variable.
  10442. # John Interrante, Karl Berry
  10443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  10444. $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
  10445. if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
  10446. $as_echo_n "(cached) " >&6
  10447. else
  10448. ac_check_lib_save_LIBS=$LIBS
  10449. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  10450. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10451. /* end confdefs.h. */
  10452. /* Override any GCC internal prototype to avoid an error.
  10453. Use char because int might match the return type of a GCC
  10454. builtin and then its argument prototype would still apply. */
  10455. #ifdef __cplusplus
  10456. extern "C"
  10457. #endif
  10458. char IceConnectionNumber ();
  10459. int
  10460. main ()
  10461. {
  10462. return IceConnectionNumber ();
  10463. ;
  10464. return 0;
  10465. }
  10466. _ACEOF
  10467. if ac_fn_c_try_link "$LINENO"; then :
  10468. ac_cv_lib_ICE_IceConnectionNumber=yes
  10469. else
  10470. ac_cv_lib_ICE_IceConnectionNumber=no
  10471. fi
  10472. rm -f core conftest.err conftest.$ac_objext \
  10473. conftest$ac_exeext conftest.$ac_ext
  10474. LIBS=$ac_check_lib_save_LIBS
  10475. fi
  10476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  10477. $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  10478. if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
  10479. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  10480. fi
  10481. LDFLAGS=$ac_save_LDFLAGS
  10482. fi
  10483. if test "$have_x" = "yes"
  10484. then
  10485. ac_save_CPPFLAGS="$CPPFLAGS"
  10486. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  10487. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
  10488. $as_echo_n "checking for -lX11... " >&6; }
  10489. if ${ac_cv_lib_soname_X11+:} false; then :
  10490. $as_echo_n "(cached) " >&6
  10491. else
  10492. ac_check_soname_save_LIBS=$LIBS
  10493. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  10494. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10495. /* end confdefs.h. */
  10496. /* Override any GCC internal prototype to avoid an error.
  10497. Use char because int might match the return type of a GCC
  10498. builtin and then its argument prototype would still apply. */
  10499. #ifdef __cplusplus
  10500. extern "C"
  10501. #endif
  10502. char XCreateWindow ();
  10503. int
  10504. main ()
  10505. {
  10506. return XCreateWindow ();
  10507. ;
  10508. return 0;
  10509. }
  10510. _ACEOF
  10511. if ac_fn_c_try_link "$LINENO"; then :
  10512. case "$LIBEXT" in
  10513. dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10514. 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'` ;;
  10515. *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10516. if ${ac_cv_lib_soname_X11:+false} :; then :
  10517. ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10518. fi ;;
  10519. esac
  10520. else
  10521. ac_cv_lib_soname_X11=
  10522. fi
  10523. rm -f core conftest.err conftest.$ac_objext \
  10524. conftest$ac_exeext conftest.$ac_ext
  10525. LIBS=$ac_check_soname_save_LIBS
  10526. fi
  10527. if ${ac_cv_lib_soname_X11:+false} :; then :
  10528. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10529. $as_echo "not found" >&6; }
  10530. else
  10531. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
  10532. $as_echo "$ac_cv_lib_soname_X11" >&6; }
  10533. cat >>confdefs.h <<_ACEOF
  10534. #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
  10535. _ACEOF
  10536. fi
  10537. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
  10538. $as_echo_n "checking for -lXext... " >&6; }
  10539. if ${ac_cv_lib_soname_Xext+:} false; then :
  10540. $as_echo_n "(cached) " >&6
  10541. else
  10542. ac_check_soname_save_LIBS=$LIBS
  10543. LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
  10544. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10545. /* end confdefs.h. */
  10546. /* Override any GCC internal prototype to avoid an error.
  10547. Use char because int might match the return type of a GCC
  10548. builtin and then its argument prototype would still apply. */
  10549. #ifdef __cplusplus
  10550. extern "C"
  10551. #endif
  10552. char XextCreateExtension ();
  10553. int
  10554. main ()
  10555. {
  10556. return XextCreateExtension ();
  10557. ;
  10558. return 0;
  10559. }
  10560. _ACEOF
  10561. if ac_fn_c_try_link "$LINENO"; then :
  10562. case "$LIBEXT" in
  10563. dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10564. 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'` ;;
  10565. *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10566. if ${ac_cv_lib_soname_Xext:+false} :; then :
  10567. ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10568. fi ;;
  10569. esac
  10570. else
  10571. ac_cv_lib_soname_Xext=
  10572. fi
  10573. rm -f core conftest.err conftest.$ac_objext \
  10574. conftest$ac_exeext conftest.$ac_ext
  10575. LIBS=$ac_check_soname_save_LIBS
  10576. fi
  10577. if ${ac_cv_lib_soname_Xext:+false} :; then :
  10578. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10579. $as_echo "not found" >&6; }
  10580. else
  10581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
  10582. $as_echo "$ac_cv_lib_soname_Xext" >&6; }
  10583. cat >>confdefs.h <<_ACEOF
  10584. #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
  10585. _ACEOF
  10586. X_LIBS="$X_LIBS -lXext"
  10587. fi
  10588. X_LIBS="$X_LIBS -lX11"
  10589. for ac_header in X11/Xlib.h \
  10590. X11/XKBlib.h \
  10591. X11/Xutil.h \
  10592. X11/Xcursor/Xcursor.h \
  10593. X11/extensions/shape.h \
  10594. X11/extensions/XInput.h \
  10595. X11/extensions/XInput2.h \
  10596. X11/extensions/XShm.h \
  10597. X11/extensions/Xcomposite.h \
  10598. X11/extensions/Xfixes.h \
  10599. X11/extensions/Xinerama.h \
  10600. X11/extensions/Xrandr.h \
  10601. X11/extensions/Xrender.h \
  10602. X11/extensions/xf86vmode.h \
  10603. X11/extensions/xf86vmproto.h
  10604. do :
  10605. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  10606. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
  10607. # include <X11/Xlib.h>
  10608. #endif
  10609. #ifdef HAVE_X11_XUTIL_H
  10610. # include <X11/Xutil.h>
  10611. #endif
  10612. "
  10613. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  10614. cat >>confdefs.h <<_ACEOF
  10615. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  10616. _ACEOF
  10617. fi
  10618. done
  10619. if test "$ac_cv_header_X11_XKBlib_h" = "yes"
  10620. then
  10621. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
  10622. $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
  10623. if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
  10624. $as_echo_n "(cached) " >&6
  10625. else
  10626. ac_check_lib_save_LIBS=$LIBS
  10627. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  10628. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10629. /* end confdefs.h. */
  10630. /* Override any GCC internal prototype to avoid an error.
  10631. Use char because int might match the return type of a GCC
  10632. builtin and then its argument prototype would still apply. */
  10633. #ifdef __cplusplus
  10634. extern "C"
  10635. #endif
  10636. char XkbQueryExtension ();
  10637. int
  10638. main ()
  10639. {
  10640. return XkbQueryExtension ();
  10641. ;
  10642. return 0;
  10643. }
  10644. _ACEOF
  10645. if ac_fn_c_try_link "$LINENO"; then :
  10646. ac_cv_lib_X11_XkbQueryExtension=yes
  10647. else
  10648. ac_cv_lib_X11_XkbQueryExtension=no
  10649. fi
  10650. rm -f core conftest.err conftest.$ac_objext \
  10651. conftest$ac_exeext conftest.$ac_ext
  10652. LIBS=$ac_check_lib_save_LIBS
  10653. fi
  10654. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
  10655. $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
  10656. if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
  10657. $as_echo "#define HAVE_XKB 1" >>confdefs.h
  10658. fi
  10659. fi
  10660. if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
  10661. then
  10662. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
  10663. $as_echo_n "checking for -lXcursor... " >&6; }
  10664. if ${ac_cv_lib_soname_Xcursor+:} false; then :
  10665. $as_echo_n "(cached) " >&6
  10666. else
  10667. ac_check_soname_save_LIBS=$LIBS
  10668. LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
  10669. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10670. /* end confdefs.h. */
  10671. /* Override any GCC internal prototype to avoid an error.
  10672. Use char because int might match the return type of a GCC
  10673. builtin and then its argument prototype would still apply. */
  10674. #ifdef __cplusplus
  10675. extern "C"
  10676. #endif
  10677. char XcursorImageLoadCursor ();
  10678. int
  10679. main ()
  10680. {
  10681. return XcursorImageLoadCursor ();
  10682. ;
  10683. return 0;
  10684. }
  10685. _ACEOF
  10686. if ac_fn_c_try_link "$LINENO"; then :
  10687. case "$LIBEXT" in
  10688. dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10689. 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'` ;;
  10690. *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10691. if ${ac_cv_lib_soname_Xcursor:+false} :; then :
  10692. ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10693. fi ;;
  10694. esac
  10695. else
  10696. ac_cv_lib_soname_Xcursor=
  10697. fi
  10698. rm -f core conftest.err conftest.$ac_objext \
  10699. conftest$ac_exeext conftest.$ac_ext
  10700. LIBS=$ac_check_soname_save_LIBS
  10701. fi
  10702. if ${ac_cv_lib_soname_Xcursor:+false} :; then :
  10703. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10704. $as_echo "not found" >&6; }
  10705. else
  10706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
  10707. $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
  10708. cat >>confdefs.h <<_ACEOF
  10709. #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
  10710. _ACEOF
  10711. fi
  10712. fi
  10713. if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
  10714. case "x$with_xcursor" in
  10715. x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
  10716. xno) ;;
  10717. *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
  10718. This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
  10719. esac
  10720. fi
  10721. if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
  10722. then
  10723. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
  10724. $as_echo_n "checking for -lXi... " >&6; }
  10725. if ${ac_cv_lib_soname_Xi+:} false; then :
  10726. $as_echo_n "(cached) " >&6
  10727. else
  10728. ac_check_soname_save_LIBS=$LIBS
  10729. LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
  10730. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10731. /* end confdefs.h. */
  10732. /* Override any GCC internal prototype to avoid an error.
  10733. Use char because int might match the return type of a GCC
  10734. builtin and then its argument prototype would still apply. */
  10735. #ifdef __cplusplus
  10736. extern "C"
  10737. #endif
  10738. char XOpenDevice ();
  10739. int
  10740. main ()
  10741. {
  10742. return XOpenDevice ();
  10743. ;
  10744. return 0;
  10745. }
  10746. _ACEOF
  10747. if ac_fn_c_try_link "$LINENO"; then :
  10748. case "$LIBEXT" in
  10749. dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10750. 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'` ;;
  10751. *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10752. if ${ac_cv_lib_soname_Xi:+false} :; then :
  10753. ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10754. fi ;;
  10755. esac
  10756. else
  10757. ac_cv_lib_soname_Xi=
  10758. fi
  10759. rm -f core conftest.err conftest.$ac_objext \
  10760. conftest$ac_exeext conftest.$ac_ext
  10761. LIBS=$ac_check_soname_save_LIBS
  10762. fi
  10763. if ${ac_cv_lib_soname_Xi:+false} :; then :
  10764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10765. $as_echo "not found" >&6; }
  10766. else
  10767. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
  10768. $as_echo "$ac_cv_lib_soname_Xi" >&6; }
  10769. cat >>confdefs.h <<_ACEOF
  10770. #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
  10771. _ACEOF
  10772. fi
  10773. fi
  10774. if test "x$ac_cv_lib_soname_Xi" = "x"; then :
  10775. case "x$with_xinput" in
  10776. x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
  10777. xno) ;;
  10778. *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
  10779. This is an error since --with-xinput was requested." "$LINENO" 5 ;;
  10780. esac
  10781. fi
  10782. if test "x$ac_cv_lib_soname_Xi" != x
  10783. then
  10784. if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
  10785. case "x$with_xinput2" in
  10786. x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
  10787. xno) ;;
  10788. *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
  10789. This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
  10790. esac
  10791. fi
  10792. fi
  10793. if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
  10794. then
  10795. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
  10796. $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
  10797. if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
  10798. $as_echo_n "(cached) " >&6
  10799. else
  10800. ac_check_lib_save_LIBS=$LIBS
  10801. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  10802. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10803. /* end confdefs.h. */
  10804. /* Override any GCC internal prototype to avoid an error.
  10805. Use char because int might match the return type of a GCC
  10806. builtin and then its argument prototype would still apply. */
  10807. #ifdef __cplusplus
  10808. extern "C"
  10809. #endif
  10810. char XShmQueryExtension ();
  10811. int
  10812. main ()
  10813. {
  10814. return XShmQueryExtension ();
  10815. ;
  10816. return 0;
  10817. }
  10818. _ACEOF
  10819. if ac_fn_c_try_link "$LINENO"; then :
  10820. ac_cv_lib_Xext_XShmQueryExtension=yes
  10821. else
  10822. ac_cv_lib_Xext_XShmQueryExtension=no
  10823. fi
  10824. rm -f core conftest.err conftest.$ac_objext \
  10825. conftest$ac_exeext conftest.$ac_ext
  10826. LIBS=$ac_check_lib_save_LIBS
  10827. fi
  10828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
  10829. $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
  10830. if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
  10831. $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
  10832. fi
  10833. fi
  10834. if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
  10835. case "x$with_xshm" in
  10836. x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
  10837. xno) ;;
  10838. *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
  10839. This is an error since --with-xshm was requested." "$LINENO" 5 ;;
  10840. esac
  10841. fi
  10842. if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
  10843. then
  10844. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
  10845. $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
  10846. if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
  10847. $as_echo_n "(cached) " >&6
  10848. else
  10849. ac_check_lib_save_LIBS=$LIBS
  10850. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  10851. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10852. /* end confdefs.h. */
  10853. /* Override any GCC internal prototype to avoid an error.
  10854. Use char because int might match the return type of a GCC
  10855. builtin and then its argument prototype would still apply. */
  10856. #ifdef __cplusplus
  10857. extern "C"
  10858. #endif
  10859. char XShapeQueryExtension ();
  10860. int
  10861. main ()
  10862. {
  10863. return XShapeQueryExtension ();
  10864. ;
  10865. return 0;
  10866. }
  10867. _ACEOF
  10868. if ac_fn_c_try_link "$LINENO"; then :
  10869. ac_cv_lib_Xext_XShapeQueryExtension=yes
  10870. else
  10871. ac_cv_lib_Xext_XShapeQueryExtension=no
  10872. fi
  10873. rm -f core conftest.err conftest.$ac_objext \
  10874. conftest$ac_exeext conftest.$ac_ext
  10875. LIBS=$ac_check_lib_save_LIBS
  10876. fi
  10877. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  10878. $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  10879. if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
  10880. $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
  10881. fi
  10882. fi
  10883. if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
  10884. case "x$with_xshape" in
  10885. x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
  10886. xno) ;;
  10887. *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
  10888. This is an error since --with-xshape was requested." "$LINENO" 5 ;;
  10889. esac
  10890. fi
  10891. if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
  10892. then
  10893. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
  10894. $as_echo_n "checking for -lXxf86vm... " >&6; }
  10895. if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
  10896. $as_echo_n "(cached) " >&6
  10897. else
  10898. ac_check_soname_save_LIBS=$LIBS
  10899. LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
  10900. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10901. /* end confdefs.h. */
  10902. /* Override any GCC internal prototype to avoid an error.
  10903. Use char because int might match the return type of a GCC
  10904. builtin and then its argument prototype would still apply. */
  10905. #ifdef __cplusplus
  10906. extern "C"
  10907. #endif
  10908. char XF86VidModeQueryExtension ();
  10909. int
  10910. main ()
  10911. {
  10912. return XF86VidModeQueryExtension ();
  10913. ;
  10914. return 0;
  10915. }
  10916. _ACEOF
  10917. if ac_fn_c_try_link "$LINENO"; then :
  10918. case "$LIBEXT" in
  10919. dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10920. 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'` ;;
  10921. *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10922. if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
  10923. ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10924. fi ;;
  10925. esac
  10926. else
  10927. ac_cv_lib_soname_Xxf86vm=
  10928. fi
  10929. rm -f core conftest.err conftest.$ac_objext \
  10930. conftest$ac_exeext conftest.$ac_ext
  10931. LIBS=$ac_check_soname_save_LIBS
  10932. fi
  10933. if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
  10934. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10935. $as_echo "not found" >&6; }
  10936. else
  10937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
  10938. $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
  10939. cat >>confdefs.h <<_ACEOF
  10940. #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
  10941. _ACEOF
  10942. fi
  10943. fi
  10944. if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
  10945. case "x$with_xxf86vm" in
  10946. x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
  10947. xno) ;;
  10948. *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
  10949. This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
  10950. esac
  10951. fi
  10952. if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
  10953. then
  10954. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
  10955. $as_echo_n "checking for -lXrender... " >&6; }
  10956. if ${ac_cv_lib_soname_Xrender+:} false; then :
  10957. $as_echo_n "(cached) " >&6
  10958. else
  10959. ac_check_soname_save_LIBS=$LIBS
  10960. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  10961. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10962. /* end confdefs.h. */
  10963. /* Override any GCC internal prototype to avoid an error.
  10964. Use char because int might match the return type of a GCC
  10965. builtin and then its argument prototype would still apply. */
  10966. #ifdef __cplusplus
  10967. extern "C"
  10968. #endif
  10969. char XRenderQueryExtension ();
  10970. int
  10971. main ()
  10972. {
  10973. return XRenderQueryExtension ();
  10974. ;
  10975. return 0;
  10976. }
  10977. _ACEOF
  10978. if ac_fn_c_try_link "$LINENO"; then :
  10979. case "$LIBEXT" in
  10980. dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10981. 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'` ;;
  10982. *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10983. if ${ac_cv_lib_soname_Xrender:+false} :; then :
  10984. ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10985. fi ;;
  10986. esac
  10987. else
  10988. ac_cv_lib_soname_Xrender=
  10989. fi
  10990. rm -f core conftest.err conftest.$ac_objext \
  10991. conftest$ac_exeext conftest.$ac_ext
  10992. LIBS=$ac_check_soname_save_LIBS
  10993. fi
  10994. if ${ac_cv_lib_soname_Xrender:+false} :; then :
  10995. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10996. $as_echo "not found" >&6; }
  10997. else
  10998. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
  10999. $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
  11000. cat >>confdefs.h <<_ACEOF
  11001. #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
  11002. _ACEOF
  11003. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
  11004. $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
  11005. if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
  11006. $as_echo_n "(cached) " >&6
  11007. else
  11008. ac_check_lib_save_LIBS=$LIBS
  11009. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11010. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11011. /* end confdefs.h. */
  11012. /* Override any GCC internal prototype to avoid an error.
  11013. Use char because int might match the return type of a GCC
  11014. builtin and then its argument prototype would still apply. */
  11015. #ifdef __cplusplus
  11016. extern "C"
  11017. #endif
  11018. char XRenderSetPictureTransform ();
  11019. int
  11020. main ()
  11021. {
  11022. return XRenderSetPictureTransform ();
  11023. ;
  11024. return 0;
  11025. }
  11026. _ACEOF
  11027. if ac_fn_c_try_link "$LINENO"; then :
  11028. ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
  11029. else
  11030. ac_cv_lib_Xrender_XRenderSetPictureTransform=no
  11031. fi
  11032. rm -f core conftest.err conftest.$ac_objext \
  11033. conftest$ac_exeext conftest.$ac_ext
  11034. LIBS=$ac_check_lib_save_LIBS
  11035. fi
  11036. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
  11037. $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
  11038. if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
  11039. $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
  11040. fi
  11041. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
  11042. $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
  11043. if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
  11044. $as_echo_n "(cached) " >&6
  11045. else
  11046. ac_check_lib_save_LIBS=$LIBS
  11047. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11048. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11049. /* end confdefs.h. */
  11050. /* Override any GCC internal prototype to avoid an error.
  11051. Use char because int might match the return type of a GCC
  11052. builtin and then its argument prototype would still apply. */
  11053. #ifdef __cplusplus
  11054. extern "C"
  11055. #endif
  11056. char XRenderCreateLinearGradient ();
  11057. int
  11058. main ()
  11059. {
  11060. return XRenderCreateLinearGradient ();
  11061. ;
  11062. return 0;
  11063. }
  11064. _ACEOF
  11065. if ac_fn_c_try_link "$LINENO"; then :
  11066. ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
  11067. else
  11068. ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
  11069. fi
  11070. rm -f core conftest.err conftest.$ac_objext \
  11071. conftest$ac_exeext conftest.$ac_ext
  11072. LIBS=$ac_check_lib_save_LIBS
  11073. fi
  11074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
  11075. $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
  11076. if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
  11077. $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
  11078. fi
  11079. fi
  11080. fi
  11081. if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
  11082. case "x$with_xrender" in
  11083. x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
  11084. xno) ;;
  11085. *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
  11086. This is an error since --with-xrender was requested." "$LINENO" 5 ;;
  11087. esac
  11088. fi
  11089. if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
  11090. then
  11091. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11092. /* end confdefs.h. */
  11093. #include <X11/Xlib.h>
  11094. #include <X11/extensions/Xrandr.h>
  11095. int
  11096. main ()
  11097. {
  11098. static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
  11099. ;
  11100. return 0;
  11101. }
  11102. _ACEOF
  11103. if ac_fn_c_try_compile "$LINENO"; then :
  11104. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
  11105. $as_echo_n "checking for -lXrandr... " >&6; }
  11106. if ${ac_cv_lib_soname_Xrandr+:} false; then :
  11107. $as_echo_n "(cached) " >&6
  11108. else
  11109. ac_check_soname_save_LIBS=$LIBS
  11110. LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
  11111. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11112. /* end confdefs.h. */
  11113. /* Override any GCC internal prototype to avoid an error.
  11114. Use char because int might match the return type of a GCC
  11115. builtin and then its argument prototype would still apply. */
  11116. #ifdef __cplusplus
  11117. extern "C"
  11118. #endif
  11119. char XRRQueryExtension ();
  11120. int
  11121. main ()
  11122. {
  11123. return XRRQueryExtension ();
  11124. ;
  11125. return 0;
  11126. }
  11127. _ACEOF
  11128. if ac_fn_c_try_link "$LINENO"; then :
  11129. case "$LIBEXT" in
  11130. dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11131. 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'` ;;
  11132. *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11133. if ${ac_cv_lib_soname_Xrandr:+false} :; then :
  11134. ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11135. fi ;;
  11136. esac
  11137. else
  11138. ac_cv_lib_soname_Xrandr=
  11139. fi
  11140. rm -f core conftest.err conftest.$ac_objext \
  11141. conftest$ac_exeext conftest.$ac_ext
  11142. LIBS=$ac_check_soname_save_LIBS
  11143. fi
  11144. if ${ac_cv_lib_soname_Xrandr:+false} :; then :
  11145. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11146. $as_echo "not found" >&6; }
  11147. else
  11148. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
  11149. $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
  11150. cat >>confdefs.h <<_ACEOF
  11151. #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
  11152. _ACEOF
  11153. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11154. /* end confdefs.h. */
  11155. #include <X11/Xlib.h>
  11156. #include <X11/extensions/Xrandr.h>
  11157. int
  11158. main ()
  11159. {
  11160. static typeof(XRRGetProviderResources) *f; if (f) return 0;
  11161. ;
  11162. return 0;
  11163. }
  11164. _ACEOF
  11165. if ac_fn_c_try_compile "$LINENO"; then :
  11166. $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
  11167. else
  11168. as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
  11169. fi
  11170. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11171. fi
  11172. fi
  11173. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11174. fi
  11175. if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
  11176. case "x$with_xrandr" in
  11177. x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
  11178. xno) ;;
  11179. *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
  11180. This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
  11181. esac
  11182. fi
  11183. if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
  11184. then
  11185. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11186. /* end confdefs.h. */
  11187. #include <X11/Xlib.h>
  11188. #include <X11/extensions/Xfixes.h>
  11189. int
  11190. main ()
  11191. {
  11192. static typeof(XFixesQueryVersion) * func; if (func) return 0;
  11193. ;
  11194. return 0;
  11195. }
  11196. _ACEOF
  11197. if ac_fn_c_try_compile "$LINENO"; then :
  11198. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
  11199. $as_echo_n "checking for -lXfixes... " >&6; }
  11200. if ${ac_cv_lib_soname_Xfixes+:} false; then :
  11201. $as_echo_n "(cached) " >&6
  11202. else
  11203. ac_check_soname_save_LIBS=$LIBS
  11204. LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
  11205. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11206. /* end confdefs.h. */
  11207. /* Override any GCC internal prototype to avoid an error.
  11208. Use char because int might match the return type of a GCC
  11209. builtin and then its argument prototype would still apply. */
  11210. #ifdef __cplusplus
  11211. extern "C"
  11212. #endif
  11213. char XFixesQueryVersion ();
  11214. int
  11215. main ()
  11216. {
  11217. return XFixesQueryVersion ();
  11218. ;
  11219. return 0;
  11220. }
  11221. _ACEOF
  11222. if ac_fn_c_try_link "$LINENO"; then :
  11223. case "$LIBEXT" in
  11224. dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11225. 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'` ;;
  11226. *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11227. if ${ac_cv_lib_soname_Xfixes:+false} :; then :
  11228. ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11229. fi ;;
  11230. esac
  11231. else
  11232. ac_cv_lib_soname_Xfixes=
  11233. fi
  11234. rm -f core conftest.err conftest.$ac_objext \
  11235. conftest$ac_exeext conftest.$ac_ext
  11236. LIBS=$ac_check_soname_save_LIBS
  11237. fi
  11238. if ${ac_cv_lib_soname_Xfixes:+false} :; then :
  11239. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11240. $as_echo "not found" >&6; }
  11241. else
  11242. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
  11243. $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
  11244. cat >>confdefs.h <<_ACEOF
  11245. #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
  11246. _ACEOF
  11247. fi
  11248. fi
  11249. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11250. fi
  11251. if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
  11252. case "x$with_xfixes" in
  11253. x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
  11254. xno) ;;
  11255. *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
  11256. This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
  11257. esac
  11258. fi
  11259. if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
  11260. then
  11261. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11262. /* end confdefs.h. */
  11263. #include <X11/Xlib.h>
  11264. #include <X11/extensions/Xinerama.h>
  11265. int
  11266. main ()
  11267. {
  11268. static typeof(XineramaQueryScreens) * func; if (func) return 0;
  11269. ;
  11270. return 0;
  11271. }
  11272. _ACEOF
  11273. if ac_fn_c_try_compile "$LINENO"; then :
  11274. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
  11275. $as_echo_n "checking for -lXinerama... " >&6; }
  11276. if ${ac_cv_lib_soname_Xinerama+:} false; then :
  11277. $as_echo_n "(cached) " >&6
  11278. else
  11279. ac_check_soname_save_LIBS=$LIBS
  11280. LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
  11281. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11282. /* end confdefs.h. */
  11283. /* Override any GCC internal prototype to avoid an error.
  11284. Use char because int might match the return type of a GCC
  11285. builtin and then its argument prototype would still apply. */
  11286. #ifdef __cplusplus
  11287. extern "C"
  11288. #endif
  11289. char XineramaQueryScreens ();
  11290. int
  11291. main ()
  11292. {
  11293. return XineramaQueryScreens ();
  11294. ;
  11295. return 0;
  11296. }
  11297. _ACEOF
  11298. if ac_fn_c_try_link "$LINENO"; then :
  11299. case "$LIBEXT" in
  11300. dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11301. 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'` ;;
  11302. *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11303. if ${ac_cv_lib_soname_Xinerama:+false} :; then :
  11304. ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11305. fi ;;
  11306. esac
  11307. else
  11308. ac_cv_lib_soname_Xinerama=
  11309. fi
  11310. rm -f core conftest.err conftest.$ac_objext \
  11311. conftest$ac_exeext conftest.$ac_ext
  11312. LIBS=$ac_check_soname_save_LIBS
  11313. fi
  11314. if ${ac_cv_lib_soname_Xinerama:+false} :; then :
  11315. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11316. $as_echo "not found" >&6; }
  11317. else
  11318. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
  11319. $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
  11320. cat >>confdefs.h <<_ACEOF
  11321. #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
  11322. _ACEOF
  11323. fi
  11324. fi
  11325. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11326. fi
  11327. if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
  11328. case "x$with_xinerama" in
  11329. x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
  11330. xno) ;;
  11331. *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
  11332. This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
  11333. esac
  11334. fi
  11335. if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
  11336. then
  11337. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
  11338. $as_echo_n "checking for -lXcomposite... " >&6; }
  11339. if ${ac_cv_lib_soname_Xcomposite+:} false; then :
  11340. $as_echo_n "(cached) " >&6
  11341. else
  11342. ac_check_soname_save_LIBS=$LIBS
  11343. LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
  11344. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11345. /* end confdefs.h. */
  11346. /* Override any GCC internal prototype to avoid an error.
  11347. Use char because int might match the return type of a GCC
  11348. builtin and then its argument prototype would still apply. */
  11349. #ifdef __cplusplus
  11350. extern "C"
  11351. #endif
  11352. char XCompositeRedirectWindow ();
  11353. int
  11354. main ()
  11355. {
  11356. return XCompositeRedirectWindow ();
  11357. ;
  11358. return 0;
  11359. }
  11360. _ACEOF
  11361. if ac_fn_c_try_link "$LINENO"; then :
  11362. case "$LIBEXT" in
  11363. dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11364. 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'` ;;
  11365. *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11366. if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
  11367. ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11368. fi ;;
  11369. esac
  11370. else
  11371. ac_cv_lib_soname_Xcomposite=
  11372. fi
  11373. rm -f core conftest.err conftest.$ac_objext \
  11374. conftest$ac_exeext conftest.$ac_ext
  11375. LIBS=$ac_check_soname_save_LIBS
  11376. fi
  11377. if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
  11378. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11379. $as_echo "not found" >&6; }
  11380. else
  11381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
  11382. $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
  11383. cat >>confdefs.h <<_ACEOF
  11384. #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
  11385. _ACEOF
  11386. fi
  11387. fi
  11388. if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
  11389. case "x$with_xcomposite" in
  11390. x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
  11391. xno) ;;
  11392. *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
  11393. This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
  11394. esac
  11395. fi
  11396. ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
  11397. #include <X11/Xlib.h>
  11398. #endif
  11399. "
  11400. if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
  11401. cat >>confdefs.h <<_ACEOF
  11402. #define HAVE_XICCALLBACK_CALLBACK 1
  11403. _ACEOF
  11404. fi
  11405. ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
  11406. #include <X11/Xlib.h>
  11407. #endif
  11408. "
  11409. if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
  11410. cat >>confdefs.h <<_ACEOF
  11411. #define HAVE_XEVENT_XCOOKIE 1
  11412. _ACEOF
  11413. fi
  11414. opengl_msg=""
  11415. if test "x$with_opengl" != "xno"
  11416. then
  11417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  11418. $as_echo_n "checking for -lGL... " >&6; }
  11419. if ${ac_cv_lib_soname_GL+:} false; then :
  11420. $as_echo_n "(cached) " >&6
  11421. else
  11422. ac_check_soname_save_LIBS=$LIBS
  11423. LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11424. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11425. /* end confdefs.h. */
  11426. /* Override any GCC internal prototype to avoid an error.
  11427. Use char because int might match the return type of a GCC
  11428. builtin and then its argument prototype would still apply. */
  11429. #ifdef __cplusplus
  11430. extern "C"
  11431. #endif
  11432. char glXCreateContext ();
  11433. int
  11434. main ()
  11435. {
  11436. return glXCreateContext ();
  11437. ;
  11438. return 0;
  11439. }
  11440. _ACEOF
  11441. if ac_fn_c_try_link "$LINENO"; then :
  11442. case "$LIBEXT" in
  11443. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11444. 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'` ;;
  11445. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11446. if ${ac_cv_lib_soname_GL:+false} :; then :
  11447. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11448. fi ;;
  11449. esac
  11450. else
  11451. ac_cv_lib_soname_GL=
  11452. fi
  11453. rm -f core conftest.err conftest.$ac_objext \
  11454. conftest$ac_exeext conftest.$ac_ext
  11455. LIBS=$ac_check_soname_save_LIBS
  11456. fi
  11457. if ${ac_cv_lib_soname_GL:+false} :; then :
  11458. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11459. $as_echo "not found" >&6; }
  11460. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  11461. $as_echo_n "checking for -lGL... " >&6; }
  11462. if ${ac_cv_lib_soname_GL+:} false; then :
  11463. $as_echo_n "(cached) " >&6
  11464. else
  11465. ac_check_soname_save_LIBS=$LIBS
  11466. 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"
  11467. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11468. /* end confdefs.h. */
  11469. /* Override any GCC internal prototype to avoid an error.
  11470. Use char because int might match the return type of a GCC
  11471. builtin and then its argument prototype would still apply. */
  11472. #ifdef __cplusplus
  11473. extern "C"
  11474. #endif
  11475. char glXCreateContext ();
  11476. int
  11477. main ()
  11478. {
  11479. return glXCreateContext ();
  11480. ;
  11481. return 0;
  11482. }
  11483. _ACEOF
  11484. if ac_fn_c_try_link "$LINENO"; then :
  11485. case "$LIBEXT" in
  11486. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11487. 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'` ;;
  11488. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11489. if ${ac_cv_lib_soname_GL:+false} :; then :
  11490. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11491. fi ;;
  11492. esac
  11493. else
  11494. ac_cv_lib_soname_GL=
  11495. fi
  11496. rm -f core conftest.err conftest.$ac_objext \
  11497. conftest$ac_exeext conftest.$ac_ext
  11498. LIBS=$ac_check_soname_save_LIBS
  11499. fi
  11500. if ${ac_cv_lib_soname_GL:+false} :; then :
  11501. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11502. $as_echo "not found" >&6; }
  11503. if test -f /usr/X11R6/lib/libGL.a
  11504. then
  11505. opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
  11506. This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
  11507. else
  11508. opengl_msg="No OpenGL library found on this system."
  11509. fi
  11510. else
  11511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  11512. $as_echo "$ac_cv_lib_soname_GL" >&6; }
  11513. cat >>confdefs.h <<_ACEOF
  11514. #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
  11515. _ACEOF
  11516. 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"
  11517. fi
  11518. else
  11519. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  11520. $as_echo "$ac_cv_lib_soname_GL" >&6; }
  11521. cat >>confdefs.h <<_ACEOF
  11522. #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
  11523. _ACEOF
  11524. OPENGL_LIBS="-lGL"
  11525. fi
  11526. if test "x$with_glu" != "xno"
  11527. then
  11528. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
  11529. $as_echo_n "checking for -lGLU... " >&6; }
  11530. if ${ac_cv_lib_soname_GLU+:} false; then :
  11531. $as_echo_n "(cached) " >&6
  11532. else
  11533. ac_check_soname_save_LIBS=$LIBS
  11534. LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11535. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11536. /* end confdefs.h. */
  11537. /* Override any GCC internal prototype to avoid an error.
  11538. Use char because int might match the return type of a GCC
  11539. builtin and then its argument prototype would still apply. */
  11540. #ifdef __cplusplus
  11541. extern "C"
  11542. #endif
  11543. char gluLookAt ();
  11544. int
  11545. main ()
  11546. {
  11547. return gluLookAt ();
  11548. ;
  11549. return 0;
  11550. }
  11551. _ACEOF
  11552. if ac_fn_c_try_link "$LINENO"; then :
  11553. case "$LIBEXT" in
  11554. dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11555. dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11556. *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11557. if ${ac_cv_lib_soname_GLU:+false} :; then :
  11558. ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11559. fi ;;
  11560. esac
  11561. else
  11562. ac_cv_lib_soname_GLU=
  11563. fi
  11564. rm -f core conftest.err conftest.$ac_objext \
  11565. conftest$ac_exeext conftest.$ac_ext
  11566. LIBS=$ac_check_soname_save_LIBS
  11567. fi
  11568. if ${ac_cv_lib_soname_GLU:+false} :; then :
  11569. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11570. $as_echo "not found" >&6; }
  11571. else
  11572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
  11573. $as_echo "$ac_cv_lib_soname_GLU" >&6; }
  11574. cat >>confdefs.h <<_ACEOF
  11575. #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
  11576. _ACEOF
  11577. fi
  11578. if test "x$ac_cv_lib_soname_GLU" = "x"; then :
  11579. case "x$with_glu" in
  11580. x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
  11581. xno) ;;
  11582. *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
  11583. This is an error since --with-glu was requested." "$LINENO" 5 ;;
  11584. esac
  11585. fi
  11586. fi
  11587. if test "x$with_osmesa" != "xno"
  11588. then
  11589. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
  11590. $as_echo_n "checking for -lOSMesa... " >&6; }
  11591. if ${ac_cv_lib_soname_OSMesa+:} false; then :
  11592. $as_echo_n "(cached) " >&6
  11593. else
  11594. ac_check_soname_save_LIBS=$LIBS
  11595. LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $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 OSMesaGetProcAddress ();
  11605. int
  11606. main ()
  11607. {
  11608. return OSMesaGetProcAddress ();
  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_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11616. 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'` ;;
  11617. *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11618. if ${ac_cv_lib_soname_OSMesa:+false} :; then :
  11619. ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11620. fi ;;
  11621. esac
  11622. else
  11623. ac_cv_lib_soname_OSMesa=
  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_OSMesa:+false} :; then :
  11630. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11631. $as_echo "not found" >&6; }
  11632. else
  11633. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
  11634. $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
  11635. cat >>confdefs.h <<_ACEOF
  11636. #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
  11637. _ACEOF
  11638. fi
  11639. if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
  11640. case "x$with_osmesa" in
  11641. x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
  11642. xno) ;;
  11643. *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
  11644. This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
  11645. esac
  11646. fi
  11647. fi
  11648. fi
  11649. if test -n "$opengl_msg"; then :
  11650. case "x$with_opengl" in
  11651. x) as_fn_append wine_warnings "|$opengl_msg
  11652. OpenGL and Direct3D won't be supported." ;;
  11653. xno) ;;
  11654. *) as_fn_error $? "$opengl_msg
  11655. OpenGL and Direct3D won't be supported.
  11656. This is an error since --with-opengl was requested." "$LINENO" 5 ;;
  11657. esac
  11658. fi
  11659. CPPFLAGS="$ac_save_CPPFLAGS"
  11660. else
  11661. X_CFLAGS=""
  11662. X_LIBS=""
  11663. fi
  11664. if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
  11665. then
  11666. if test "x$X_LIBS" = "x"; then :
  11667. case "x$with_x" in
  11668. xno) ;;
  11669. *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
  11670. without X support, which probably isn't what you want. You will need
  11671. to install ${notice_platform}development packages of Xlib at the very least.
  11672. Use the --without-x option if you really want this." "$LINENO" 5 ;;
  11673. esac
  11674. enable_winex11_drv=${enable_winex11_drv:-no}
  11675. fi
  11676. else
  11677. if test "x$X_LIBS" = "x"; then :
  11678. case "x$with_x" in
  11679. x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
  11680. xno) ;;
  11681. *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
  11682. This is an error since --with-x was requested." "$LINENO" 5 ;;
  11683. esac
  11684. enable_winex11_drv=${enable_winex11_drv:-no}
  11685. fi
  11686. fi
  11687. if test "$ac_cv_header_CL_cl_h" = "yes"
  11688. then
  11689. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
  11690. $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
  11691. if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
  11692. $as_echo_n "(cached) " >&6
  11693. else
  11694. ac_check_lib_save_LIBS=$LIBS
  11695. LIBS="-lOpenCL $LIBS"
  11696. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11697. /* end confdefs.h. */
  11698. /* Override any GCC internal prototype to avoid an error.
  11699. Use char because int might match the return type of a GCC
  11700. builtin and then its argument prototype would still apply. */
  11701. #ifdef __cplusplus
  11702. extern "C"
  11703. #endif
  11704. char clGetPlatformInfo ();
  11705. int
  11706. main ()
  11707. {
  11708. return clGetPlatformInfo ();
  11709. ;
  11710. return 0;
  11711. }
  11712. _ACEOF
  11713. if ac_fn_c_try_link "$LINENO"; then :
  11714. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  11715. else
  11716. ac_cv_lib_OpenCL_clGetPlatformInfo=no
  11717. fi
  11718. rm -f core conftest.err conftest.$ac_objext \
  11719. conftest$ac_exeext conftest.$ac_ext
  11720. LIBS=$ac_check_lib_save_LIBS
  11721. fi
  11722. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
  11723. $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
  11724. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
  11725. OPENCL_LIBS="-lOpenCL"
  11726. fi
  11727. fi
  11728. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
  11729. case "x$with_opencl" in
  11730. x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
  11731. xno) ;;
  11732. *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
  11733. This is an error since --with-opencl was requested." "$LINENO" 5 ;;
  11734. esac
  11735. enable_opencl=${enable_opencl:-no}
  11736. fi
  11737. if test "$ac_cv_header_pcap_pcap_h" = "yes"
  11738. then
  11739. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
  11740. $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
  11741. if ${ac_cv_lib_pcap_pcap_create+:} false; then :
  11742. $as_echo_n "(cached) " >&6
  11743. else
  11744. ac_check_lib_save_LIBS=$LIBS
  11745. LIBS="-lpcap $LIBS"
  11746. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11747. /* end confdefs.h. */
  11748. /* Override any GCC internal prototype to avoid an error.
  11749. Use char because int might match the return type of a GCC
  11750. builtin and then its argument prototype would still apply. */
  11751. #ifdef __cplusplus
  11752. extern "C"
  11753. #endif
  11754. char pcap_create ();
  11755. int
  11756. main ()
  11757. {
  11758. return pcap_create ();
  11759. ;
  11760. return 0;
  11761. }
  11762. _ACEOF
  11763. if ac_fn_c_try_link "$LINENO"; then :
  11764. ac_cv_lib_pcap_pcap_create=yes
  11765. else
  11766. ac_cv_lib_pcap_pcap_create=no
  11767. fi
  11768. rm -f core conftest.err conftest.$ac_objext \
  11769. conftest$ac_exeext conftest.$ac_ext
  11770. LIBS=$ac_check_lib_save_LIBS
  11771. fi
  11772. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
  11773. $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
  11774. if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
  11775. PCAP_LIBS="-lpcap"
  11776. fi
  11777. fi
  11778. if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
  11779. case "x$with_pcap" in
  11780. x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
  11781. xno) ;;
  11782. *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
  11783. This is an error since --with-pcap was requested." "$LINENO" 5 ;;
  11784. esac
  11785. enable_wpcap=${enable_wpcap:-no}
  11786. fi
  11787. if test "x$with_xml" != "xno"
  11788. then
  11789. if ${XML2_CFLAGS:+false} :; then :
  11790. if ${PKG_CONFIG+:} false; then :
  11791. XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
  11792. fi
  11793. fi
  11794. test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
  11795. if ${XML2_LIBS:+false} :; then :
  11796. if ${PKG_CONFIG+:} false; then :
  11797. XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
  11798. fi
  11799. fi
  11800. test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
  11801. XML2_LIBS=${XML2_LIBS:-"-lxml2"}
  11802. $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
  11803. $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
  11804. ac_save_CPPFLAGS=$CPPFLAGS
  11805. CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
  11806. for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
  11807. do :
  11808. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11809. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  11810. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  11811. cat >>confdefs.h <<_ACEOF
  11812. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11813. _ACEOF
  11814. fi
  11815. done
  11816. 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"
  11817. then
  11818. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
  11819. $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
  11820. if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
  11821. $as_echo_n "(cached) " >&6
  11822. else
  11823. ac_check_lib_save_LIBS=$LIBS
  11824. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11826. /* end confdefs.h. */
  11827. /* Override any GCC internal prototype to avoid an error.
  11828. Use char because int might match the return type of a GCC
  11829. builtin and then its argument prototype would still apply. */
  11830. #ifdef __cplusplus
  11831. extern "C"
  11832. #endif
  11833. char xmlParseMemory ();
  11834. int
  11835. main ()
  11836. {
  11837. return xmlParseMemory ();
  11838. ;
  11839. return 0;
  11840. }
  11841. _ACEOF
  11842. if ac_fn_c_try_link "$LINENO"; then :
  11843. ac_cv_lib_xml2_xmlParseMemory=yes
  11844. else
  11845. ac_cv_lib_xml2_xmlParseMemory=no
  11846. fi
  11847. rm -f core conftest.err conftest.$ac_objext \
  11848. conftest$ac_exeext conftest.$ac_ext
  11849. LIBS=$ac_check_lib_save_LIBS
  11850. fi
  11851. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
  11852. $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
  11853. if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
  11854. $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
  11855. else
  11856. XML2_LIBS=""
  11857. fi
  11858. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
  11859. $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
  11860. if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
  11861. $as_echo_n "(cached) " >&6
  11862. else
  11863. ac_check_lib_save_LIBS=$LIBS
  11864. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11865. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11866. /* end confdefs.h. */
  11867. /* Override any GCC internal prototype to avoid an error.
  11868. Use char because int might match the return type of a GCC
  11869. builtin and then its argument prototype would still apply. */
  11870. #ifdef __cplusplus
  11871. extern "C"
  11872. #endif
  11873. char xmlReadMemory ();
  11874. int
  11875. main ()
  11876. {
  11877. return xmlReadMemory ();
  11878. ;
  11879. return 0;
  11880. }
  11881. _ACEOF
  11882. if ac_fn_c_try_link "$LINENO"; then :
  11883. ac_cv_lib_xml2_xmlReadMemory=yes
  11884. else
  11885. ac_cv_lib_xml2_xmlReadMemory=no
  11886. fi
  11887. rm -f core conftest.err conftest.$ac_objext \
  11888. conftest$ac_exeext conftest.$ac_ext
  11889. LIBS=$ac_check_lib_save_LIBS
  11890. fi
  11891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
  11892. $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
  11893. if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
  11894. $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
  11895. fi
  11896. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
  11897. $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
  11898. if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
  11899. $as_echo_n "(cached) " >&6
  11900. else
  11901. ac_check_lib_save_LIBS=$LIBS
  11902. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11903. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11904. /* end confdefs.h. */
  11905. /* Override any GCC internal prototype to avoid an error.
  11906. Use char because int might match the return type of a GCC
  11907. builtin and then its argument prototype would still apply. */
  11908. #ifdef __cplusplus
  11909. extern "C"
  11910. #endif
  11911. char xmlNewDocPI ();
  11912. int
  11913. main ()
  11914. {
  11915. return xmlNewDocPI ();
  11916. ;
  11917. return 0;
  11918. }
  11919. _ACEOF
  11920. if ac_fn_c_try_link "$LINENO"; then :
  11921. ac_cv_lib_xml2_xmlNewDocPI=yes
  11922. else
  11923. ac_cv_lib_xml2_xmlNewDocPI=no
  11924. fi
  11925. rm -f core conftest.err conftest.$ac_objext \
  11926. conftest$ac_exeext conftest.$ac_ext
  11927. LIBS=$ac_check_lib_save_LIBS
  11928. fi
  11929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
  11930. $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
  11931. if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
  11932. $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
  11933. fi
  11934. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
  11935. $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
  11936. if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
  11937. $as_echo_n "(cached) " >&6
  11938. else
  11939. ac_check_lib_save_LIBS=$LIBS
  11940. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11941. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11942. /* end confdefs.h. */
  11943. /* Override any GCC internal prototype to avoid an error.
  11944. Use char because int might match the return type of a GCC
  11945. builtin and then its argument prototype would still apply. */
  11946. #ifdef __cplusplus
  11947. extern "C"
  11948. #endif
  11949. char xmlSchemaSetParserStructuredErrors ();
  11950. int
  11951. main ()
  11952. {
  11953. return xmlSchemaSetParserStructuredErrors ();
  11954. ;
  11955. return 0;
  11956. }
  11957. _ACEOF
  11958. if ac_fn_c_try_link "$LINENO"; then :
  11959. ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
  11960. else
  11961. ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
  11962. fi
  11963. rm -f core conftest.err conftest.$ac_objext \
  11964. conftest$ac_exeext conftest.$ac_ext
  11965. LIBS=$ac_check_lib_save_LIBS
  11966. fi
  11967. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
  11968. $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
  11969. if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
  11970. $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
  11971. fi
  11972. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
  11973. $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
  11974. if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
  11975. $as_echo_n "(cached) " >&6
  11976. else
  11977. ac_check_lib_save_LIBS=$LIBS
  11978. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11979. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11980. /* end confdefs.h. */
  11981. /* Override any GCC internal prototype to avoid an error.
  11982. Use char because int might match the return type of a GCC
  11983. builtin and then its argument prototype would still apply. */
  11984. #ifdef __cplusplus
  11985. extern "C"
  11986. #endif
  11987. char xmlSchemaSetValidStructuredErrors ();
  11988. int
  11989. main ()
  11990. {
  11991. return xmlSchemaSetValidStructuredErrors ();
  11992. ;
  11993. return 0;
  11994. }
  11995. _ACEOF
  11996. if ac_fn_c_try_link "$LINENO"; then :
  11997. ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
  11998. else
  11999. ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
  12000. fi
  12001. rm -f core conftest.err conftest.$ac_objext \
  12002. conftest$ac_exeext conftest.$ac_ext
  12003. LIBS=$ac_check_lib_save_LIBS
  12004. fi
  12005. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
  12006. $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
  12007. if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
  12008. $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
  12009. fi
  12010. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
  12011. $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
  12012. if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
  12013. $as_echo_n "(cached) " >&6
  12014. else
  12015. ac_check_lib_save_LIBS=$LIBS
  12016. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12017. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12018. /* end confdefs.h. */
  12019. /* Override any GCC internal prototype to avoid an error.
  12020. Use char because int might match the return type of a GCC
  12021. builtin and then its argument prototype would still apply. */
  12022. #ifdef __cplusplus
  12023. extern "C"
  12024. #endif
  12025. char xmlFirstElementChild ();
  12026. int
  12027. main ()
  12028. {
  12029. return xmlFirstElementChild ();
  12030. ;
  12031. return 0;
  12032. }
  12033. _ACEOF
  12034. if ac_fn_c_try_link "$LINENO"; then :
  12035. ac_cv_lib_xml2_xmlFirstElementChild=yes
  12036. else
  12037. ac_cv_lib_xml2_xmlFirstElementChild=no
  12038. fi
  12039. rm -f core conftest.err conftest.$ac_objext \
  12040. conftest$ac_exeext conftest.$ac_ext
  12041. LIBS=$ac_check_lib_save_LIBS
  12042. fi
  12043. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
  12044. $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
  12045. if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
  12046. $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
  12047. fi
  12048. ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
  12049. "
  12050. if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
  12051. $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
  12052. fi
  12053. else
  12054. XML2_CFLAGS=""
  12055. XML2_LIBS=""
  12056. fi
  12057. CPPFLAGS=$ac_save_CPPFLAGS
  12058. fi
  12059. if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
  12060. case "x$with_xml" in
  12061. x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
  12062. xno) ;;
  12063. *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
  12064. This is an error since --with-xml was requested." "$LINENO" 5 ;;
  12065. esac
  12066. fi
  12067. if test "x$with_xslt" != "xno"
  12068. then
  12069. if ${XSLT_CFLAGS:+false} :; then :
  12070. if ${PKG_CONFIG+:} false; then :
  12071. XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
  12072. fi
  12073. fi
  12074. test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
  12075. if ${XSLT_LIBS:+false} :; then :
  12076. if ${PKG_CONFIG+:} false; then :
  12077. XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
  12078. fi
  12079. fi
  12080. test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
  12081. XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
  12082. $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
  12083. $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
  12084. ac_save_CPPFLAGS=$CPPFLAGS
  12085. CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
  12086. for ac_header in libxslt/pattern.h libxslt/transform.h
  12087. do :
  12088. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12089. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
  12090. # include <libxslt/pattern.h>
  12091. #endif
  12092. "
  12093. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  12094. cat >>confdefs.h <<_ACEOF
  12095. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12096. _ACEOF
  12097. fi
  12098. done
  12099. if test "$ac_cv_header_libxslt_transform_h" = "yes"
  12100. then
  12101. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
  12102. $as_echo_n "checking for -lxslt... " >&6; }
  12103. if ${ac_cv_lib_soname_xslt+:} false; then :
  12104. $as_echo_n "(cached) " >&6
  12105. else
  12106. ac_check_soname_save_LIBS=$LIBS
  12107. LIBS="-lxslt $XSLT_LIBS $LIBS"
  12108. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12109. /* end confdefs.h. */
  12110. /* Override any GCC internal prototype to avoid an error.
  12111. Use char because int might match the return type of a GCC
  12112. builtin and then its argument prototype would still apply. */
  12113. #ifdef __cplusplus
  12114. extern "C"
  12115. #endif
  12116. char xsltCompilePattern ();
  12117. int
  12118. main ()
  12119. {
  12120. return xsltCompilePattern ();
  12121. ;
  12122. return 0;
  12123. }
  12124. _ACEOF
  12125. if ac_fn_c_try_link "$LINENO"; then :
  12126. case "$LIBEXT" in
  12127. dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12128. 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'` ;;
  12129. *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12130. if ${ac_cv_lib_soname_xslt:+false} :; then :
  12131. ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12132. fi ;;
  12133. esac
  12134. else
  12135. ac_cv_lib_soname_xslt=
  12136. fi
  12137. rm -f core conftest.err conftest.$ac_objext \
  12138. conftest$ac_exeext conftest.$ac_ext
  12139. LIBS=$ac_check_soname_save_LIBS
  12140. fi
  12141. if ${ac_cv_lib_soname_xslt:+false} :; then :
  12142. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12143. $as_echo "not found" >&6; }
  12144. else
  12145. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
  12146. $as_echo "$ac_cv_lib_soname_xslt" >&6; }
  12147. cat >>confdefs.h <<_ACEOF
  12148. #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
  12149. _ACEOF
  12150. fi
  12151. else
  12152. XSLT_CFLAGS=""
  12153. fi
  12154. CPPFLAGS=$ac_save_CPPFLAGS
  12155. fi
  12156. if test "x$ac_cv_lib_soname_xslt" = "x"; then :
  12157. case "x$with_xslt" in
  12158. x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
  12159. xno) ;;
  12160. *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
  12161. This is an error since --with-xslt was requested." "$LINENO" 5 ;;
  12162. esac
  12163. fi
  12164. if test "x$with_inotify" != "xno"
  12165. then
  12166. if ${INOTIFY_CFLAGS:+false} :; then :
  12167. if ${PKG_CONFIG+:} false; then :
  12168. INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
  12169. fi
  12170. fi
  12171. if ${INOTIFY_LIBS:+false} :; then :
  12172. if ${PKG_CONFIG+:} false; then :
  12173. INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
  12174. fi
  12175. fi
  12176. $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
  12177. $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
  12178. ac_save_CPPFLAGS=$CPPFLAGS
  12179. CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
  12180. for ac_header in sys/inotify.h
  12181. do :
  12182. ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
  12183. if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
  12184. cat >>confdefs.h <<_ACEOF
  12185. #define HAVE_SYS_INOTIFY_H 1
  12186. _ACEOF
  12187. fi
  12188. done
  12189. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
  12190. $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
  12191. if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
  12192. $as_echo_n "(cached) " >&6
  12193. else
  12194. ac_check_lib_save_LIBS=$LIBS
  12195. LIBS="-linotify $INOTIFY_LIBS $LIBS"
  12196. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12197. /* end confdefs.h. */
  12198. /* Override any GCC internal prototype to avoid an error.
  12199. Use char because int might match the return type of a GCC
  12200. builtin and then its argument prototype would still apply. */
  12201. #ifdef __cplusplus
  12202. extern "C"
  12203. #endif
  12204. char inotify_add_watch ();
  12205. int
  12206. main ()
  12207. {
  12208. return inotify_add_watch ();
  12209. ;
  12210. return 0;
  12211. }
  12212. _ACEOF
  12213. if ac_fn_c_try_link "$LINENO"; then :
  12214. ac_cv_lib_inotify_inotify_add_watch=yes
  12215. else
  12216. ac_cv_lib_inotify_inotify_add_watch=no
  12217. fi
  12218. rm -f core conftest.err conftest.$ac_objext \
  12219. conftest$ac_exeext conftest.$ac_ext
  12220. LIBS=$ac_check_lib_save_LIBS
  12221. fi
  12222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
  12223. $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
  12224. if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
  12225. :
  12226. else
  12227. INOTIFY_LIBS=""
  12228. fi
  12229. CPPFLAGS=$ac_save_CPPFLAGS
  12230. fi
  12231. if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
  12232. case "x$with_inotify" in
  12233. x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
  12234. xno) ;;
  12235. *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
  12236. This is an error since --with-inotify was requested." "$LINENO" 5 ;;
  12237. esac
  12238. fi
  12239. if test "x$with_dbus" != "xno"
  12240. then
  12241. if ${DBUS_CFLAGS:+false} :; then :
  12242. if ${PKG_CONFIG+:} false; then :
  12243. DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
  12244. fi
  12245. fi
  12246. if ${DBUS_LIBS:+false} :; then :
  12247. if ${PKG_CONFIG+:} false; then :
  12248. DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
  12249. fi
  12250. fi
  12251. $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
  12252. $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
  12253. ac_save_CPPFLAGS=$CPPFLAGS
  12254. CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
  12255. ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
  12256. if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
  12257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
  12258. $as_echo_n "checking for -ldbus-1... " >&6; }
  12259. if ${ac_cv_lib_soname_dbus_1+:} false; then :
  12260. $as_echo_n "(cached) " >&6
  12261. else
  12262. ac_check_soname_save_LIBS=$LIBS
  12263. LIBS="-ldbus-1 $DBUS_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 dbus_connection_close ();
  12273. int
  12274. main ()
  12275. {
  12276. return dbus_connection_close ();
  12277. ;
  12278. return 0;
  12279. }
  12280. _ACEOF
  12281. if ac_fn_c_try_link "$LINENO"; then :
  12282. case "$LIBEXT" in
  12283. dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12284. 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'` ;;
  12285. *) 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'`
  12286. if ${ac_cv_lib_soname_dbus_1:+false} :; then :
  12287. ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12288. fi ;;
  12289. esac
  12290. else
  12291. ac_cv_lib_soname_dbus_1=
  12292. fi
  12293. rm -f core conftest.err conftest.$ac_objext \
  12294. conftest$ac_exeext conftest.$ac_ext
  12295. LIBS=$ac_check_soname_save_LIBS
  12296. fi
  12297. if ${ac_cv_lib_soname_dbus_1:+false} :; then :
  12298. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12299. $as_echo "not found" >&6; }
  12300. DBUS_CFLAGS=""
  12301. else
  12302. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
  12303. $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
  12304. cat >>confdefs.h <<_ACEOF
  12305. #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
  12306. _ACEOF
  12307. fi
  12308. else
  12309. DBUS_CFLAGS=""
  12310. fi
  12311. CPPFLAGS=$ac_save_CPPFLAGS
  12312. fi
  12313. if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
  12314. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
  12315. case "x$with_dbus" in
  12316. x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
  12317. xno) ;;
  12318. *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
  12319. This is an error since --with-dbus was requested." "$LINENO" 5 ;;
  12320. esac
  12321. fi
  12322. if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
  12323. then
  12324. if ${HAL_CFLAGS:+false} :; then :
  12325. if ${PKG_CONFIG+:} false; then :
  12326. HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
  12327. fi
  12328. fi
  12329. if ${HAL_LIBS:+false} :; then :
  12330. if ${PKG_CONFIG+:} false; then :
  12331. HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
  12332. fi
  12333. fi
  12334. HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
  12335. $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
  12336. $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
  12337. ac_save_CPPFLAGS=$CPPFLAGS
  12338. CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
  12339. ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
  12340. if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
  12341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
  12342. $as_echo_n "checking for -lhal... " >&6; }
  12343. if ${ac_cv_lib_soname_hal+:} false; then :
  12344. $as_echo_n "(cached) " >&6
  12345. else
  12346. ac_check_soname_save_LIBS=$LIBS
  12347. LIBS="-lhal $HAL_LIBS $LIBS"
  12348. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12349. /* end confdefs.h. */
  12350. /* Override any GCC internal prototype to avoid an error.
  12351. Use char because int might match the return type of a GCC
  12352. builtin and then its argument prototype would still apply. */
  12353. #ifdef __cplusplus
  12354. extern "C"
  12355. #endif
  12356. char libhal_ctx_new ();
  12357. int
  12358. main ()
  12359. {
  12360. return libhal_ctx_new ();
  12361. ;
  12362. return 0;
  12363. }
  12364. _ACEOF
  12365. if ac_fn_c_try_link "$LINENO"; then :
  12366. case "$LIBEXT" in
  12367. dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12368. 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'` ;;
  12369. *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12370. if ${ac_cv_lib_soname_hal:+false} :; then :
  12371. ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12372. fi ;;
  12373. esac
  12374. else
  12375. ac_cv_lib_soname_hal=
  12376. fi
  12377. rm -f core conftest.err conftest.$ac_objext \
  12378. conftest$ac_exeext conftest.$ac_ext
  12379. LIBS=$ac_check_soname_save_LIBS
  12380. fi
  12381. if ${ac_cv_lib_soname_hal:+false} :; then :
  12382. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12383. $as_echo "not found" >&6; }
  12384. HAL_CFLAGS=""
  12385. else
  12386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
  12387. $as_echo "$ac_cv_lib_soname_hal" >&6; }
  12388. cat >>confdefs.h <<_ACEOF
  12389. #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
  12390. _ACEOF
  12391. fi
  12392. else
  12393. HAL_CFLAGS=""
  12394. fi
  12395. CPPFLAGS=$ac_save_CPPFLAGS
  12396. if test "x$ac_cv_lib_soname_hal" = "x" -a \
  12397. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
  12398. case "x$with_hal" in
  12399. x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
  12400. xno) ;;
  12401. *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
  12402. This is an error since --with-hal was requested." "$LINENO" 5 ;;
  12403. esac
  12404. fi
  12405. fi
  12406. if test "x$with_gnutls" != "xno"
  12407. then
  12408. if ${GNUTLS_CFLAGS:+false} :; then :
  12409. if ${PKG_CONFIG+:} false; then :
  12410. GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
  12411. fi
  12412. fi
  12413. if ${GNUTLS_LIBS:+false} :; then :
  12414. if ${PKG_CONFIG+:} false; then :
  12415. GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
  12416. fi
  12417. fi
  12418. GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
  12419. $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
  12420. $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
  12421. ac_save_CPPFLAGS=$CPPFLAGS
  12422. CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
  12423. ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
  12424. if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
  12425. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12426. /* end confdefs.h. */
  12427. #include <gnutls/gnutls.h>
  12428. #include <gnutls/crypto.h>
  12429. int
  12430. main ()
  12431. {
  12432. static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
  12433. ;
  12434. return 0;
  12435. }
  12436. _ACEOF
  12437. if ac_fn_c_try_compile "$LINENO"; then :
  12438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
  12439. $as_echo_n "checking for -lgnutls... " >&6; }
  12440. if ${ac_cv_lib_soname_gnutls+:} false; then :
  12441. $as_echo_n "(cached) " >&6
  12442. else
  12443. ac_check_soname_save_LIBS=$LIBS
  12444. LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
  12445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12446. /* end confdefs.h. */
  12447. /* Override any GCC internal prototype to avoid an error.
  12448. Use char because int might match the return type of a GCC
  12449. builtin and then its argument prototype would still apply. */
  12450. #ifdef __cplusplus
  12451. extern "C"
  12452. #endif
  12453. char gnutls_global_init ();
  12454. int
  12455. main ()
  12456. {
  12457. return gnutls_global_init ();
  12458. ;
  12459. return 0;
  12460. }
  12461. _ACEOF
  12462. if ac_fn_c_try_link "$LINENO"; then :
  12463. case "$LIBEXT" in
  12464. dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12465. 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'` ;;
  12466. *) 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'`
  12467. if ${ac_cv_lib_soname_gnutls:+false} :; then :
  12468. 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'`
  12469. fi ;;
  12470. esac
  12471. else
  12472. ac_cv_lib_soname_gnutls=
  12473. fi
  12474. rm -f core conftest.err conftest.$ac_objext \
  12475. conftest$ac_exeext conftest.$ac_ext
  12476. LIBS=$ac_check_soname_save_LIBS
  12477. fi
  12478. if ${ac_cv_lib_soname_gnutls:+false} :; then :
  12479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12480. $as_echo "not found" >&6; }
  12481. GNUTLS_CFLAGS=""
  12482. else
  12483. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
  12484. $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
  12485. cat >>confdefs.h <<_ACEOF
  12486. #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
  12487. _ACEOF
  12488. fi
  12489. ac_wine_check_funcs_save_LIBS="$LIBS"
  12490. LIBS="$LIBS $GNUTLS_LIBS"
  12491. for ac_func in gnutls_cipher_init
  12492. do :
  12493. ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
  12494. if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
  12495. cat >>confdefs.h <<_ACEOF
  12496. #define HAVE_GNUTLS_CIPHER_INIT 1
  12497. _ACEOF
  12498. else
  12499. as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
  12500. fi
  12501. done
  12502. LIBS="$ac_wine_check_funcs_save_LIBS"
  12503. fi
  12504. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12505. else
  12506. GNUTLS_CFLAGS=""
  12507. fi
  12508. CPPFLAGS=$ac_save_CPPFLAGS
  12509. fi
  12510. if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
  12511. case "x$with_gnutls" in
  12512. x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
  12513. xno) ;;
  12514. *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
  12515. This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
  12516. esac
  12517. fi
  12518. if test "x$with_sane" != "xno"
  12519. then
  12520. if ${SANE_CFLAGS:+false} :; then :
  12521. if ${PKG_CONFIG+:} false; then :
  12522. SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
  12523. fi
  12524. fi
  12525. test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
  12526. if ${SANE_LIBS:+false} :; then :
  12527. if ${PKG_CONFIG+:} false; then :
  12528. SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
  12529. fi
  12530. fi
  12531. test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
  12532. $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
  12533. $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
  12534. ac_save_CPPFLAGS=$CPPFLAGS
  12535. CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
  12536. ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
  12537. if test "x$ac_cv_header_sane_sane_h" = xyes; then :
  12538. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
  12539. $as_echo_n "checking for -lsane... " >&6; }
  12540. if ${ac_cv_lib_soname_sane+:} false; then :
  12541. $as_echo_n "(cached) " >&6
  12542. else
  12543. ac_check_soname_save_LIBS=$LIBS
  12544. LIBS="-lsane $SANE_LIBS $LIBS"
  12545. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12546. /* end confdefs.h. */
  12547. /* Override any GCC internal prototype to avoid an error.
  12548. Use char because int might match the return type of a GCC
  12549. builtin and then its argument prototype would still apply. */
  12550. #ifdef __cplusplus
  12551. extern "C"
  12552. #endif
  12553. char sane_init ();
  12554. int
  12555. main ()
  12556. {
  12557. return sane_init ();
  12558. ;
  12559. return 0;
  12560. }
  12561. _ACEOF
  12562. if ac_fn_c_try_link "$LINENO"; then :
  12563. case "$LIBEXT" in
  12564. dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12565. 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'` ;;
  12566. *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12567. if ${ac_cv_lib_soname_sane:+false} :; then :
  12568. ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12569. fi ;;
  12570. esac
  12571. else
  12572. ac_cv_lib_soname_sane=
  12573. fi
  12574. rm -f core conftest.err conftest.$ac_objext \
  12575. conftest$ac_exeext conftest.$ac_ext
  12576. LIBS=$ac_check_soname_save_LIBS
  12577. fi
  12578. if ${ac_cv_lib_soname_sane:+false} :; then :
  12579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12580. $as_echo "not found" >&6; }
  12581. SANE_CFLAGS=""
  12582. else
  12583. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
  12584. $as_echo "$ac_cv_lib_soname_sane" >&6; }
  12585. cat >>confdefs.h <<_ACEOF
  12586. #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
  12587. _ACEOF
  12588. fi
  12589. else
  12590. SANE_CFLAGS=""
  12591. fi
  12592. CPPFLAGS=$ac_save_CPPFLAGS
  12593. fi
  12594. if test "x$ac_cv_lib_soname_sane" = "x"; then :
  12595. case "x$with_sane" in
  12596. x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
  12597. xno) ;;
  12598. *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
  12599. This is an error since --with-sane was requested." "$LINENO" 5 ;;
  12600. esac
  12601. fi
  12602. if test "x$with_usb" != "xno"
  12603. then
  12604. if ${USB_CFLAGS:+false} :; then :
  12605. if ${PKG_CONFIG+:} false; then :
  12606. USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
  12607. fi
  12608. fi
  12609. if ${USB_LIBS:+false} :; then :
  12610. if ${PKG_CONFIG+:} false; then :
  12611. USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
  12612. fi
  12613. fi
  12614. USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
  12615. $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
  12616. $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
  12617. ac_save_CPPFLAGS=$CPPFLAGS
  12618. CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
  12619. ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
  12620. if test "x$ac_cv_header_libusb_h" = xyes; then :
  12621. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
  12622. $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
  12623. if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
  12624. $as_echo_n "(cached) " >&6
  12625. else
  12626. ac_check_lib_save_LIBS=$LIBS
  12627. LIBS="-lusb-1.0 $USB_LIBS $LIBS"
  12628. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12629. /* end confdefs.h. */
  12630. /* Override any GCC internal prototype to avoid an error.
  12631. Use char because int might match the return type of a GCC
  12632. builtin and then its argument prototype would still apply. */
  12633. #ifdef __cplusplus
  12634. extern "C"
  12635. #endif
  12636. char libusb_interrupt_event_handler ();
  12637. int
  12638. main ()
  12639. {
  12640. return libusb_interrupt_event_handler ();
  12641. ;
  12642. return 0;
  12643. }
  12644. _ACEOF
  12645. if ac_fn_c_try_link "$LINENO"; then :
  12646. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
  12647. else
  12648. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
  12649. fi
  12650. rm -f core conftest.err conftest.$ac_objext \
  12651. conftest$ac_exeext conftest.$ac_ext
  12652. LIBS=$ac_check_lib_save_LIBS
  12653. fi
  12654. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
  12655. $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
  12656. if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
  12657. :
  12658. else
  12659. USB_LIBS=""
  12660. fi
  12661. else
  12662. USB_LIBS=""
  12663. fi
  12664. CPPFLAGS=$ac_save_CPPFLAGS
  12665. fi
  12666. if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
  12667. case "x$with_usb" in
  12668. x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
  12669. xno) ;;
  12670. *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
  12671. This is an error since --with-usb was requested." "$LINENO" 5 ;;
  12672. esac
  12673. enable_wineusb_sys=${enable_wineusb_sys:-no}
  12674. fi
  12675. if test "x$with_v4l2" != "xno"
  12676. then
  12677. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
  12678. $as_echo_n "checking for -lv4l2... " >&6; }
  12679. if ${ac_cv_lib_soname_v4l2+:} false; then :
  12680. $as_echo_n "(cached) " >&6
  12681. else
  12682. ac_check_soname_save_LIBS=$LIBS
  12683. LIBS="-lv4l2 $LIBS"
  12684. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12685. /* end confdefs.h. */
  12686. /* Override any GCC internal prototype to avoid an error.
  12687. Use char because int might match the return type of a GCC
  12688. builtin and then its argument prototype would still apply. */
  12689. #ifdef __cplusplus
  12690. extern "C"
  12691. #endif
  12692. char v4l2_open ();
  12693. int
  12694. main ()
  12695. {
  12696. return v4l2_open ();
  12697. ;
  12698. return 0;
  12699. }
  12700. _ACEOF
  12701. if ac_fn_c_try_link "$LINENO"; then :
  12702. case "$LIBEXT" in
  12703. dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12704. 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'` ;;
  12705. *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12706. if ${ac_cv_lib_soname_v4l2:+false} :; then :
  12707. ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12708. fi ;;
  12709. esac
  12710. else
  12711. ac_cv_lib_soname_v4l2=
  12712. fi
  12713. rm -f core conftest.err conftest.$ac_objext \
  12714. conftest$ac_exeext conftest.$ac_ext
  12715. LIBS=$ac_check_soname_save_LIBS
  12716. fi
  12717. if ${ac_cv_lib_soname_v4l2:+false} :; then :
  12718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12719. $as_echo "not found" >&6; }
  12720. else
  12721. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
  12722. $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
  12723. cat >>confdefs.h <<_ACEOF
  12724. #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
  12725. _ACEOF
  12726. fi
  12727. fi
  12728. if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
  12729. case "x$with_v4l2" in
  12730. x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
  12731. xno) ;;
  12732. *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
  12733. This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
  12734. esac
  12735. fi
  12736. if test "x$with_gphoto" != "xno"
  12737. then
  12738. if ${GPHOTO2_CFLAGS:+false} :; then :
  12739. if ${PKG_CONFIG+:} false; then :
  12740. GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
  12741. fi
  12742. fi
  12743. test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
  12744. if ${GPHOTO2_LIBS:+false} :; then :
  12745. if ${PKG_CONFIG+:} false; then :
  12746. GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
  12747. fi
  12748. fi
  12749. test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
  12750. GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
  12751. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
  12752. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
  12753. ac_save_CPPFLAGS=$CPPFLAGS
  12754. CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
  12755. ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
  12756. if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
  12757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
  12758. $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
  12759. if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
  12760. $as_echo_n "(cached) " >&6
  12761. else
  12762. ac_check_lib_save_LIBS=$LIBS
  12763. LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
  12764. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12765. /* end confdefs.h. */
  12766. /* Override any GCC internal prototype to avoid an error.
  12767. Use char because int might match the return type of a GCC
  12768. builtin and then its argument prototype would still apply. */
  12769. #ifdef __cplusplus
  12770. extern "C"
  12771. #endif
  12772. char gp_camera_new ();
  12773. int
  12774. main ()
  12775. {
  12776. return gp_camera_new ();
  12777. ;
  12778. return 0;
  12779. }
  12780. _ACEOF
  12781. if ac_fn_c_try_link "$LINENO"; then :
  12782. ac_cv_lib_gphoto2_gp_camera_new=yes
  12783. else
  12784. ac_cv_lib_gphoto2_gp_camera_new=no
  12785. fi
  12786. rm -f core conftest.err conftest.$ac_objext \
  12787. conftest$ac_exeext conftest.$ac_ext
  12788. LIBS=$ac_check_lib_save_LIBS
  12789. fi
  12790. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
  12791. $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
  12792. if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
  12793. $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
  12794. else
  12795. GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
  12796. fi
  12797. else
  12798. GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
  12799. fi
  12800. CPPFLAGS=$ac_save_CPPFLAGS
  12801. if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
  12802. if ${PKG_CONFIG+:} false; then :
  12803. GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
  12804. fi
  12805. fi
  12806. test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
  12807. if ${GPHOTO2_PORT_LIBS:+false} :; then :
  12808. if ${PKG_CONFIG+:} false; then :
  12809. GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
  12810. fi
  12811. fi
  12812. test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
  12813. GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
  12814. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
  12815. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
  12816. ac_save_CPPFLAGS=$CPPFLAGS
  12817. CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
  12818. ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
  12819. if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
  12820. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
  12821. $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
  12822. if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
  12823. $as_echo_n "(cached) " >&6
  12824. else
  12825. ac_check_lib_save_LIBS=$LIBS
  12826. LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
  12827. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12828. /* end confdefs.h. */
  12829. /* Override any GCC internal prototype to avoid an error.
  12830. Use char because int might match the return type of a GCC
  12831. builtin and then its argument prototype would still apply. */
  12832. #ifdef __cplusplus
  12833. extern "C"
  12834. #endif
  12835. char gp_port_info_list_new ();
  12836. int
  12837. main ()
  12838. {
  12839. return gp_port_info_list_new ();
  12840. ;
  12841. return 0;
  12842. }
  12843. _ACEOF
  12844. if ac_fn_c_try_link "$LINENO"; then :
  12845. ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
  12846. else
  12847. ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
  12848. fi
  12849. rm -f core conftest.err conftest.$ac_objext \
  12850. conftest$ac_exeext conftest.$ac_ext
  12851. LIBS=$ac_check_lib_save_LIBS
  12852. fi
  12853. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
  12854. $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
  12855. if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
  12856. $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
  12857. else
  12858. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  12859. fi
  12860. else
  12861. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  12862. fi
  12863. CPPFLAGS=$ac_save_CPPFLAGS
  12864. fi
  12865. if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
  12866. case "x$with_gphoto" in
  12867. x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
  12868. xno) ;;
  12869. *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
  12870. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  12871. esac
  12872. fi
  12873. if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
  12874. case "x$with_gphoto" in
  12875. x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
  12876. xno) ;;
  12877. *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
  12878. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  12879. esac
  12880. fi
  12881. if test "$ac_cv_header_resolv_h" = "yes"
  12882. then
  12883. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
  12884. $as_echo_n "checking for resolver library... " >&6; }
  12885. if ${ac_cv_have_resolv+:} false; then :
  12886. $as_echo_n "(cached) " >&6
  12887. else
  12888. ac_save_LIBS="$LIBS"
  12889. for lib in '' -lresolv
  12890. do
  12891. LIBS="$lib $ac_save_LIBS"
  12892. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12893. /* end confdefs.h. */
  12894. #ifdef HAVE_NETINET_IN_H
  12895. #include <netinet/in.h>
  12896. #endif
  12897. #include <resolv.h>
  12898. int
  12899. main ()
  12900. {
  12901. if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
  12902. ;
  12903. return 0;
  12904. }
  12905. _ACEOF
  12906. if ac_fn_c_try_link "$LINENO"; then :
  12907. ac_cv_have_resolv=${lib:-"none required"}
  12908. else
  12909. ac_cv_have_resolv="not found"
  12910. fi
  12911. rm -f core conftest.err conftest.$ac_objext \
  12912. conftest$ac_exeext conftest.$ac_ext
  12913. test "x$ac_cv_have_resolv" = "xnot found" || break
  12914. done
  12915. LIBS="$ac_save_LIBS"
  12916. fi
  12917. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
  12918. $as_echo "$ac_cv_have_resolv" >&6; }
  12919. case "$ac_cv_have_resolv" in
  12920. "not found") ;;
  12921. "none required")
  12922. $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
  12923. ;;
  12924. *)
  12925. $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
  12926. RESOLV_LIBS=$ac_cv_have_resolv
  12927. ;;
  12928. esac
  12929. if test "x$ac_cv_have_resolv" != "xnot found"
  12930. then
  12931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
  12932. $as_echo_n "checking for res_getservers... " >&6; }
  12933. if ${ac_cv_have_res_getservers+:} false; then :
  12934. $as_echo_n "(cached) " >&6
  12935. else
  12936. ac_save_LIBS="$LIBS"
  12937. LIBS="$RESOLV_LIBS $LIBS"
  12938. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12939. /* end confdefs.h. */
  12940. #include <resolv.h>
  12941. int
  12942. main ()
  12943. {
  12944. res_getservers(NULL, NULL, 0);
  12945. ;
  12946. return 0;
  12947. }
  12948. _ACEOF
  12949. if ac_fn_c_try_link "$LINENO"; then :
  12950. ac_cv_have_res_getservers=yes
  12951. else
  12952. ac_cv_have_res_getservers=no
  12953. fi
  12954. rm -f core conftest.err conftest.$ac_objext \
  12955. conftest$ac_exeext conftest.$ac_ext
  12956. LIBS="$ac_save_LIBS"
  12957. fi
  12958. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
  12959. $as_echo "$ac_cv_have_res_getservers" >&6; }
  12960. if test "$ac_cv_have_res_getservers" = "yes"
  12961. then
  12962. $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
  12963. fi
  12964. fi
  12965. fi
  12966. if test "x$with_cms" != "xno"
  12967. then
  12968. if ${LCMS2_CFLAGS:+false} :; then :
  12969. if ${PKG_CONFIG+:} false; then :
  12970. LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
  12971. fi
  12972. fi
  12973. if ${LCMS2_LIBS:+false} :; then :
  12974. if ${PKG_CONFIG+:} false; then :
  12975. LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
  12976. fi
  12977. fi
  12978. LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
  12979. $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
  12980. $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
  12981. ac_save_CPPFLAGS=$CPPFLAGS
  12982. CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
  12983. for ac_header in lcms2.h
  12984. do :
  12985. ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
  12986. if test "x$ac_cv_header_lcms2_h" = xyes; then :
  12987. cat >>confdefs.h <<_ACEOF
  12988. #define HAVE_LCMS2_H 1
  12989. _ACEOF
  12990. fi
  12991. done
  12992. if test "$ac_cv_header_lcms2_h" = "yes"
  12993. then
  12994. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
  12995. $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
  12996. if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
  12997. $as_echo_n "(cached) " >&6
  12998. else
  12999. ac_check_lib_save_LIBS=$LIBS
  13000. LIBS="-llcms2 $LCMS2_LIBS $LIBS"
  13001. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13002. /* end confdefs.h. */
  13003. /* Override any GCC internal prototype to avoid an error.
  13004. Use char because int might match the return type of a GCC
  13005. builtin and then its argument prototype would still apply. */
  13006. #ifdef __cplusplus
  13007. extern "C"
  13008. #endif
  13009. char cmsOpenProfileFromFile ();
  13010. int
  13011. main ()
  13012. {
  13013. return cmsOpenProfileFromFile ();
  13014. ;
  13015. return 0;
  13016. }
  13017. _ACEOF
  13018. if ac_fn_c_try_link "$LINENO"; then :
  13019. ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
  13020. else
  13021. ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
  13022. fi
  13023. rm -f core conftest.err conftest.$ac_objext \
  13024. conftest$ac_exeext conftest.$ac_ext
  13025. LIBS=$ac_check_lib_save_LIBS
  13026. fi
  13027. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
  13028. $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
  13029. if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
  13030. $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
  13031. else
  13032. LCMS2_LIBS=""
  13033. fi
  13034. else
  13035. LCMS2_CFLAGS=""
  13036. LCMS2_LIBS=""
  13037. fi
  13038. CPPFLAGS=$ac_save_CPPFLAGS
  13039. fi
  13040. if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
  13041. case "x$with_cms" in
  13042. x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
  13043. xno) ;;
  13044. *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
  13045. This is an error since --with-cms was requested." "$LINENO" 5 ;;
  13046. esac
  13047. fi
  13048. if test "x$with_freetype" != "xno"
  13049. then
  13050. if ${FREETYPE_CFLAGS:+false} :; then :
  13051. if ${PKG_CONFIG+:} false; then :
  13052. FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
  13053. fi
  13054. fi
  13055. test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
  13056. if ${FREETYPE_LIBS:+false} :; then :
  13057. if ${PKG_CONFIG+:} false; then :
  13058. FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
  13059. fi
  13060. fi
  13061. test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
  13062. FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
  13063. $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
  13064. $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
  13065. ac_save_CPPFLAGS=$CPPFLAGS
  13066. CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
  13067. for ac_header in ft2build.h
  13068. do :
  13069. ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
  13070. if test "x$ac_cv_header_ft2build_h" = xyes; then :
  13071. cat >>confdefs.h <<_ACEOF
  13072. #define HAVE_FT2BUILD_H 1
  13073. _ACEOF
  13074. fi
  13075. done
  13076. if test "$ac_cv_header_ft2build_h" = "yes"
  13077. then
  13078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
  13079. $as_echo_n "checking for -lfreetype... " >&6; }
  13080. if ${ac_cv_lib_soname_freetype+:} false; then :
  13081. $as_echo_n "(cached) " >&6
  13082. else
  13083. ac_check_soname_save_LIBS=$LIBS
  13084. LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
  13085. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13086. /* end confdefs.h. */
  13087. /* Override any GCC internal prototype to avoid an error.
  13088. Use char because int might match the return type of a GCC
  13089. builtin and then its argument prototype would still apply. */
  13090. #ifdef __cplusplus
  13091. extern "C"
  13092. #endif
  13093. char FT_Init_FreeType ();
  13094. int
  13095. main ()
  13096. {
  13097. return FT_Init_FreeType ();
  13098. ;
  13099. return 0;
  13100. }
  13101. _ACEOF
  13102. if ac_fn_c_try_link "$LINENO"; then :
  13103. case "$LIBEXT" in
  13104. dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13105. 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'` ;;
  13106. *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13107. if ${ac_cv_lib_soname_freetype:+false} :; then :
  13108. ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13109. fi ;;
  13110. esac
  13111. else
  13112. ac_cv_lib_soname_freetype=
  13113. fi
  13114. rm -f core conftest.err conftest.$ac_objext \
  13115. conftest$ac_exeext conftest.$ac_ext
  13116. LIBS=$ac_check_soname_save_LIBS
  13117. fi
  13118. if ${ac_cv_lib_soname_freetype:+false} :; then :
  13119. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13120. $as_echo "not found" >&6; }
  13121. FREETYPE_LIBS=""
  13122. else
  13123. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
  13124. $as_echo "$ac_cv_lib_soname_freetype" >&6; }
  13125. cat >>confdefs.h <<_ACEOF
  13126. #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
  13127. _ACEOF
  13128. $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
  13129. ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
  13130. #include FT_MODULE_H
  13131. "
  13132. if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
  13133. cat >>confdefs.h <<_ACEOF
  13134. #define HAVE_FT_TRUETYPEENGINETYPE 1
  13135. _ACEOF
  13136. fi
  13137. fi
  13138. else
  13139. FREETYPE_CFLAGS=""
  13140. FREETYPE_LIBS=""
  13141. fi
  13142. CPPFLAGS=$ac_save_CPPFLAGS
  13143. fi
  13144. if test "x$ac_cv_lib_soname_freetype" = x; then :
  13145. case "x$with_freetype" in
  13146. xno) ;;
  13147. *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
  13148. Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
  13149. esac
  13150. enable_fonts=${enable_fonts:-no}
  13151. fi
  13152. ac_wine_check_funcs_save_LIBS="$LIBS"
  13153. LIBS="$LIBS $PTHREAD_LIBS"
  13154. for ac_func in \
  13155. pthread_getthreadid_np
  13156. do :
  13157. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13158. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13159. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13160. cat >>confdefs.h <<_ACEOF
  13161. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13162. _ACEOF
  13163. fi
  13164. done
  13165. LIBS="$ac_wine_check_funcs_save_LIBS"
  13166. if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
  13167. then
  13168. if test "$ac_cv_header_gettext_po_h" = "yes"
  13169. then
  13170. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
  13171. $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
  13172. if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
  13173. $as_echo_n "(cached) " >&6
  13174. else
  13175. ac_check_lib_save_LIBS=$LIBS
  13176. LIBS="-lgettextpo $LIBS"
  13177. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13178. /* end confdefs.h. */
  13179. /* Override any GCC internal prototype to avoid an error.
  13180. Use char because int might match the return type of a GCC
  13181. builtin and then its argument prototype would still apply. */
  13182. #ifdef __cplusplus
  13183. extern "C"
  13184. #endif
  13185. char po_message_msgctxt ();
  13186. int
  13187. main ()
  13188. {
  13189. return po_message_msgctxt ();
  13190. ;
  13191. return 0;
  13192. }
  13193. _ACEOF
  13194. if ac_fn_c_try_link "$LINENO"; then :
  13195. ac_cv_lib_gettextpo_po_message_msgctxt=yes
  13196. else
  13197. ac_cv_lib_gettextpo_po_message_msgctxt=no
  13198. fi
  13199. rm -f core conftest.err conftest.$ac_objext \
  13200. conftest$ac_exeext conftest.$ac_ext
  13201. LIBS=$ac_check_lib_save_LIBS
  13202. fi
  13203. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
  13204. $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
  13205. if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
  13206. $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
  13207. GETTEXTPO_LIBS="-lgettextpo"
  13208. fi
  13209. fi
  13210. if test "x$GETTEXTPO_LIBS" = "x"; then :
  13211. case "x$with_gettextpo" in
  13212. x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
  13213. xno) ;;
  13214. *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
  13215. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  13216. esac
  13217. fi
  13218. if test "$srcdir" != .; then :
  13219. case "x$with_gettextpo" in
  13220. x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
  13221. xno) ;;
  13222. *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
  13223. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  13224. esac
  13225. fi
  13226. fi
  13227. if test "x$with_pulse" != "xno";
  13228. then
  13229. if ${PULSE_CFLAGS:+false} :; then :
  13230. if ${PKG_CONFIG+:} false; then :
  13231. PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
  13232. fi
  13233. fi
  13234. if ${PULSE_LIBS:+false} :; then :
  13235. if ${PKG_CONFIG+:} false; then :
  13236. PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
  13237. fi
  13238. fi
  13239. $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
  13240. $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
  13241. ac_save_CPPFLAGS=$CPPFLAGS
  13242. CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
  13243. for ac_header in pulse/pulseaudio.h
  13244. do :
  13245. ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
  13246. if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
  13247. cat >>confdefs.h <<_ACEOF
  13248. #define HAVE_PULSE_PULSEAUDIO_H 1
  13249. _ACEOF
  13250. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
  13251. $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
  13252. if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
  13253. $as_echo_n "(cached) " >&6
  13254. else
  13255. ac_check_lib_save_LIBS=$LIBS
  13256. LIBS="-lpulse $PULSE_LIBS $LIBS"
  13257. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13258. /* end confdefs.h. */
  13259. /* Override any GCC internal prototype to avoid an error.
  13260. Use char because int might match the return type of a GCC
  13261. builtin and then its argument prototype would still apply. */
  13262. #ifdef __cplusplus
  13263. extern "C"
  13264. #endif
  13265. char pa_stream_is_corked ();
  13266. int
  13267. main ()
  13268. {
  13269. return pa_stream_is_corked ();
  13270. ;
  13271. return 0;
  13272. }
  13273. _ACEOF
  13274. if ac_fn_c_try_link "$LINENO"; then :
  13275. ac_cv_lib_pulse_pa_stream_is_corked=yes
  13276. else
  13277. ac_cv_lib_pulse_pa_stream_is_corked=no
  13278. fi
  13279. rm -f core conftest.err conftest.$ac_objext \
  13280. conftest$ac_exeext conftest.$ac_ext
  13281. LIBS=$ac_check_lib_save_LIBS
  13282. fi
  13283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
  13284. $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
  13285. if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
  13286. :
  13287. else
  13288. PULSE_LIBS=""
  13289. fi
  13290. else
  13291. PULSE_LIBS=""
  13292. fi
  13293. done
  13294. CPPFLAGS=$ac_save_CPPFLAGS
  13295. fi
  13296. if test -z "$PULSE_LIBS"; then :
  13297. case "x$with_pulse" in
  13298. x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
  13299. xno) ;;
  13300. *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
  13301. This is an error since --with-pulse was requested." "$LINENO" 5 ;;
  13302. esac
  13303. enable_winepulse_drv=${enable_winepulse_drv:-no}
  13304. fi
  13305. if test "x$with_gstreamer" != "xno"
  13306. then
  13307. if ${GSTREAMER_CFLAGS:+false} :; then :
  13308. if ${PKG_CONFIG+:} false; then :
  13309. GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  13310. fi
  13311. fi
  13312. if ${GSTREAMER_LIBS:+false} :; then :
  13313. if ${PKG_CONFIG+:} false; then :
  13314. GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  13315. fi
  13316. fi
  13317. $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
  13318. $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
  13319. ac_save_CPPFLAGS=$CPPFLAGS
  13320. CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
  13321. ac_gst_incl=""
  13322. for i in $GSTREAMER_CFLAGS
  13323. do
  13324. case "$i" in
  13325. -I*) ac_gst_incl="$ac_gst_incl $i";;
  13326. esac
  13327. done
  13328. GSTREAMER_CFLAGS=$ac_gst_incl
  13329. CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
  13330. ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
  13331. if test "x$ac_cv_header_gst_gst_h" = xyes; then :
  13332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
  13333. $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
  13334. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13335. /* end confdefs.h. */
  13336. #include <gst/gst.h>
  13337. int
  13338. main ()
  13339. {
  13340. static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
  13341. ;
  13342. return 0;
  13343. }
  13344. _ACEOF
  13345. if ac_fn_c_try_compile "$LINENO"; then :
  13346. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13347. $as_echo "yes" >&6; }
  13348. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
  13349. $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
  13350. if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
  13351. $as_echo_n "(cached) " >&6
  13352. else
  13353. ac_check_lib_save_LIBS=$LIBS
  13354. LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
  13355. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13356. /* end confdefs.h. */
  13357. /* Override any GCC internal prototype to avoid an error.
  13358. Use char because int might match the return type of a GCC
  13359. builtin and then its argument prototype would still apply. */
  13360. #ifdef __cplusplus
  13361. extern "C"
  13362. #endif
  13363. char gst_pad_new ();
  13364. int
  13365. main ()
  13366. {
  13367. return gst_pad_new ();
  13368. ;
  13369. return 0;
  13370. }
  13371. _ACEOF
  13372. if ac_fn_c_try_link "$LINENO"; then :
  13373. ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
  13374. else
  13375. ac_cv_lib_gstreamer_1_0_gst_pad_new=no
  13376. fi
  13377. rm -f core conftest.err conftest.$ac_objext \
  13378. conftest$ac_exeext conftest.$ac_ext
  13379. LIBS=$ac_check_lib_save_LIBS
  13380. fi
  13381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
  13382. $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
  13383. if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
  13384. :
  13385. fi
  13386. else
  13387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13388. $as_echo "no" >&6; }
  13389. ac_glib2_broken=yes
  13390. as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
  13391. fi
  13392. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13393. fi
  13394. CPPFLAGS=$ac_save_CPPFLAGS
  13395. fi
  13396. 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 :
  13397. case "x$with_gstreamer" in
  13398. x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
  13399. xno) ;;
  13400. *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
  13401. This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
  13402. esac
  13403. fi
  13404. test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
  13405. ALSA_LIBS=""
  13406. if test "x$with_alsa" != "xno"
  13407. then
  13408. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
  13409. $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
  13410. if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
  13411. $as_echo_n "(cached) " >&6
  13412. else
  13413. ac_check_lib_save_LIBS=$LIBS
  13414. LIBS="-lasound $LIBS"
  13415. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13416. /* end confdefs.h. */
  13417. /* Override any GCC internal prototype to avoid an error.
  13418. Use char because int might match the return type of a GCC
  13419. builtin and then its argument prototype would still apply. */
  13420. #ifdef __cplusplus
  13421. extern "C"
  13422. #endif
  13423. char snd_pcm_hw_params_get_access_mask ();
  13424. int
  13425. main ()
  13426. {
  13427. return snd_pcm_hw_params_get_access_mask ();
  13428. ;
  13429. return 0;
  13430. }
  13431. _ACEOF
  13432. if ac_fn_c_try_link "$LINENO"; then :
  13433. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
  13434. else
  13435. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
  13436. fi
  13437. rm -f core conftest.err conftest.$ac_objext \
  13438. conftest$ac_exeext conftest.$ac_ext
  13439. LIBS=$ac_check_lib_save_LIBS
  13440. fi
  13441. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
  13442. $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
  13443. if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
  13444. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13445. /* end confdefs.h. */
  13446. #include <alsa/asoundlib.h>
  13447. int
  13448. main ()
  13449. {
  13450. snd_pcm_hw_params_get_access_mask(NULL, NULL)
  13451. ;
  13452. return 0;
  13453. }
  13454. _ACEOF
  13455. if ac_fn_c_try_compile "$LINENO"; then :
  13456. ALSA_LIBS="-lasound"
  13457. fi
  13458. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13459. fi
  13460. fi
  13461. test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
  13462. if test "x$with_oss" != xno
  13463. then
  13464. ac_save_CPPFLAGS="$CPPFLAGS"
  13465. if test -f /etc/oss.conf
  13466. then
  13467. . /etc/oss.conf
  13468. fi
  13469. ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
  13470. CPPFLAGS="$CPPFLAGS $ac_oss_incl"
  13471. ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
  13472. if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
  13473. ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
  13474. "
  13475. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
  13476. cat >>confdefs.h <<_ACEOF
  13477. #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
  13478. _ACEOF
  13479. OSS4_CFLAGS="$ac_oss_incl"
  13480. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
  13481. $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
  13482. if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
  13483. $as_echo_n "(cached) " >&6
  13484. else
  13485. ac_check_lib_save_LIBS=$LIBS
  13486. LIBS="-lossaudio $LIBS"
  13487. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13488. /* end confdefs.h. */
  13489. /* Override any GCC internal prototype to avoid an error.
  13490. Use char because int might match the return type of a GCC
  13491. builtin and then its argument prototype would still apply. */
  13492. #ifdef __cplusplus
  13493. extern "C"
  13494. #endif
  13495. char _oss_ioctl ();
  13496. int
  13497. main ()
  13498. {
  13499. return _oss_ioctl ();
  13500. ;
  13501. return 0;
  13502. }
  13503. _ACEOF
  13504. if ac_fn_c_try_link "$LINENO"; then :
  13505. ac_cv_lib_ossaudio__oss_ioctl=yes
  13506. else
  13507. ac_cv_lib_ossaudio__oss_ioctl=no
  13508. fi
  13509. rm -f core conftest.err conftest.$ac_objext \
  13510. conftest$ac_exeext conftest.$ac_ext
  13511. LIBS=$ac_check_lib_save_LIBS
  13512. fi
  13513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  13514. $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
  13515. if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
  13516. OSS4_LIBS="-lossaudio"
  13517. fi
  13518. fi
  13519. fi
  13520. CPPFLAGS="$ac_save_CPPFLAGS"
  13521. fi
  13522. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
  13523. case "x$with_oss" in
  13524. x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
  13525. xno) ;;
  13526. *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
  13527. This is an error since --with-oss was requested." "$LINENO" 5 ;;
  13528. esac
  13529. enable_wineoss_drv=${enable_wineoss_drv:-no}
  13530. fi
  13531. if test "x$with_udev" != "xno"
  13532. then
  13533. if ${UDEV_CFLAGS:+false} :; then :
  13534. if ${PKG_CONFIG+:} false; then :
  13535. UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
  13536. fi
  13537. fi
  13538. if ${UDEV_LIBS:+false} :; then :
  13539. if ${PKG_CONFIG+:} false; then :
  13540. UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
  13541. fi
  13542. fi
  13543. UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
  13544. $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
  13545. $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
  13546. ac_save_CPPFLAGS=$CPPFLAGS
  13547. CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
  13548. for ac_header in libudev.h
  13549. do :
  13550. ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
  13551. if test "x$ac_cv_header_libudev_h" = xyes; then :
  13552. cat >>confdefs.h <<_ACEOF
  13553. #define HAVE_LIBUDEV_H 1
  13554. _ACEOF
  13555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
  13556. $as_echo_n "checking for udev_new in -ludev... " >&6; }
  13557. if ${ac_cv_lib_udev_udev_new+:} false; then :
  13558. $as_echo_n "(cached) " >&6
  13559. else
  13560. ac_check_lib_save_LIBS=$LIBS
  13561. LIBS="-ludev $UDEV_LIBS $LIBS"
  13562. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13563. /* end confdefs.h. */
  13564. /* Override any GCC internal prototype to avoid an error.
  13565. Use char because int might match the return type of a GCC
  13566. builtin and then its argument prototype would still apply. */
  13567. #ifdef __cplusplus
  13568. extern "C"
  13569. #endif
  13570. char udev_new ();
  13571. int
  13572. main ()
  13573. {
  13574. return udev_new ();
  13575. ;
  13576. return 0;
  13577. }
  13578. _ACEOF
  13579. if ac_fn_c_try_link "$LINENO"; then :
  13580. ac_cv_lib_udev_udev_new=yes
  13581. else
  13582. ac_cv_lib_udev_udev_new=no
  13583. fi
  13584. rm -f core conftest.err conftest.$ac_objext \
  13585. conftest$ac_exeext conftest.$ac_ext
  13586. LIBS=$ac_check_lib_save_LIBS
  13587. fi
  13588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
  13589. $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
  13590. if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
  13591. $as_echo "#define HAVE_UDEV 1" >>confdefs.h
  13592. else
  13593. UDEV_LIBS=""
  13594. fi
  13595. else
  13596. UDEV_LIBS=""
  13597. fi
  13598. done
  13599. CPPFLAGS=$ac_save_CPPFLAGS
  13600. fi
  13601. if test "x$UDEV_LIBS" = "x"; then :
  13602. case "x$with_udev" in
  13603. x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
  13604. xno) ;;
  13605. *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
  13606. This is an error since --with-udev was requested." "$LINENO" 5 ;;
  13607. esac
  13608. fi
  13609. if test "x$with_unwind" != xno
  13610. then
  13611. if ${UNWIND_CFLAGS:+false} :; then :
  13612. if ${PKG_CONFIG+:} false; then :
  13613. UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
  13614. fi
  13615. fi
  13616. if ${UNWIND_LIBS:+false} :; then :
  13617. if ${PKG_CONFIG+:} false; then :
  13618. UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
  13619. fi
  13620. fi
  13621. UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
  13622. $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
  13623. $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
  13624. ac_save_CPPFLAGS=$CPPFLAGS
  13625. CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
  13626. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
  13627. $as_echo_n "checking for unw_step... " >&6; }
  13628. if ${wine_cv_have_unw_step+:} false; then :
  13629. $as_echo_n "(cached) " >&6
  13630. else
  13631. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13632. /* end confdefs.h. */
  13633. #define UNW_LOCAL_ONLY
  13634. #include <libunwind.h>
  13635. int
  13636. main ()
  13637. {
  13638. unw_cursor_t cursor; unw_step( &cursor );
  13639. ;
  13640. return 0;
  13641. }
  13642. _ACEOF
  13643. if ac_fn_c_try_link "$LINENO"; then :
  13644. wine_cv_have_unw_step="yes"
  13645. else
  13646. wine_cv_have_unw_step="no"
  13647. fi
  13648. rm -f core conftest.err conftest.$ac_objext \
  13649. conftest$ac_exeext conftest.$ac_ext
  13650. fi
  13651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
  13652. $as_echo "$wine_cv_have_unw_step" >&6; }
  13653. if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
  13654. then
  13655. save_libs=$LIBS
  13656. LIBS="$UNWIND_LIBS $LIBS"
  13657. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
  13658. $as_echo_n "checking for unw_step in libunwind... " >&6; }
  13659. if ${wine_cv_have_libunwind_unw_step+:} false; then :
  13660. $as_echo_n "(cached) " >&6
  13661. else
  13662. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13663. /* end confdefs.h. */
  13664. #define UNW_LOCAL_ONLY
  13665. #include <libunwind.h>
  13666. int
  13667. main ()
  13668. {
  13669. unw_cursor_t cursor; unw_step( &cursor );
  13670. ;
  13671. return 0;
  13672. }
  13673. _ACEOF
  13674. if ac_fn_c_try_link "$LINENO"; then :
  13675. wine_cv_have_libunwind_unw_step="yes"
  13676. else
  13677. wine_cv_have_libunwind_unw_step="no"
  13678. fi
  13679. rm -f core conftest.err conftest.$ac_objext \
  13680. conftest$ac_exeext conftest.$ac_ext
  13681. fi
  13682. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
  13683. $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
  13684. LIBS=$save_libs
  13685. fi
  13686. test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
  13687. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
  13688. then
  13689. $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
  13690. fi
  13691. CPPFLAGS=$ac_save_CPPFLAGS
  13692. fi
  13693. case $host in
  13694. aarch64*|*-darwin*)
  13695. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
  13696. case "x$with_unwind" in
  13697. x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
  13698. xno) ;;
  13699. *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
  13700. This is an error since --with-unwind was requested." "$LINENO" 5 ;;
  13701. esac
  13702. fi ;;
  13703. esac
  13704. if test "x$with_sdl" != "xno"
  13705. then
  13706. if ${SDL2_CFLAGS:+false} :; then :
  13707. if ${PKG_CONFIG+:} false; then :
  13708. SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
  13709. fi
  13710. fi
  13711. if ${SDL2_LIBS:+false} :; then :
  13712. if ${PKG_CONFIG+:} false; then :
  13713. SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
  13714. fi
  13715. fi
  13716. SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
  13717. $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
  13718. $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
  13719. ac_save_CPPFLAGS=$CPPFLAGS
  13720. CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
  13721. for ac_header in SDL2/SDL.h
  13722. do :
  13723. ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
  13724. if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
  13725. cat >>confdefs.h <<_ACEOF
  13726. #define HAVE_SDL2_SDL_H 1
  13727. _ACEOF
  13728. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
  13729. $as_echo_n "checking for -lSDL2... " >&6; }
  13730. if ${ac_cv_lib_soname_SDL2+:} false; then :
  13731. $as_echo_n "(cached) " >&6
  13732. else
  13733. ac_check_soname_save_LIBS=$LIBS
  13734. LIBS="-lSDL2 $SDL2_LIBS $LIBS"
  13735. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13736. /* end confdefs.h. */
  13737. /* Override any GCC internal prototype to avoid an error.
  13738. Use char because int might match the return type of a GCC
  13739. builtin and then its argument prototype would still apply. */
  13740. #ifdef __cplusplus
  13741. extern "C"
  13742. #endif
  13743. char SDL_Init ();
  13744. int
  13745. main ()
  13746. {
  13747. return SDL_Init ();
  13748. ;
  13749. return 0;
  13750. }
  13751. _ACEOF
  13752. if ac_fn_c_try_link "$LINENO"; then :
  13753. case "$LIBEXT" in
  13754. dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13755. 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'` ;;
  13756. *) 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'`
  13757. if ${ac_cv_lib_soname_SDL2:+false} :; then :
  13758. ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13759. fi ;;
  13760. esac
  13761. else
  13762. ac_cv_lib_soname_SDL2=
  13763. fi
  13764. rm -f core conftest.err conftest.$ac_objext \
  13765. conftest$ac_exeext conftest.$ac_ext
  13766. LIBS=$ac_check_soname_save_LIBS
  13767. fi
  13768. if ${ac_cv_lib_soname_SDL2:+false} :; then :
  13769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13770. $as_echo "not found" >&6; }
  13771. else
  13772. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
  13773. $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
  13774. cat >>confdefs.h <<_ACEOF
  13775. #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
  13776. _ACEOF
  13777. fi
  13778. fi
  13779. done
  13780. CPPFLAGS=$ac_save_CPPFLAGS
  13781. fi
  13782. if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
  13783. case "x$with_sdl" in
  13784. x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
  13785. xno) ;;
  13786. *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
  13787. This is an error since --with-sdl was requested." "$LINENO" 5 ;;
  13788. esac
  13789. fi
  13790. if test "x$with_faudio" != "xno"
  13791. then
  13792. if ${FAUDIO_CFLAGS:+false} :; then :
  13793. if ${PKG_CONFIG+:} false; then :
  13794. FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
  13795. fi
  13796. fi
  13797. if ${FAUDIO_LIBS:+false} :; then :
  13798. if ${PKG_CONFIG+:} false; then :
  13799. FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
  13800. fi
  13801. fi
  13802. FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
  13803. $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
  13804. $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
  13805. ac_save_CPPFLAGS=$CPPFLAGS
  13806. CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
  13807. for ac_header in FAudio.h
  13808. do :
  13809. ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
  13810. if test "x$ac_cv_header_FAudio_h" = xyes; then :
  13811. cat >>confdefs.h <<_ACEOF
  13812. #define HAVE_FAUDIO_H 1
  13813. _ACEOF
  13814. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
  13815. $as_echo_n "checking for -lFAudio... " >&6; }
  13816. if ${ac_cv_lib_soname_FAudio+:} false; then :
  13817. $as_echo_n "(cached) " >&6
  13818. else
  13819. ac_check_soname_save_LIBS=$LIBS
  13820. LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
  13821. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13822. /* end confdefs.h. */
  13823. /* Override any GCC internal prototype to avoid an error.
  13824. Use char because int might match the return type of a GCC
  13825. builtin and then its argument prototype would still apply. */
  13826. #ifdef __cplusplus
  13827. extern "C"
  13828. #endif
  13829. char FAudioCreate ();
  13830. int
  13831. main ()
  13832. {
  13833. return FAudioCreate ();
  13834. ;
  13835. return 0;
  13836. }
  13837. _ACEOF
  13838. if ac_fn_c_try_link "$LINENO"; then :
  13839. case "$LIBEXT" in
  13840. dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13841. 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'` ;;
  13842. *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13843. if ${ac_cv_lib_soname_FAudio:+false} :; then :
  13844. ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13845. fi ;;
  13846. esac
  13847. else
  13848. ac_cv_lib_soname_FAudio=
  13849. fi
  13850. rm -f core conftest.err conftest.$ac_objext \
  13851. conftest$ac_exeext conftest.$ac_ext
  13852. LIBS=$ac_check_soname_save_LIBS
  13853. fi
  13854. if ${ac_cv_lib_soname_FAudio:+false} :; then :
  13855. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13856. $as_echo "not found" >&6; }
  13857. else
  13858. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
  13859. $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
  13860. cat >>confdefs.h <<_ACEOF
  13861. #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
  13862. _ACEOF
  13863. fi
  13864. fi
  13865. done
  13866. ac_wine_check_funcs_save_LIBS="$LIBS"
  13867. LIBS="$LIBS $FAUDIO_LIBS"
  13868. for ac_func in FAudio_CommitOperationSet \
  13869. F3DAudioInitialize8 \
  13870. FAudioLinkedVersion \
  13871. FAudioCreateReverb9WithCustomAllocatorEXT
  13872. do :
  13873. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13874. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13875. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13876. cat >>confdefs.h <<_ACEOF
  13877. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13878. _ACEOF
  13879. fi
  13880. done
  13881. LIBS="$ac_wine_check_funcs_save_LIBS"
  13882. CPPFLAGS=$ac_save_CPPFLAGS
  13883. fi
  13884. if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
  13885. case "x$with_faudio" in
  13886. x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
  13887. xno) ;;
  13888. *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
  13889. This is an error since --with-faudio was requested." "$LINENO" 5 ;;
  13890. esac
  13891. fi
  13892. if test "x$with_capi" != "xno"
  13893. then
  13894. if ${CAPI20_CFLAGS:+false} :; then :
  13895. if ${PKG_CONFIG+:} false; then :
  13896. CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
  13897. fi
  13898. fi
  13899. if ${CAPI20_LIBS:+false} :; then :
  13900. if ${PKG_CONFIG+:} false; then :
  13901. CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
  13902. fi
  13903. fi
  13904. $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
  13905. $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
  13906. ac_save_CPPFLAGS=$CPPFLAGS
  13907. CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
  13908. for ac_header in capi20.h linux/capi.h
  13909. do :
  13910. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13911. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
  13912. "
  13913. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  13914. cat >>confdefs.h <<_ACEOF
  13915. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13916. _ACEOF
  13917. fi
  13918. done
  13919. if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
  13920. then
  13921. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
  13922. $as_echo_n "checking for -lcapi20... " >&6; }
  13923. if ${ac_cv_lib_soname_capi20+:} false; then :
  13924. $as_echo_n "(cached) " >&6
  13925. else
  13926. ac_check_soname_save_LIBS=$LIBS
  13927. LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
  13928. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13929. /* end confdefs.h. */
  13930. /* Override any GCC internal prototype to avoid an error.
  13931. Use char because int might match the return type of a GCC
  13932. builtin and then its argument prototype would still apply. */
  13933. #ifdef __cplusplus
  13934. extern "C"
  13935. #endif
  13936. char capi20_register ();
  13937. int
  13938. main ()
  13939. {
  13940. return capi20_register ();
  13941. ;
  13942. return 0;
  13943. }
  13944. _ACEOF
  13945. if ac_fn_c_try_link "$LINENO"; then :
  13946. case "$LIBEXT" in
  13947. dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13948. 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'` ;;
  13949. *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13950. if ${ac_cv_lib_soname_capi20:+false} :; then :
  13951. ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13952. fi ;;
  13953. esac
  13954. else
  13955. ac_cv_lib_soname_capi20=
  13956. fi
  13957. rm -f core conftest.err conftest.$ac_objext \
  13958. conftest$ac_exeext conftest.$ac_ext
  13959. LIBS=$ac_check_soname_save_LIBS
  13960. fi
  13961. if ${ac_cv_lib_soname_capi20:+false} :; then :
  13962. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13963. $as_echo "not found" >&6; }
  13964. else
  13965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
  13966. $as_echo "$ac_cv_lib_soname_capi20" >&6; }
  13967. cat >>confdefs.h <<_ACEOF
  13968. #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
  13969. _ACEOF
  13970. fi
  13971. fi
  13972. CPPFLAGS=$ac_save_CPPFLAGS
  13973. fi
  13974. if test "x$ac_cv_lib_soname_capi20" = "x"; then :
  13975. case "x$with_capi" in
  13976. x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
  13977. xno) ;;
  13978. *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
  13979. This is an error since --with-capi was requested." "$LINENO" 5 ;;
  13980. esac
  13981. fi
  13982. if test "x$with_cups" != "xno"
  13983. then
  13984. if ${CUPS_CFLAGS:+false} :; then :
  13985. if ${PKG_CONFIG+:} false; then :
  13986. CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
  13987. fi
  13988. fi
  13989. test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
  13990. if ${CUPS_LIBS:+false} :; then :
  13991. if ${PKG_CONFIG+:} false; then :
  13992. CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
  13993. fi
  13994. fi
  13995. test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
  13996. CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
  13997. $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
  13998. $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
  13999. ac_save_CPPFLAGS=$CPPFLAGS
  14000. CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
  14001. for ac_header in cups/cups.h cups/ppd.h
  14002. do :
  14003. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14004. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  14005. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14006. cat >>confdefs.h <<_ACEOF
  14007. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14008. _ACEOF
  14009. fi
  14010. done
  14011. if test "$ac_cv_header_cups_cups_h" = "yes"
  14012. then
  14013. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
  14014. $as_echo_n "checking for -lcups... " >&6; }
  14015. if ${ac_cv_lib_soname_cups+:} false; then :
  14016. $as_echo_n "(cached) " >&6
  14017. else
  14018. ac_check_soname_save_LIBS=$LIBS
  14019. LIBS="-lcups $CUPS_LIBS $LIBS"
  14020. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14021. /* end confdefs.h. */
  14022. /* Override any GCC internal prototype to avoid an error.
  14023. Use char because int might match the return type of a GCC
  14024. builtin and then its argument prototype would still apply. */
  14025. #ifdef __cplusplus
  14026. extern "C"
  14027. #endif
  14028. char cupsGetDefault ();
  14029. int
  14030. main ()
  14031. {
  14032. return cupsGetDefault ();
  14033. ;
  14034. return 0;
  14035. }
  14036. _ACEOF
  14037. if ac_fn_c_try_link "$LINENO"; then :
  14038. case "$LIBEXT" in
  14039. dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14040. 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'` ;;
  14041. *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14042. if ${ac_cv_lib_soname_cups:+false} :; then :
  14043. ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14044. fi ;;
  14045. esac
  14046. else
  14047. ac_cv_lib_soname_cups=
  14048. fi
  14049. rm -f core conftest.err conftest.$ac_objext \
  14050. conftest$ac_exeext conftest.$ac_ext
  14051. LIBS=$ac_check_soname_save_LIBS
  14052. fi
  14053. if ${ac_cv_lib_soname_cups:+false} :; then :
  14054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14055. $as_echo "not found" >&6; }
  14056. CUPS_LIBS=""
  14057. else
  14058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
  14059. $as_echo "$ac_cv_lib_soname_cups" >&6; }
  14060. cat >>confdefs.h <<_ACEOF
  14061. #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
  14062. _ACEOF
  14063. fi
  14064. else
  14065. CUPS_CFLAGS=""
  14066. CUPS_LIBS=""
  14067. fi
  14068. CPPFLAGS=$ac_save_CPPFLAGS
  14069. fi
  14070. if test "x$ac_cv_lib_soname_cups" = "x"; then :
  14071. case "x$with_cups" in
  14072. x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
  14073. xno) ;;
  14074. *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
  14075. This is an error since --with-cups was requested." "$LINENO" 5 ;;
  14076. esac
  14077. fi
  14078. if test "x$with_fontconfig" != "xno"
  14079. then
  14080. if ${FONTCONFIG_CFLAGS:+false} :; then :
  14081. if ${PKG_CONFIG+:} false; then :
  14082. FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
  14083. fi
  14084. fi
  14085. test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
  14086. if ${FONTCONFIG_LIBS:+false} :; then :
  14087. if ${PKG_CONFIG+:} false; then :
  14088. FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
  14089. fi
  14090. fi
  14091. test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
  14092. $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
  14093. $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
  14094. ac_save_CPPFLAGS=$CPPFLAGS
  14095. CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
  14096. for ac_header in fontconfig/fontconfig.h
  14097. do :
  14098. ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
  14099. if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
  14100. cat >>confdefs.h <<_ACEOF
  14101. #define HAVE_FONTCONFIG_FONTCONFIG_H 1
  14102. _ACEOF
  14103. fi
  14104. done
  14105. if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
  14106. then
  14107. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
  14108. $as_echo_n "checking for -lfontconfig... " >&6; }
  14109. if ${ac_cv_lib_soname_fontconfig+:} false; then :
  14110. $as_echo_n "(cached) " >&6
  14111. else
  14112. ac_check_soname_save_LIBS=$LIBS
  14113. LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
  14114. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14115. /* end confdefs.h. */
  14116. /* Override any GCC internal prototype to avoid an error.
  14117. Use char because int might match the return type of a GCC
  14118. builtin and then its argument prototype would still apply. */
  14119. #ifdef __cplusplus
  14120. extern "C"
  14121. #endif
  14122. char FcInit ();
  14123. int
  14124. main ()
  14125. {
  14126. return FcInit ();
  14127. ;
  14128. return 0;
  14129. }
  14130. _ACEOF
  14131. if ac_fn_c_try_link "$LINENO"; then :
  14132. case "$LIBEXT" in
  14133. dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14134. 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'` ;;
  14135. *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14136. if ${ac_cv_lib_soname_fontconfig:+false} :; then :
  14137. ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14138. fi ;;
  14139. esac
  14140. else
  14141. ac_cv_lib_soname_fontconfig=
  14142. fi
  14143. rm -f core conftest.err conftest.$ac_objext \
  14144. conftest$ac_exeext conftest.$ac_ext
  14145. LIBS=$ac_check_soname_save_LIBS
  14146. fi
  14147. if ${ac_cv_lib_soname_fontconfig:+false} :; then :
  14148. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14149. $as_echo "not found" >&6; }
  14150. FONTCONFIG_CFLAGS=""
  14151. else
  14152. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
  14153. $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
  14154. cat >>confdefs.h <<_ACEOF
  14155. #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
  14156. _ACEOF
  14157. fi
  14158. else
  14159. FONTCONFIG_CFLAGS=""
  14160. fi
  14161. CPPFLAGS=$ac_save_CPPFLAGS
  14162. fi
  14163. if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
  14164. case "x$with_fontconfig" in
  14165. x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
  14166. xno) ;;
  14167. *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
  14168. This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
  14169. esac
  14170. fi
  14171. if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
  14172. then
  14173. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
  14174. $as_echo_n "checking for -lgsm... " >&6; }
  14175. if ${ac_cv_lib_soname_gsm+:} false; then :
  14176. $as_echo_n "(cached) " >&6
  14177. else
  14178. ac_check_soname_save_LIBS=$LIBS
  14179. LIBS="-lgsm $LIBS"
  14180. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14181. /* end confdefs.h. */
  14182. /* Override any GCC internal prototype to avoid an error.
  14183. Use char because int might match the return type of a GCC
  14184. builtin and then its argument prototype would still apply. */
  14185. #ifdef __cplusplus
  14186. extern "C"
  14187. #endif
  14188. char gsm_create ();
  14189. int
  14190. main ()
  14191. {
  14192. return gsm_create ();
  14193. ;
  14194. return 0;
  14195. }
  14196. _ACEOF
  14197. if ac_fn_c_try_link "$LINENO"; then :
  14198. case "$LIBEXT" in
  14199. dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14200. 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'` ;;
  14201. *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14202. if ${ac_cv_lib_soname_gsm:+false} :; then :
  14203. ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14204. fi ;;
  14205. esac
  14206. else
  14207. ac_cv_lib_soname_gsm=
  14208. fi
  14209. rm -f core conftest.err conftest.$ac_objext \
  14210. conftest$ac_exeext conftest.$ac_ext
  14211. LIBS=$ac_check_soname_save_LIBS
  14212. fi
  14213. if ${ac_cv_lib_soname_gsm:+false} :; then :
  14214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14215. $as_echo "not found" >&6; }
  14216. else
  14217. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
  14218. $as_echo "$ac_cv_lib_soname_gsm" >&6; }
  14219. cat >>confdefs.h <<_ACEOF
  14220. #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
  14221. _ACEOF
  14222. fi
  14223. fi
  14224. if test "x$ac_cv_lib_soname_gsm" = "x"; then :
  14225. case "x$with_gsm" in
  14226. x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
  14227. xno) ;;
  14228. *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
  14229. This is an error since --with-gsm was requested." "$LINENO" 5 ;;
  14230. esac
  14231. fi
  14232. if test "x$with_krb5" != "xno"
  14233. then
  14234. if ${KRB5_CFLAGS:+false} :; then :
  14235. if ${PKG_CONFIG+:} false; then :
  14236. KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
  14237. fi
  14238. fi
  14239. test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
  14240. if ${KRB5_LIBS:+false} :; then :
  14241. if ${PKG_CONFIG+:} false; then :
  14242. KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
  14243. fi
  14244. fi
  14245. test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
  14246. $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
  14247. $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
  14248. ac_save_CPPFLAGS=$CPPFLAGS
  14249. CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
  14250. for ac_header in krb5/krb5.h
  14251. do :
  14252. ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
  14253. if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
  14254. cat >>confdefs.h <<_ACEOF
  14255. #define HAVE_KRB5_KRB5_H 1
  14256. _ACEOF
  14257. fi
  14258. done
  14259. if test "$ac_cv_header_krb5_krb5_h" = "yes"
  14260. then
  14261. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
  14262. $as_echo_n "checking for -lkrb5... " >&6; }
  14263. if ${ac_cv_lib_soname_krb5+:} false; then :
  14264. $as_echo_n "(cached) " >&6
  14265. else
  14266. ac_check_soname_save_LIBS=$LIBS
  14267. LIBS="-lkrb5 $KRB5_LIBS $LIBS"
  14268. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14269. /* end confdefs.h. */
  14270. /* Override any GCC internal prototype to avoid an error.
  14271. Use char because int might match the return type of a GCC
  14272. builtin and then its argument prototype would still apply. */
  14273. #ifdef __cplusplus
  14274. extern "C"
  14275. #endif
  14276. char krb5_is_config_principal ();
  14277. int
  14278. main ()
  14279. {
  14280. return krb5_is_config_principal ();
  14281. ;
  14282. return 0;
  14283. }
  14284. _ACEOF
  14285. if ac_fn_c_try_link "$LINENO"; then :
  14286. case "$LIBEXT" in
  14287. dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14288. 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'` ;;
  14289. *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14290. if ${ac_cv_lib_soname_krb5:+false} :; then :
  14291. ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14292. fi ;;
  14293. esac
  14294. else
  14295. ac_cv_lib_soname_krb5=
  14296. fi
  14297. rm -f core conftest.err conftest.$ac_objext \
  14298. conftest$ac_exeext conftest.$ac_ext
  14299. LIBS=$ac_check_soname_save_LIBS
  14300. fi
  14301. if ${ac_cv_lib_soname_krb5:+false} :; then :
  14302. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14303. $as_echo "not found" >&6; }
  14304. KRB5_CFLAGS=""
  14305. else
  14306. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
  14307. $as_echo "$ac_cv_lib_soname_krb5" >&6; }
  14308. cat >>confdefs.h <<_ACEOF
  14309. #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
  14310. _ACEOF
  14311. fi
  14312. else
  14313. KRB5_CFLAGS=""
  14314. fi
  14315. CPPFLAGS=$ac_save_CPPFLAGS
  14316. fi
  14317. if test "x$ac_cv_lib_soname_krb5" = "x"; then :
  14318. case "x$with_krb5" in
  14319. x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
  14320. xno) ;;
  14321. *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
  14322. This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
  14323. esac
  14324. fi
  14325. test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
  14326. if test "x$with_gssapi" != "xno"
  14327. then
  14328. if ${GSSAPI_CFLAGS:+false} :; then :
  14329. if ${PKG_CONFIG+:} false; then :
  14330. GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
  14331. fi
  14332. fi
  14333. test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
  14334. if ${GSSAPI_LIBS:+false} :; then :
  14335. if ${PKG_CONFIG+:} false; then :
  14336. GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
  14337. fi
  14338. fi
  14339. test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
  14340. $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
  14341. $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
  14342. ac_save_CPPFLAGS=$CPPFLAGS
  14343. CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
  14344. for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
  14345. do :
  14346. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14347. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  14348. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14349. cat >>confdefs.h <<_ACEOF
  14350. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14351. _ACEOF
  14352. fi
  14353. done
  14354. if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
  14355. then
  14356. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
  14357. $as_echo_n "checking for -lgssapi_krb5... " >&6; }
  14358. if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
  14359. $as_echo_n "(cached) " >&6
  14360. else
  14361. ac_check_soname_save_LIBS=$LIBS
  14362. LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
  14363. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14364. /* end confdefs.h. */
  14365. /* Override any GCC internal prototype to avoid an error.
  14366. Use char because int might match the return type of a GCC
  14367. builtin and then its argument prototype would still apply. */
  14368. #ifdef __cplusplus
  14369. extern "C"
  14370. #endif
  14371. char gss_init_sec_context ();
  14372. int
  14373. main ()
  14374. {
  14375. return gss_init_sec_context ();
  14376. ;
  14377. return 0;
  14378. }
  14379. _ACEOF
  14380. if ac_fn_c_try_link "$LINENO"; then :
  14381. case "$LIBEXT" in
  14382. dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14383. 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'` ;;
  14384. *) 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'`
  14385. if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
  14386. ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14387. fi ;;
  14388. esac
  14389. else
  14390. ac_cv_lib_soname_gssapi_krb5=
  14391. fi
  14392. rm -f core conftest.err conftest.$ac_objext \
  14393. conftest$ac_exeext conftest.$ac_ext
  14394. LIBS=$ac_check_soname_save_LIBS
  14395. fi
  14396. if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
  14397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14398. $as_echo "not found" >&6; }
  14399. GSSAPI_CFLAGS=""
  14400. else
  14401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
  14402. $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
  14403. cat >>confdefs.h <<_ACEOF
  14404. #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
  14405. _ACEOF
  14406. fi
  14407. else
  14408. GSSAPI_CFLAGS=""
  14409. fi
  14410. CPPFLAGS=$ac_save_CPPFLAGS
  14411. fi
  14412. if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
  14413. case "x$with_gssapi" in
  14414. x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
  14415. xno) ;;
  14416. *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
  14417. This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
  14418. esac
  14419. fi
  14420. if test "x$with_jpeg" != "xno"
  14421. then
  14422. if ${JPEG_CFLAGS:+false} :; then :
  14423. if ${PKG_CONFIG+:} false; then :
  14424. JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
  14425. fi
  14426. fi
  14427. if ${JPEG_LIBS:+false} :; then :
  14428. if ${PKG_CONFIG+:} false; then :
  14429. JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
  14430. fi
  14431. fi
  14432. $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
  14433. $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
  14434. ac_save_CPPFLAGS=$CPPFLAGS
  14435. CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
  14436. for ac_header in jpeglib.h
  14437. do :
  14438. ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
  14439. if test "x$ac_cv_header_jpeglib_h" = xyes; then :
  14440. cat >>confdefs.h <<_ACEOF
  14441. #define HAVE_JPEGLIB_H 1
  14442. _ACEOF
  14443. fi
  14444. done
  14445. if test "$ac_cv_header_jpeglib_h" = "yes"
  14446. then
  14447. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
  14448. $as_echo_n "checking for -ljpeg... " >&6; }
  14449. if ${ac_cv_lib_soname_jpeg+:} false; then :
  14450. $as_echo_n "(cached) " >&6
  14451. else
  14452. ac_check_soname_save_LIBS=$LIBS
  14453. LIBS="-ljpeg $JPEG_LIBS $LIBS"
  14454. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14455. /* end confdefs.h. */
  14456. /* Override any GCC internal prototype to avoid an error.
  14457. Use char because int might match the return type of a GCC
  14458. builtin and then its argument prototype would still apply. */
  14459. #ifdef __cplusplus
  14460. extern "C"
  14461. #endif
  14462. char jpeg_start_decompress ();
  14463. int
  14464. main ()
  14465. {
  14466. return jpeg_start_decompress ();
  14467. ;
  14468. return 0;
  14469. }
  14470. _ACEOF
  14471. if ac_fn_c_try_link "$LINENO"; then :
  14472. case "$LIBEXT" in
  14473. dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14474. 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'` ;;
  14475. *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14476. if ${ac_cv_lib_soname_jpeg:+false} :; then :
  14477. ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14478. fi ;;
  14479. esac
  14480. else
  14481. ac_cv_lib_soname_jpeg=
  14482. fi
  14483. rm -f core conftest.err conftest.$ac_objext \
  14484. conftest$ac_exeext conftest.$ac_ext
  14485. LIBS=$ac_check_soname_save_LIBS
  14486. fi
  14487. if ${ac_cv_lib_soname_jpeg:+false} :; then :
  14488. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14489. $as_echo "not found" >&6; }
  14490. JPEG_CFLAGS=""
  14491. else
  14492. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
  14493. $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
  14494. cat >>confdefs.h <<_ACEOF
  14495. #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
  14496. _ACEOF
  14497. fi
  14498. else
  14499. JPEG_CFLAGS=""
  14500. fi
  14501. CPPFLAGS=$ac_save_CPPFLAGS
  14502. fi
  14503. if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
  14504. case "x$with_jpeg" in
  14505. x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
  14506. xno) ;;
  14507. *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
  14508. This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
  14509. esac
  14510. fi
  14511. if test "x$with_png" != "xno"
  14512. then
  14513. if ${PNG_CFLAGS:+false} :; then :
  14514. if ${PKG_CONFIG+:} false; then :
  14515. PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
  14516. fi
  14517. fi
  14518. test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
  14519. if ${PNG_LIBS:+false} :; then :
  14520. if ${PKG_CONFIG+:} false; then :
  14521. PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
  14522. fi
  14523. fi
  14524. test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
  14525. $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
  14526. $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
  14527. ac_save_CPPFLAGS=$CPPFLAGS
  14528. CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
  14529. for ac_header in png.h
  14530. do :
  14531. ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
  14532. if test "x$ac_cv_header_png_h" = xyes; then :
  14533. cat >>confdefs.h <<_ACEOF
  14534. #define HAVE_PNG_H 1
  14535. _ACEOF
  14536. fi
  14537. done
  14538. if test "$ac_cv_header_png_h" = "yes"
  14539. then
  14540. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
  14541. $as_echo_n "checking for -lpng... " >&6; }
  14542. if ${ac_cv_lib_soname_png+:} false; then :
  14543. $as_echo_n "(cached) " >&6
  14544. else
  14545. ac_check_soname_save_LIBS=$LIBS
  14546. LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
  14547. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14548. /* end confdefs.h. */
  14549. /* Override any GCC internal prototype to avoid an error.
  14550. Use char because int might match the return type of a GCC
  14551. builtin and then its argument prototype would still apply. */
  14552. #ifdef __cplusplus
  14553. extern "C"
  14554. #endif
  14555. char png_create_read_struct ();
  14556. int
  14557. main ()
  14558. {
  14559. return png_create_read_struct ();
  14560. ;
  14561. return 0;
  14562. }
  14563. _ACEOF
  14564. if ac_fn_c_try_link "$LINENO"; then :
  14565. case "$LIBEXT" in
  14566. dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14567. 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'` ;;
  14568. *) 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'`
  14569. if ${ac_cv_lib_soname_png:+false} :; then :
  14570. ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14571. fi ;;
  14572. esac
  14573. else
  14574. ac_cv_lib_soname_png=
  14575. fi
  14576. rm -f core conftest.err conftest.$ac_objext \
  14577. conftest$ac_exeext conftest.$ac_ext
  14578. LIBS=$ac_check_soname_save_LIBS
  14579. fi
  14580. if ${ac_cv_lib_soname_png:+false} :; then :
  14581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14582. $as_echo "not found" >&6; }
  14583. PNG_CFLAGS=""
  14584. else
  14585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
  14586. $as_echo "$ac_cv_lib_soname_png" >&6; }
  14587. cat >>confdefs.h <<_ACEOF
  14588. #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
  14589. _ACEOF
  14590. fi
  14591. else
  14592. PNG_CFLAGS=""
  14593. fi
  14594. CPPFLAGS=$ac_save_CPPFLAGS
  14595. fi
  14596. if test "x$ac_cv_lib_soname_png" = "x"; then :
  14597. case "x$with_png" in
  14598. x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
  14599. xno) ;;
  14600. *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
  14601. This is an error since --with-png was requested." "$LINENO" 5 ;;
  14602. esac
  14603. fi
  14604. if test "x$with_tiff" != "xno"
  14605. then
  14606. if ${TIFF_CFLAGS:+false} :; then :
  14607. if ${PKG_CONFIG+:} false; then :
  14608. TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
  14609. fi
  14610. fi
  14611. if ${TIFF_LIBS:+false} :; then :
  14612. if ${PKG_CONFIG+:} false; then :
  14613. TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
  14614. fi
  14615. fi
  14616. $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
  14617. $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
  14618. ac_save_CPPFLAGS=$CPPFLAGS
  14619. CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
  14620. for ac_header in tiffio.h
  14621. do :
  14622. ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
  14623. if test "x$ac_cv_header_tiffio_h" = xyes; then :
  14624. cat >>confdefs.h <<_ACEOF
  14625. #define HAVE_TIFFIO_H 1
  14626. _ACEOF
  14627. fi
  14628. done
  14629. if test "$ac_cv_header_tiffio_h" = "yes"
  14630. then
  14631. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
  14632. $as_echo_n "checking for -ltiff... " >&6; }
  14633. if ${ac_cv_lib_soname_tiff+:} false; then :
  14634. $as_echo_n "(cached) " >&6
  14635. else
  14636. ac_check_soname_save_LIBS=$LIBS
  14637. LIBS="-ltiff $TIFF_LIBS $LIBS"
  14638. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14639. /* end confdefs.h. */
  14640. /* Override any GCC internal prototype to avoid an error.
  14641. Use char because int might match the return type of a GCC
  14642. builtin and then its argument prototype would still apply. */
  14643. #ifdef __cplusplus
  14644. extern "C"
  14645. #endif
  14646. char TIFFClientOpen ();
  14647. int
  14648. main ()
  14649. {
  14650. return TIFFClientOpen ();
  14651. ;
  14652. return 0;
  14653. }
  14654. _ACEOF
  14655. if ac_fn_c_try_link "$LINENO"; then :
  14656. case "$LIBEXT" in
  14657. dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14658. 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'` ;;
  14659. *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14660. if ${ac_cv_lib_soname_tiff:+false} :; then :
  14661. ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14662. fi ;;
  14663. esac
  14664. else
  14665. ac_cv_lib_soname_tiff=
  14666. fi
  14667. rm -f core conftest.err conftest.$ac_objext \
  14668. conftest$ac_exeext conftest.$ac_ext
  14669. LIBS=$ac_check_soname_save_LIBS
  14670. fi
  14671. if ${ac_cv_lib_soname_tiff:+false} :; then :
  14672. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14673. $as_echo "not found" >&6; }
  14674. else
  14675. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
  14676. $as_echo "$ac_cv_lib_soname_tiff" >&6; }
  14677. cat >>confdefs.h <<_ACEOF
  14678. #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
  14679. _ACEOF
  14680. fi
  14681. fi
  14682. CPPFLAGS=$ac_save_CPPFLAGS
  14683. fi
  14684. if test "x$ac_cv_lib_soname_tiff" = "x"; then :
  14685. case "x$with_tiff" in
  14686. x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
  14687. xno) ;;
  14688. *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
  14689. This is an error since --with-tiff was requested." "$LINENO" 5 ;;
  14690. esac
  14691. fi
  14692. if test "x$with_mpg123" != "xno"
  14693. then
  14694. if ${MPG123_CFLAGS:+false} :; then :
  14695. if ${PKG_CONFIG+:} false; then :
  14696. MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
  14697. fi
  14698. fi
  14699. if ${MPG123_LIBS:+false} :; then :
  14700. if ${PKG_CONFIG+:} false; then :
  14701. MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
  14702. fi
  14703. fi
  14704. MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
  14705. $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
  14706. $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
  14707. ac_save_CPPFLAGS=$CPPFLAGS
  14708. CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
  14709. for ac_header in mpg123.h
  14710. do :
  14711. ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
  14712. if test "x$ac_cv_header_mpg123_h" = xyes; then :
  14713. cat >>confdefs.h <<_ACEOF
  14714. #define HAVE_MPG123_H 1
  14715. _ACEOF
  14716. fi
  14717. done
  14718. if test "$ac_cv_header_mpg123_h" = "yes"
  14719. then
  14720. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
  14721. $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
  14722. if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
  14723. $as_echo_n "(cached) " >&6
  14724. else
  14725. ac_check_lib_save_LIBS=$LIBS
  14726. LIBS="-lmpg123 $MPG123_LIBS $LIBS"
  14727. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14728. /* end confdefs.h. */
  14729. /* Override any GCC internal prototype to avoid an error.
  14730. Use char because int might match the return type of a GCC
  14731. builtin and then its argument prototype would still apply. */
  14732. #ifdef __cplusplus
  14733. extern "C"
  14734. #endif
  14735. char mpg123_feed ();
  14736. int
  14737. main ()
  14738. {
  14739. return mpg123_feed ();
  14740. ;
  14741. return 0;
  14742. }
  14743. _ACEOF
  14744. if ac_fn_c_try_link "$LINENO"; then :
  14745. ac_cv_lib_mpg123_mpg123_feed=yes
  14746. else
  14747. ac_cv_lib_mpg123_mpg123_feed=no
  14748. fi
  14749. rm -f core conftest.err conftest.$ac_objext \
  14750. conftest$ac_exeext conftest.$ac_ext
  14751. LIBS=$ac_check_lib_save_LIBS
  14752. fi
  14753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
  14754. $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
  14755. if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
  14756. :
  14757. else
  14758. MPG123_LIBS=""
  14759. fi
  14760. else
  14761. MPG123_CFLAGS=""
  14762. MPG123_LIBS=""
  14763. fi
  14764. CPPFLAGS=$ac_save_CPPFLAGS
  14765. fi
  14766. if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
  14767. case "x$with_mpg123" in
  14768. x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
  14769. xno) ;;
  14770. *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
  14771. This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
  14772. esac
  14773. enable_l3codeca_acm=${enable_l3codeca_acm:-no}
  14774. fi
  14775. test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
  14776. if test "$ac_cv_header_AL_al_h" = "yes"
  14777. then
  14778. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
  14779. $as_echo_n "checking for -lopenal... " >&6; }
  14780. if ${ac_cv_lib_soname_openal+:} false; then :
  14781. $as_echo_n "(cached) " >&6
  14782. else
  14783. ac_check_soname_save_LIBS=$LIBS
  14784. LIBS="-lopenal $LIBS"
  14785. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14786. /* end confdefs.h. */
  14787. /* Override any GCC internal prototype to avoid an error.
  14788. Use char because int might match the return type of a GCC
  14789. builtin and then its argument prototype would still apply. */
  14790. #ifdef __cplusplus
  14791. extern "C"
  14792. #endif
  14793. char alGetSource3i ();
  14794. int
  14795. main ()
  14796. {
  14797. return alGetSource3i ();
  14798. ;
  14799. return 0;
  14800. }
  14801. _ACEOF
  14802. if ac_fn_c_try_link "$LINENO"; then :
  14803. case "$LIBEXT" in
  14804. dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14805. 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'` ;;
  14806. *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14807. if ${ac_cv_lib_soname_openal:+false} :; then :
  14808. ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14809. fi ;;
  14810. esac
  14811. else
  14812. ac_cv_lib_soname_openal=
  14813. fi
  14814. rm -f core conftest.err conftest.$ac_objext \
  14815. conftest$ac_exeext conftest.$ac_ext
  14816. LIBS=$ac_check_soname_save_LIBS
  14817. fi
  14818. if ${ac_cv_lib_soname_openal:+false} :; then :
  14819. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14820. $as_echo "not found" >&6; }
  14821. else
  14822. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
  14823. $as_echo "$ac_cv_lib_soname_openal" >&6; }
  14824. cat >>confdefs.h <<_ACEOF
  14825. #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
  14826. _ACEOF
  14827. OPENAL_LIBS="-lopenal"
  14828. ac_cv_lib_openal=yes
  14829. cat >>confdefs.h <<_ACEOF
  14830. #define HAVE_OPENAL 1
  14831. _ACEOF
  14832. fi
  14833. fi
  14834. if test "x$ac_cv_lib_openal" != xyes; then :
  14835. case "x$with_openal" in
  14836. x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
  14837. xno) ;;
  14838. *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
  14839. This is an error since --with-openal was requested." "$LINENO" 5 ;;
  14840. esac
  14841. enable_openal32=${enable_openal32:-no}
  14842. fi
  14843. if test "x$ac_cv_lib_soname_FAudio" = "x"
  14844. then
  14845. enable_x3daudio1_0=${enable_x3daudio1_0:-no}
  14846. enable_x3daudio1_1=${enable_x3daudio1_1:-no}
  14847. enable_x3daudio1_2=${enable_x3daudio1_2:-no}
  14848. enable_x3daudio1_3=${enable_x3daudio1_3:-no}
  14849. enable_x3daudio1_4=${enable_x3daudio1_4:-no}
  14850. enable_x3daudio1_5=${enable_x3daudio1_5:-no}
  14851. enable_x3daudio1_6=${enable_x3daudio1_6:-no}
  14852. enable_x3daudio1_7=${enable_x3daudio1_7:-no}
  14853. enable_xactengine3_0=${enable_xactengine3_0:-no}
  14854. enable_xactengine3_1=${enable_xactengine3_1:-no}
  14855. enable_xactengine3_2=${enable_xactengine3_2:-no}
  14856. enable_xactengine3_3=${enable_xactengine3_3:-no}
  14857. enable_xactengine3_4=${enable_xactengine3_4:-no}
  14858. enable_xactengine3_5=${enable_xactengine3_5:-no}
  14859. enable_xactengine3_6=${enable_xactengine3_6:-no}
  14860. enable_xactengine3_7=${enable_xactengine3_7:-no}
  14861. enable_xapofx1_1=${enable_xapofx1_1:-no}
  14862. enable_xapofx1_2=${enable_xapofx1_2:-no}
  14863. enable_xapofx1_3=${enable_xapofx1_3:-no}
  14864. enable_xapofx1_4=${enable_xapofx1_4:-no}
  14865. enable_xapofx1_5=${enable_xapofx1_5:-no}
  14866. enable_xaudio2_0=${enable_xaudio2_0:-no}
  14867. enable_xaudio2_1=${enable_xaudio2_1:-no}
  14868. enable_xaudio2_2=${enable_xaudio2_2:-no}
  14869. enable_xaudio2_3=${enable_xaudio2_3:-no}
  14870. enable_xaudio2_4=${enable_xaudio2_4:-no}
  14871. enable_xaudio2_5=${enable_xaudio2_5:-no}
  14872. enable_xaudio2_6=${enable_xaudio2_6:-no}
  14873. enable_xaudio2_7=${enable_xaudio2_7:-no}
  14874. enable_xaudio2_8=${enable_xaudio2_8:-no}
  14875. enable_xaudio2_9=${enable_xaudio2_9:-no}
  14876. fi
  14877. if test "$ac_cv_header_kstat_h" = "yes"
  14878. then
  14879. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
  14880. $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
  14881. if ${ac_cv_lib_kstat_kstat_open+:} false; then :
  14882. $as_echo_n "(cached) " >&6
  14883. else
  14884. ac_check_lib_save_LIBS=$LIBS
  14885. LIBS="-lkstat $LIBS"
  14886. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14887. /* end confdefs.h. */
  14888. /* Override any GCC internal prototype to avoid an error.
  14889. Use char because int might match the return type of a GCC
  14890. builtin and then its argument prototype would still apply. */
  14891. #ifdef __cplusplus
  14892. extern "C"
  14893. #endif
  14894. char kstat_open ();
  14895. int
  14896. main ()
  14897. {
  14898. return kstat_open ();
  14899. ;
  14900. return 0;
  14901. }
  14902. _ACEOF
  14903. if ac_fn_c_try_link "$LINENO"; then :
  14904. ac_cv_lib_kstat_kstat_open=yes
  14905. else
  14906. ac_cv_lib_kstat_kstat_open=no
  14907. fi
  14908. rm -f core conftest.err conftest.$ac_objext \
  14909. conftest$ac_exeext conftest.$ac_ext
  14910. LIBS=$ac_check_lib_save_LIBS
  14911. fi
  14912. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
  14913. $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
  14914. if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
  14915. $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
  14916. KSTAT_LIBS="-lkstat"
  14917. fi
  14918. fi
  14919. if test "$ac_cv_header_libprocstat_h" = "yes"
  14920. then
  14921. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
  14922. $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
  14923. if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
  14924. $as_echo_n "(cached) " >&6
  14925. else
  14926. ac_check_lib_save_LIBS=$LIBS
  14927. LIBS="-lprocstat $LIBS"
  14928. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14929. /* end confdefs.h. */
  14930. /* Override any GCC internal prototype to avoid an error.
  14931. Use char because int might match the return type of a GCC
  14932. builtin and then its argument prototype would still apply. */
  14933. #ifdef __cplusplus
  14934. extern "C"
  14935. #endif
  14936. char procstat_open_sysctl ();
  14937. int
  14938. main ()
  14939. {
  14940. return procstat_open_sysctl ();
  14941. ;
  14942. return 0;
  14943. }
  14944. _ACEOF
  14945. if ac_fn_c_try_link "$LINENO"; then :
  14946. ac_cv_lib_procstat_procstat_open_sysctl=yes
  14947. else
  14948. ac_cv_lib_procstat_procstat_open_sysctl=no
  14949. fi
  14950. rm -f core conftest.err conftest.$ac_objext \
  14951. conftest$ac_exeext conftest.$ac_ext
  14952. LIBS=$ac_check_lib_save_LIBS
  14953. fi
  14954. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
  14955. $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
  14956. if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
  14957. $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
  14958. PROCSTAT_LIBS="-lprocstat"
  14959. fi
  14960. fi
  14961. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
  14962. $as_echo_n "checking for -lodbc... " >&6; }
  14963. if ${ac_cv_lib_soname_odbc+:} false; then :
  14964. $as_echo_n "(cached) " >&6
  14965. else
  14966. ac_check_soname_save_LIBS=$LIBS
  14967. LIBS="-lodbc $LIBS"
  14968. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14969. /* end confdefs.h. */
  14970. /* Override any GCC internal prototype to avoid an error.
  14971. Use char because int might match the return type of a GCC
  14972. builtin and then its argument prototype would still apply. */
  14973. #ifdef __cplusplus
  14974. extern "C"
  14975. #endif
  14976. char SQLConnect ();
  14977. int
  14978. main ()
  14979. {
  14980. return SQLConnect ();
  14981. ;
  14982. return 0;
  14983. }
  14984. _ACEOF
  14985. if ac_fn_c_try_link "$LINENO"; then :
  14986. case "$LIBEXT" in
  14987. dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14988. 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'` ;;
  14989. *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14990. if ${ac_cv_lib_soname_odbc:+false} :; then :
  14991. ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14992. fi ;;
  14993. esac
  14994. else
  14995. ac_cv_lib_soname_odbc=
  14996. fi
  14997. rm -f core conftest.err conftest.$ac_objext \
  14998. conftest$ac_exeext conftest.$ac_ext
  14999. LIBS=$ac_check_soname_save_LIBS
  15000. fi
  15001. if ${ac_cv_lib_soname_odbc:+false} :; then :
  15002. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15003. $as_echo "not found" >&6; }
  15004. cat >>confdefs.h <<_ACEOF
  15005. #define SONAME_LIBODBC "libodbc.$LIBEXT"
  15006. _ACEOF
  15007. else
  15008. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
  15009. $as_echo "$ac_cv_lib_soname_odbc" >&6; }
  15010. cat >>confdefs.h <<_ACEOF
  15011. #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
  15012. _ACEOF
  15013. fi
  15014. if test "x$with_netapi" != "xno"
  15015. then
  15016. if ${NETAPI_CFLAGS:+false} :; then :
  15017. if ${PKG_CONFIG+:} false; then :
  15018. NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
  15019. fi
  15020. fi
  15021. if ${NETAPI_LIBS:+false} :; then :
  15022. if ${PKG_CONFIG+:} false; then :
  15023. NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
  15024. fi
  15025. fi
  15026. $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
  15027. $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
  15028. ac_save_CPPFLAGS=$CPPFLAGS
  15029. CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
  15030. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
  15031. $as_echo_n "checking for -lnetapi... " >&6; }
  15032. if ${ac_cv_lib_soname_netapi+:} false; then :
  15033. $as_echo_n "(cached) " >&6
  15034. else
  15035. ac_check_soname_save_LIBS=$LIBS
  15036. LIBS="-lnetapi $NETAPI_LIBS $LIBS"
  15037. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15038. /* end confdefs.h. */
  15039. /* Override any GCC internal prototype to avoid an error.
  15040. Use char because int might match the return type of a GCC
  15041. builtin and then its argument prototype would still apply. */
  15042. #ifdef __cplusplus
  15043. extern "C"
  15044. #endif
  15045. char libnetapi_init ();
  15046. int
  15047. main ()
  15048. {
  15049. return libnetapi_init ();
  15050. ;
  15051. return 0;
  15052. }
  15053. _ACEOF
  15054. if ac_fn_c_try_link "$LINENO"; then :
  15055. case "$LIBEXT" in
  15056. dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15057. 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'` ;;
  15058. *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15059. if ${ac_cv_lib_soname_netapi:+false} :; then :
  15060. ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15061. fi ;;
  15062. esac
  15063. else
  15064. ac_cv_lib_soname_netapi=
  15065. fi
  15066. rm -f core conftest.err conftest.$ac_objext \
  15067. conftest$ac_exeext conftest.$ac_ext
  15068. LIBS=$ac_check_soname_save_LIBS
  15069. fi
  15070. if ${ac_cv_lib_soname_netapi:+false} :; then :
  15071. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15072. $as_echo "not found" >&6; }
  15073. cat >>confdefs.h <<_ACEOF
  15074. #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
  15075. _ACEOF
  15076. else
  15077. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
  15078. $as_echo "$ac_cv_lib_soname_netapi" >&6; }
  15079. cat >>confdefs.h <<_ACEOF
  15080. #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
  15081. _ACEOF
  15082. fi
  15083. CPPFLAGS=$ac_save_CPPFLAGS
  15084. fi
  15085. if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
  15086. "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
  15087. then
  15088. as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
  15089. fi
  15090. if test "x$with_vulkan" != "xno"
  15091. then
  15092. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
  15093. $as_echo_n "checking for -lvulkan... " >&6; }
  15094. if ${ac_cv_lib_soname_vulkan+:} false; then :
  15095. $as_echo_n "(cached) " >&6
  15096. else
  15097. ac_check_soname_save_LIBS=$LIBS
  15098. LIBS="-lvulkan $LIBS"
  15099. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15100. /* end confdefs.h. */
  15101. /* Override any GCC internal prototype to avoid an error.
  15102. Use char because int might match the return type of a GCC
  15103. builtin and then its argument prototype would still apply. */
  15104. #ifdef __cplusplus
  15105. extern "C"
  15106. #endif
  15107. char vkGetInstanceProcAddr ();
  15108. int
  15109. main ()
  15110. {
  15111. return vkGetInstanceProcAddr ();
  15112. ;
  15113. return 0;
  15114. }
  15115. _ACEOF
  15116. if ac_fn_c_try_link "$LINENO"; then :
  15117. case "$LIBEXT" in
  15118. dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15119. 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'` ;;
  15120. *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15121. if ${ac_cv_lib_soname_vulkan:+false} :; then :
  15122. ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15123. fi ;;
  15124. esac
  15125. else
  15126. ac_cv_lib_soname_vulkan=
  15127. fi
  15128. rm -f core conftest.err conftest.$ac_objext \
  15129. conftest$ac_exeext conftest.$ac_ext
  15130. LIBS=$ac_check_soname_save_LIBS
  15131. fi
  15132. if ${ac_cv_lib_soname_vulkan:+false} :; then :
  15133. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15134. $as_echo "not found" >&6; }
  15135. else
  15136. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
  15137. $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
  15138. cat >>confdefs.h <<_ACEOF
  15139. #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
  15140. _ACEOF
  15141. fi
  15142. if test "x$ac_cv_lib_soname_vulkan" = "x"
  15143. then
  15144. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
  15145. $as_echo_n "checking for -lMoltenVK... " >&6; }
  15146. if ${ac_cv_lib_soname_MoltenVK+:} false; then :
  15147. $as_echo_n "(cached) " >&6
  15148. else
  15149. ac_check_soname_save_LIBS=$LIBS
  15150. LIBS="-lMoltenVK $LIBS"
  15151. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15152. /* end confdefs.h. */
  15153. /* Override any GCC internal prototype to avoid an error.
  15154. Use char because int might match the return type of a GCC
  15155. builtin and then its argument prototype would still apply. */
  15156. #ifdef __cplusplus
  15157. extern "C"
  15158. #endif
  15159. char vkGetInstanceProcAddr ();
  15160. int
  15161. main ()
  15162. {
  15163. return vkGetInstanceProcAddr ();
  15164. ;
  15165. return 0;
  15166. }
  15167. _ACEOF
  15168. if ac_fn_c_try_link "$LINENO"; then :
  15169. case "$LIBEXT" in
  15170. dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15171. 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'` ;;
  15172. *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15173. if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
  15174. ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15175. fi ;;
  15176. esac
  15177. else
  15178. ac_cv_lib_soname_MoltenVK=
  15179. fi
  15180. rm -f core conftest.err conftest.$ac_objext \
  15181. conftest$ac_exeext conftest.$ac_ext
  15182. LIBS=$ac_check_soname_save_LIBS
  15183. fi
  15184. if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
  15185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15186. $as_echo "not found" >&6; }
  15187. else
  15188. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
  15189. $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
  15190. cat >>confdefs.h <<_ACEOF
  15191. #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
  15192. _ACEOF
  15193. fi
  15194. fi
  15195. fi
  15196. if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
  15197. case "x$with_vulkan" in
  15198. x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
  15199. xno) ;;
  15200. *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
  15201. This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
  15202. esac
  15203. fi
  15204. if test "x$with_vkd3d" != "xno"
  15205. then
  15206. if ${VKD3D_CFLAGS:+false} :; then :
  15207. if ${PKG_CONFIG+:} false; then :
  15208. VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
  15209. fi
  15210. fi
  15211. if ${VKD3D_LIBS:+false} :; then :
  15212. if ${PKG_CONFIG+:} false; then :
  15213. VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
  15214. fi
  15215. fi
  15216. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
  15217. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
  15218. ac_save_CPPFLAGS=$CPPFLAGS
  15219. CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
  15220. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
  15221. $as_echo_n "checking for -lvkd3d... " >&6; }
  15222. if ${ac_cv_lib_soname_vkd3d+:} false; then :
  15223. $as_echo_n "(cached) " >&6
  15224. else
  15225. ac_check_soname_save_LIBS=$LIBS
  15226. LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
  15227. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15228. /* end confdefs.h. */
  15229. /* Override any GCC internal prototype to avoid an error.
  15230. Use char because int might match the return type of a GCC
  15231. builtin and then its argument prototype would still apply. */
  15232. #ifdef __cplusplus
  15233. extern "C"
  15234. #endif
  15235. char vkd3d_get_dxgi_format ();
  15236. int
  15237. main ()
  15238. {
  15239. return vkd3d_get_dxgi_format ();
  15240. ;
  15241. return 0;
  15242. }
  15243. _ACEOF
  15244. if ac_fn_c_try_link "$LINENO"; then :
  15245. case "$LIBEXT" in
  15246. dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15247. 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'` ;;
  15248. *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15249. if ${ac_cv_lib_soname_vkd3d:+false} :; then :
  15250. ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15251. fi ;;
  15252. esac
  15253. else
  15254. ac_cv_lib_soname_vkd3d=
  15255. fi
  15256. rm -f core conftest.err conftest.$ac_objext \
  15257. conftest$ac_exeext conftest.$ac_ext
  15258. LIBS=$ac_check_soname_save_LIBS
  15259. fi
  15260. if ${ac_cv_lib_soname_vkd3d:+false} :; then :
  15261. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15262. $as_echo "not found" >&6; }
  15263. else
  15264. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
  15265. $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
  15266. cat >>confdefs.h <<_ACEOF
  15267. #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
  15268. _ACEOF
  15269. fi
  15270. CPPFLAGS=$ac_save_CPPFLAGS
  15271. fi
  15272. if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
  15273. case "x$with_vkd3d" in
  15274. x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
  15275. xno) ;;
  15276. *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
  15277. This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
  15278. esac
  15279. fi
  15280. test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
  15281. EXTRACFLAGS=""
  15282. if test "x${GCC}" = "xyes"
  15283. then
  15284. EXTRACFLAGS="-Wall -pipe"
  15285. saved_CFLAGS=$CFLAGS
  15286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
  15287. $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
  15288. if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
  15289. $as_echo_n "(cached) " >&6
  15290. else
  15291. ac_wine_try_cflags_saved=$CFLAGS
  15292. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  15293. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15294. /* end confdefs.h. */
  15295. int main(int argc, char **argv) { return 0; }
  15296. _ACEOF
  15297. if ac_fn_c_try_link "$LINENO"; then :
  15298. ac_cv_cflags__Werror_unknown_warning_option=yes
  15299. else
  15300. ac_cv_cflags__Werror_unknown_warning_option=no
  15301. fi
  15302. rm -f core conftest.err conftest.$ac_objext \
  15303. conftest$ac_exeext conftest.$ac_ext
  15304. CFLAGS=$ac_wine_try_cflags_saved
  15305. fi
  15306. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
  15307. $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
  15308. if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
  15309. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  15310. fi
  15311. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
  15312. $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
  15313. if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
  15314. $as_echo_n "(cached) " >&6
  15315. else
  15316. ac_wine_try_cflags_saved=$CFLAGS
  15317. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  15318. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15319. /* end confdefs.h. */
  15320. int main(int argc, char **argv) { return 0; }
  15321. _ACEOF
  15322. if ac_fn_c_try_link "$LINENO"; then :
  15323. ac_cv_cflags__Werror_unused_command_line_argument=yes
  15324. else
  15325. ac_cv_cflags__Werror_unused_command_line_argument=no
  15326. fi
  15327. rm -f core conftest.err conftest.$ac_objext \
  15328. conftest$ac_exeext conftest.$ac_ext
  15329. CFLAGS=$ac_wine_try_cflags_saved
  15330. fi
  15331. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
  15332. $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
  15333. if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
  15334. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  15335. fi
  15336. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
  15337. $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
  15338. if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
  15339. $as_echo_n "(cached) " >&6
  15340. else
  15341. ac_wine_try_cflags_saved=$CFLAGS
  15342. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  15343. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15344. /* end confdefs.h. */
  15345. int main(int argc, char **argv) { return 0; }
  15346. _ACEOF
  15347. if ac_fn_c_try_link "$LINENO"; then :
  15348. ac_cv_cflags__Werror_ignored_optimization_argument=yes
  15349. else
  15350. ac_cv_cflags__Werror_ignored_optimization_argument=no
  15351. fi
  15352. rm -f core conftest.err conftest.$ac_objext \
  15353. conftest$ac_exeext conftest.$ac_ext
  15354. CFLAGS=$ac_wine_try_cflags_saved
  15355. fi
  15356. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
  15357. $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
  15358. if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
  15359. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  15360. fi
  15361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
  15362. $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
  15363. if ${ac_cv_cflags__fcf_protection_none+:} false; then :
  15364. $as_echo_n "(cached) " >&6
  15365. else
  15366. ac_wine_try_cflags_saved=$CFLAGS
  15367. CFLAGS="$CFLAGS -fcf-protection=none"
  15368. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15369. /* end confdefs.h. */
  15370. int main(int argc, char **argv) { return 0; }
  15371. _ACEOF
  15372. if ac_fn_c_try_link "$LINENO"; then :
  15373. ac_cv_cflags__fcf_protection_none=yes
  15374. else
  15375. ac_cv_cflags__fcf_protection_none=no
  15376. fi
  15377. rm -f core conftest.err conftest.$ac_objext \
  15378. conftest$ac_exeext conftest.$ac_ext
  15379. CFLAGS=$ac_wine_try_cflags_saved
  15380. fi
  15381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
  15382. $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
  15383. if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
  15384. EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
  15385. fi
  15386. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
  15387. $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
  15388. if ${ac_cv_cflags__fno_stack_protector+:} false; then :
  15389. $as_echo_n "(cached) " >&6
  15390. else
  15391. ac_wine_try_cflags_saved=$CFLAGS
  15392. CFLAGS="$CFLAGS -fno-stack-protector"
  15393. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15394. /* end confdefs.h. */
  15395. int main(int argc, char **argv) { return 0; }
  15396. _ACEOF
  15397. if ac_fn_c_try_link "$LINENO"; then :
  15398. ac_cv_cflags__fno_stack_protector=yes
  15399. else
  15400. ac_cv_cflags__fno_stack_protector=no
  15401. fi
  15402. rm -f core conftest.err conftest.$ac_objext \
  15403. conftest$ac_exeext conftest.$ac_ext
  15404. CFLAGS=$ac_wine_try_cflags_saved
  15405. fi
  15406. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
  15407. $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
  15408. if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
  15409. EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
  15410. fi
  15411. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
  15412. $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
  15413. if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
  15414. $as_echo_n "(cached) " >&6
  15415. else
  15416. ac_wine_try_cflags_saved=$CFLAGS
  15417. CFLAGS="$CFLAGS -fno-strict-aliasing"
  15418. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15419. /* end confdefs.h. */
  15420. int main(int argc, char **argv) { return 0; }
  15421. _ACEOF
  15422. if ac_fn_c_try_link "$LINENO"; then :
  15423. ac_cv_cflags__fno_strict_aliasing=yes
  15424. else
  15425. ac_cv_cflags__fno_strict_aliasing=no
  15426. fi
  15427. rm -f core conftest.err conftest.$ac_objext \
  15428. conftest$ac_exeext conftest.$ac_ext
  15429. CFLAGS=$ac_wine_try_cflags_saved
  15430. fi
  15431. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
  15432. $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
  15433. if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
  15434. EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
  15435. fi
  15436. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
  15437. $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
  15438. if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
  15439. $as_echo_n "(cached) " >&6
  15440. else
  15441. ac_wine_try_cflags_saved=$CFLAGS
  15442. CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  15443. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15444. /* end confdefs.h. */
  15445. int main(int argc, char **argv) { return 0; }
  15446. _ACEOF
  15447. if ac_fn_c_try_link "$LINENO"; then :
  15448. ac_cv_cflags__Wdeclaration_after_statement=yes
  15449. else
  15450. ac_cv_cflags__Wdeclaration_after_statement=no
  15451. fi
  15452. rm -f core conftest.err conftest.$ac_objext \
  15453. conftest$ac_exeext conftest.$ac_ext
  15454. CFLAGS=$ac_wine_try_cflags_saved
  15455. fi
  15456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
  15457. $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
  15458. if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
  15459. EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
  15460. fi
  15461. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
  15462. $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
  15463. if ${ac_cv_cflags__Wempty_body+:} false; then :
  15464. $as_echo_n "(cached) " >&6
  15465. else
  15466. ac_wine_try_cflags_saved=$CFLAGS
  15467. CFLAGS="$CFLAGS -Wempty-body"
  15468. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15469. /* end confdefs.h. */
  15470. int main(int argc, char **argv) { return 0; }
  15471. _ACEOF
  15472. if ac_fn_c_try_link "$LINENO"; then :
  15473. ac_cv_cflags__Wempty_body=yes
  15474. else
  15475. ac_cv_cflags__Wempty_body=no
  15476. fi
  15477. rm -f core conftest.err conftest.$ac_objext \
  15478. conftest$ac_exeext conftest.$ac_ext
  15479. CFLAGS=$ac_wine_try_cflags_saved
  15480. fi
  15481. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
  15482. $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
  15483. if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
  15484. EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
  15485. fi
  15486. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
  15487. $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
  15488. if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
  15489. $as_echo_n "(cached) " >&6
  15490. else
  15491. ac_wine_try_cflags_saved=$CFLAGS
  15492. CFLAGS="$CFLAGS -Wignored-qualifiers"
  15493. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15494. /* end confdefs.h. */
  15495. int main(int argc, char **argv) { return 0; }
  15496. _ACEOF
  15497. if ac_fn_c_try_link "$LINENO"; then :
  15498. ac_cv_cflags__Wignored_qualifiers=yes
  15499. else
  15500. ac_cv_cflags__Wignored_qualifiers=no
  15501. fi
  15502. rm -f core conftest.err conftest.$ac_objext \
  15503. conftest$ac_exeext conftest.$ac_ext
  15504. CFLAGS=$ac_wine_try_cflags_saved
  15505. fi
  15506. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
  15507. $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
  15508. if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
  15509. EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
  15510. fi
  15511. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
  15512. $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
  15513. if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
  15514. $as_echo_n "(cached) " >&6
  15515. else
  15516. ac_wine_try_cflags_saved=$CFLAGS
  15517. CFLAGS="$CFLAGS -Wpacked-not-aligned"
  15518. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15519. /* end confdefs.h. */
  15520. int main(int argc, char **argv) { return 0; }
  15521. _ACEOF
  15522. if ac_fn_c_try_link "$LINENO"; then :
  15523. ac_cv_cflags__Wpacked_not_aligned=yes
  15524. else
  15525. ac_cv_cflags__Wpacked_not_aligned=no
  15526. fi
  15527. rm -f core conftest.err conftest.$ac_objext \
  15528. conftest$ac_exeext conftest.$ac_ext
  15529. CFLAGS=$ac_wine_try_cflags_saved
  15530. fi
  15531. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
  15532. $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
  15533. if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
  15534. EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
  15535. fi
  15536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
  15537. $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
  15538. if ${ac_cv_cflags__Wpragma_pack+:} false; then :
  15539. $as_echo_n "(cached) " >&6
  15540. else
  15541. ac_wine_try_cflags_saved=$CFLAGS
  15542. CFLAGS="$CFLAGS -Wpragma-pack"
  15543. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15544. /* end confdefs.h. */
  15545. int main(int argc, char **argv) { return 0; }
  15546. _ACEOF
  15547. if ac_fn_c_try_link "$LINENO"; then :
  15548. ac_cv_cflags__Wpragma_pack=yes
  15549. else
  15550. ac_cv_cflags__Wpragma_pack=no
  15551. fi
  15552. rm -f core conftest.err conftest.$ac_objext \
  15553. conftest$ac_exeext conftest.$ac_ext
  15554. CFLAGS=$ac_wine_try_cflags_saved
  15555. fi
  15556. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
  15557. $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
  15558. if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
  15559. EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
  15560. fi
  15561. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
  15562. $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
  15563. if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
  15564. $as_echo_n "(cached) " >&6
  15565. else
  15566. ac_wine_try_cflags_saved=$CFLAGS
  15567. CFLAGS="$CFLAGS -Wshift-overflow=2"
  15568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15569. /* end confdefs.h. */
  15570. int main(int argc, char **argv) { return 0; }
  15571. _ACEOF
  15572. if ac_fn_c_try_link "$LINENO"; then :
  15573. ac_cv_cflags__Wshift_overflow_2=yes
  15574. else
  15575. ac_cv_cflags__Wshift_overflow_2=no
  15576. fi
  15577. rm -f core conftest.err conftest.$ac_objext \
  15578. conftest$ac_exeext conftest.$ac_ext
  15579. CFLAGS=$ac_wine_try_cflags_saved
  15580. fi
  15581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
  15582. $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
  15583. if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
  15584. EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
  15585. fi
  15586. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
  15587. $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
  15588. if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
  15589. $as_echo_n "(cached) " >&6
  15590. else
  15591. ac_wine_try_cflags_saved=$CFLAGS
  15592. CFLAGS="$CFLAGS -Wstrict-prototypes"
  15593. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15594. /* end confdefs.h. */
  15595. int main(int argc, char **argv) { return 0; }
  15596. _ACEOF
  15597. if ac_fn_c_try_link "$LINENO"; then :
  15598. ac_cv_cflags__Wstrict_prototypes=yes
  15599. else
  15600. ac_cv_cflags__Wstrict_prototypes=no
  15601. fi
  15602. rm -f core conftest.err conftest.$ac_objext \
  15603. conftest$ac_exeext conftest.$ac_ext
  15604. CFLAGS=$ac_wine_try_cflags_saved
  15605. fi
  15606. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
  15607. $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
  15608. if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
  15609. EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
  15610. fi
  15611. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
  15612. $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
  15613. if ${ac_cv_cflags__Wtype_limits+:} false; then :
  15614. $as_echo_n "(cached) " >&6
  15615. else
  15616. ac_wine_try_cflags_saved=$CFLAGS
  15617. CFLAGS="$CFLAGS -Wtype-limits"
  15618. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15619. /* end confdefs.h. */
  15620. int main(int argc, char **argv) { return 0; }
  15621. _ACEOF
  15622. if ac_fn_c_try_link "$LINENO"; then :
  15623. ac_cv_cflags__Wtype_limits=yes
  15624. else
  15625. ac_cv_cflags__Wtype_limits=no
  15626. fi
  15627. rm -f core conftest.err conftest.$ac_objext \
  15628. conftest$ac_exeext conftest.$ac_ext
  15629. CFLAGS=$ac_wine_try_cflags_saved
  15630. fi
  15631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
  15632. $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
  15633. if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
  15634. EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
  15635. fi
  15636. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
  15637. $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
  15638. if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
  15639. $as_echo_n "(cached) " >&6
  15640. else
  15641. ac_wine_try_cflags_saved=$CFLAGS
  15642. CFLAGS="$CFLAGS -Wunused-but-set-parameter"
  15643. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15644. /* end confdefs.h. */
  15645. int main(int argc, char **argv) { return 0; }
  15646. _ACEOF
  15647. if ac_fn_c_try_link "$LINENO"; then :
  15648. ac_cv_cflags__Wunused_but_set_parameter=yes
  15649. else
  15650. ac_cv_cflags__Wunused_but_set_parameter=no
  15651. fi
  15652. rm -f core conftest.err conftest.$ac_objext \
  15653. conftest$ac_exeext conftest.$ac_ext
  15654. CFLAGS=$ac_wine_try_cflags_saved
  15655. fi
  15656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
  15657. $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
  15658. if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
  15659. EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
  15660. fi
  15661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
  15662. $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
  15663. if ${ac_cv_cflags__Wvla+:} false; then :
  15664. $as_echo_n "(cached) " >&6
  15665. else
  15666. ac_wine_try_cflags_saved=$CFLAGS
  15667. CFLAGS="$CFLAGS -Wvla"
  15668. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15669. /* end confdefs.h. */
  15670. int main(int argc, char **argv) { return 0; }
  15671. _ACEOF
  15672. if ac_fn_c_try_link "$LINENO"; then :
  15673. ac_cv_cflags__Wvla=yes
  15674. else
  15675. ac_cv_cflags__Wvla=no
  15676. fi
  15677. rm -f core conftest.err conftest.$ac_objext \
  15678. conftest$ac_exeext conftest.$ac_ext
  15679. CFLAGS=$ac_wine_try_cflags_saved
  15680. fi
  15681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
  15682. $as_echo "$ac_cv_cflags__Wvla" >&6; }
  15683. if test "x$ac_cv_cflags__Wvla" = xyes; then :
  15684. EXTRACFLAGS="$EXTRACFLAGS -Wvla"
  15685. fi
  15686. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
  15687. $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
  15688. if ${ac_cv_cflags__Wwrite_strings+:} false; then :
  15689. $as_echo_n "(cached) " >&6
  15690. else
  15691. ac_wine_try_cflags_saved=$CFLAGS
  15692. CFLAGS="$CFLAGS -Wwrite-strings"
  15693. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15694. /* end confdefs.h. */
  15695. int main(int argc, char **argv) { return 0; }
  15696. _ACEOF
  15697. if ac_fn_c_try_link "$LINENO"; then :
  15698. ac_cv_cflags__Wwrite_strings=yes
  15699. else
  15700. ac_cv_cflags__Wwrite_strings=no
  15701. fi
  15702. rm -f core conftest.err conftest.$ac_objext \
  15703. conftest$ac_exeext conftest.$ac_ext
  15704. CFLAGS=$ac_wine_try_cflags_saved
  15705. fi
  15706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
  15707. $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
  15708. if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
  15709. EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
  15710. fi
  15711. if test -z "$CROSSTARGET"
  15712. then
  15713. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
  15714. $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
  15715. if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
  15716. $as_echo_n "(cached) " >&6
  15717. else
  15718. ac_wine_try_cflags_saved=$CFLAGS
  15719. CFLAGS="$CFLAGS -fexcess-precision=standard"
  15720. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15721. /* end confdefs.h. */
  15722. int main(int argc, char **argv) { return 0; }
  15723. _ACEOF
  15724. if ac_fn_c_try_link "$LINENO"; then :
  15725. ac_cv_cflags__fexcess_precision_standard=yes
  15726. else
  15727. ac_cv_cflags__fexcess_precision_standard=no
  15728. fi
  15729. rm -f core conftest.err conftest.$ac_objext \
  15730. conftest$ac_exeext conftest.$ac_ext
  15731. CFLAGS=$ac_wine_try_cflags_saved
  15732. fi
  15733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
  15734. $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
  15735. if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
  15736. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  15737. fi
  15738. fi
  15739. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
  15740. $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
  15741. if ${ac_cv_cflags__Wpointer_arith+:} false; then :
  15742. $as_echo_n "(cached) " >&6
  15743. else
  15744. ac_wine_try_cflags_saved=$CFLAGS
  15745. CFLAGS="$CFLAGS -Wpointer-arith"
  15746. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15747. /* end confdefs.h. */
  15748. int main(int argc, char **argv) { return 0; }
  15749. _ACEOF
  15750. if ac_fn_c_try_link "$LINENO"; then :
  15751. ac_cv_cflags__Wpointer_arith=yes
  15752. else
  15753. ac_cv_cflags__Wpointer_arith=no
  15754. fi
  15755. rm -f core conftest.err conftest.$ac_objext \
  15756. conftest$ac_exeext conftest.$ac_ext
  15757. CFLAGS=$ac_wine_try_cflags_saved
  15758. fi
  15759. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
  15760. $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
  15761. if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
  15762. saved_string_h_CFLAGS=$CFLAGS
  15763. CFLAGS="$CFLAGS -Wpointer-arith -Werror"
  15764. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
  15765. $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
  15766. if ${ac_cv_c_string_h_warnings+:} false; then :
  15767. $as_echo_n "(cached) " >&6
  15768. else
  15769. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15770. /* end confdefs.h. */
  15771. #include <string.h>
  15772. int
  15773. main ()
  15774. {
  15775. ;
  15776. return 0;
  15777. }
  15778. _ACEOF
  15779. if ac_fn_c_try_compile "$LINENO"; then :
  15780. ac_cv_c_string_h_warnings=no
  15781. else
  15782. ac_cv_c_string_h_warnings=yes
  15783. fi
  15784. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15785. fi
  15786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
  15787. $as_echo "$ac_cv_c_string_h_warnings" >&6; }
  15788. test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
  15789. CFLAGS=$saved_string_h_CFLAGS
  15790. fi
  15791. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
  15792. $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
  15793. if ${ac_cv_cflags__Wlogical_op+:} false; then :
  15794. $as_echo_n "(cached) " >&6
  15795. else
  15796. ac_wine_try_cflags_saved=$CFLAGS
  15797. CFLAGS="$CFLAGS -Wlogical-op"
  15798. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15799. /* end confdefs.h. */
  15800. int main(int argc, char **argv) { return 0; }
  15801. _ACEOF
  15802. if ac_fn_c_try_link "$LINENO"; then :
  15803. ac_cv_cflags__Wlogical_op=yes
  15804. else
  15805. ac_cv_cflags__Wlogical_op=no
  15806. fi
  15807. rm -f core conftest.err conftest.$ac_objext \
  15808. conftest$ac_exeext conftest.$ac_ext
  15809. CFLAGS=$ac_wine_try_cflags_saved
  15810. fi
  15811. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
  15812. $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
  15813. if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
  15814. saved_string_h_CFLAGS=$CFLAGS
  15815. CFLAGS="$CFLAGS -Wlogical-op -Werror"
  15816. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
  15817. $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
  15818. if ${ac_cv_c_logicalop_noisy+:} false; then :
  15819. $as_echo_n "(cached) " >&6
  15820. else
  15821. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15822. /* end confdefs.h. */
  15823. #include <string.h>
  15824. char*f(const char *h,char n) {return strchr(h,n);}
  15825. int
  15826. main ()
  15827. {
  15828. ;
  15829. return 0;
  15830. }
  15831. _ACEOF
  15832. if ac_fn_c_try_compile "$LINENO"; then :
  15833. ac_cv_c_logicalop_noisy=no
  15834. else
  15835. ac_cv_c_logicalop_noisy=yes
  15836. fi
  15837. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15838. fi
  15839. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
  15840. $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
  15841. CFLAGS=$saved_string_h_CFLAGS
  15842. test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
  15843. fi
  15844. for ac_flag in $CFLAGS; do
  15845. case $ac_flag in
  15846. -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
  15847. $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
  15848. if ${ac_cv_cflags__gdwarf_2+:} false; then :
  15849. $as_echo_n "(cached) " >&6
  15850. else
  15851. ac_wine_try_cflags_saved=$CFLAGS
  15852. CFLAGS="$CFLAGS -gdwarf-2"
  15853. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15854. /* end confdefs.h. */
  15855. int main(int argc, char **argv) { return 0; }
  15856. _ACEOF
  15857. if ac_fn_c_try_link "$LINENO"; then :
  15858. ac_cv_cflags__gdwarf_2=yes
  15859. else
  15860. ac_cv_cflags__gdwarf_2=no
  15861. fi
  15862. rm -f core conftest.err conftest.$ac_objext \
  15863. conftest$ac_exeext conftest.$ac_ext
  15864. CFLAGS=$ac_wine_try_cflags_saved
  15865. fi
  15866. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
  15867. $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
  15868. if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
  15869. EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
  15870. fi
  15871. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
  15872. $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
  15873. if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
  15874. $as_echo_n "(cached) " >&6
  15875. else
  15876. ac_wine_try_cflags_saved=$CFLAGS
  15877. CFLAGS="$CFLAGS -gstrict-dwarf"
  15878. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15879. /* end confdefs.h. */
  15880. int main(int argc, char **argv) { return 0; }
  15881. _ACEOF
  15882. if ac_fn_c_try_link "$LINENO"; then :
  15883. ac_cv_cflags__gstrict_dwarf=yes
  15884. else
  15885. ac_cv_cflags__gstrict_dwarf=no
  15886. fi
  15887. rm -f core conftest.err conftest.$ac_objext \
  15888. conftest$ac_exeext conftest.$ac_ext
  15889. CFLAGS=$ac_wine_try_cflags_saved
  15890. fi
  15891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
  15892. $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
  15893. if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
  15894. EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
  15895. fi ;;
  15896. esac
  15897. done
  15898. MSVCRTFLAGS=""
  15899. case $host_os in
  15900. mingw32*) ;;
  15901. *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
  15902. $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
  15903. if ${ac_cv_cflags__fno_builtin+:} false; then :
  15904. $as_echo_n "(cached) " >&6
  15905. else
  15906. ac_wine_try_cflags_saved=$CFLAGS
  15907. CFLAGS="$CFLAGS -fno-builtin"
  15908. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15909. /* end confdefs.h. */
  15910. int main(int argc, char **argv) { return 0; }
  15911. _ACEOF
  15912. if ac_fn_c_try_link "$LINENO"; then :
  15913. ac_cv_cflags__fno_builtin=yes
  15914. else
  15915. ac_cv_cflags__fno_builtin=no
  15916. fi
  15917. rm -f core conftest.err conftest.$ac_objext \
  15918. conftest$ac_exeext conftest.$ac_ext
  15919. CFLAGS=$ac_wine_try_cflags_saved
  15920. fi
  15921. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
  15922. $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
  15923. if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
  15924. MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
  15925. fi
  15926. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
  15927. $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
  15928. if ${ac_cv_cflags__fshort_wchar+:} false; then :
  15929. $as_echo_n "(cached) " >&6
  15930. else
  15931. ac_wine_try_cflags_saved=$CFLAGS
  15932. CFLAGS="$CFLAGS -fshort-wchar"
  15933. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15934. /* end confdefs.h. */
  15935. int main(int argc, char **argv) { return 0; }
  15936. _ACEOF
  15937. if ac_fn_c_try_link "$LINENO"; then :
  15938. ac_cv_cflags__fshort_wchar=yes
  15939. else
  15940. ac_cv_cflags__fshort_wchar=no
  15941. fi
  15942. rm -f core conftest.err conftest.$ac_objext \
  15943. conftest$ac_exeext conftest.$ac_ext
  15944. CFLAGS=$ac_wine_try_cflags_saved
  15945. fi
  15946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
  15947. $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
  15948. if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
  15949. MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
  15950. fi ;;
  15951. esac
  15952. case $host_cpu in
  15953. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
  15954. $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
  15955. if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
  15956. $as_echo_n "(cached) " >&6
  15957. else
  15958. ac_wine_try_cflags_saved=$CFLAGS
  15959. CFLAGS="$CFLAGS -fno-omit-frame-pointer"
  15960. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15961. /* end confdefs.h. */
  15962. int main(int argc, char **argv) { return 0; }
  15963. _ACEOF
  15964. if ac_fn_c_try_link "$LINENO"; then :
  15965. ac_cv_cflags__fno_omit_frame_pointer=yes
  15966. else
  15967. ac_cv_cflags__fno_omit_frame_pointer=no
  15968. fi
  15969. rm -f core conftest.err conftest.$ac_objext \
  15970. conftest$ac_exeext conftest.$ac_ext
  15971. CFLAGS=$ac_wine_try_cflags_saved
  15972. fi
  15973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
  15974. $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
  15975. if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
  15976. EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
  15977. fi ;;
  15978. *x86_64*)
  15979. case $host_os in
  15980. cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  15981. $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
  15982. if ${ac_cv_cflags__Wno_format+:} false; then :
  15983. $as_echo_n "(cached) " >&6
  15984. else
  15985. ac_wine_try_cflags_saved=$CFLAGS
  15986. CFLAGS="$CFLAGS -Wno-format"
  15987. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15988. /* end confdefs.h. */
  15989. int main(int argc, char **argv) { return 0; }
  15990. _ACEOF
  15991. if ac_fn_c_try_link "$LINENO"; then :
  15992. ac_cv_cflags__Wno_format=yes
  15993. else
  15994. ac_cv_cflags__Wno_format=no
  15995. fi
  15996. rm -f core conftest.err conftest.$ac_objext \
  15997. conftest$ac_exeext conftest.$ac_ext
  15998. CFLAGS=$ac_wine_try_cflags_saved
  15999. fi
  16000. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  16001. $as_echo "$ac_cv_cflags__Wno_format" >&6; }
  16002. if test "x$ac_cv_cflags__Wno_format" = xyes; then :
  16003. EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
  16004. fi ;;
  16005. *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
  16006. $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
  16007. if ${ac_cv_cflags__mabi_ms+:} false; then :
  16008. $as_echo_n "(cached) " >&6
  16009. else
  16010. ac_wine_try_cflags_saved=$CFLAGS
  16011. CFLAGS="$CFLAGS -mabi=ms"
  16012. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16013. /* end confdefs.h. */
  16014. int main(int argc, char **argv) { return 0; }
  16015. _ACEOF
  16016. if ac_fn_c_try_link "$LINENO"; then :
  16017. ac_cv_cflags__mabi_ms=yes
  16018. else
  16019. ac_cv_cflags__mabi_ms=no
  16020. fi
  16021. rm -f core conftest.err conftest.$ac_objext \
  16022. conftest$ac_exeext conftest.$ac_ext
  16023. CFLAGS=$ac_wine_try_cflags_saved
  16024. fi
  16025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
  16026. $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
  16027. if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
  16028. MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
  16029. fi ;;
  16030. esac ;;
  16031. esac
  16032. CFLAGS=$saved_CFLAGS
  16033. if test "x$enable_werror" = "xyes"
  16034. then
  16035. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
  16036. $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
  16037. if ${ac_cv_cflags__Werror+:} false; then :
  16038. $as_echo_n "(cached) " >&6
  16039. else
  16040. ac_wine_try_cflags_saved=$CFLAGS
  16041. CFLAGS="$CFLAGS -Werror"
  16042. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16043. /* end confdefs.h. */
  16044. int main(int argc, char **argv) { return 0; }
  16045. _ACEOF
  16046. if ac_fn_c_try_link "$LINENO"; then :
  16047. ac_cv_cflags__Werror=yes
  16048. else
  16049. ac_cv_cflags__Werror=no
  16050. fi
  16051. rm -f core conftest.err conftest.$ac_objext \
  16052. conftest$ac_exeext conftest.$ac_ext
  16053. CFLAGS=$ac_wine_try_cflags_saved
  16054. fi
  16055. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
  16056. $as_echo "$ac_cv_cflags__Werror" >&6; }
  16057. if test "x$ac_cv_cflags__Werror" = xyes; then :
  16058. EXTRACFLAGS="$EXTRACFLAGS -Werror"
  16059. fi
  16060. fi
  16061. fi
  16062. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
  16063. $as_echo_n "checking for the need to disable Fortify... " >&6; }
  16064. if ${ac_cv_c_fortify_enabled+:} false; then :
  16065. $as_echo_n "(cached) " >&6
  16066. else
  16067. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16068. /* end confdefs.h. */
  16069. #include <string.h>
  16070. int
  16071. main ()
  16072. {
  16073. #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
  16074. #error Fortify enabled
  16075. #endif
  16076. ;
  16077. return 0;
  16078. }
  16079. _ACEOF
  16080. if ac_fn_c_try_compile "$LINENO"; then :
  16081. ac_cv_c_fortify_enabled=no
  16082. else
  16083. ac_cv_c_fortify_enabled=yes
  16084. fi
  16085. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16086. fi
  16087. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
  16088. $as_echo "$ac_cv_c_fortify_enabled" >&6; }
  16089. if test "$ac_cv_c_fortify_enabled" = yes
  16090. then
  16091. CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
  16092. fi
  16093. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
  16094. $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
  16095. if ${ac_cv_c_cfi_support+:} false; then :
  16096. $as_echo_n "(cached) " >&6
  16097. else
  16098. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16099. /* end confdefs.h. */
  16100. asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
  16101. int
  16102. main ()
  16103. {
  16104. ;
  16105. return 0;
  16106. }
  16107. _ACEOF
  16108. if ac_fn_c_try_compile "$LINENO"; then :
  16109. ac_cv_c_cfi_support="yes"
  16110. else
  16111. ac_cv_c_cfi_support="no"
  16112. fi
  16113. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16114. fi
  16115. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
  16116. $as_echo "$ac_cv_c_cfi_support" >&6; }
  16117. if test "$ac_cv_c_cfi_support" = "yes"
  16118. then
  16119. DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
  16120. LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
  16121. else
  16122. if test "x$enable_win64" = "xyes"
  16123. then
  16124. as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
  16125. fi
  16126. fi
  16127. case $build_os in
  16128. cygwin*|mingw32*) TOOLSEXT=".exe"
  16129. ;;
  16130. esac
  16131. case $host_os in
  16132. linux*)
  16133. case $host_cpu in
  16134. *i[3456789]86*|x86_64*|*aarch64*)
  16135. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  16136. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  16137. ;;
  16138. esac
  16139. ;;
  16140. esac
  16141. ac_save_CFLAGS="$CFLAGS"
  16142. CFLAGS="$CFLAGS $BUILTINFLAG"
  16143. for ac_func in \
  16144. __res_get_state \
  16145. __res_getservers \
  16146. _spawnvp \
  16147. epoll_create \
  16148. ffs \
  16149. finite \
  16150. finitef \
  16151. fnmatch \
  16152. fork \
  16153. fpclass \
  16154. fstatfs \
  16155. fstatvfs \
  16156. futimens \
  16157. futimes \
  16158. futimesat \
  16159. getattrlist \
  16160. getauxval \
  16161. getifaddrs \
  16162. getopt_long_only \
  16163. getrandom \
  16164. kqueue \
  16165. lstat \
  16166. mach_continuous_time \
  16167. pipe2 \
  16168. poll \
  16169. port_create \
  16170. prctl \
  16171. pread \
  16172. proc_pidinfo \
  16173. pwrite \
  16174. readdir \
  16175. readlink \
  16176. sched_yield \
  16177. select \
  16178. setproctitle \
  16179. setprogname \
  16180. settimeofday \
  16181. sigprocmask \
  16182. statfs \
  16183. statvfs \
  16184. strnlen \
  16185. strtold \
  16186. symlink \
  16187. sysinfo \
  16188. tcdrain \
  16189. thr_kill2 \
  16190. usleep
  16191. do :
  16192. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16193. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16194. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16195. cat >>confdefs.h <<_ACEOF
  16196. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16197. _ACEOF
  16198. fi
  16199. done
  16200. CFLAGS="$ac_save_CFLAGS"
  16201. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  16202. $as_echo_n "checking for library containing dlopen... " >&6; }
  16203. if ${ac_cv_search_dlopen+:} false; then :
  16204. $as_echo_n "(cached) " >&6
  16205. else
  16206. ac_func_search_save_LIBS=$LIBS
  16207. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16208. /* end confdefs.h. */
  16209. /* Override any GCC internal prototype to avoid an error.
  16210. Use char because int might match the return type of a GCC
  16211. builtin and then its argument prototype would still apply. */
  16212. #ifdef __cplusplus
  16213. extern "C"
  16214. #endif
  16215. char dlopen ();
  16216. int
  16217. main ()
  16218. {
  16219. return dlopen ();
  16220. ;
  16221. return 0;
  16222. }
  16223. _ACEOF
  16224. for ac_lib in '' dl; do
  16225. if test -z "$ac_lib"; then
  16226. ac_res="none required"
  16227. else
  16228. ac_res=-l$ac_lib
  16229. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16230. fi
  16231. if ac_fn_c_try_link "$LINENO"; then :
  16232. ac_cv_search_dlopen=$ac_res
  16233. fi
  16234. rm -f core conftest.err conftest.$ac_objext \
  16235. conftest$ac_exeext
  16236. if ${ac_cv_search_dlopen+:} false; then :
  16237. break
  16238. fi
  16239. done
  16240. if ${ac_cv_search_dlopen+:} false; then :
  16241. else
  16242. ac_cv_search_dlopen=no
  16243. fi
  16244. rm conftest.$ac_ext
  16245. LIBS=$ac_func_search_save_LIBS
  16246. fi
  16247. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  16248. $as_echo "$ac_cv_search_dlopen" >&6; }
  16249. ac_res=$ac_cv_search_dlopen
  16250. if test "$ac_res" != no; then :
  16251. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16252. fi
  16253. ac_wine_check_funcs_save_LIBS="$LIBS"
  16254. LIBS="$LIBS $DL_LIBS"
  16255. for ac_func in dladdr dlinfo
  16256. do :
  16257. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16258. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16259. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16260. cat >>confdefs.h <<_ACEOF
  16261. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16262. _ACEOF
  16263. fi
  16264. done
  16265. LIBS="$ac_wine_check_funcs_save_LIBS"
  16266. if test "$ac_cv_func_poll" = no
  16267. then
  16268. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
  16269. $as_echo_n "checking for poll in -lpoll... " >&6; }
  16270. if ${ac_cv_lib_poll_poll+:} false; then :
  16271. $as_echo_n "(cached) " >&6
  16272. else
  16273. ac_check_lib_save_LIBS=$LIBS
  16274. LIBS="-lpoll $LIBS"
  16275. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16276. /* end confdefs.h. */
  16277. /* Override any GCC internal prototype to avoid an error.
  16278. Use char because int might match the return type of a GCC
  16279. builtin and then its argument prototype would still apply. */
  16280. #ifdef __cplusplus
  16281. extern "C"
  16282. #endif
  16283. char poll ();
  16284. int
  16285. main ()
  16286. {
  16287. return poll ();
  16288. ;
  16289. return 0;
  16290. }
  16291. _ACEOF
  16292. if ac_fn_c_try_link "$LINENO"; then :
  16293. ac_cv_lib_poll_poll=yes
  16294. else
  16295. ac_cv_lib_poll_poll=no
  16296. fi
  16297. rm -f core conftest.err conftest.$ac_objext \
  16298. conftest$ac_exeext conftest.$ac_ext
  16299. LIBS=$ac_check_lib_save_LIBS
  16300. fi
  16301. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
  16302. $as_echo "$ac_cv_lib_poll_poll" >&6; }
  16303. if test "x$ac_cv_lib_poll_poll" = xyes; then :
  16304. $as_echo "#define HAVE_POLL 1" >>confdefs.h
  16305. POLL_LIBS="-lpoll"
  16306. fi
  16307. fi
  16308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
  16309. $as_echo_n "checking for library containing gethostbyname... " >&6; }
  16310. if ${ac_cv_search_gethostbyname+:} false; then :
  16311. $as_echo_n "(cached) " >&6
  16312. else
  16313. ac_func_search_save_LIBS=$LIBS
  16314. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16315. /* end confdefs.h. */
  16316. /* Override any GCC internal prototype to avoid an error.
  16317. Use char because int might match the return type of a GCC
  16318. builtin and then its argument prototype would still apply. */
  16319. #ifdef __cplusplus
  16320. extern "C"
  16321. #endif
  16322. char gethostbyname ();
  16323. int
  16324. main ()
  16325. {
  16326. return gethostbyname ();
  16327. ;
  16328. return 0;
  16329. }
  16330. _ACEOF
  16331. for ac_lib in '' nsl; do
  16332. if test -z "$ac_lib"; then
  16333. ac_res="none required"
  16334. else
  16335. ac_res=-l$ac_lib
  16336. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16337. fi
  16338. if ac_fn_c_try_link "$LINENO"; then :
  16339. ac_cv_search_gethostbyname=$ac_res
  16340. fi
  16341. rm -f core conftest.err conftest.$ac_objext \
  16342. conftest$ac_exeext
  16343. if ${ac_cv_search_gethostbyname+:} false; then :
  16344. break
  16345. fi
  16346. done
  16347. if ${ac_cv_search_gethostbyname+:} false; then :
  16348. else
  16349. ac_cv_search_gethostbyname=no
  16350. fi
  16351. rm conftest.$ac_ext
  16352. LIBS=$ac_func_search_save_LIBS
  16353. fi
  16354. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
  16355. $as_echo "$ac_cv_search_gethostbyname" >&6; }
  16356. ac_res=$ac_cv_search_gethostbyname
  16357. if test "$ac_res" != no; then :
  16358. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16359. fi
  16360. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
  16361. $as_echo_n "checking for library containing connect... " >&6; }
  16362. if ${ac_cv_search_connect+:} false; then :
  16363. $as_echo_n "(cached) " >&6
  16364. else
  16365. ac_func_search_save_LIBS=$LIBS
  16366. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16367. /* end confdefs.h. */
  16368. /* Override any GCC internal prototype to avoid an error.
  16369. Use char because int might match the return type of a GCC
  16370. builtin and then its argument prototype would still apply. */
  16371. #ifdef __cplusplus
  16372. extern "C"
  16373. #endif
  16374. char connect ();
  16375. int
  16376. main ()
  16377. {
  16378. return connect ();
  16379. ;
  16380. return 0;
  16381. }
  16382. _ACEOF
  16383. for ac_lib in '' socket; do
  16384. if test -z "$ac_lib"; then
  16385. ac_res="none required"
  16386. else
  16387. ac_res=-l$ac_lib
  16388. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16389. fi
  16390. if ac_fn_c_try_link "$LINENO"; then :
  16391. ac_cv_search_connect=$ac_res
  16392. fi
  16393. rm -f core conftest.err conftest.$ac_objext \
  16394. conftest$ac_exeext
  16395. if ${ac_cv_search_connect+:} false; then :
  16396. break
  16397. fi
  16398. done
  16399. if ${ac_cv_search_connect+:} false; then :
  16400. else
  16401. ac_cv_search_connect=no
  16402. fi
  16403. rm conftest.$ac_ext
  16404. LIBS=$ac_func_search_save_LIBS
  16405. fi
  16406. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
  16407. $as_echo "$ac_cv_search_connect" >&6; }
  16408. ac_res=$ac_cv_search_connect
  16409. if test "$ac_res" != no; then :
  16410. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16411. fi
  16412. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
  16413. $as_echo_n "checking for library containing inet_aton... " >&6; }
  16414. if ${ac_cv_search_inet_aton+:} false; then :
  16415. $as_echo_n "(cached) " >&6
  16416. else
  16417. ac_func_search_save_LIBS=$LIBS
  16418. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16419. /* end confdefs.h. */
  16420. /* Override any GCC internal prototype to avoid an error.
  16421. Use char because int might match the return type of a GCC
  16422. builtin and then its argument prototype would still apply. */
  16423. #ifdef __cplusplus
  16424. extern "C"
  16425. #endif
  16426. char inet_aton ();
  16427. int
  16428. main ()
  16429. {
  16430. return inet_aton ();
  16431. ;
  16432. return 0;
  16433. }
  16434. _ACEOF
  16435. for ac_lib in '' resolv; do
  16436. if test -z "$ac_lib"; then
  16437. ac_res="none required"
  16438. else
  16439. ac_res=-l$ac_lib
  16440. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16441. fi
  16442. if ac_fn_c_try_link "$LINENO"; then :
  16443. ac_cv_search_inet_aton=$ac_res
  16444. fi
  16445. rm -f core conftest.err conftest.$ac_objext \
  16446. conftest$ac_exeext
  16447. if ${ac_cv_search_inet_aton+:} false; then :
  16448. break
  16449. fi
  16450. done
  16451. if ${ac_cv_search_inet_aton+:} false; then :
  16452. else
  16453. ac_cv_search_inet_aton=no
  16454. fi
  16455. rm conftest.$ac_ext
  16456. LIBS=$ac_func_search_save_LIBS
  16457. fi
  16458. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
  16459. $as_echo "$ac_cv_search_inet_aton" >&6; }
  16460. ac_res=$ac_cv_search_inet_aton
  16461. if test "$ac_res" != no; then :
  16462. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16463. fi
  16464. for ac_func in \
  16465. getaddrinfo \
  16466. getnameinfo \
  16467. getnetbyname \
  16468. getservbyport \
  16469. do :
  16470. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16471. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16472. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16473. cat >>confdefs.h <<_ACEOF
  16474. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16475. _ACEOF
  16476. fi
  16477. done
  16478. case $host_os in
  16479. darwin*|macosx*) ;;
  16480. *) ac_save_LIBS=$LIBS
  16481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  16482. $as_echo_n "checking for library containing clock_gettime... " >&6; }
  16483. if ${ac_cv_search_clock_gettime+:} false; then :
  16484. $as_echo_n "(cached) " >&6
  16485. else
  16486. ac_func_search_save_LIBS=$LIBS
  16487. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16488. /* end confdefs.h. */
  16489. /* Override any GCC internal prototype to avoid an error.
  16490. Use char because int might match the return type of a GCC
  16491. builtin and then its argument prototype would still apply. */
  16492. #ifdef __cplusplus
  16493. extern "C"
  16494. #endif
  16495. char clock_gettime ();
  16496. int
  16497. main ()
  16498. {
  16499. return clock_gettime ();
  16500. ;
  16501. return 0;
  16502. }
  16503. _ACEOF
  16504. for ac_lib in '' rt; do
  16505. if test -z "$ac_lib"; then
  16506. ac_res="none required"
  16507. else
  16508. ac_res=-l$ac_lib
  16509. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16510. fi
  16511. if ac_fn_c_try_link "$LINENO"; then :
  16512. ac_cv_search_clock_gettime=$ac_res
  16513. fi
  16514. rm -f core conftest.err conftest.$ac_objext \
  16515. conftest$ac_exeext
  16516. if ${ac_cv_search_clock_gettime+:} false; then :
  16517. break
  16518. fi
  16519. done
  16520. if ${ac_cv_search_clock_gettime+:} false; then :
  16521. else
  16522. ac_cv_search_clock_gettime=no
  16523. fi
  16524. rm conftest.$ac_ext
  16525. LIBS=$ac_func_search_save_LIBS
  16526. fi
  16527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  16528. $as_echo "$ac_cv_search_clock_gettime" >&6; }
  16529. ac_res=$ac_cv_search_clock_gettime
  16530. if test "$ac_res" != no; then :
  16531. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16532. $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  16533. test "$ac_res" = "none required" || RT_LIBS="$ac_res"
  16534. fi
  16535. LIBS=$ac_save_LIBS
  16536. ;;
  16537. esac
  16538. if test "x$with_ldap" != "xno"
  16539. then
  16540. if ${LDAP_CFLAGS:+false} :; then :
  16541. if ${PKG_CONFIG+:} false; then :
  16542. LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
  16543. fi
  16544. fi
  16545. if ${LDAP_LIBS:+false} :; then :
  16546. if ${PKG_CONFIG+:} false; then :
  16547. LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
  16548. fi
  16549. fi
  16550. LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
  16551. $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
  16552. $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
  16553. ac_save_CPPFLAGS=$CPPFLAGS
  16554. CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
  16555. for ac_header in ldap.h lber.h
  16556. do :
  16557. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16558. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  16559. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16560. cat >>confdefs.h <<_ACEOF
  16561. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16562. _ACEOF
  16563. fi
  16564. done
  16565. if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
  16566. then
  16567. ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
  16568. "
  16569. if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
  16570. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
  16571. $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
  16572. if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
  16573. $as_echo_n "(cached) " >&6
  16574. else
  16575. ac_check_lib_save_LIBS=$LIBS
  16576. LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  16577. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16578. /* end confdefs.h. */
  16579. /* Override any GCC internal prototype to avoid an error.
  16580. Use char because int might match the return type of a GCC
  16581. builtin and then its argument prototype would still apply. */
  16582. #ifdef __cplusplus
  16583. extern "C"
  16584. #endif
  16585. char ldap_initialize ();
  16586. int
  16587. main ()
  16588. {
  16589. return ldap_initialize ();
  16590. ;
  16591. return 0;
  16592. }
  16593. _ACEOF
  16594. if ac_fn_c_try_link "$LINENO"; then :
  16595. ac_cv_lib_ldap_r_ldap_initialize=yes
  16596. else
  16597. ac_cv_lib_ldap_r_ldap_initialize=no
  16598. fi
  16599. rm -f core conftest.err conftest.$ac_objext \
  16600. conftest$ac_exeext conftest.$ac_ext
  16601. LIBS=$ac_check_lib_save_LIBS
  16602. fi
  16603. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
  16604. $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
  16605. if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
  16606. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
  16607. $as_echo_n "checking for ber_init in -llber... " >&6; }
  16608. if ${ac_cv_lib_lber_ber_init+:} false; then :
  16609. $as_echo_n "(cached) " >&6
  16610. else
  16611. ac_check_lib_save_LIBS=$LIBS
  16612. LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  16613. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16614. /* end confdefs.h. */
  16615. /* Override any GCC internal prototype to avoid an error.
  16616. Use char because int might match the return type of a GCC
  16617. builtin and then its argument prototype would still apply. */
  16618. #ifdef __cplusplus
  16619. extern "C"
  16620. #endif
  16621. char ber_init ();
  16622. int
  16623. main ()
  16624. {
  16625. return ber_init ();
  16626. ;
  16627. return 0;
  16628. }
  16629. _ACEOF
  16630. if ac_fn_c_try_link "$LINENO"; then :
  16631. ac_cv_lib_lber_ber_init=yes
  16632. else
  16633. ac_cv_lib_lber_ber_init=no
  16634. fi
  16635. rm -f core conftest.err conftest.$ac_objext \
  16636. conftest$ac_exeext conftest.$ac_ext
  16637. LIBS=$ac_check_lib_save_LIBS
  16638. fi
  16639. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
  16640. $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
  16641. if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
  16642. $as_echo "#define HAVE_LDAP 1" >>confdefs.h
  16643. else
  16644. LDAP_LIBS=""
  16645. fi
  16646. else
  16647. LDAP_LIBS=""
  16648. fi
  16649. else
  16650. LDAP_LIBS=""
  16651. fi
  16652. ac_wine_check_funcs_save_LIBS="$LIBS"
  16653. LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
  16654. for ac_func in \
  16655. ldap_count_references \
  16656. ldap_first_reference \
  16657. ldap_next_reference \
  16658. ldap_parse_reference \
  16659. ldap_parse_sort_control \
  16660. ldap_parse_sortresponse_control \
  16661. ldap_parse_vlv_control \
  16662. ldap_parse_vlvresponse_control
  16663. do :
  16664. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16665. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16666. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16667. cat >>confdefs.h <<_ACEOF
  16668. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16669. _ACEOF
  16670. fi
  16671. done
  16672. LIBS="$ac_wine_check_funcs_save_LIBS"
  16673. else
  16674. LDAP_LIBS=""
  16675. fi
  16676. CPPFLAGS=$ac_save_CPPFLAGS
  16677. fi
  16678. if test "x$LDAP_LIBS" = "x"; then :
  16679. case "x$with_ldap" in
  16680. x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
  16681. xno) ;;
  16682. *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
  16683. This is an error since --with-ldap was requested." "$LINENO" 5 ;;
  16684. esac
  16685. fi
  16686. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
  16687. $as_echo_n "checking for sched_setaffinity... " >&6; }
  16688. if ${wine_cv_have_sched_setaffinity+:} false; then :
  16689. $as_echo_n "(cached) " >&6
  16690. else
  16691. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16692. /* end confdefs.h. */
  16693. #define _GNU_SOURCE
  16694. #include <sched.h>
  16695. int
  16696. main ()
  16697. {
  16698. sched_setaffinity(0, 0, 0);
  16699. ;
  16700. return 0;
  16701. }
  16702. _ACEOF
  16703. if ac_fn_c_try_link "$LINENO"; then :
  16704. wine_cv_have_sched_setaffinity=yes
  16705. else
  16706. wine_cv_have_sched_setaffinity=no
  16707. fi
  16708. rm -f core conftest.err conftest.$ac_objext \
  16709. conftest$ac_exeext conftest.$ac_ext
  16710. fi
  16711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
  16712. $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
  16713. if test "$wine_cv_have_sched_setaffinity" = "yes"
  16714. then
  16715. $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
  16716. fi
  16717. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
  16718. $as_echo_n "checking for fallocate... " >&6; }
  16719. if ${wine_cv_have_fallocate+:} false; then :
  16720. $as_echo_n "(cached) " >&6
  16721. else
  16722. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16723. /* end confdefs.h. */
  16724. #define _GNU_SOURCE
  16725. #include <fcntl.h>
  16726. int
  16727. main ()
  16728. {
  16729. fallocate(-1, 0, 0, 0);
  16730. ;
  16731. return 0;
  16732. }
  16733. _ACEOF
  16734. if ac_fn_c_try_link "$LINENO"; then :
  16735. wine_cv_have_fallocate=yes
  16736. else
  16737. wine_cv_have_fallocate=no
  16738. fi
  16739. rm -f core conftest.err conftest.$ac_objext \
  16740. conftest$ac_exeext conftest.$ac_ext
  16741. fi
  16742. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
  16743. $as_echo "$wine_cv_have_fallocate" >&6; }
  16744. if test "$wine_cv_have_fallocate" = "yes"
  16745. then
  16746. $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
  16747. fi
  16748. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  16749. $as_echo_n "checking for inline... " >&6; }
  16750. if ${ac_cv_c_inline+:} false; then :
  16751. $as_echo_n "(cached) " >&6
  16752. else
  16753. ac_cv_c_inline=no
  16754. for ac_kw in inline __inline__ __inline; do
  16755. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16756. /* end confdefs.h. */
  16757. #ifndef __cplusplus
  16758. typedef int foo_t;
  16759. static $ac_kw foo_t static_foo () {return 0; }
  16760. $ac_kw foo_t foo () {return 0; }
  16761. #endif
  16762. _ACEOF
  16763. if ac_fn_c_try_compile "$LINENO"; then :
  16764. ac_cv_c_inline=$ac_kw
  16765. fi
  16766. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16767. test "$ac_cv_c_inline" != no && break
  16768. done
  16769. fi
  16770. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  16771. $as_echo "$ac_cv_c_inline" >&6; }
  16772. case $ac_cv_c_inline in
  16773. inline | yes) ;;
  16774. *)
  16775. case $ac_cv_c_inline in
  16776. no) ac_val=;;
  16777. *) ac_val=$ac_cv_c_inline;;
  16778. esac
  16779. cat >>confdefs.h <<_ACEOF
  16780. #ifndef __cplusplus
  16781. #define inline $ac_val
  16782. #endif
  16783. _ACEOF
  16784. ;;
  16785. esac
  16786. ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
  16787. if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
  16788. cat >>confdefs.h <<_ACEOF
  16789. #define HAVE_FSBLKCNT_T 1
  16790. _ACEOF
  16791. fi
  16792. ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
  16793. if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
  16794. cat >>confdefs.h <<_ACEOF
  16795. #define HAVE_FSFILCNT_T 1
  16796. _ACEOF
  16797. fi
  16798. ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
  16799. #include <signal.h>
  16800. "
  16801. if test "x$ac_cv_type_sigset_t" = xyes; then :
  16802. cat >>confdefs.h <<_ACEOF
  16803. #define HAVE_SIGSET_T 1
  16804. _ACEOF
  16805. fi
  16806. ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
  16807. "
  16808. if test "x$ac_cv_type_request_sense" = xyes; then :
  16809. cat >>confdefs.h <<_ACEOF
  16810. #define HAVE_REQUEST_SENSE 1
  16811. _ACEOF
  16812. fi
  16813. ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
  16814. #ifdef HAVE_SYS_SOCKET_H
  16815. #include <sys/socket.h>
  16816. #endif
  16817. #ifdef HAVE_SYS_SOCKETVAR_H
  16818. #include <sys/socketvar.h>
  16819. #endif
  16820. #ifdef HAVE_NET_ROUTE_H
  16821. #include <net/route.h>
  16822. #endif
  16823. #ifdef HAVE_NETINET_IN_H
  16824. #include <netinet/in.h>
  16825. #endif
  16826. #ifdef HAVE_NETINET_IN_SYSTM_H
  16827. #include <netinet/in_systm.h>
  16828. #endif
  16829. #ifdef HAVE_NETINET_IP_H
  16830. #include <netinet/ip.h>
  16831. #endif
  16832. #ifdef HAVE_NETINET_IN_PCB_H
  16833. #include <netinet/in_pcb.h>
  16834. #endif
  16835. "
  16836. if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
  16837. cat >>confdefs.h <<_ACEOF
  16838. #define HAVE_STRUCT_XINPGEN 1
  16839. _ACEOF
  16840. fi
  16841. ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
  16842. #include <linux/input.h>
  16843. #endif
  16844. "
  16845. if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
  16846. cat >>confdefs.h <<_ACEOF
  16847. #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
  16848. _ACEOF
  16849. fi
  16850. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
  16851. $as_echo_n "checking for if_nameindex... " >&6; }
  16852. if ${wine_cv_have_if_nameindex+:} false; then :
  16853. $as_echo_n "(cached) " >&6
  16854. else
  16855. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16856. /* end confdefs.h. */
  16857. #ifdef HAVE_SYS_TYPES_H
  16858. #include <sys/types.h>
  16859. #endif
  16860. #ifdef HAVE_SYS_SOCKET_H
  16861. #include <sys/socket.h>
  16862. #endif
  16863. #ifdef HAVE_NET_IF_H
  16864. # include <net/if.h>
  16865. #endif
  16866. int
  16867. main ()
  16868. {
  16869. struct if_nameindex *p = if_nameindex(); return p->if_index;
  16870. ;
  16871. return 0;
  16872. }
  16873. _ACEOF
  16874. if ac_fn_c_try_link "$LINENO"; then :
  16875. wine_cv_have_if_nameindex=yes
  16876. else
  16877. wine_cv_have_if_nameindex=no
  16878. fi
  16879. rm -f core conftest.err conftest.$ac_objext \
  16880. conftest$ac_exeext conftest.$ac_ext
  16881. fi
  16882. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
  16883. $as_echo "$wine_cv_have_if_nameindex" >&6; }
  16884. if test "$wine_cv_have_if_nameindex" = "yes"
  16885. then
  16886. $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
  16887. fi
  16888. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
  16889. $as_echo_n "checking for sigaddset... " >&6; }
  16890. if ${wine_cv_have_sigaddset+:} false; then :
  16891. $as_echo_n "(cached) " >&6
  16892. else
  16893. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16894. /* end confdefs.h. */
  16895. #include <signal.h>
  16896. int
  16897. main ()
  16898. {
  16899. sigset_t set; sigaddset(&set,SIGTERM);
  16900. ;
  16901. return 0;
  16902. }
  16903. _ACEOF
  16904. if ac_fn_c_try_link "$LINENO"; then :
  16905. wine_cv_have_sigaddset=yes
  16906. else
  16907. wine_cv_have_sigaddset=no
  16908. fi
  16909. rm -f core conftest.err conftest.$ac_objext \
  16910. conftest$ac_exeext conftest.$ac_ext
  16911. fi
  16912. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
  16913. $as_echo "$wine_cv_have_sigaddset" >&6; }
  16914. if test "$wine_cv_have_sigaddset" = "yes"
  16915. then
  16916. $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
  16917. fi
  16918. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
  16919. $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
  16920. if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
  16921. $as_echo_n "(cached) " >&6
  16922. else
  16923. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16924. /* end confdefs.h. */
  16925. #include <netdb.h>
  16926. int
  16927. main ()
  16928. {
  16929. char *name=0;
  16930. struct hostent he;
  16931. struct hostent *result;
  16932. char *buf=0;
  16933. int bufsize=0;
  16934. int errnr;
  16935. char *addr=0;
  16936. int addrlen=0;
  16937. int addrtype=0;
  16938. gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
  16939. gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
  16940. ;
  16941. return 0;
  16942. }
  16943. _ACEOF
  16944. if ac_fn_c_try_link "$LINENO"; then :
  16945. wine_cv_linux_gethostbyname_r_6=yes
  16946. else
  16947. wine_cv_linux_gethostbyname_r_6=no
  16948. fi
  16949. rm -f core conftest.err conftest.$ac_objext \
  16950. conftest$ac_exeext conftest.$ac_ext
  16951. fi
  16952. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
  16953. $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
  16954. if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
  16955. then
  16956. $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
  16957. fi
  16958. if test "$ac_cv_header_linux_joystick_h" = "yes"
  16959. then
  16960. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
  16961. $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
  16962. if ${wine_cv_linux_joystick_22_api+:} false; then :
  16963. $as_echo_n "(cached) " >&6
  16964. else
  16965. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16966. /* end confdefs.h. */
  16967. #include <sys/ioctl.h>
  16968. #include <sys/types.h>
  16969. #include <linux/joystick.h>
  16970. struct js_event blub;
  16971. #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
  16972. #error "no 2.2 header"
  16973. #endif
  16974. int
  16975. main ()
  16976. {
  16977. /*empty*/
  16978. ;
  16979. return 0;
  16980. }
  16981. _ACEOF
  16982. if ac_fn_c_try_compile "$LINENO"; then :
  16983. wine_cv_linux_joystick_22_api=yes
  16984. else
  16985. wine_cv_linux_joystick_22_api=no
  16986. fi
  16987. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16988. fi
  16989. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
  16990. $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
  16991. if test "$wine_cv_linux_joystick_22_api" = "yes"
  16992. then
  16993. $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
  16994. fi
  16995. fi
  16996. ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
  16997. #ifdef HAVE_SYS_PARAM_H
  16998. # include <sys/param.h>
  16999. #endif
  17000. #ifdef HAVE_SYS_MOUNT_H
  17001. # include <sys/mount.h>
  17002. #endif
  17003. #ifdef HAVE_SYS_VFS_H
  17004. # include <sys/vfs.h>
  17005. #endif
  17006. #ifdef HAVE_SYS_STATFS_H
  17007. # include <sys/statfs.h>
  17008. #endif
  17009. "
  17010. if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
  17011. cat >>confdefs.h <<_ACEOF
  17012. #define HAVE_STRUCT_STATFS_F_BFREE 1
  17013. _ACEOF
  17014. fi
  17015. ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
  17016. #ifdef HAVE_SYS_PARAM_H
  17017. # include <sys/param.h>
  17018. #endif
  17019. #ifdef HAVE_SYS_MOUNT_H
  17020. # include <sys/mount.h>
  17021. #endif
  17022. #ifdef HAVE_SYS_VFS_H
  17023. # include <sys/vfs.h>
  17024. #endif
  17025. #ifdef HAVE_SYS_STATFS_H
  17026. # include <sys/statfs.h>
  17027. #endif
  17028. "
  17029. if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
  17030. cat >>confdefs.h <<_ACEOF
  17031. #define HAVE_STRUCT_STATFS_F_BAVAIL 1
  17032. _ACEOF
  17033. fi
  17034. ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
  17035. #ifdef HAVE_SYS_PARAM_H
  17036. # include <sys/param.h>
  17037. #endif
  17038. #ifdef HAVE_SYS_MOUNT_H
  17039. # include <sys/mount.h>
  17040. #endif
  17041. #ifdef HAVE_SYS_VFS_H
  17042. # include <sys/vfs.h>
  17043. #endif
  17044. #ifdef HAVE_SYS_STATFS_H
  17045. # include <sys/statfs.h>
  17046. #endif
  17047. "
  17048. if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
  17049. cat >>confdefs.h <<_ACEOF
  17050. #define HAVE_STRUCT_STATFS_F_FRSIZE 1
  17051. _ACEOF
  17052. fi
  17053. ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
  17054. #ifdef HAVE_SYS_PARAM_H
  17055. # include <sys/param.h>
  17056. #endif
  17057. #ifdef HAVE_SYS_MOUNT_H
  17058. # include <sys/mount.h>
  17059. #endif
  17060. #ifdef HAVE_SYS_VFS_H
  17061. # include <sys/vfs.h>
  17062. #endif
  17063. #ifdef HAVE_SYS_STATFS_H
  17064. # include <sys/statfs.h>
  17065. #endif
  17066. "
  17067. if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
  17068. cat >>confdefs.h <<_ACEOF
  17069. #define HAVE_STRUCT_STATFS_F_FFREE 1
  17070. _ACEOF
  17071. fi
  17072. ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
  17073. #ifdef HAVE_SYS_PARAM_H
  17074. # include <sys/param.h>
  17075. #endif
  17076. #ifdef HAVE_SYS_MOUNT_H
  17077. # include <sys/mount.h>
  17078. #endif
  17079. #ifdef HAVE_SYS_VFS_H
  17080. # include <sys/vfs.h>
  17081. #endif
  17082. #ifdef HAVE_SYS_STATFS_H
  17083. # include <sys/statfs.h>
  17084. #endif
  17085. "
  17086. if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
  17087. cat >>confdefs.h <<_ACEOF
  17088. #define HAVE_STRUCT_STATFS_F_FAVAIL 1
  17089. _ACEOF
  17090. fi
  17091. ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
  17092. #ifdef HAVE_SYS_PARAM_H
  17093. # include <sys/param.h>
  17094. #endif
  17095. #ifdef HAVE_SYS_MOUNT_H
  17096. # include <sys/mount.h>
  17097. #endif
  17098. #ifdef HAVE_SYS_VFS_H
  17099. # include <sys/vfs.h>
  17100. #endif
  17101. #ifdef HAVE_SYS_STATFS_H
  17102. # include <sys/statfs.h>
  17103. #endif
  17104. "
  17105. if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
  17106. cat >>confdefs.h <<_ACEOF
  17107. #define HAVE_STRUCT_STATFS_F_NAMELEN 1
  17108. _ACEOF
  17109. fi
  17110. ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
  17111. #include <sys/statvfs.h>
  17112. #endif
  17113. "
  17114. if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
  17115. cat >>confdefs.h <<_ACEOF
  17116. #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
  17117. _ACEOF
  17118. fi
  17119. ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
  17120. #include <dirent.h>
  17121. #endif
  17122. "
  17123. if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
  17124. cat >>confdefs.h <<_ACEOF
  17125. #define HAVE_STRUCT_DIRENT_D_RECLEN 1
  17126. _ACEOF
  17127. fi
  17128. ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
  17129. #ifdef HAVE_SYS_SOCKET_H
  17130. # include <sys/socket.h>
  17131. #endif
  17132. #ifdef HAVE_SYS_UN_H
  17133. # include <sys/un.h>
  17134. #endif
  17135. "
  17136. if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
  17137. cat >>confdefs.h <<_ACEOF
  17138. #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
  17139. _ACEOF
  17140. fi
  17141. ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
  17142. #ifdef HAVE_SYS_SOCKET_H
  17143. # include <sys/socket.h>
  17144. #endif
  17145. #ifdef HAVE_SYS_UN_H
  17146. # include <sys/un.h>
  17147. #endif
  17148. "
  17149. if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
  17150. cat >>confdefs.h <<_ACEOF
  17151. #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
  17152. _ACEOF
  17153. fi
  17154. ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
  17155. #ifdef HAVE_SYS_SOCKET_H
  17156. # include <sys/socket.h>
  17157. #endif
  17158. #ifdef HAVE_SYS_UN_H
  17159. # include <sys/un.h>
  17160. #endif
  17161. "
  17162. if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
  17163. cat >>confdefs.h <<_ACEOF
  17164. #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
  17165. _ACEOF
  17166. fi
  17167. ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
  17168. #ifdef HAVE_SCSI_SG_H
  17169. #include <scsi/sg.h>
  17170. #endif
  17171. "
  17172. if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
  17173. cat >>confdefs.h <<_ACEOF
  17174. #define HAVE_SCSIREQ_T_CMD 1
  17175. _ACEOF
  17176. fi
  17177. 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>
  17178. #ifdef HAVE_SCSI_SG_H
  17179. #include <scsi/sg.h>
  17180. #endif
  17181. "
  17182. if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
  17183. cat >>confdefs.h <<_ACEOF
  17184. #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
  17185. _ACEOF
  17186. fi
  17187. ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
  17188. "
  17189. if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
  17190. cat >>confdefs.h <<_ACEOF
  17191. #define HAVE_SIGINFO_T_SI_FD 1
  17192. _ACEOF
  17193. fi
  17194. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
  17195. #ifdef HAVE_SYS_MTIO_H
  17196. #include <sys/mtio.h>
  17197. #endif
  17198. "
  17199. if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
  17200. cat >>confdefs.h <<_ACEOF
  17201. #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
  17202. _ACEOF
  17203. fi
  17204. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
  17205. #ifdef HAVE_SYS_MTIO_H
  17206. #include <sys/mtio.h>
  17207. #endif
  17208. "
  17209. if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
  17210. cat >>confdefs.h <<_ACEOF
  17211. #define HAVE_STRUCT_MTGET_MT_GSTAT 1
  17212. _ACEOF
  17213. fi
  17214. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
  17215. #ifdef HAVE_SYS_MTIO_H
  17216. #include <sys/mtio.h>
  17217. #endif
  17218. "
  17219. if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
  17220. cat >>confdefs.h <<_ACEOF
  17221. #define HAVE_STRUCT_MTGET_MT_BLKNO 1
  17222. _ACEOF
  17223. fi
  17224. ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
  17225. #include <getopt.h>
  17226. #endif
  17227. "
  17228. if test "x$ac_cv_member_struct_option_name" = xyes; then :
  17229. cat >>confdefs.h <<_ACEOF
  17230. #define HAVE_STRUCT_OPTION_NAME 1
  17231. _ACEOF
  17232. fi
  17233. ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
  17234. if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
  17235. cat >>confdefs.h <<_ACEOF
  17236. #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17237. _ACEOF
  17238. fi
  17239. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
  17240. if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
  17241. cat >>confdefs.h <<_ACEOF
  17242. #define HAVE_STRUCT_STAT_ST_MTIM 1
  17243. _ACEOF
  17244. fi
  17245. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
  17246. if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
  17247. cat >>confdefs.h <<_ACEOF
  17248. #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
  17249. _ACEOF
  17250. fi
  17251. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
  17252. if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
  17253. cat >>confdefs.h <<_ACEOF
  17254. #define HAVE_STRUCT_STAT_ST_CTIM 1
  17255. _ACEOF
  17256. fi
  17257. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
  17258. if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
  17259. cat >>confdefs.h <<_ACEOF
  17260. #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
  17261. _ACEOF
  17262. fi
  17263. ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
  17264. if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
  17265. cat >>confdefs.h <<_ACEOF
  17266. #define HAVE_STRUCT_STAT_ST_ATIM 1
  17267. _ACEOF
  17268. fi
  17269. ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
  17270. if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
  17271. cat >>confdefs.h <<_ACEOF
  17272. #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
  17273. _ACEOF
  17274. fi
  17275. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
  17276. if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
  17277. cat >>confdefs.h <<_ACEOF
  17278. #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
  17279. _ACEOF
  17280. fi
  17281. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
  17282. if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
  17283. cat >>confdefs.h <<_ACEOF
  17284. #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
  17285. _ACEOF
  17286. fi
  17287. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
  17288. if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
  17289. cat >>confdefs.h <<_ACEOF
  17290. #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
  17291. _ACEOF
  17292. fi
  17293. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
  17294. if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
  17295. cat >>confdefs.h <<_ACEOF
  17296. #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
  17297. _ACEOF
  17298. fi
  17299. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
  17300. if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
  17301. cat >>confdefs.h <<_ACEOF
  17302. #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
  17303. _ACEOF
  17304. fi
  17305. 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
  17306. #include <sys/types.h>
  17307. #endif
  17308. #ifdef HAVE_NETINET_IN_H
  17309. #include <netinet/in.h>
  17310. #endif
  17311. "
  17312. if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
  17313. cat >>confdefs.h <<_ACEOF
  17314. #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  17315. _ACEOF
  17316. fi
  17317. ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
  17318. #include <sys/types.h>
  17319. #endif
  17320. #ifdef HAVE_NETINET_IN_H
  17321. #include <netinet/in.h>
  17322. #endif
  17323. #ifdef HAVE_RESOLV_H
  17324. #include <resolv.h>
  17325. #endif
  17326. "
  17327. if test "x$ac_cv_type_struct___res_state" = xyes; then :
  17328. cat >>confdefs.h <<_ACEOF
  17329. #define HAVE_STRUCT___RES_STATE 1
  17330. _ACEOF
  17331. fi
  17332. 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
  17333. #include <resolv.h>
  17334. #endif
  17335. "
  17336. if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
  17337. cat >>confdefs.h <<_ACEOF
  17338. #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
  17339. _ACEOF
  17340. fi
  17341. ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
  17342. #include <sys/types.h>
  17343. #endif
  17344. #ifdef HAVE_NETINET_IN_H
  17345. # include <netinet/in.h>
  17346. #endif
  17347. #ifdef HAVE_ARPA_NAMESER_H
  17348. # include <arpa/nameser.h>
  17349. #endif
  17350. "
  17351. if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
  17352. cat >>confdefs.h <<_ACEOF
  17353. #define HAVE_NS_MSG__MSG_PTR 1
  17354. _ACEOF
  17355. fi
  17356. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
  17357. #include <sys/types.h>
  17358. #endif
  17359. #ifdef HAVE_NETINET_IN_H
  17360. #include <netinet/in.h>
  17361. #endif
  17362. #ifdef HAVE_NETINET_IP_H
  17363. #include <netinet/ip.h>
  17364. #endif
  17365. #ifdef HAVE_NETINET_IP_ICMP_H
  17366. #include <netinet/ip_icmp.h>
  17367. #endif
  17368. #ifdef HAVE_NETINET_ICMP_VAR_H
  17369. #include <netinet/icmp_var.h>
  17370. #endif
  17371. "
  17372. if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
  17373. cat >>confdefs.h <<_ACEOF
  17374. #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
  17375. _ACEOF
  17376. fi
  17377. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
  17378. #include <sys/types.h>
  17379. #endif
  17380. #ifdef HAVE_ALIAS_H
  17381. #include <alias.h>
  17382. #endif
  17383. #ifdef HAVE_SYS_SOCKET_H
  17384. #include <sys/socket.h>
  17385. #endif
  17386. #ifdef HAVE_SYS_SOCKETVAR_H
  17387. #include <sys/socketvar.h>
  17388. #endif
  17389. #ifdef HAVE_SYS_TIMEOUT_H
  17390. #include <sys/timeout.h>
  17391. #endif
  17392. #ifdef HAVE_NETINET_IN_H
  17393. #include <netinet/in.h>
  17394. #endif
  17395. #ifdef HAVE_NETINET_IN_SYSTM_H
  17396. #include <netinet/in_systm.h>
  17397. #endif
  17398. #ifdef HAVE_NETINET_IP_H
  17399. #include <netinet/ip.h>
  17400. #endif
  17401. #ifdef HAVE_NETINET_IP_VAR_H
  17402. #include <netinet/ip_var.h>
  17403. #endif
  17404. #ifdef HAVE_NETINET_IP_ICMP_H
  17405. #include <netinet/ip_icmp.h>
  17406. #endif
  17407. #ifdef HAVE_NETINET_ICMP_VAR_H
  17408. #include <netinet/icmp_var.h>
  17409. #endif
  17410. "
  17411. if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
  17412. cat >>confdefs.h <<_ACEOF
  17413. #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
  17414. _ACEOF
  17415. fi
  17416. ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
  17417. #include <sys/types.h>
  17418. #endif
  17419. #ifdef HAVE_SYS_SOCKETVAR_H
  17420. #include <sys/socketvar.h>
  17421. #endif
  17422. #ifdef HAVE_NETINET_IN_H
  17423. #include <netinet/in.h>
  17424. #endif
  17425. #ifdef HAVE_NETINET_IP_VAR_H
  17426. #include <netinet/ip_var.h>
  17427. #endif
  17428. "
  17429. if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
  17430. cat >>confdefs.h <<_ACEOF
  17431. #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
  17432. _ACEOF
  17433. fi
  17434. 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
  17435. #include <netinet/ip_var.h>
  17436. #endif
  17437. "
  17438. if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
  17439. cat >>confdefs.h <<_ACEOF
  17440. #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
  17441. _ACEOF
  17442. fi
  17443. ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
  17444. #include <sys/types.h>
  17445. #endif
  17446. #ifdef HAVE_SYS_SOCKETVAR_H
  17447. #include <sys/socketvar.h>
  17448. #endif
  17449. #ifdef HAVE_NETINET_IN_H
  17450. #include <netinet/in.h>
  17451. #endif
  17452. #ifdef HAVE_NETINET_TCP_H
  17453. #include <netinet/tcp.h>
  17454. #endif
  17455. #ifdef HAVE_NETINET_TCP_VAR_H
  17456. #include <netinet/tcp_var.h>
  17457. #endif
  17458. "
  17459. if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
  17460. cat >>confdefs.h <<_ACEOF
  17461. #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
  17462. _ACEOF
  17463. fi
  17464. 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
  17465. #include <netinet/tcp_var.h>
  17466. #endif
  17467. "
  17468. if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
  17469. cat >>confdefs.h <<_ACEOF
  17470. #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
  17471. _ACEOF
  17472. fi
  17473. ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
  17474. #include <sys/types.h>
  17475. #endif
  17476. #ifdef HAVE_NETINET_IN_H
  17477. #include <netinet/in.h>
  17478. #endif
  17479. #ifdef HAVE_NETINET_IP_VAR_H
  17480. #include <netinet/ip_var.h>
  17481. #endif
  17482. #ifdef HAVE_NETINET_UDP_H
  17483. #include <netinet/udp.h>
  17484. #endif
  17485. #ifdef HAVE_NETINET_UDP_VAR_H
  17486. #include <netinet/udp_var.h>
  17487. #endif
  17488. "
  17489. if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
  17490. cat >>confdefs.h <<_ACEOF
  17491. #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
  17492. _ACEOF
  17493. fi
  17494. ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
  17495. #include <sys/types.h>
  17496. #endif
  17497. #ifdef HAVE_NET_IF_H
  17498. # include <net/if.h>
  17499. #endif
  17500. "
  17501. if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
  17502. cat >>confdefs.h <<_ACEOF
  17503. #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
  17504. _ACEOF
  17505. fi
  17506. ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
  17507. # include <sys/sysinfo.h>
  17508. #endif
  17509. "
  17510. if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
  17511. cat >>confdefs.h <<_ACEOF
  17512. #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
  17513. _ACEOF
  17514. fi
  17515. ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
  17516. # include <sys/sysinfo.h>
  17517. #endif
  17518. "
  17519. if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
  17520. cat >>confdefs.h <<_ACEOF
  17521. #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
  17522. _ACEOF
  17523. fi
  17524. ac_save_LIBS="$LIBS"
  17525. LIBS="$LIBS -lm"
  17526. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
  17527. $as_echo_n "checking for isfinite... " >&6; }
  17528. if ${ac_cv_have_isfinite+:} false; then :
  17529. $as_echo_n "(cached) " >&6
  17530. else
  17531. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17532. /* end confdefs.h. */
  17533. #define _GNU_SOURCE
  17534. #include <math.h>
  17535. int
  17536. main ()
  17537. {
  17538. float f = 0.0; return isfinite(f)
  17539. ;
  17540. return 0;
  17541. }
  17542. _ACEOF
  17543. if ac_fn_c_try_link "$LINENO"; then :
  17544. ac_cv_have_isfinite="yes"
  17545. else
  17546. ac_cv_have_isfinite="no"
  17547. fi
  17548. rm -f core conftest.err conftest.$ac_objext \
  17549. conftest$ac_exeext conftest.$ac_ext
  17550. fi
  17551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
  17552. $as_echo "$ac_cv_have_isfinite" >&6; }
  17553. if test "$ac_cv_have_isfinite" = "yes"
  17554. then
  17555. $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
  17556. fi
  17557. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
  17558. $as_echo_n "checking for isinf... " >&6; }
  17559. if ${ac_cv_have_isinf+:} false; then :
  17560. $as_echo_n "(cached) " >&6
  17561. else
  17562. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17563. /* end confdefs.h. */
  17564. #include <math.h>
  17565. int
  17566. main ()
  17567. {
  17568. float f = 0.0; return isinf(f)
  17569. ;
  17570. return 0;
  17571. }
  17572. _ACEOF
  17573. if ac_fn_c_try_link "$LINENO"; then :
  17574. ac_cv_have_isinf="yes"
  17575. else
  17576. ac_cv_have_isinf="no"
  17577. fi
  17578. rm -f core conftest.err conftest.$ac_objext \
  17579. conftest$ac_exeext conftest.$ac_ext
  17580. fi
  17581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
  17582. $as_echo "$ac_cv_have_isinf" >&6; }
  17583. if test "$ac_cv_have_isinf" = "yes"
  17584. then
  17585. $as_echo "#define HAVE_ISINF 1" >>confdefs.h
  17586. fi
  17587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
  17588. $as_echo_n "checking for isnan... " >&6; }
  17589. if ${ac_cv_have_isnan+:} false; then :
  17590. $as_echo_n "(cached) " >&6
  17591. else
  17592. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17593. /* end confdefs.h. */
  17594. #include <math.h>
  17595. int
  17596. main ()
  17597. {
  17598. float f = 0.0; return isnan(f)
  17599. ;
  17600. return 0;
  17601. }
  17602. _ACEOF
  17603. if ac_fn_c_try_link "$LINENO"; then :
  17604. ac_cv_have_isnan="yes"
  17605. else
  17606. ac_cv_have_isnan="no"
  17607. fi
  17608. rm -f core conftest.err conftest.$ac_objext \
  17609. conftest$ac_exeext conftest.$ac_ext
  17610. fi
  17611. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
  17612. $as_echo "$ac_cv_have_isnan" >&6; }
  17613. if test "$ac_cv_have_isnan" = "yes"
  17614. then
  17615. $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
  17616. fi
  17617. for ac_func in \
  17618. acosh \
  17619. acoshf \
  17620. asinh \
  17621. asinhf \
  17622. atanh \
  17623. atanhf \
  17624. cbrt \
  17625. cbrtf \
  17626. erf \
  17627. erfc \
  17628. erfcf \
  17629. erff \
  17630. exp2 \
  17631. exp2f \
  17632. expm1 \
  17633. expm1f \
  17634. fma \
  17635. fmaf \
  17636. ilogb \
  17637. ilogbf \
  17638. j0 \
  17639. j1 \
  17640. jn \
  17641. lgamma \
  17642. lgammaf \
  17643. llrint \
  17644. llrintf \
  17645. llround \
  17646. llroundf \
  17647. log1p \
  17648. log1pf \
  17649. log2 \
  17650. log2f \
  17651. lrint \
  17652. lrintf \
  17653. lround \
  17654. lroundf \
  17655. nearbyint \
  17656. nearbyintf \
  17657. nexttoward \
  17658. nexttowardf \
  17659. remainder \
  17660. remainderf \
  17661. remquo \
  17662. remquof \
  17663. rint \
  17664. rintf \
  17665. round \
  17666. roundf \
  17667. tgamma \
  17668. tgammaf \
  17669. trunc \
  17670. truncf \
  17671. y0 \
  17672. y1 \
  17673. yn
  17674. do :
  17675. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  17676. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  17677. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  17678. cat >>confdefs.h <<_ACEOF
  17679. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  17680. _ACEOF
  17681. fi
  17682. done
  17683. LIBS="$ac_save_LIBS"
  17684. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
  17685. $as_echo_n "checking for __builtin_popcount... " >&6; }
  17686. if ${ac_cv_have___builtin_popcount+:} false; then :
  17687. $as_echo_n "(cached) " >&6
  17688. else
  17689. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17690. /* end confdefs.h. */
  17691. int
  17692. main ()
  17693. {
  17694. return __builtin_popcount(1)
  17695. ;
  17696. return 0;
  17697. }
  17698. _ACEOF
  17699. if ac_fn_c_try_link "$LINENO"; then :
  17700. ac_cv_have___builtin_popcount="yes"
  17701. else
  17702. ac_cv_have___builtin_popcount="no"
  17703. fi
  17704. rm -f core conftest.err conftest.$ac_objext \
  17705. conftest$ac_exeext conftest.$ac_ext
  17706. fi
  17707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
  17708. $as_echo "$ac_cv_have___builtin_popcount" >&6; }
  17709. if test "$ac_cv_have___builtin_popcount" = "yes"
  17710. then
  17711. $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
  17712. fi
  17713. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
  17714. $as_echo_n "checking for __clear_cache... " >&6; }
  17715. if ${ac_cv_have___clear_cache+:} false; then :
  17716. $as_echo_n "(cached) " >&6
  17717. else
  17718. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17719. /* end confdefs.h. */
  17720. int
  17721. main ()
  17722. {
  17723. __clear_cache((void*)0, (void*)0); return 0;
  17724. ;
  17725. return 0;
  17726. }
  17727. _ACEOF
  17728. if ac_fn_c_try_link "$LINENO"; then :
  17729. ac_cv_have___clear_cache="yes"
  17730. else
  17731. ac_cv_have___clear_cache="no"
  17732. fi
  17733. rm -f core conftest.err conftest.$ac_objext \
  17734. conftest$ac_exeext conftest.$ac_ext
  17735. fi
  17736. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
  17737. $as_echo "$ac_cv_have___clear_cache" >&6; }
  17738. if test "$ac_cv_have___clear_cache" = "yes"
  17739. then
  17740. $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
  17741. fi
  17742. case $host_cpu in
  17743. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
  17744. $as_echo_n "checking whether we need to define __i386__... " >&6; }
  17745. if ${ac_cv_cpp_def___i386__+:} false; then :
  17746. $as_echo_n "(cached) " >&6
  17747. else
  17748. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17749. /* end confdefs.h. */
  17750. #ifndef __i386__
  17751. yes
  17752. #endif
  17753. _ACEOF
  17754. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17755. $EGREP "yes" >/dev/null 2>&1; then :
  17756. ac_cv_cpp_def___i386__=yes
  17757. else
  17758. ac_cv_cpp_def___i386__=no
  17759. fi
  17760. rm -f conftest*
  17761. fi
  17762. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
  17763. $as_echo "$ac_cv_cpp_def___i386__" >&6; }
  17764. if test "x$ac_cv_cpp_def___i386__" = xyes; then :
  17765. CFLAGS="$CFLAGS -D__i386__"
  17766. LINTFLAGS="$LINTFLAGS -D__i386__"
  17767. fi ;;
  17768. *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
  17769. $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
  17770. if ${ac_cv_cpp_def___x86_64__+:} false; then :
  17771. $as_echo_n "(cached) " >&6
  17772. else
  17773. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17774. /* end confdefs.h. */
  17775. #ifndef __x86_64__
  17776. yes
  17777. #endif
  17778. _ACEOF
  17779. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17780. $EGREP "yes" >/dev/null 2>&1; then :
  17781. ac_cv_cpp_def___x86_64__=yes
  17782. else
  17783. ac_cv_cpp_def___x86_64__=no
  17784. fi
  17785. rm -f conftest*
  17786. fi
  17787. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
  17788. $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
  17789. if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
  17790. CFLAGS="$CFLAGS -D__x86_64__"
  17791. LINTFLAGS="$LINTFLAGS -D__x86_64__"
  17792. fi ;;
  17793. *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
  17794. $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
  17795. if ${ac_cv_cpp_def___sparc64__+:} false; then :
  17796. $as_echo_n "(cached) " >&6
  17797. else
  17798. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17799. /* end confdefs.h. */
  17800. #ifndef __sparc64__
  17801. yes
  17802. #endif
  17803. _ACEOF
  17804. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17805. $EGREP "yes" >/dev/null 2>&1; then :
  17806. ac_cv_cpp_def___sparc64__=yes
  17807. else
  17808. ac_cv_cpp_def___sparc64__=no
  17809. fi
  17810. rm -f conftest*
  17811. fi
  17812. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
  17813. $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
  17814. if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
  17815. CFLAGS="$CFLAGS -D__sparc64__"
  17816. LINTFLAGS="$LINTFLAGS -D__sparc64__"
  17817. fi ;;
  17818. *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
  17819. $as_echo_n "checking whether we need to define __sparc__... " >&6; }
  17820. if ${ac_cv_cpp_def___sparc__+:} false; then :
  17821. $as_echo_n "(cached) " >&6
  17822. else
  17823. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17824. /* end confdefs.h. */
  17825. #ifndef __sparc__
  17826. yes
  17827. #endif
  17828. _ACEOF
  17829. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17830. $EGREP "yes" >/dev/null 2>&1; then :
  17831. ac_cv_cpp_def___sparc__=yes
  17832. else
  17833. ac_cv_cpp_def___sparc__=no
  17834. fi
  17835. rm -f conftest*
  17836. fi
  17837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
  17838. $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
  17839. if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
  17840. CFLAGS="$CFLAGS -D__sparc__"
  17841. LINTFLAGS="$LINTFLAGS -D__sparc__"
  17842. fi ;;
  17843. *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
  17844. $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
  17845. if ${ac_cv_cpp_def___powerpc64__+:} false; then :
  17846. $as_echo_n "(cached) " >&6
  17847. else
  17848. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17849. /* end confdefs.h. */
  17850. #ifndef __powerpc64__
  17851. yes
  17852. #endif
  17853. _ACEOF
  17854. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17855. $EGREP "yes" >/dev/null 2>&1; then :
  17856. ac_cv_cpp_def___powerpc64__=yes
  17857. else
  17858. ac_cv_cpp_def___powerpc64__=no
  17859. fi
  17860. rm -f conftest*
  17861. fi
  17862. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
  17863. $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
  17864. if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
  17865. CFLAGS="$CFLAGS -D__powerpc64__"
  17866. LINTFLAGS="$LINTFLAGS -D__powerpc64__"
  17867. fi ;;
  17868. *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
  17869. $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
  17870. if ${ac_cv_cpp_def___powerpc__+:} false; then :
  17871. $as_echo_n "(cached) " >&6
  17872. else
  17873. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17874. /* end confdefs.h. */
  17875. #ifndef __powerpc__
  17876. yes
  17877. #endif
  17878. _ACEOF
  17879. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17880. $EGREP "yes" >/dev/null 2>&1; then :
  17881. ac_cv_cpp_def___powerpc__=yes
  17882. else
  17883. ac_cv_cpp_def___powerpc__=no
  17884. fi
  17885. rm -f conftest*
  17886. fi
  17887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
  17888. $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
  17889. if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
  17890. CFLAGS="$CFLAGS -D__powerpc__"
  17891. LINTFLAGS="$LINTFLAGS -D__powerpc__"
  17892. fi ;;
  17893. *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
  17894. $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
  17895. if ${ac_cv_cpp_def___aarch64__+:} false; then :
  17896. $as_echo_n "(cached) " >&6
  17897. else
  17898. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17899. /* end confdefs.h. */
  17900. #ifndef __aarch64__
  17901. yes
  17902. #endif
  17903. _ACEOF
  17904. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17905. $EGREP "yes" >/dev/null 2>&1; then :
  17906. ac_cv_cpp_def___aarch64__=yes
  17907. else
  17908. ac_cv_cpp_def___aarch64__=no
  17909. fi
  17910. rm -f conftest*
  17911. fi
  17912. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
  17913. $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
  17914. if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
  17915. CFLAGS="$CFLAGS -D__aarch64__"
  17916. LINTFLAGS="$LINTFLAGS -D__aarch64__"
  17917. fi ;;
  17918. *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
  17919. $as_echo_n "checking whether we need to define __arm__... " >&6; }
  17920. if ${ac_cv_cpp_def___arm__+:} false; then :
  17921. $as_echo_n "(cached) " >&6
  17922. else
  17923. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17924. /* end confdefs.h. */
  17925. #ifndef __arm__
  17926. yes
  17927. #endif
  17928. _ACEOF
  17929. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17930. $EGREP "yes" >/dev/null 2>&1; then :
  17931. ac_cv_cpp_def___arm__=yes
  17932. else
  17933. ac_cv_cpp_def___arm__=no
  17934. fi
  17935. rm -f conftest*
  17936. fi
  17937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
  17938. $as_echo "$ac_cv_cpp_def___arm__" >&6; }
  17939. if test "x$ac_cv_cpp_def___arm__" = xyes; then :
  17940. CFLAGS="$CFLAGS -D__arm__"
  17941. LINTFLAGS="$LINTFLAGS -D__arm__"
  17942. fi ;;
  17943. esac
  17944. case $host_vendor in
  17945. *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
  17946. $as_echo_n "checking whether we need to define __sun__... " >&6; }
  17947. if ${ac_cv_cpp_def___sun__+:} false; then :
  17948. $as_echo_n "(cached) " >&6
  17949. else
  17950. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17951. /* end confdefs.h. */
  17952. #ifndef __sun__
  17953. yes
  17954. #endif
  17955. _ACEOF
  17956. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17957. $EGREP "yes" >/dev/null 2>&1; then :
  17958. ac_cv_cpp_def___sun__=yes
  17959. else
  17960. ac_cv_cpp_def___sun__=no
  17961. fi
  17962. rm -f conftest*
  17963. fi
  17964. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
  17965. $as_echo "$ac_cv_cpp_def___sun__" >&6; }
  17966. if test "x$ac_cv_cpp_def___sun__" = xyes; then :
  17967. CFLAGS="$CFLAGS -D__sun__"
  17968. LINTFLAGS="$LINTFLAGS -D__sun__"
  17969. fi ;;
  17970. esac
  17971. ac_config_commands="$ac_config_commands include/stamp-h"
  17972. $as_echo_n "creating Makefile rules..." >&6
  17973. ALL_VARS_RULES="I386_LIBS = $I386_LIBS
  17974. OPENGL_LIBS = $OPENGL_LIBS
  17975. COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
  17976. IOKIT_LIBS = $IOKIT_LIBS
  17977. FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
  17978. APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
  17979. CORESERVICES_LIBS = $CORESERVICES_LIBS
  17980. APPKIT_LIBS = $APPKIT_LIBS
  17981. SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
  17982. DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
  17983. SECURITY_LIBS = $SECURITY_LIBS
  17984. COREAUDIO_LIBS = $COREAUDIO_LIBS
  17985. OPENAL_LIBS = $OPENAL_LIBS
  17986. OPENCL_LIBS = $OPENCL_LIBS
  17987. QUICKTIME_LIBS = $QUICKTIME_LIBS
  17988. CARBON_LIBS = $CARBON_LIBS
  17989. METAL_LIBS = $METAL_LIBS
  17990. EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
  17991. PTHREAD_LIBS = $PTHREAD_LIBS
  17992. X_CFLAGS = $X_CFLAGS
  17993. X_PRE_LIBS = $X_PRE_LIBS
  17994. X_LIBS = $X_LIBS
  17995. X_EXTRA_LIBS = $X_EXTRA_LIBS
  17996. PCAP_LIBS = $PCAP_LIBS
  17997. XML2_CFLAGS = $XML2_CFLAGS
  17998. XML2_LIBS = $XML2_LIBS
  17999. XSLT_CFLAGS = $XSLT_CFLAGS
  18000. XSLT_LIBS = $XSLT_LIBS
  18001. INOTIFY_CFLAGS = $INOTIFY_CFLAGS
  18002. INOTIFY_LIBS = $INOTIFY_LIBS
  18003. DBUS_CFLAGS = $DBUS_CFLAGS
  18004. DBUS_LIBS = $DBUS_LIBS
  18005. HAL_CFLAGS = $HAL_CFLAGS
  18006. HAL_LIBS = $HAL_LIBS
  18007. GNUTLS_CFLAGS = $GNUTLS_CFLAGS
  18008. GNUTLS_LIBS = $GNUTLS_LIBS
  18009. SANE_CFLAGS = $SANE_CFLAGS
  18010. SANE_LIBS = $SANE_LIBS
  18011. USB_CFLAGS = $USB_CFLAGS
  18012. USB_LIBS = $USB_LIBS
  18013. GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
  18014. GPHOTO2_LIBS = $GPHOTO2_LIBS
  18015. GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
  18016. GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
  18017. RESOLV_LIBS = $RESOLV_LIBS
  18018. LCMS2_CFLAGS = $LCMS2_CFLAGS
  18019. LCMS2_LIBS = $LCMS2_LIBS
  18020. FREETYPE_CFLAGS = $FREETYPE_CFLAGS
  18021. FREETYPE_LIBS = $FREETYPE_LIBS
  18022. GETTEXTPO_LIBS = $GETTEXTPO_LIBS
  18023. PULSE_CFLAGS = $PULSE_CFLAGS
  18024. PULSE_LIBS = $PULSE_LIBS
  18025. GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
  18026. GSTREAMER_LIBS = $GSTREAMER_LIBS
  18027. ALSA_LIBS = $ALSA_LIBS
  18028. OSS4_CFLAGS = $OSS4_CFLAGS
  18029. OSS4_LIBS = $OSS4_LIBS
  18030. UDEV_CFLAGS = $UDEV_CFLAGS
  18031. UDEV_LIBS = $UDEV_LIBS
  18032. UNWIND_CFLAGS = $UNWIND_CFLAGS
  18033. UNWIND_LIBS = $UNWIND_LIBS
  18034. SDL2_CFLAGS = $SDL2_CFLAGS
  18035. SDL2_LIBS = $SDL2_LIBS
  18036. FAUDIO_CFLAGS = $FAUDIO_CFLAGS
  18037. FAUDIO_LIBS = $FAUDIO_LIBS
  18038. CAPI20_CFLAGS = $CAPI20_CFLAGS
  18039. CAPI20_LIBS = $CAPI20_LIBS
  18040. CUPS_CFLAGS = $CUPS_CFLAGS
  18041. CUPS_LIBS = $CUPS_LIBS
  18042. FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
  18043. FONTCONFIG_LIBS = $FONTCONFIG_LIBS
  18044. KRB5_CFLAGS = $KRB5_CFLAGS
  18045. KRB5_LIBS = $KRB5_LIBS
  18046. GSSAPI_CFLAGS = $GSSAPI_CFLAGS
  18047. GSSAPI_LIBS = $GSSAPI_LIBS
  18048. JPEG_CFLAGS = $JPEG_CFLAGS
  18049. JPEG_LIBS = $JPEG_LIBS
  18050. PNG_CFLAGS = $PNG_CFLAGS
  18051. PNG_LIBS = $PNG_LIBS
  18052. TIFF_CFLAGS = $TIFF_CFLAGS
  18053. TIFF_LIBS = $TIFF_LIBS
  18054. MPG123_CFLAGS = $MPG123_CFLAGS
  18055. MPG123_LIBS = $MPG123_LIBS
  18056. KSTAT_LIBS = $KSTAT_LIBS
  18057. PROCSTAT_LIBS = $PROCSTAT_LIBS
  18058. NETAPI_CFLAGS = $NETAPI_CFLAGS
  18059. NETAPI_LIBS = $NETAPI_LIBS
  18060. VKD3D_CFLAGS = $VKD3D_CFLAGS
  18061. VKD3D_LIBS = $VKD3D_LIBS
  18062. POLL_LIBS = $POLL_LIBS
  18063. RT_LIBS = $RT_LIBS
  18064. LDAP_CFLAGS = $LDAP_CFLAGS
  18065. LDAP_LIBS = $LDAP_LIBS
  18066. "
  18067. wine_fn_append_rule "
  18068. # Rules automatically generated by configure
  18069. .INIT: Makefile
  18070. .MAKEFILEDEPS:
  18071. all: Makefile
  18072. Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
  18073. @./config.status Make.tmp Makefile
  18074. depend: \$(MAKEDEP)
  18075. \$(MAKEDEP)
  18076. dummy:
  18077. .PHONY: depend dummy"
  18078. ac_config_links="$ac_config_links wine:tools/winewrapper"
  18079. wine_fn_config_symlink wine
  18080. if test "x$enable_win64" != xno -o -n "$with_wine64"; then
  18081. ac_config_links="$ac_config_links wine64:tools/winewrapper"
  18082. wine_fn_config_symlink wine64
  18083. fi
  18084. wine_fn_config_makefile dlls/acledit enable_acledit
  18085. wine_fn_config_makefile dlls/aclui enable_aclui
  18086. wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
  18087. wine_fn_config_makefile dlls/activeds enable_activeds
  18088. wine_fn_config_makefile dlls/activeds/tests enable_tests
  18089. wine_fn_config_makefile dlls/actxprxy enable_actxprxy
  18090. wine_fn_config_makefile dlls/adsiid enable_adsiid
  18091. wine_fn_config_makefile dlls/adsldp enable_adsldp
  18092. wine_fn_config_makefile dlls/adsldp/tests enable_tests
  18093. wine_fn_config_makefile dlls/adsldpc enable_adsldpc
  18094. wine_fn_config_makefile dlls/advapi32 enable_advapi32
  18095. wine_fn_config_makefile dlls/advapi32/tests enable_tests
  18096. wine_fn_config_makefile dlls/advpack enable_advpack
  18097. wine_fn_config_makefile dlls/advpack/tests enable_tests
  18098. wine_fn_config_makefile dlls/amsi enable_amsi
  18099. wine_fn_config_makefile dlls/amstream enable_amstream
  18100. wine_fn_config_makefile dlls/amstream/tests enable_tests
  18101. wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
  18102. wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
  18103. wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
  18104. wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
  18105. wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
  18106. wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
  18107. wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
  18108. wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
  18109. wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
  18110. wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
  18111. wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
  18112. wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
  18113. wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
  18114. wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
  18115. wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
  18116. wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
  18117. wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
  18118. wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
  18119. wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
  18120. wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
  18121. wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
  18122. wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
  18123. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
  18124. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
  18125. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
  18126. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
  18127. wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
  18128. wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
  18129. wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
  18130. wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
  18131. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
  18132. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
  18133. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
  18134. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
  18135. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
  18136. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
  18137. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
  18138. wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
  18139. wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
  18140. wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
  18141. wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
  18142. wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
  18143. wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
  18144. wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
  18145. wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
  18146. wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
  18147. wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
  18148. wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
  18149. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
  18150. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
  18151. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
  18152. wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
  18153. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
  18154. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
  18155. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
  18156. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
  18157. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
  18158. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
  18159. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
  18160. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
  18161. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
  18162. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
  18163. wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
  18164. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
  18165. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
  18166. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
  18167. wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
  18168. wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
  18169. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
  18170. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
  18171. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
  18172. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
  18173. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
  18174. wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
  18175. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
  18176. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
  18177. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
  18178. wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
  18179. wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
  18180. wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
  18181. wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
  18182. wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
  18183. wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
  18184. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
  18185. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
  18186. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
  18187. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
  18188. wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
  18189. wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
  18190. wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
  18191. wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
  18192. wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
  18193. wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
  18194. wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
  18195. wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
  18196. wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
  18197. wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
  18198. wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
  18199. wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
  18200. wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
  18201. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
  18202. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
  18203. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
  18204. wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
  18205. wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
  18206. wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
  18207. wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
  18208. wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
  18209. wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
  18210. wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
  18211. wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
  18212. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
  18213. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
  18214. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
  18215. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
  18216. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
  18217. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
  18218. wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
  18219. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
  18220. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
  18221. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
  18222. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
  18223. wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
  18224. wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
  18225. wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
  18226. wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
  18227. wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
  18228. wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
  18229. wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
  18230. wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
  18231. wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
  18232. wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
  18233. wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
  18234. wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
  18235. wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
  18236. wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
  18237. wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
  18238. wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
  18239. wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
  18240. wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
  18241. wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
  18242. wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
  18243. wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
  18244. wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
  18245. wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
  18246. wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
  18247. wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
  18248. wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
  18249. wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
  18250. wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
  18251. wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
  18252. wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
  18253. wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
  18254. wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
  18255. wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
  18256. wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
  18257. wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
  18258. wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
  18259. wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
  18260. wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
  18261. wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
  18262. wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
  18263. wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
  18264. wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
  18265. wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
  18266. wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
  18267. wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
  18268. wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
  18269. wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
  18270. wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
  18271. wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
  18272. wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
  18273. wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
  18274. wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
  18275. wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
  18276. wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
  18277. wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
  18278. wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
  18279. wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
  18280. wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
  18281. wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
  18282. wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
  18283. wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
  18284. wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
  18285. wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
  18286. wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
  18287. wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
  18288. wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
  18289. wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
  18290. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
  18291. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
  18292. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
  18293. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
  18294. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
  18295. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
  18296. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
  18297. wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
  18298. wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
  18299. wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
  18300. wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
  18301. wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
  18302. wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
  18303. wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
  18304. wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
  18305. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
  18306. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
  18307. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
  18308. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
  18309. wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
  18310. wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
  18311. wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
  18312. wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
  18313. wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
  18314. wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
  18315. wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
  18316. wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
  18317. wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
  18318. wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
  18319. wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
  18320. wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
  18321. wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
  18322. wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
  18323. wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
  18324. wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
  18325. wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
  18326. wine_fn_config_makefile dlls/apphelp enable_apphelp
  18327. wine_fn_config_makefile dlls/apphelp/tests enable_tests
  18328. wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
  18329. wine_fn_config_makefile dlls/atl enable_atl
  18330. wine_fn_config_makefile dlls/atl/tests enable_tests
  18331. wine_fn_config_makefile dlls/atl100 enable_atl100
  18332. wine_fn_config_makefile dlls/atl100/tests enable_tests
  18333. wine_fn_config_makefile dlls/atl110 enable_atl110
  18334. wine_fn_config_makefile dlls/atl80 enable_atl80
  18335. wine_fn_config_makefile dlls/atl80/tests enable_tests
  18336. wine_fn_config_makefile dlls/atl90 enable_atl90
  18337. wine_fn_config_makefile dlls/atlthunk enable_atlthunk
  18338. wine_fn_config_makefile dlls/atlthunk/tests enable_tests
  18339. wine_fn_config_makefile dlls/atmlib enable_atmlib
  18340. wine_fn_config_makefile dlls/authz enable_authz
  18341. wine_fn_config_makefile dlls/avicap32 enable_avicap32
  18342. wine_fn_config_makefile dlls/avifil32 enable_avifil32
  18343. wine_fn_config_makefile dlls/avifil32/tests enable_tests
  18344. wine_fn_config_makefile dlls/avifile.dll16 enable_win16
  18345. wine_fn_config_makefile dlls/avrt enable_avrt
  18346. wine_fn_config_makefile dlls/bcrypt enable_bcrypt
  18347. wine_fn_config_makefile dlls/bcrypt/tests enable_tests
  18348. wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
  18349. wine_fn_config_makefile dlls/browseui enable_browseui
  18350. wine_fn_config_makefile dlls/browseui/tests enable_tests
  18351. wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
  18352. wine_fn_config_makefile dlls/cabinet enable_cabinet
  18353. wine_fn_config_makefile dlls/cabinet/tests enable_tests
  18354. wine_fn_config_makefile dlls/capi2032 enable_capi2032
  18355. wine_fn_config_makefile dlls/cards enable_cards
  18356. wine_fn_config_makefile dlls/cdosys enable_cdosys
  18357. wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
  18358. wine_fn_config_makefile dlls/clusapi enable_clusapi
  18359. wine_fn_config_makefile dlls/combase enable_combase
  18360. wine_fn_config_makefile dlls/combase/tests enable_tests
  18361. wine_fn_config_makefile dlls/comcat enable_comcat
  18362. wine_fn_config_makefile dlls/comcat/tests enable_tests
  18363. wine_fn_config_makefile dlls/comctl32 enable_comctl32
  18364. wine_fn_config_makefile dlls/comctl32/tests enable_tests
  18365. wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
  18366. wine_fn_config_makefile dlls/comdlg32/tests enable_tests
  18367. wine_fn_config_makefile dlls/comm.drv16 enable_win16
  18368. wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
  18369. wine_fn_config_makefile dlls/compobj.dll16 enable_win16
  18370. wine_fn_config_makefile dlls/compstui enable_compstui
  18371. wine_fn_config_makefile dlls/comsvcs enable_comsvcs
  18372. wine_fn_config_makefile dlls/comsvcs/tests enable_tests
  18373. wine_fn_config_makefile dlls/concrt140 enable_concrt140
  18374. wine_fn_config_makefile dlls/connect enable_connect
  18375. wine_fn_config_makefile dlls/credui enable_credui
  18376. wine_fn_config_makefile dlls/credui/tests enable_tests
  18377. wine_fn_config_makefile dlls/crtdll enable_crtdll
  18378. wine_fn_config_makefile dlls/crypt32 enable_crypt32
  18379. wine_fn_config_makefile dlls/crypt32/tests enable_tests
  18380. wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
  18381. wine_fn_config_makefile dlls/cryptdll enable_cryptdll
  18382. wine_fn_config_makefile dlls/cryptext enable_cryptext
  18383. wine_fn_config_makefile dlls/cryptnet enable_cryptnet
  18384. wine_fn_config_makefile dlls/cryptnet/tests enable_tests
  18385. wine_fn_config_makefile dlls/cryptui enable_cryptui
  18386. wine_fn_config_makefile dlls/cryptui/tests enable_tests
  18387. wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
  18388. wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
  18389. wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
  18390. wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
  18391. wine_fn_config_makefile dlls/d2d1 enable_d2d1
  18392. wine_fn_config_makefile dlls/d2d1/tests enable_tests
  18393. wine_fn_config_makefile dlls/d3d10 enable_d3d10
  18394. wine_fn_config_makefile dlls/d3d10/tests enable_tests
  18395. wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
  18396. wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
  18397. wine_fn_config_makefile dlls/d3d10core enable_d3d10core
  18398. wine_fn_config_makefile dlls/d3d10core/tests enable_tests
  18399. wine_fn_config_makefile dlls/d3d11 enable_d3d11
  18400. wine_fn_config_makefile dlls/d3d11/tests enable_tests
  18401. wine_fn_config_makefile dlls/d3d12 enable_d3d12
  18402. wine_fn_config_makefile dlls/d3d12/tests enable_tests
  18403. wine_fn_config_makefile dlls/d3d8 enable_d3d8
  18404. wine_fn_config_makefile dlls/d3d8/tests enable_tests
  18405. wine_fn_config_makefile dlls/d3d9 enable_d3d9
  18406. wine_fn_config_makefile dlls/d3d9/tests enable_tests
  18407. wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
  18408. wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
  18409. wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
  18410. wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
  18411. wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
  18412. wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
  18413. wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
  18414. wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
  18415. wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
  18416. wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
  18417. wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
  18418. wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
  18419. wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
  18420. wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
  18421. wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
  18422. wine_fn_config_makefile dlls/d3dim enable_d3dim
  18423. wine_fn_config_makefile dlls/d3drm enable_d3drm
  18424. wine_fn_config_makefile dlls/d3drm/tests enable_tests
  18425. wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
  18426. wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
  18427. wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
  18428. wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
  18429. wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
  18430. wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
  18431. wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
  18432. wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
  18433. wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
  18434. wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
  18435. wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
  18436. wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
  18437. wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
  18438. wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
  18439. wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
  18440. wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
  18441. wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
  18442. wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
  18443. wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
  18444. wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
  18445. wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
  18446. wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
  18447. wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
  18448. wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
  18449. wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
  18450. wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
  18451. wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
  18452. wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
  18453. wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
  18454. wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
  18455. wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
  18456. wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
  18457. wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
  18458. wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
  18459. wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
  18460. wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
  18461. wine_fn_config_makefile dlls/d3dxof enable_d3dxof
  18462. wine_fn_config_makefile dlls/d3dxof/tests enable_tests
  18463. wine_fn_config_makefile dlls/davclnt enable_davclnt
  18464. wine_fn_config_makefile dlls/dbgeng enable_dbgeng
  18465. wine_fn_config_makefile dlls/dbgeng/tests enable_tests
  18466. wine_fn_config_makefile dlls/dbghelp enable_dbghelp
  18467. wine_fn_config_makefile dlls/dbghelp/tests enable_tests
  18468. wine_fn_config_makefile dlls/dciman32 enable_dciman32
  18469. wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
  18470. wine_fn_config_makefile dlls/ddraw enable_ddraw
  18471. wine_fn_config_makefile dlls/ddraw/tests enable_tests
  18472. wine_fn_config_makefile dlls/ddrawex enable_ddrawex
  18473. wine_fn_config_makefile dlls/ddrawex/tests enable_tests
  18474. wine_fn_config_makefile dlls/devenum enable_devenum
  18475. wine_fn_config_makefile dlls/devenum/tests enable_tests
  18476. wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
  18477. wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
  18478. wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
  18479. wine_fn_config_makefile dlls/difxapi enable_difxapi
  18480. wine_fn_config_makefile dlls/dinput enable_dinput
  18481. wine_fn_config_makefile dlls/dinput/tests enable_tests
  18482. wine_fn_config_makefile dlls/dinput8 enable_dinput8
  18483. wine_fn_config_makefile dlls/dinput8/tests enable_tests
  18484. wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
  18485. wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
  18486. wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
  18487. wine_fn_config_makefile dlls/dispex enable_dispex
  18488. wine_fn_config_makefile dlls/dispex/tests enable_tests
  18489. wine_fn_config_makefile dlls/display.drv16 enable_win16
  18490. wine_fn_config_makefile dlls/dmband enable_dmband
  18491. wine_fn_config_makefile dlls/dmband/tests enable_tests
  18492. wine_fn_config_makefile dlls/dmcompos enable_dmcompos
  18493. wine_fn_config_makefile dlls/dmcompos/tests enable_tests
  18494. wine_fn_config_makefile dlls/dmime enable_dmime
  18495. wine_fn_config_makefile dlls/dmime/tests enable_tests
  18496. wine_fn_config_makefile dlls/dmloader enable_dmloader
  18497. wine_fn_config_makefile dlls/dmloader/tests enable_tests
  18498. wine_fn_config_makefile dlls/dmoguids enable_dmoguids
  18499. wine_fn_config_makefile dlls/dmscript enable_dmscript
  18500. wine_fn_config_makefile dlls/dmscript/tests enable_tests
  18501. wine_fn_config_makefile dlls/dmstyle enable_dmstyle
  18502. wine_fn_config_makefile dlls/dmstyle/tests enable_tests
  18503. wine_fn_config_makefile dlls/dmsynth enable_dmsynth
  18504. wine_fn_config_makefile dlls/dmsynth/tests enable_tests
  18505. wine_fn_config_makefile dlls/dmusic enable_dmusic
  18506. wine_fn_config_makefile dlls/dmusic/tests enable_tests
  18507. wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
  18508. wine_fn_config_makefile dlls/dnsapi enable_dnsapi
  18509. wine_fn_config_makefile dlls/dnsapi/tests enable_tests
  18510. wine_fn_config_makefile dlls/dplay enable_dplay
  18511. wine_fn_config_makefile dlls/dplayx enable_dplayx
  18512. wine_fn_config_makefile dlls/dplayx/tests enable_tests
  18513. wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
  18514. wine_fn_config_makefile dlls/dpnet enable_dpnet
  18515. wine_fn_config_makefile dlls/dpnet/tests enable_tests
  18516. wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
  18517. wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
  18518. wine_fn_config_makefile dlls/dpvoice enable_dpvoice
  18519. wine_fn_config_makefile dlls/dpvoice/tests enable_tests
  18520. wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
  18521. wine_fn_config_makefile dlls/drmclien enable_drmclien
  18522. wine_fn_config_makefile dlls/dsdmo enable_dsdmo
  18523. wine_fn_config_makefile dlls/dsdmo/tests enable_tests
  18524. wine_fn_config_makefile dlls/dsound enable_dsound
  18525. wine_fn_config_makefile dlls/dsound/tests enable_tests
  18526. wine_fn_config_makefile dlls/dsquery enable_dsquery
  18527. wine_fn_config_makefile dlls/dssenh enable_dssenh
  18528. wine_fn_config_makefile dlls/dssenh/tests enable_tests
  18529. wine_fn_config_makefile dlls/dsuiext enable_dsuiext
  18530. wine_fn_config_makefile dlls/dswave enable_dswave
  18531. wine_fn_config_makefile dlls/dswave/tests enable_tests
  18532. wine_fn_config_makefile dlls/dwmapi enable_dwmapi
  18533. wine_fn_config_makefile dlls/dwmapi/tests enable_tests
  18534. wine_fn_config_makefile dlls/dwrite enable_dwrite
  18535. wine_fn_config_makefile dlls/dwrite/tests enable_tests
  18536. wine_fn_config_makefile dlls/dx8vb enable_dx8vb
  18537. wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
  18538. wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
  18539. wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
  18540. wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
  18541. wine_fn_config_makefile dlls/dxgi enable_dxgi
  18542. wine_fn_config_makefile dlls/dxgi/tests enable_tests
  18543. wine_fn_config_makefile dlls/dxguid enable_dxguid
  18544. wine_fn_config_makefile dlls/dxva2 enable_dxva2
  18545. wine_fn_config_makefile dlls/dxva2/tests enable_tests
  18546. wine_fn_config_makefile dlls/esent enable_esent
  18547. wine_fn_config_makefile dlls/evr enable_evr
  18548. wine_fn_config_makefile dlls/evr/tests enable_tests
  18549. wine_fn_config_makefile dlls/explorerframe enable_explorerframe
  18550. wine_fn_config_makefile dlls/explorerframe/tests enable_tests
  18551. wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
  18552. wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
  18553. wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
  18554. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
  18555. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
  18556. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
  18557. wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
  18558. wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
  18559. wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
  18560. wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
  18561. wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
  18562. wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
  18563. wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
  18564. wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
  18565. wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
  18566. wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
  18567. wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
  18568. wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
  18569. wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
  18570. wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
  18571. wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
  18572. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
  18573. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
  18574. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
  18575. wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
  18576. wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
  18577. wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
  18578. wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
  18579. wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
  18580. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
  18581. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
  18582. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
  18583. wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
  18584. wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
  18585. wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
  18586. wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
  18587. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
  18588. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
  18589. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
  18590. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
  18591. 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
  18592. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
  18593. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
  18594. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
  18595. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
  18596. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
  18597. wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
  18598. wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
  18599. wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
  18600. wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
  18601. wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
  18602. wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
  18603. wine_fn_config_makefile dlls/faultrep enable_faultrep
  18604. wine_fn_config_makefile dlls/faultrep/tests enable_tests
  18605. wine_fn_config_makefile dlls/feclient enable_feclient
  18606. wine_fn_config_makefile dlls/fltlib enable_fltlib
  18607. wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
  18608. wine_fn_config_makefile dlls/fntcache enable_fntcache
  18609. wine_fn_config_makefile dlls/fontsub enable_fontsub
  18610. wine_fn_config_makefile dlls/fusion enable_fusion
  18611. wine_fn_config_makefile dlls/fusion/tests enable_tests
  18612. wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
  18613. wine_fn_config_makefile dlls/gameux enable_gameux
  18614. wine_fn_config_makefile dlls/gameux/tests enable_tests
  18615. wine_fn_config_makefile dlls/gdi.exe16 enable_win16
  18616. wine_fn_config_makefile dlls/gdi32 enable_gdi32
  18617. wine_fn_config_makefile dlls/gdi32/tests enable_tests
  18618. wine_fn_config_makefile dlls/gdiplus enable_gdiplus
  18619. wine_fn_config_makefile dlls/gdiplus/tests enable_tests
  18620. wine_fn_config_makefile dlls/glu32 enable_glu32
  18621. wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
  18622. wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
  18623. wine_fn_config_makefile dlls/hal enable_hal
  18624. wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
  18625. wine_fn_config_makefile dlls/hid enable_hid
  18626. wine_fn_config_makefile dlls/hid/tests enable_tests
  18627. wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
  18628. wine_fn_config_makefile dlls/hlink enable_hlink
  18629. wine_fn_config_makefile dlls/hlink/tests enable_tests
  18630. wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
  18631. wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
  18632. wine_fn_config_makefile dlls/http.sys enable_http_sys
  18633. wine_fn_config_makefile dlls/httpapi enable_httpapi
  18634. wine_fn_config_makefile dlls/httpapi/tests enable_tests
  18635. wine_fn_config_makefile dlls/iccvid enable_iccvid
  18636. wine_fn_config_makefile dlls/icmp enable_icmp
  18637. wine_fn_config_makefile dlls/ieframe enable_ieframe
  18638. wine_fn_config_makefile dlls/ieframe/tests enable_tests
  18639. wine_fn_config_makefile dlls/ieproxy enable_ieproxy
  18640. wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
  18641. wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
  18642. wine_fn_config_makefile dlls/imagehlp enable_imagehlp
  18643. wine_fn_config_makefile dlls/imagehlp/tests enable_tests
  18644. wine_fn_config_makefile dlls/imm.dll16 enable_win16
  18645. wine_fn_config_makefile dlls/imm32 enable_imm32
  18646. wine_fn_config_makefile dlls/imm32/tests enable_tests
  18647. wine_fn_config_makefile dlls/inetcomm enable_inetcomm
  18648. wine_fn_config_makefile dlls/inetcomm/tests enable_tests
  18649. wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
  18650. wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
  18651. wine_fn_config_makefile dlls/inetmib1/tests enable_tests
  18652. wine_fn_config_makefile dlls/infosoft enable_infosoft
  18653. wine_fn_config_makefile dlls/infosoft/tests enable_tests
  18654. wine_fn_config_makefile dlls/initpki enable_initpki
  18655. wine_fn_config_makefile dlls/inkobj enable_inkobj
  18656. wine_fn_config_makefile dlls/inseng enable_inseng
  18657. wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
  18658. wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
  18659. wine_fn_config_makefile dlls/iprop enable_iprop
  18660. wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
  18661. wine_fn_config_makefile dlls/itircl enable_itircl
  18662. wine_fn_config_makefile dlls/itss enable_itss
  18663. wine_fn_config_makefile dlls/itss/tests enable_tests
  18664. wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
  18665. wine_fn_config_makefile dlls/jscript enable_jscript
  18666. wine_fn_config_makefile dlls/jscript/tests enable_tests
  18667. wine_fn_config_makefile dlls/jsproxy enable_jsproxy
  18668. wine_fn_config_makefile dlls/jsproxy/tests enable_tests
  18669. wine_fn_config_makefile dlls/kerberos enable_kerberos
  18670. wine_fn_config_makefile dlls/kernel32 enable_kernel32
  18671. wine_fn_config_makefile dlls/kernel32/tests enable_tests
  18672. wine_fn_config_makefile dlls/kernelbase enable_kernelbase
  18673. wine_fn_config_makefile dlls/kernelbase/tests enable_tests
  18674. wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
  18675. wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
  18676. wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
  18677. wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
  18678. wine_fn_config_makefile dlls/ksuser enable_ksuser
  18679. wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
  18680. wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
  18681. wine_fn_config_makefile dlls/loadperf enable_loadperf
  18682. wine_fn_config_makefile dlls/localspl enable_localspl
  18683. wine_fn_config_makefile dlls/localspl/tests enable_tests
  18684. wine_fn_config_makefile dlls/localui enable_localui
  18685. wine_fn_config_makefile dlls/localui/tests enable_tests
  18686. wine_fn_config_makefile dlls/lz32 enable_lz32
  18687. wine_fn_config_makefile dlls/lz32/tests enable_tests
  18688. wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
  18689. wine_fn_config_makefile dlls/mapi32 enable_mapi32
  18690. wine_fn_config_makefile dlls/mapi32/tests enable_tests
  18691. wine_fn_config_makefile dlls/mapistub enable_mapistub
  18692. wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
  18693. wine_fn_config_makefile dlls/mcicda enable_mcicda
  18694. wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
  18695. wine_fn_config_makefile dlls/mciseq enable_mciseq
  18696. wine_fn_config_makefile dlls/mciwave enable_mciwave
  18697. wine_fn_config_makefile dlls/mf enable_mf
  18698. wine_fn_config_makefile dlls/mf/tests enable_tests
  18699. wine_fn_config_makefile dlls/mf3216 enable_mf3216
  18700. wine_fn_config_makefile dlls/mferror enable_mferror
  18701. wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
  18702. wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
  18703. wine_fn_config_makefile dlls/mfplat enable_mfplat
  18704. wine_fn_config_makefile dlls/mfplat/tests enable_tests
  18705. wine_fn_config_makefile dlls/mfplay enable_mfplay
  18706. wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
  18707. wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
  18708. wine_fn_config_makefile dlls/mfuuid enable_mfuuid
  18709. wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
  18710. wine_fn_config_makefile dlls/midimap enable_midimap
  18711. wine_fn_config_makefile dlls/mlang enable_mlang
  18712. wine_fn_config_makefile dlls/mlang/tests enable_tests
  18713. wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
  18714. wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
  18715. wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
  18716. wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
  18717. wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
  18718. wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
  18719. wine_fn_config_makefile dlls/monodebg.vxd enable_win16
  18720. wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
  18721. wine_fn_config_makefile dlls/mouse.drv16 enable_win16
  18722. wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
  18723. wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
  18724. wine_fn_config_makefile dlls/mpr enable_mpr
  18725. wine_fn_config_makefile dlls/mpr/tests enable_tests
  18726. wine_fn_config_makefile dlls/mprapi enable_mprapi
  18727. wine_fn_config_makefile dlls/msacm.dll16 enable_win16
  18728. wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
  18729. wine_fn_config_makefile dlls/msacm32 enable_msacm32
  18730. wine_fn_config_makefile dlls/msacm32/tests enable_tests
  18731. wine_fn_config_makefile dlls/msado15 enable_msado15
  18732. wine_fn_config_makefile dlls/msado15/tests enable_tests
  18733. wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
  18734. wine_fn_config_makefile dlls/msasn1 enable_msasn1
  18735. wine_fn_config_makefile dlls/msasn1/tests enable_tests
  18736. wine_fn_config_makefile dlls/mscat32 enable_mscat32
  18737. wine_fn_config_makefile dlls/mscms enable_mscms
  18738. wine_fn_config_makefile dlls/mscms/tests enable_tests
  18739. wine_fn_config_makefile dlls/mscoree enable_mscoree
  18740. wine_fn_config_makefile dlls/mscoree/tests enable_tests
  18741. wine_fn_config_makefile dlls/mscorwks enable_mscorwks
  18742. wine_fn_config_makefile dlls/msctf enable_msctf
  18743. wine_fn_config_makefile dlls/msctf/tests enable_tests
  18744. wine_fn_config_makefile dlls/msctfp enable_msctfp
  18745. wine_fn_config_makefile dlls/msdaps enable_msdaps
  18746. wine_fn_config_makefile dlls/msdelta enable_msdelta
  18747. wine_fn_config_makefile dlls/msdmo enable_msdmo
  18748. wine_fn_config_makefile dlls/msdmo/tests enable_tests
  18749. wine_fn_config_makefile dlls/msdrm enable_msdrm
  18750. wine_fn_config_makefile dlls/msftedit enable_msftedit
  18751. wine_fn_config_makefile dlls/msftedit/tests enable_tests
  18752. wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
  18753. wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
  18754. wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
  18755. wine_fn_config_makefile dlls/mshtml enable_mshtml
  18756. wine_fn_config_makefile dlls/mshtml/tests enable_tests
  18757. wine_fn_config_makefile dlls/msi enable_msi
  18758. wine_fn_config_makefile dlls/msi/tests enable_tests
  18759. wine_fn_config_makefile dlls/msident enable_msident
  18760. wine_fn_config_makefile dlls/msimg32 enable_msimg32
  18761. wine_fn_config_makefile dlls/msimsg enable_msimsg
  18762. wine_fn_config_makefile dlls/msimtf enable_msimtf
  18763. wine_fn_config_makefile dlls/msisip enable_msisip
  18764. wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
  18765. wine_fn_config_makefile dlls/msls31 enable_msls31
  18766. wine_fn_config_makefile dlls/msnet32 enable_msnet32
  18767. wine_fn_config_makefile dlls/mspatcha enable_mspatcha
  18768. wine_fn_config_makefile dlls/mspatcha/tests enable_tests
  18769. wine_fn_config_makefile dlls/msports enable_msports
  18770. wine_fn_config_makefile dlls/msrle32 enable_msrle32
  18771. wine_fn_config_makefile dlls/msrle32/tests enable_tests
  18772. wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
  18773. wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
  18774. wine_fn_config_makefile dlls/mssign32 enable_mssign32
  18775. wine_fn_config_makefile dlls/mssip32 enable_mssip32
  18776. wine_fn_config_makefile dlls/mstask enable_mstask
  18777. wine_fn_config_makefile dlls/mstask/tests enable_tests
  18778. wine_fn_config_makefile dlls/msvcirt enable_msvcirt
  18779. wine_fn_config_makefile dlls/msvcirt/tests enable_tests
  18780. wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
  18781. wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
  18782. wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
  18783. wine_fn_config_makefile dlls/msvcp100/tests enable_tests
  18784. wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
  18785. wine_fn_config_makefile dlls/msvcp110/tests enable_tests
  18786. wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
  18787. wine_fn_config_makefile dlls/msvcp120/tests enable_tests
  18788. wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
  18789. wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
  18790. wine_fn_config_makefile dlls/msvcp140/tests enable_tests
  18791. wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
  18792. wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
  18793. wine_fn_config_makefile dlls/msvcp60/tests enable_tests
  18794. wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
  18795. wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
  18796. wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
  18797. wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
  18798. wine_fn_config_makefile dlls/msvcp90/tests enable_tests
  18799. wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
  18800. wine_fn_config_makefile dlls/msvcr100/tests enable_tests
  18801. wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
  18802. wine_fn_config_makefile dlls/msvcr110/tests enable_tests
  18803. wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
  18804. wine_fn_config_makefile dlls/msvcr120/tests enable_tests
  18805. wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
  18806. wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
  18807. wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
  18808. wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
  18809. wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
  18810. wine_fn_config_makefile dlls/msvcr90/tests enable_tests
  18811. wine_fn_config_makefile dlls/msvcrt enable_msvcrt
  18812. wine_fn_config_makefile dlls/msvcrt/tests enable_tests
  18813. wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
  18814. wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
  18815. wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
  18816. wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
  18817. wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
  18818. wine_fn_config_makefile dlls/msvfw32/tests enable_tests
  18819. wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
  18820. wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
  18821. wine_fn_config_makefile dlls/mswsock enable_mswsock
  18822. wine_fn_config_makefile dlls/msxml enable_msxml
  18823. wine_fn_config_makefile dlls/msxml2 enable_msxml2
  18824. wine_fn_config_makefile dlls/msxml3 enable_msxml3
  18825. wine_fn_config_makefile dlls/msxml3/tests enable_tests
  18826. wine_fn_config_makefile dlls/msxml4 enable_msxml4
  18827. wine_fn_config_makefile dlls/msxml6 enable_msxml6
  18828. wine_fn_config_makefile dlls/mtxdm enable_mtxdm
  18829. wine_fn_config_makefile dlls/ncrypt enable_ncrypt
  18830. wine_fn_config_makefile dlls/nddeapi enable_nddeapi
  18831. wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
  18832. wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
  18833. wine_fn_config_makefile dlls/netapi32 enable_netapi32
  18834. wine_fn_config_makefile dlls/netapi32/tests enable_tests
  18835. wine_fn_config_makefile dlls/netcfgx enable_netcfgx
  18836. wine_fn_config_makefile dlls/netcfgx/tests enable_tests
  18837. wine_fn_config_makefile dlls/netio.sys enable_netio_sys
  18838. wine_fn_config_makefile dlls/netprofm enable_netprofm
  18839. wine_fn_config_makefile dlls/netprofm/tests enable_tests
  18840. wine_fn_config_makefile dlls/newdev enable_newdev
  18841. wine_fn_config_makefile dlls/ninput enable_ninput
  18842. wine_fn_config_makefile dlls/ninput/tests enable_tests
  18843. wine_fn_config_makefile dlls/normaliz enable_normaliz
  18844. wine_fn_config_makefile dlls/npmshtml enable_npmshtml
  18845. wine_fn_config_makefile dlls/npptools enable_npptools
  18846. wine_fn_config_makefile dlls/ntdll enable_ntdll
  18847. wine_fn_config_makefile dlls/ntdll/tests enable_tests
  18848. wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
  18849. wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
  18850. wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
  18851. wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
  18852. wine_fn_config_makefile dlls/ntprint enable_ntprint
  18853. wine_fn_config_makefile dlls/ntprint/tests enable_tests
  18854. wine_fn_config_makefile dlls/objsel enable_objsel
  18855. wine_fn_config_makefile dlls/odbc32 enable_odbc32
  18856. wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
  18857. wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
  18858. wine_fn_config_makefile dlls/odbccp32/tests enable_tests
  18859. wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
  18860. wine_fn_config_makefile dlls/ole2.dll16 enable_win16
  18861. wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
  18862. wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
  18863. wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
  18864. wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
  18865. wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
  18866. wine_fn_config_makefile dlls/ole32 enable_ole32
  18867. wine_fn_config_makefile dlls/ole32/tests enable_tests
  18868. wine_fn_config_makefile dlls/oleacc enable_oleacc
  18869. wine_fn_config_makefile dlls/oleacc/tests enable_tests
  18870. wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
  18871. wine_fn_config_makefile dlls/oleaut32/tests enable_tests
  18872. wine_fn_config_makefile dlls/olecli.dll16 enable_win16
  18873. wine_fn_config_makefile dlls/olecli32 enable_olecli32
  18874. wine_fn_config_makefile dlls/oledb32 enable_oledb32
  18875. wine_fn_config_makefile dlls/oledb32/tests enable_tests
  18876. wine_fn_config_makefile dlls/oledlg enable_oledlg
  18877. wine_fn_config_makefile dlls/oledlg/tests enable_tests
  18878. wine_fn_config_makefile dlls/olepro32 enable_olepro32
  18879. wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
  18880. wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
  18881. wine_fn_config_makefile dlls/olethk32 enable_olethk32
  18882. wine_fn_config_makefile dlls/opcservices enable_opcservices
  18883. wine_fn_config_makefile dlls/opcservices/tests enable_tests
  18884. wine_fn_config_makefile dlls/openal32 enable_openal32
  18885. wine_fn_config_makefile dlls/opencl enable_opencl
  18886. wine_fn_config_makefile dlls/opengl32 enable_opengl32
  18887. wine_fn_config_makefile dlls/opengl32/tests enable_tests
  18888. wine_fn_config_makefile dlls/packager enable_packager
  18889. wine_fn_config_makefile dlls/packager/tests enable_tests
  18890. wine_fn_config_makefile dlls/pdh enable_pdh
  18891. wine_fn_config_makefile dlls/pdh/tests enable_tests
  18892. wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
  18893. wine_fn_config_makefile dlls/pidgen enable_pidgen
  18894. wine_fn_config_makefile dlls/powrprof enable_powrprof
  18895. wine_fn_config_makefile dlls/printui enable_printui
  18896. wine_fn_config_makefile dlls/prntvpt enable_prntvpt
  18897. wine_fn_config_makefile dlls/prntvpt/tests enable_tests
  18898. wine_fn_config_makefile dlls/propsys enable_propsys
  18899. wine_fn_config_makefile dlls/propsys/tests enable_tests
  18900. wine_fn_config_makefile dlls/psapi enable_psapi
  18901. wine_fn_config_makefile dlls/psapi/tests enable_tests
  18902. wine_fn_config_makefile dlls/pstorec enable_pstorec
  18903. wine_fn_config_makefile dlls/pstorec/tests enable_tests
  18904. wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
  18905. wine_fn_config_makefile dlls/qasf enable_qasf
  18906. wine_fn_config_makefile dlls/qasf/tests enable_tests
  18907. wine_fn_config_makefile dlls/qcap enable_qcap
  18908. wine_fn_config_makefile dlls/qcap/tests enable_tests
  18909. wine_fn_config_makefile dlls/qdvd enable_qdvd
  18910. wine_fn_config_makefile dlls/qdvd/tests enable_tests
  18911. wine_fn_config_makefile dlls/qedit enable_qedit
  18912. wine_fn_config_makefile dlls/qedit/tests enable_tests
  18913. wine_fn_config_makefile dlls/qmgr enable_qmgr
  18914. wine_fn_config_makefile dlls/qmgr/tests enable_tests
  18915. wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
  18916. wine_fn_config_makefile dlls/quartz enable_quartz
  18917. wine_fn_config_makefile dlls/quartz/tests enable_tests
  18918. wine_fn_config_makefile dlls/query enable_query
  18919. wine_fn_config_makefile dlls/qwave enable_qwave
  18920. wine_fn_config_makefile dlls/qwave/tests enable_tests
  18921. wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
  18922. wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
  18923. wine_fn_config_makefile dlls/rasapi32/tests enable_tests
  18924. wine_fn_config_makefile dlls/rasdlg enable_rasdlg
  18925. wine_fn_config_makefile dlls/regapi enable_regapi
  18926. wine_fn_config_makefile dlls/resutils enable_resutils
  18927. wine_fn_config_makefile dlls/riched20 enable_riched20
  18928. wine_fn_config_makefile dlls/riched20/tests enable_tests
  18929. wine_fn_config_makefile dlls/riched32 enable_riched32
  18930. wine_fn_config_makefile dlls/riched32/tests enable_tests
  18931. wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
  18932. wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
  18933. wine_fn_config_makefile dlls/rsabase enable_rsabase
  18934. wine_fn_config_makefile dlls/rsaenh enable_rsaenh
  18935. wine_fn_config_makefile dlls/rsaenh/tests enable_tests
  18936. wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
  18937. wine_fn_config_makefile dlls/rtutils enable_rtutils
  18938. wine_fn_config_makefile dlls/rtworkq enable_rtworkq
  18939. wine_fn_config_makefile dlls/rtworkq/tests enable_tests
  18940. wine_fn_config_makefile dlls/samlib enable_samlib
  18941. wine_fn_config_makefile dlls/sane.ds enable_sane_ds
  18942. wine_fn_config_makefile dlls/sapi enable_sapi
  18943. wine_fn_config_makefile dlls/sapi/tests enable_tests
  18944. wine_fn_config_makefile dlls/sas enable_sas
  18945. wine_fn_config_makefile dlls/scarddlg enable_scarddlg
  18946. wine_fn_config_makefile dlls/sccbase enable_sccbase
  18947. wine_fn_config_makefile dlls/schannel enable_schannel
  18948. wine_fn_config_makefile dlls/schannel/tests enable_tests
  18949. wine_fn_config_makefile dlls/schedsvc enable_schedsvc
  18950. wine_fn_config_makefile dlls/schedsvc/tests enable_tests
  18951. wine_fn_config_makefile dlls/scrobj enable_scrobj
  18952. wine_fn_config_makefile dlls/scrobj/tests enable_tests
  18953. wine_fn_config_makefile dlls/scrrun enable_scrrun
  18954. wine_fn_config_makefile dlls/scrrun/tests enable_tests
  18955. wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
  18956. wine_fn_config_makefile dlls/sechost enable_sechost
  18957. wine_fn_config_makefile dlls/secur32 enable_secur32
  18958. wine_fn_config_makefile dlls/secur32/tests enable_tests
  18959. wine_fn_config_makefile dlls/security enable_security
  18960. wine_fn_config_makefile dlls/sensapi enable_sensapi
  18961. wine_fn_config_makefile dlls/serialui enable_serialui
  18962. wine_fn_config_makefile dlls/serialui/tests enable_tests
  18963. wine_fn_config_makefile dlls/setupapi enable_setupapi
  18964. wine_fn_config_makefile dlls/setupapi/tests enable_tests
  18965. wine_fn_config_makefile dlls/setupx.dll16 enable_win16
  18966. wine_fn_config_makefile dlls/sfc enable_sfc
  18967. wine_fn_config_makefile dlls/sfc_os enable_sfc_os
  18968. wine_fn_config_makefile dlls/shcore enable_shcore
  18969. wine_fn_config_makefile dlls/shcore/tests enable_tests
  18970. wine_fn_config_makefile dlls/shdoclc enable_shdoclc
  18971. wine_fn_config_makefile dlls/shdocvw enable_shdocvw
  18972. wine_fn_config_makefile dlls/shdocvw/tests enable_tests
  18973. wine_fn_config_makefile dlls/shell.dll16 enable_win16
  18974. wine_fn_config_makefile dlls/shell32 enable_shell32
  18975. wine_fn_config_makefile dlls/shell32/tests enable_tests
  18976. wine_fn_config_makefile dlls/shfolder enable_shfolder
  18977. wine_fn_config_makefile dlls/shlwapi enable_shlwapi
  18978. wine_fn_config_makefile dlls/shlwapi/tests enable_tests
  18979. wine_fn_config_makefile dlls/slbcsp enable_slbcsp
  18980. wine_fn_config_makefile dlls/slc enable_slc
  18981. wine_fn_config_makefile dlls/slc/tests enable_tests
  18982. wine_fn_config_makefile dlls/snmpapi enable_snmpapi
  18983. wine_fn_config_makefile dlls/snmpapi/tests enable_tests
  18984. wine_fn_config_makefile dlls/softpub enable_softpub
  18985. wine_fn_config_makefile dlls/sound.drv16 enable_win16
  18986. wine_fn_config_makefile dlls/spoolss enable_spoolss
  18987. wine_fn_config_makefile dlls/spoolss/tests enable_tests
  18988. wine_fn_config_makefile dlls/srclient enable_srclient
  18989. wine_fn_config_makefile dlls/sspicli enable_sspicli
  18990. wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
  18991. wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
  18992. wine_fn_config_makefile dlls/sti enable_sti
  18993. wine_fn_config_makefile dlls/sti/tests enable_tests
  18994. wine_fn_config_makefile dlls/storage.dll16 enable_win16
  18995. wine_fn_config_makefile dlls/stress.dll16 enable_win16
  18996. wine_fn_config_makefile dlls/strmbase enable_strmbase
  18997. wine_fn_config_makefile dlls/strmdll enable_strmdll
  18998. wine_fn_config_makefile dlls/strmiids enable_strmiids
  18999. wine_fn_config_makefile dlls/svrapi enable_svrapi
  19000. wine_fn_config_makefile dlls/sxs enable_sxs
  19001. wine_fn_config_makefile dlls/sxs/tests enable_tests
  19002. wine_fn_config_makefile dlls/system.drv16 enable_win16
  19003. wine_fn_config_makefile dlls/t2embed enable_t2embed
  19004. wine_fn_config_makefile dlls/t2embed/tests enable_tests
  19005. wine_fn_config_makefile dlls/tapi32 enable_tapi32
  19006. wine_fn_config_makefile dlls/tapi32/tests enable_tests
  19007. wine_fn_config_makefile dlls/taskschd enable_taskschd
  19008. wine_fn_config_makefile dlls/taskschd/tests enable_tests
  19009. wine_fn_config_makefile dlls/tdh enable_tdh
  19010. wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
  19011. wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
  19012. wine_fn_config_makefile dlls/traffic enable_traffic
  19013. wine_fn_config_makefile dlls/twain.dll16 enable_win16
  19014. wine_fn_config_makefile dlls/twain_32 enable_twain_32
  19015. wine_fn_config_makefile dlls/twain_32/tests enable_tests
  19016. wine_fn_config_makefile dlls/typelib.dll16 enable_win16
  19017. wine_fn_config_makefile dlls/tzres enable_tzres
  19018. wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
  19019. wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
  19020. wine_fn_config_makefile dlls/uianimation enable_uianimation
  19021. wine_fn_config_makefile dlls/uianimation/tests enable_tests
  19022. wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
  19023. wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
  19024. wine_fn_config_makefile dlls/uiribbon enable_uiribbon
  19025. wine_fn_config_makefile dlls/unicows enable_unicows
  19026. wine_fn_config_makefile dlls/updspapi enable_updspapi
  19027. wine_fn_config_makefile dlls/url enable_url
  19028. wine_fn_config_makefile dlls/urlmon enable_urlmon
  19029. wine_fn_config_makefile dlls/urlmon/tests enable_tests
  19030. wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
  19031. wine_fn_config_makefile dlls/user.exe16 enable_win16
  19032. wine_fn_config_makefile dlls/user32 enable_user32
  19033. wine_fn_config_makefile dlls/user32/tests enable_tests
  19034. wine_fn_config_makefile dlls/userenv enable_userenv
  19035. wine_fn_config_makefile dlls/userenv/tests enable_tests
  19036. wine_fn_config_makefile dlls/usp10 enable_usp10
  19037. wine_fn_config_makefile dlls/usp10/tests enable_tests
  19038. wine_fn_config_makefile dlls/utildll enable_utildll
  19039. wine_fn_config_makefile dlls/uuid enable_uuid
  19040. wine_fn_config_makefile dlls/uxtheme enable_uxtheme
  19041. wine_fn_config_makefile dlls/uxtheme/tests enable_tests
  19042. wine_fn_config_makefile dlls/vbscript enable_vbscript
  19043. wine_fn_config_makefile dlls/vbscript/tests enable_tests
  19044. wine_fn_config_makefile dlls/vcomp enable_vcomp
  19045. wine_fn_config_makefile dlls/vcomp/tests enable_tests
  19046. wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
  19047. wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
  19048. wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
  19049. wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
  19050. wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
  19051. wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
  19052. wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
  19053. wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
  19054. wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
  19055. wine_fn_config_makefile dlls/ver.dll16 enable_win16
  19056. wine_fn_config_makefile dlls/version enable_version
  19057. wine_fn_config_makefile dlls/version/tests enable_tests
  19058. wine_fn_config_makefile dlls/vga enable_vga
  19059. wine_fn_config_makefile dlls/virtdisk enable_virtdisk
  19060. wine_fn_config_makefile dlls/virtdisk/tests enable_tests
  19061. wine_fn_config_makefile dlls/vmm.vxd enable_win16
  19062. wine_fn_config_makefile dlls/vnbt.vxd enable_win16
  19063. wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
  19064. wine_fn_config_makefile dlls/vssapi enable_vssapi
  19065. wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
  19066. wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
  19067. wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
  19068. wine_fn_config_makefile dlls/vwin32.vxd enable_win16
  19069. wine_fn_config_makefile dlls/w32skrnl enable_win16
  19070. wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
  19071. wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
  19072. wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
  19073. wine_fn_config_makefile dlls/wbemprox enable_wbemprox
  19074. wine_fn_config_makefile dlls/wbemprox/tests enable_tests
  19075. wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
  19076. wine_fn_config_makefile dlls/wdscore enable_wdscore
  19077. wine_fn_config_makefile dlls/webservices enable_webservices
  19078. wine_fn_config_makefile dlls/webservices/tests enable_tests
  19079. wine_fn_config_makefile dlls/wer enable_wer
  19080. wine_fn_config_makefile dlls/wer/tests enable_tests
  19081. wine_fn_config_makefile dlls/wevtapi enable_wevtapi
  19082. wine_fn_config_makefile dlls/wiaservc enable_wiaservc
  19083. wine_fn_config_makefile dlls/wiaservc/tests enable_tests
  19084. wine_fn_config_makefile dlls/wimgapi enable_wimgapi
  19085. wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
  19086. wine_fn_config_makefile dlls/win87em.dll16 enable_win16
  19087. wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
  19088. wine_fn_config_makefile dlls/windebug.dll16 enable_win16
  19089. wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
  19090. wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
  19091. wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
  19092. wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
  19093. wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
  19094. wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
  19095. wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
  19096. wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
  19097. wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
  19098. wine_fn_config_makefile dlls/wined3d enable_wined3d
  19099. wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
  19100. wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
  19101. wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
  19102. wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
  19103. wine_fn_config_makefile dlls/winemapi enable_winemapi
  19104. wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
  19105. wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
  19106. wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
  19107. wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
  19108. wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
  19109. wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
  19110. wine_fn_config_makefile dlls/winevulkan enable_winevulkan
  19111. wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
  19112. wine_fn_config_makefile dlls/wing.dll16 enable_win16
  19113. wine_fn_config_makefile dlls/wing32 enable_wing32
  19114. wine_fn_config_makefile dlls/winhttp enable_winhttp
  19115. wine_fn_config_makefile dlls/winhttp/tests enable_tests
  19116. wine_fn_config_makefile dlls/wininet enable_wininet
  19117. wine_fn_config_makefile dlls/wininet/tests enable_tests
  19118. wine_fn_config_makefile dlls/winmm enable_winmm
  19119. wine_fn_config_makefile dlls/winmm/tests enable_tests
  19120. wine_fn_config_makefile dlls/winnls.dll16 enable_win16
  19121. wine_fn_config_makefile dlls/winnls32 enable_winnls32
  19122. wine_fn_config_makefile dlls/winscard enable_winscard
  19123. wine_fn_config_makefile dlls/winsock.dll16 enable_win16
  19124. wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
  19125. wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
  19126. wine_fn_config_makefile dlls/winsta enable_winsta
  19127. wine_fn_config_makefile dlls/wintab.dll16 enable_win16
  19128. wine_fn_config_makefile dlls/wintab32 enable_wintab32
  19129. wine_fn_config_makefile dlls/wintab32/tests enable_tests
  19130. wine_fn_config_makefile dlls/wintrust enable_wintrust
  19131. wine_fn_config_makefile dlls/wintrust/tests enable_tests
  19132. wine_fn_config_makefile dlls/winusb enable_winusb
  19133. wine_fn_config_makefile dlls/wlanapi enable_wlanapi
  19134. wine_fn_config_makefile dlls/wlanapi/tests enable_tests
  19135. wine_fn_config_makefile dlls/wlanui enable_wlanui
  19136. wine_fn_config_makefile dlls/wldap32 enable_wldap32
  19137. wine_fn_config_makefile dlls/wldap32/tests enable_tests
  19138. wine_fn_config_makefile dlls/wmasf enable_wmasf
  19139. wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
  19140. wine_fn_config_makefile dlls/wmi enable_wmi
  19141. wine_fn_config_makefile dlls/wmiutils enable_wmiutils
  19142. wine_fn_config_makefile dlls/wmiutils/tests enable_tests
  19143. wine_fn_config_makefile dlls/wmp enable_wmp
  19144. wine_fn_config_makefile dlls/wmp/tests enable_tests
  19145. wine_fn_config_makefile dlls/wmphoto enable_wmphoto
  19146. wine_fn_config_makefile dlls/wmvcore enable_wmvcore
  19147. wine_fn_config_makefile dlls/wmvcore/tests enable_tests
  19148. wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
  19149. wine_fn_config_makefile dlls/wow32 enable_win16
  19150. wine_fn_config_makefile dlls/wpc enable_wpc
  19151. wine_fn_config_makefile dlls/wpc/tests enable_tests
  19152. wine_fn_config_makefile dlls/wpcap enable_wpcap
  19153. wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
  19154. wine_fn_config_makefile dlls/ws2_32/tests enable_tests
  19155. wine_fn_config_makefile dlls/wsdapi enable_wsdapi
  19156. wine_fn_config_makefile dlls/wsdapi/tests enable_tests
  19157. wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
  19158. wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
  19159. wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
  19160. wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
  19161. wine_fn_config_makefile dlls/wsock32 enable_wsock32
  19162. wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
  19163. wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
  19164. wine_fn_config_makefile dlls/wuapi enable_wuapi
  19165. wine_fn_config_makefile dlls/wuaueng enable_wuaueng
  19166. wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
  19167. wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
  19168. wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
  19169. wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
  19170. wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
  19171. wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
  19172. wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
  19173. wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
  19174. wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
  19175. wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
  19176. wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
  19177. wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
  19178. wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
  19179. wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
  19180. wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
  19181. wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
  19182. wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
  19183. wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
  19184. wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
  19185. wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
  19186. wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
  19187. wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
  19188. wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
  19189. wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
  19190. wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
  19191. wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
  19192. wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
  19193. wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
  19194. wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
  19195. wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
  19196. wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
  19197. wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
  19198. wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
  19199. wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
  19200. wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
  19201. wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
  19202. wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
  19203. wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
  19204. wine_fn_config_makefile dlls/xmllite enable_xmllite
  19205. wine_fn_config_makefile dlls/xmllite/tests enable_tests
  19206. wine_fn_config_makefile dlls/xolehlp enable_xolehlp
  19207. wine_fn_config_makefile dlls/xpsprint enable_xpsprint
  19208. wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
  19209. wine_fn_config_makefile fonts enable_fonts
  19210. wine_fn_config_makefile include enable_include
  19211. wine_fn_config_makefile libs/port enable_port
  19212. wine_fn_config_makefile libs/wine enable_wine
  19213. wine_fn_config_makefile libs/wpp enable_wpp
  19214. wine_fn_config_makefile loader enable_loader
  19215. wine_fn_config_makefile nls enable_nls
  19216. wine_fn_config_makefile po enable_po
  19217. wine_fn_config_makefile programs/arp enable_arp
  19218. wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
  19219. wine_fn_config_makefile programs/attrib enable_attrib
  19220. wine_fn_config_makefile programs/cabarc enable_cabarc
  19221. wine_fn_config_makefile programs/cacls enable_cacls
  19222. wine_fn_config_makefile programs/chcp.com enable_chcp_com
  19223. wine_fn_config_makefile programs/clock enable_clock
  19224. wine_fn_config_makefile programs/cmd enable_cmd
  19225. wine_fn_config_makefile programs/cmd/tests enable_tests
  19226. wine_fn_config_makefile programs/conhost enable_conhost
  19227. wine_fn_config_makefile programs/conhost/tests enable_tests
  19228. wine_fn_config_makefile programs/control enable_control
  19229. wine_fn_config_makefile programs/cscript enable_cscript
  19230. wine_fn_config_makefile programs/dism enable_dism
  19231. wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
  19232. wine_fn_config_makefile programs/dxdiag enable_dxdiag
  19233. wine_fn_config_makefile programs/eject enable_eject
  19234. wine_fn_config_makefile programs/expand enable_expand
  19235. wine_fn_config_makefile programs/explorer enable_explorer
  19236. wine_fn_config_makefile programs/extrac32 enable_extrac32
  19237. wine_fn_config_makefile programs/fc enable_fc
  19238. wine_fn_config_makefile programs/find enable_find
  19239. wine_fn_config_makefile programs/find/tests enable_tests
  19240. wine_fn_config_makefile programs/findstr enable_findstr
  19241. wine_fn_config_makefile programs/fsutil enable_fsutil
  19242. wine_fn_config_makefile programs/fsutil/tests enable_tests
  19243. wine_fn_config_makefile programs/hh enable_hh
  19244. wine_fn_config_makefile programs/hostname enable_hostname
  19245. wine_fn_config_makefile programs/icacls enable_icacls
  19246. wine_fn_config_makefile programs/icinfo enable_icinfo
  19247. wine_fn_config_makefile programs/iexplore enable_iexplore
  19248. wine_fn_config_makefile programs/ipconfig enable_ipconfig
  19249. wine_fn_config_makefile programs/lodctr enable_lodctr
  19250. wine_fn_config_makefile programs/mofcomp enable_mofcomp
  19251. wine_fn_config_makefile programs/mshta enable_mshta
  19252. wine_fn_config_makefile programs/msidb enable_msidb
  19253. wine_fn_config_makefile programs/msiexec enable_msiexec
  19254. wine_fn_config_makefile programs/msinfo32 enable_msinfo32
  19255. wine_fn_config_makefile programs/net enable_net
  19256. wine_fn_config_makefile programs/netsh enable_netsh
  19257. wine_fn_config_makefile programs/netstat enable_netstat
  19258. wine_fn_config_makefile programs/ngen enable_ngen
  19259. wine_fn_config_makefile programs/notepad enable_notepad
  19260. wine_fn_config_makefile programs/oleview enable_oleview
  19261. wine_fn_config_makefile programs/ping enable_ping
  19262. wine_fn_config_makefile programs/plugplay enable_plugplay
  19263. wine_fn_config_makefile programs/powershell enable_powershell
  19264. wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
  19265. wine_fn_config_makefile programs/progman enable_progman
  19266. wine_fn_config_makefile programs/reg enable_reg
  19267. wine_fn_config_makefile programs/reg/tests enable_tests
  19268. wine_fn_config_makefile programs/regasm enable_regasm
  19269. wine_fn_config_makefile programs/regedit enable_regedit
  19270. wine_fn_config_makefile programs/regedit/tests enable_tests
  19271. wine_fn_config_makefile programs/regini enable_regini
  19272. wine_fn_config_makefile programs/regsvcs enable_regsvcs
  19273. wine_fn_config_makefile programs/regsvr32 enable_regsvr32
  19274. wine_fn_config_makefile programs/rpcss enable_rpcss
  19275. wine_fn_config_makefile programs/rundll.exe16 enable_win16
  19276. wine_fn_config_makefile programs/rundll32 enable_rundll32
  19277. wine_fn_config_makefile programs/sc enable_sc
  19278. wine_fn_config_makefile programs/schtasks enable_schtasks
  19279. wine_fn_config_makefile programs/schtasks/tests enable_tests
  19280. wine_fn_config_makefile programs/sdbinst enable_sdbinst
  19281. wine_fn_config_makefile programs/secedit enable_secedit
  19282. wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
  19283. wine_fn_config_makefile programs/services enable_services
  19284. wine_fn_config_makefile programs/services/tests enable_tests
  19285. wine_fn_config_makefile programs/shutdown enable_shutdown
  19286. wine_fn_config_makefile programs/spoolsv enable_spoolsv
  19287. wine_fn_config_makefile programs/start enable_start
  19288. wine_fn_config_makefile programs/subst enable_subst
  19289. wine_fn_config_makefile programs/svchost enable_svchost
  19290. wine_fn_config_makefile programs/systeminfo enable_systeminfo
  19291. wine_fn_config_makefile programs/taskkill enable_taskkill
  19292. wine_fn_config_makefile programs/tasklist enable_tasklist
  19293. wine_fn_config_makefile programs/taskmgr enable_taskmgr
  19294. wine_fn_config_makefile programs/termsv enable_termsv
  19295. wine_fn_config_makefile programs/uninstaller enable_uninstaller
  19296. wine_fn_config_makefile programs/unlodctr enable_unlodctr
  19297. wine_fn_config_makefile programs/view enable_view
  19298. wine_fn_config_makefile programs/wevtutil enable_wevtutil
  19299. wine_fn_config_makefile programs/where enable_where
  19300. wine_fn_config_makefile programs/whoami enable_whoami
  19301. wine_fn_config_makefile programs/wineboot enable_wineboot
  19302. wine_fn_config_makefile programs/winebrowser enable_winebrowser
  19303. wine_fn_config_makefile programs/winecfg enable_winecfg
  19304. wine_fn_config_makefile programs/wineconsole enable_wineconsole
  19305. wine_fn_config_makefile programs/winedbg enable_winedbg
  19306. wine_fn_config_makefile programs/winedevice enable_winedevice
  19307. wine_fn_config_makefile programs/winefile enable_winefile
  19308. wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
  19309. wine_fn_config_makefile programs/winemine enable_winemine
  19310. wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
  19311. wine_fn_config_makefile programs/winepath enable_winepath
  19312. wine_fn_config_makefile programs/winetest enable_winetest
  19313. wine_fn_config_makefile programs/winevdm enable_win16
  19314. wine_fn_config_makefile programs/winhelp.exe16 enable_win16
  19315. wine_fn_config_makefile programs/winhlp32 enable_winhlp32
  19316. wine_fn_config_makefile programs/winmgmt enable_winmgmt
  19317. wine_fn_config_makefile programs/winoldap.mod16 enable_win16
  19318. wine_fn_config_makefile programs/winver enable_winver
  19319. wine_fn_config_makefile programs/wmic enable_wmic
  19320. wine_fn_config_makefile programs/wmplayer enable_wmplayer
  19321. wine_fn_config_makefile programs/wordpad enable_wordpad
  19322. wine_fn_config_makefile programs/write enable_write
  19323. wine_fn_config_makefile programs/wscript enable_wscript
  19324. wine_fn_config_makefile programs/wscript/tests enable_tests
  19325. wine_fn_config_makefile programs/wuauserv enable_wuauserv
  19326. wine_fn_config_makefile programs/wusa enable_wusa
  19327. wine_fn_config_makefile programs/xcopy enable_xcopy
  19328. wine_fn_config_makefile programs/xcopy/tests enable_tests
  19329. wine_fn_config_makefile server enable_server
  19330. test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
  19331. test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
  19332. test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
  19333. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
  19334. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
  19335. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
  19336. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
  19337. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
  19338. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
  19339. wine_fn_append_file CONFIGURE_TARGETS "TAGS"
  19340. wine_fn_append_file CONFIGURE_TARGETS "tags"
  19341. wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
  19342. wine_fn_append_file CONFIGURE_TARGETS "config.log"
  19343. wine_fn_append_file CONFIGURE_TARGETS "config.status"
  19344. wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
  19345. wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
  19346. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
  19347. if test "x$enable_tools" != xno
  19348. then
  19349. wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
  19350. ac_config_commands="$ac_config_commands tools/makedep"
  19351. fi
  19352. ac_config_commands="$ac_config_commands Makefile"
  19353. ac_config_files="$ac_config_files Make.tmp:Makefile.in"
  19354. if test "x$enable_maintainer_mode" = xyes
  19355. then
  19356. wine_fn_append_rule "configure: configure.ac aclocal.m4
  19357. autoconf --warnings=all
  19358. include/config.h.in: include/stamp-h.in
  19359. include/stamp-h.in: configure.ac aclocal.m4
  19360. autoheader --warnings=all
  19361. @echo timestamp > \$@"
  19362. fi
  19363. if test "x$enable_tools" != xno
  19364. then
  19365. wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
  19366. @./config.status tools/makedep
  19367. Makefile: tools/makedep$ac_exeext"
  19368. else
  19369. wine_fn_append_rule "\$(MAKEDEP):
  19370. @echo \"You need to run make in $TOOLSDIR first\" && false"
  19371. fi
  19372. if test -n "$with_wine64"
  19373. then
  19374. case "$with_wine64" in
  19375. /*) reldir="" ;;
  19376. *) reldir="../" ;;
  19377. esac
  19378. rm -f fonts server 2>/dev/null
  19379. wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
  19380. loader/wine64 loader/wine64-preloader:
  19381. rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
  19382. $with_wine64/loader/wine:
  19383. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
  19384. $with_wine64/loader/wine-preloader:
  19385. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
  19386. clean::
  19387. rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
  19388. else
  19389. TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
  19390. TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
  19391. fonts \
  19392. loader/wine.inf \
  19393. loader/winebus.inf \
  19394. loader/winehid.inf \
  19395. loader/wineusb.inf \
  19396. nls \
  19397. programs/msidb/msidb \
  19398. programs/msiexec/msiexec \
  19399. programs/notepad/notepad \
  19400. programs/regedit/regedit \
  19401. programs/regsvr32/regsvr32 \
  19402. programs/wineboot/wineboot \
  19403. programs/winecfg/winecfg \
  19404. programs/wineconsole/wineconsole \
  19405. programs/winedbg/winedbg \
  19406. programs/winefile/winefile \
  19407. programs/winemine/winemine \
  19408. programs/winepath/winepath \
  19409. server/wineserver"
  19410. case $host_os in
  19411. cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
  19412. *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
  19413. esac
  19414. fi
  19415. $as_echo " done" >&6
  19416. cat >confcache <<\_ACEOF
  19417. # This file is a shell script that caches the results of configure
  19418. # tests run on this system so they can be shared between configure
  19419. # scripts and configure runs, see configure's option --config-cache.
  19420. # It is not useful on other systems. If it contains results you don't
  19421. # want to keep, you may remove or edit it.
  19422. #
  19423. # config.status only pays attention to the cache file if you give it
  19424. # the --recheck option to rerun configure.
  19425. #
  19426. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  19427. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  19428. # following values.
  19429. _ACEOF
  19430. # The following way of writing the cache mishandles newlines in values,
  19431. # but we know of no workaround that is simple, portable, and efficient.
  19432. # So, we kill variables containing newlines.
  19433. # Ultrix sh set writes to stderr and can't be redirected directly,
  19434. # and sets the high bit in the cache file unless we assign to the vars.
  19435. (
  19436. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  19437. eval ac_val=\$$ac_var
  19438. case $ac_val in #(
  19439. *${as_nl}*)
  19440. case $ac_var in #(
  19441. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  19442. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  19443. esac
  19444. case $ac_var in #(
  19445. _ | IFS | as_nl) ;; #(
  19446. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  19447. *) { eval $ac_var=; unset $ac_var;} ;;
  19448. esac ;;
  19449. esac
  19450. done
  19451. (set) 2>&1 |
  19452. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  19453. *${as_nl}ac_space=\ *)
  19454. # `set' does not quote correctly, so add quotes: double-quote
  19455. # substitution turns \\\\ into \\, and sed turns \\ into \.
  19456. sed -n \
  19457. "s/'/'\\\\''/g;
  19458. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  19459. ;; #(
  19460. *)
  19461. # `set' quotes correctly as required by POSIX, so do not add quotes.
  19462. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  19463. ;;
  19464. esac |
  19465. sort
  19466. ) |
  19467. sed '
  19468. /^ac_cv_env_/b end
  19469. t clear
  19470. :clear
  19471. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  19472. t end
  19473. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  19474. :end' >>confcache
  19475. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  19476. if test -w "$cache_file"; then
  19477. if test "x$cache_file" != "x/dev/null"; then
  19478. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  19479. $as_echo "$as_me: updating cache $cache_file" >&6;}
  19480. if test ! -f "$cache_file" || test -h "$cache_file"; then
  19481. cat confcache >"$cache_file"
  19482. else
  19483. case $cache_file in #(
  19484. */* | ?:*)
  19485. mv -f confcache "$cache_file"$$ &&
  19486. mv -f "$cache_file"$$ "$cache_file" ;; #(
  19487. *)
  19488. mv -f confcache "$cache_file" ;;
  19489. esac
  19490. fi
  19491. fi
  19492. else
  19493. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  19494. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  19495. fi
  19496. fi
  19497. rm -f confcache
  19498. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  19499. # Let make expand exec_prefix.
  19500. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  19501. DEFS=-DHAVE_CONFIG_H
  19502. ac_libobjs=
  19503. ac_ltlibobjs=
  19504. U=
  19505. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  19506. # 1. Remove the extension, and $U if already installed.
  19507. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  19508. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  19509. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  19510. # will be set to the directory where LIBOBJS objects are built.
  19511. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  19512. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  19513. done
  19514. LIBOBJS=$ac_libobjs
  19515. LTLIBOBJS=$ac_ltlibobjs
  19516. : "${CONFIG_STATUS=./config.status}"
  19517. ac_write_fail=0
  19518. ac_clean_files_save=$ac_clean_files
  19519. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  19520. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  19521. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  19522. as_write_fail=0
  19523. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  19524. #! $SHELL
  19525. # Generated by $as_me.
  19526. # Run this file to recreate the current configuration.
  19527. # Compiler output produced by configure, useful for debugging
  19528. # configure, is in config.log if it exists.
  19529. debug=false
  19530. ac_cs_recheck=false
  19531. ac_cs_silent=false
  19532. SHELL=\${CONFIG_SHELL-$SHELL}
  19533. export SHELL
  19534. _ASEOF
  19535. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  19536. ## -------------------- ##
  19537. ## M4sh Initialization. ##
  19538. ## -------------------- ##
  19539. # Be more Bourne compatible
  19540. DUALCASE=1; export DUALCASE # for MKS sh
  19541. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19542. emulate sh
  19543. NULLCMD=:
  19544. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  19545. # is contrary to our usage. Disable this feature.
  19546. alias -g '${1+"$@"}'='"$@"'
  19547. setopt NO_GLOB_SUBST
  19548. else
  19549. case `(set -o) 2>/dev/null` in #(
  19550. *posix*) :
  19551. set -o posix ;; #(
  19552. *) :
  19553. ;;
  19554. esac
  19555. fi
  19556. as_nl='
  19557. '
  19558. export as_nl
  19559. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  19560. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  19561. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  19562. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  19563. # Prefer a ksh shell builtin over an external printf program on Solaris,
  19564. # but without wasting forks for bash or zsh.
  19565. if test -z "$BASH_VERSION$ZSH_VERSION" \
  19566. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  19567. as_echo='print -r --'
  19568. as_echo_n='print -rn --'
  19569. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  19570. as_echo='printf %s\n'
  19571. as_echo_n='printf %s'
  19572. else
  19573. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  19574. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  19575. as_echo_n='/usr/ucb/echo -n'
  19576. else
  19577. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  19578. as_echo_n_body='eval
  19579. arg=$1;
  19580. case $arg in #(
  19581. *"$as_nl"*)
  19582. expr "X$arg" : "X\\(.*\\)$as_nl";
  19583. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  19584. esac;
  19585. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  19586. '
  19587. export as_echo_n_body
  19588. as_echo_n='sh -c $as_echo_n_body as_echo'
  19589. fi
  19590. export as_echo_body
  19591. as_echo='sh -c $as_echo_body as_echo'
  19592. fi
  19593. # The user is always right.
  19594. if test "${PATH_SEPARATOR+set}" != set; then
  19595. PATH_SEPARATOR=:
  19596. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  19597. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  19598. PATH_SEPARATOR=';'
  19599. }
  19600. fi
  19601. # IFS
  19602. # We need space, tab and new line, in precisely that order. Quoting is
  19603. # there to prevent editors from complaining about space-tab.
  19604. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  19605. # splitting by setting IFS to empty value.)
  19606. IFS=" "" $as_nl"
  19607. # Find who we are. Look in the path if we contain no directory separator.
  19608. as_myself=
  19609. case $0 in #((
  19610. *[\\/]* ) as_myself=$0 ;;
  19611. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19612. for as_dir in $PATH
  19613. do
  19614. IFS=$as_save_IFS
  19615. test -z "$as_dir" && as_dir=.
  19616. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  19617. done
  19618. IFS=$as_save_IFS
  19619. ;;
  19620. esac
  19621. # We did not find ourselves, most probably we were run as `sh COMMAND'
  19622. # in which case we are not to be found in the path.
  19623. if test "x$as_myself" = x; then
  19624. as_myself=$0
  19625. fi
  19626. if test ! -f "$as_myself"; then
  19627. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  19628. exit 1
  19629. fi
  19630. # Unset variables that we do not need and which cause bugs (e.g. in
  19631. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  19632. # suppresses any "Segmentation fault" message there. '((' could
  19633. # trigger a bug in pdksh 5.2.14.
  19634. for as_var in BASH_ENV ENV MAIL MAILPATH
  19635. do eval test x\${$as_var+set} = xset \
  19636. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  19637. done
  19638. PS1='$ '
  19639. PS2='> '
  19640. PS4='+ '
  19641. # NLS nuisances.
  19642. LC_ALL=C
  19643. export LC_ALL
  19644. LANGUAGE=C
  19645. export LANGUAGE
  19646. # CDPATH.
  19647. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  19648. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  19649. # ----------------------------------------
  19650. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  19651. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  19652. # script with STATUS, using 1 if that was 0.
  19653. as_fn_error ()
  19654. {
  19655. as_status=$1; test $as_status -eq 0 && as_status=1
  19656. if test "$4"; then
  19657. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  19658. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  19659. fi
  19660. $as_echo "$as_me: error: $2" >&2
  19661. as_fn_exit $as_status
  19662. } # as_fn_error
  19663. # as_fn_set_status STATUS
  19664. # -----------------------
  19665. # Set $? to STATUS, without forking.
  19666. as_fn_set_status ()
  19667. {
  19668. return $1
  19669. } # as_fn_set_status
  19670. # as_fn_exit STATUS
  19671. # -----------------
  19672. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  19673. as_fn_exit ()
  19674. {
  19675. set +e
  19676. as_fn_set_status $1
  19677. exit $1
  19678. } # as_fn_exit
  19679. # as_fn_unset VAR
  19680. # ---------------
  19681. # Portably unset VAR.
  19682. as_fn_unset ()
  19683. {
  19684. { eval $1=; unset $1;}
  19685. }
  19686. as_unset=as_fn_unset
  19687. # as_fn_append VAR VALUE
  19688. # ----------------------
  19689. # Append the text in VALUE to the end of the definition contained in VAR. Take
  19690. # advantage of any shell optimizations that allow amortized linear growth over
  19691. # repeated appends, instead of the typical quadratic growth present in naive
  19692. # implementations.
  19693. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  19694. eval 'as_fn_append ()
  19695. {
  19696. eval $1+=\$2
  19697. }'
  19698. else
  19699. as_fn_append ()
  19700. {
  19701. eval $1=\$$1\$2
  19702. }
  19703. fi # as_fn_append
  19704. # as_fn_arith ARG...
  19705. # ------------------
  19706. # Perform arithmetic evaluation on the ARGs, and store the result in the
  19707. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  19708. # must be portable across $(()) and expr.
  19709. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  19710. eval 'as_fn_arith ()
  19711. {
  19712. as_val=$(( $* ))
  19713. }'
  19714. else
  19715. as_fn_arith ()
  19716. {
  19717. as_val=`expr "$@" || test $? -eq 1`
  19718. }
  19719. fi # as_fn_arith
  19720. if expr a : '\(a\)' >/dev/null 2>&1 &&
  19721. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  19722. as_expr=expr
  19723. else
  19724. as_expr=false
  19725. fi
  19726. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  19727. as_basename=basename
  19728. else
  19729. as_basename=false
  19730. fi
  19731. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  19732. as_dirname=dirname
  19733. else
  19734. as_dirname=false
  19735. fi
  19736. as_me=`$as_basename -- "$0" ||
  19737. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  19738. X"$0" : 'X\(//\)$' \| \
  19739. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  19740. $as_echo X/"$0" |
  19741. sed '/^.*\/\([^/][^/]*\)\/*$/{
  19742. s//\1/
  19743. q
  19744. }
  19745. /^X\/\(\/\/\)$/{
  19746. s//\1/
  19747. q
  19748. }
  19749. /^X\/\(\/\).*/{
  19750. s//\1/
  19751. q
  19752. }
  19753. s/.*/./; q'`
  19754. # Avoid depending upon Character Ranges.
  19755. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  19756. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  19757. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  19758. as_cr_digits='0123456789'
  19759. as_cr_alnum=$as_cr_Letters$as_cr_digits
  19760. ECHO_C= ECHO_N= ECHO_T=
  19761. case `echo -n x` in #(((((
  19762. -n*)
  19763. case `echo 'xy\c'` in
  19764. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  19765. xy) ECHO_C='\c';;
  19766. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  19767. ECHO_T=' ';;
  19768. esac;;
  19769. *)
  19770. ECHO_N='-n';;
  19771. esac
  19772. rm -f conf$$ conf$$.exe conf$$.file
  19773. if test -d conf$$.dir; then
  19774. rm -f conf$$.dir/conf$$.file
  19775. else
  19776. rm -f conf$$.dir
  19777. mkdir conf$$.dir 2>/dev/null
  19778. fi
  19779. if (echo >conf$$.file) 2>/dev/null; then
  19780. if ln -s conf$$.file conf$$ 2>/dev/null; then
  19781. as_ln_s='ln -s'
  19782. # ... but there are two gotchas:
  19783. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  19784. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  19785. # In both cases, we have to default to `cp -pR'.
  19786. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  19787. as_ln_s='cp -pR'
  19788. elif ln conf$$.file conf$$ 2>/dev/null; then
  19789. as_ln_s=ln
  19790. else
  19791. as_ln_s='cp -pR'
  19792. fi
  19793. else
  19794. as_ln_s='cp -pR'
  19795. fi
  19796. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  19797. rmdir conf$$.dir 2>/dev/null
  19798. # as_fn_mkdir_p
  19799. # -------------
  19800. # Create "$as_dir" as a directory, including parents if necessary.
  19801. as_fn_mkdir_p ()
  19802. {
  19803. case $as_dir in #(
  19804. -*) as_dir=./$as_dir;;
  19805. esac
  19806. test -d "$as_dir" || eval $as_mkdir_p || {
  19807. as_dirs=
  19808. while :; do
  19809. case $as_dir in #(
  19810. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  19811. *) as_qdir=$as_dir;;
  19812. esac
  19813. as_dirs="'$as_qdir' $as_dirs"
  19814. as_dir=`$as_dirname -- "$as_dir" ||
  19815. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  19816. X"$as_dir" : 'X\(//\)[^/]' \| \
  19817. X"$as_dir" : 'X\(//\)$' \| \
  19818. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  19819. $as_echo X"$as_dir" |
  19820. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  19821. s//\1/
  19822. q
  19823. }
  19824. /^X\(\/\/\)[^/].*/{
  19825. s//\1/
  19826. q
  19827. }
  19828. /^X\(\/\/\)$/{
  19829. s//\1/
  19830. q
  19831. }
  19832. /^X\(\/\).*/{
  19833. s//\1/
  19834. q
  19835. }
  19836. s/.*/./; q'`
  19837. test -d "$as_dir" && break
  19838. done
  19839. test -z "$as_dirs" || eval "mkdir $as_dirs"
  19840. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  19841. } # as_fn_mkdir_p
  19842. if mkdir -p . 2>/dev/null; then
  19843. as_mkdir_p='mkdir -p "$as_dir"'
  19844. else
  19845. test -d ./-p && rmdir ./-p
  19846. as_mkdir_p=false
  19847. fi
  19848. # as_fn_executable_p FILE
  19849. # -----------------------
  19850. # Test if FILE is an executable regular file.
  19851. as_fn_executable_p ()
  19852. {
  19853. test -f "$1" && test -x "$1"
  19854. } # as_fn_executable_p
  19855. as_test_x='test -x'
  19856. as_executable_p=as_fn_executable_p
  19857. # Sed expression to map a string onto a valid CPP name.
  19858. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  19859. # Sed expression to map a string onto a valid variable name.
  19860. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  19861. exec 6>&1
  19862. ## ----------------------------------- ##
  19863. ## Main body of $CONFIG_STATUS script. ##
  19864. ## ----------------------------------- ##
  19865. _ASEOF
  19866. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  19867. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19868. # Save the log message, to keep $0 and so on meaningful, and to
  19869. # report actual input values of CONFIG_FILES etc. instead of their
  19870. # values after options handling.
  19871. ac_log="
  19872. This file was extended by Wine $as_me 5.17, which was
  19873. generated by GNU Autoconf 2.69. Invocation command line was
  19874. CONFIG_FILES = $CONFIG_FILES
  19875. CONFIG_HEADERS = $CONFIG_HEADERS
  19876. CONFIG_LINKS = $CONFIG_LINKS
  19877. CONFIG_COMMANDS = $CONFIG_COMMANDS
  19878. $ $0 $@
  19879. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  19880. "
  19881. _ACEOF
  19882. case $ac_config_files in *"
  19883. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  19884. esac
  19885. case $ac_config_headers in *"
  19886. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  19887. esac
  19888. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19889. # Files that config.status was made for.
  19890. config_files="$ac_config_files"
  19891. config_headers="$ac_config_headers"
  19892. config_links="$ac_config_links"
  19893. config_commands="$ac_config_commands"
  19894. _ACEOF
  19895. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19896. ac_cs_usage="\
  19897. \`$as_me' instantiates files and other configuration actions
  19898. from templates according to the current configuration. Unless the files
  19899. and actions are specified as TAGs, all are instantiated by default.
  19900. Usage: $0 [OPTION]... [TAG]...
  19901. -h, --help print this help, then exit
  19902. -V, --version print version number and configuration settings, then exit
  19903. --config print configuration, then exit
  19904. -q, --quiet, --silent
  19905. do not print progress messages
  19906. -d, --debug don't remove temporary files
  19907. --recheck update $as_me by reconfiguring in the same conditions
  19908. --file=FILE[:TEMPLATE]
  19909. instantiate the configuration file FILE
  19910. --header=FILE[:TEMPLATE]
  19911. instantiate the configuration header FILE
  19912. Configuration files:
  19913. $config_files
  19914. Configuration headers:
  19915. $config_headers
  19916. Configuration links:
  19917. $config_links
  19918. Configuration commands:
  19919. $config_commands
  19920. Report bugs to <wine-devel@winehq.org>.
  19921. Wine home page: <https://www.winehq.org>."
  19922. _ACEOF
  19923. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19924. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  19925. ac_cs_version="\\
  19926. Wine config.status 5.17
  19927. configured by $0, generated by GNU Autoconf 2.69,
  19928. with options \\"\$ac_cs_config\\"
  19929. Copyright (C) 2012 Free Software Foundation, Inc.
  19930. This config.status script is free software; the Free Software Foundation
  19931. gives unlimited permission to copy, distribute and modify it."
  19932. ac_pwd='$ac_pwd'
  19933. srcdir='$srcdir'
  19934. test -n "\$AWK" || AWK=awk
  19935. _ACEOF
  19936. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19937. # The default lists apply if the user does not specify any file.
  19938. ac_need_defaults=:
  19939. while test $# != 0
  19940. do
  19941. case $1 in
  19942. --*=?*)
  19943. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  19944. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  19945. ac_shift=:
  19946. ;;
  19947. --*=)
  19948. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  19949. ac_optarg=
  19950. ac_shift=:
  19951. ;;
  19952. *)
  19953. ac_option=$1
  19954. ac_optarg=$2
  19955. ac_shift=shift
  19956. ;;
  19957. esac
  19958. case $ac_option in
  19959. # Handling of the options.
  19960. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  19961. ac_cs_recheck=: ;;
  19962. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  19963. $as_echo "$ac_cs_version"; exit ;;
  19964. --config | --confi | --conf | --con | --co | --c )
  19965. $as_echo "$ac_cs_config"; exit ;;
  19966. --debug | --debu | --deb | --de | --d | -d )
  19967. debug=: ;;
  19968. --file | --fil | --fi | --f )
  19969. $ac_shift
  19970. case $ac_optarg in
  19971. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  19972. '') as_fn_error $? "missing file argument" ;;
  19973. esac
  19974. as_fn_append CONFIG_FILES " '$ac_optarg'"
  19975. ac_need_defaults=false;;
  19976. --header | --heade | --head | --hea )
  19977. $ac_shift
  19978. case $ac_optarg in
  19979. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  19980. esac
  19981. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  19982. ac_need_defaults=false;;
  19983. --he | --h)
  19984. # Conflict between --help and --header
  19985. as_fn_error $? "ambiguous option: \`$1'
  19986. Try \`$0 --help' for more information.";;
  19987. --help | --hel | -h )
  19988. $as_echo "$ac_cs_usage"; exit ;;
  19989. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  19990. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  19991. ac_cs_silent=: ;;
  19992. # This is an error.
  19993. -*) as_fn_error $? "unrecognized option: \`$1'
  19994. Try \`$0 --help' for more information." ;;
  19995. *) as_fn_append ac_config_targets " $1"
  19996. ac_need_defaults=false ;;
  19997. esac
  19998. shift
  19999. done
  20000. ac_configure_extra_args=
  20001. if $ac_cs_silent; then
  20002. exec 6>/dev/null
  20003. ac_configure_extra_args="$ac_configure_extra_args --silent"
  20004. fi
  20005. _ACEOF
  20006. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20007. if \$ac_cs_recheck; then
  20008. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  20009. shift
  20010. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  20011. CONFIG_SHELL='$SHELL'
  20012. export CONFIG_SHELL
  20013. exec "\$@"
  20014. fi
  20015. _ACEOF
  20016. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20017. exec 5>>config.log
  20018. {
  20019. echo
  20020. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  20021. ## Running $as_me. ##
  20022. _ASBOX
  20023. $as_echo "$ac_log"
  20024. } >&5
  20025. _ACEOF
  20026. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20027. #
  20028. # INIT-COMMANDS
  20029. #
  20030. wine_fn_output_makedep ()
  20031. {
  20032. as_dir=tools; as_fn_mkdir_p
  20033. $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
  20034. }
  20035. wine_fn_output_makefile ()
  20036. {
  20037. cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
  20038. `cat $wine_rules_file`
  20039. _WINE_EOF
  20040. as_fn_error $? "could not create Makefile" "$LINENO" 5
  20041. }
  20042. _ACEOF
  20043. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20044. # Handling of arguments.
  20045. for ac_config_target in $ac_config_targets
  20046. do
  20047. case $ac_config_target in
  20048. "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  20049. "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
  20050. "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
  20051. "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
  20052. "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
  20053. "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
  20054. "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
  20055. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  20056. esac
  20057. done
  20058. # If the user did not use the arguments to specify the items to instantiate,
  20059. # then the envvar interface is used. Set only those that are not.
  20060. # We use the long form for the default assignment because of an extremely
  20061. # bizarre bug on SunOS 4.1.3.
  20062. if $ac_need_defaults; then
  20063. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  20064. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  20065. test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
  20066. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  20067. fi
  20068. # Have a temporary directory for convenience. Make it in the build tree
  20069. # simply because there is no reason against having it here, and in addition,
  20070. # creating and moving files from /tmp can sometimes cause problems.
  20071. # Hook for its removal unless debugging.
  20072. # Note that there is a small window in which the directory will not be cleaned:
  20073. # after its creation but before its name has been assigned to `$tmp'.
  20074. $debug ||
  20075. {
  20076. tmp= ac_tmp=
  20077. trap 'exit_status=$?
  20078. : "${ac_tmp:=$tmp}"
  20079. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  20080. ' 0
  20081. trap 'as_fn_exit 1' 1 2 13 15
  20082. }
  20083. # Create a (secure) tmp directory for tmp files.
  20084. {
  20085. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  20086. test -d "$tmp"
  20087. } ||
  20088. {
  20089. tmp=./conf$$-$RANDOM
  20090. (umask 077 && mkdir "$tmp")
  20091. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  20092. ac_tmp=$tmp
  20093. # Set up the scripts for CONFIG_FILES section.
  20094. # No need to generate them if there are no CONFIG_FILES.
  20095. # This happens for instance with `./config.status config.h'.
  20096. if test -n "$CONFIG_FILES"; then
  20097. ac_cr=`echo X | tr X '\015'`
  20098. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  20099. # But we know of no other shell where ac_cr would be empty at this
  20100. # point, so we can use a bashism as a fallback.
  20101. if test "x$ac_cr" = x; then
  20102. eval ac_cr=\$\'\\r\'
  20103. fi
  20104. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  20105. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  20106. ac_cs_awk_cr='\\r'
  20107. else
  20108. ac_cs_awk_cr=$ac_cr
  20109. fi
  20110. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  20111. _ACEOF
  20112. {
  20113. echo "cat >conf$$subs.awk <<_ACEOF" &&
  20114. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  20115. echo "_ACEOF"
  20116. } >conf$$subs.sh ||
  20117. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20118. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  20119. ac_delim='%!_!# '
  20120. for ac_last_try in false false false false false :; do
  20121. . ./conf$$subs.sh ||
  20122. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20123. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  20124. if test $ac_delim_n = $ac_delim_num; then
  20125. break
  20126. elif $ac_last_try; then
  20127. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20128. else
  20129. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20130. fi
  20131. done
  20132. rm -f conf$$subs.sh
  20133. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20134. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  20135. _ACEOF
  20136. sed -n '
  20137. h
  20138. s/^/S["/; s/!.*/"]=/
  20139. p
  20140. g
  20141. s/^[^!]*!//
  20142. :repl
  20143. t repl
  20144. s/'"$ac_delim"'$//
  20145. t delim
  20146. :nl
  20147. h
  20148. s/\(.\{148\}\)..*/\1/
  20149. t more1
  20150. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  20151. p
  20152. n
  20153. b repl
  20154. :more1
  20155. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20156. p
  20157. g
  20158. s/.\{148\}//
  20159. t nl
  20160. :delim
  20161. h
  20162. s/\(.\{148\}\)..*/\1/
  20163. t more2
  20164. s/["\\]/\\&/g; s/^/"/; s/$/"/
  20165. p
  20166. b
  20167. :more2
  20168. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20169. p
  20170. g
  20171. s/.\{148\}//
  20172. t delim
  20173. ' <conf$$subs.awk | sed '
  20174. /^[^""]/{
  20175. N
  20176. s/\n//
  20177. }
  20178. ' >>$CONFIG_STATUS || ac_write_fail=1
  20179. rm -f conf$$subs.awk
  20180. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20181. _ACAWK
  20182. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  20183. for (key in S) S_is_set[key] = 1
  20184. FS = ""
  20185. }
  20186. {
  20187. line = $ 0
  20188. nfields = split(line, field, "@")
  20189. substed = 0
  20190. len = length(field[1])
  20191. for (i = 2; i < nfields; i++) {
  20192. key = field[i]
  20193. keylen = length(key)
  20194. if (S_is_set[key]) {
  20195. value = S[key]
  20196. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  20197. len += length(value) + length(field[++i])
  20198. substed = 1
  20199. } else
  20200. len += 1 + keylen
  20201. }
  20202. print line
  20203. }
  20204. _ACAWK
  20205. _ACEOF
  20206. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20207. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  20208. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  20209. else
  20210. cat
  20211. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  20212. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  20213. _ACEOF
  20214. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  20215. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  20216. # trailing colons and then remove the whole line if VPATH becomes empty
  20217. # (actually we leave an empty line to preserve line numbers).
  20218. if test "x$srcdir" = x.; then
  20219. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  20220. h
  20221. s///
  20222. s/^/:/
  20223. s/[ ]*$/:/
  20224. s/:\$(srcdir):/:/g
  20225. s/:\${srcdir}:/:/g
  20226. s/:@srcdir@:/:/g
  20227. s/^:*//
  20228. s/:*$//
  20229. x
  20230. s/\(=[ ]*\).*/\1/
  20231. G
  20232. s/\n//
  20233. s/^[^=]*=[ ]*$//
  20234. }'
  20235. fi
  20236. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20237. fi # test -n "$CONFIG_FILES"
  20238. # Set up the scripts for CONFIG_HEADERS section.
  20239. # No need to generate them if there are no CONFIG_HEADERS.
  20240. # This happens for instance with `./config.status Makefile'.
  20241. if test -n "$CONFIG_HEADERS"; then
  20242. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  20243. BEGIN {
  20244. _ACEOF
  20245. # Transform confdefs.h into an awk script `defines.awk', embedded as
  20246. # here-document in config.status, that substitutes the proper values into
  20247. # config.h.in to produce config.h.
  20248. # Create a delimiter string that does not exist in confdefs.h, to ease
  20249. # handling of long lines.
  20250. ac_delim='%!_!# '
  20251. for ac_last_try in false false :; do
  20252. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  20253. if test -z "$ac_tt"; then
  20254. break
  20255. elif $ac_last_try; then
  20256. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  20257. else
  20258. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20259. fi
  20260. done
  20261. # For the awk script, D is an array of macro values keyed by name,
  20262. # likewise P contains macro parameters if any. Preserve backslash
  20263. # newline sequences.
  20264. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  20265. sed -n '
  20266. s/.\{148\}/&'"$ac_delim"'/g
  20267. t rset
  20268. :rset
  20269. s/^[ ]*#[ ]*define[ ][ ]*/ /
  20270. t def
  20271. d
  20272. :def
  20273. s/\\$//
  20274. t bsnl
  20275. s/["\\]/\\&/g
  20276. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20277. D["\1"]=" \3"/p
  20278. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  20279. d
  20280. :bsnl
  20281. s/["\\]/\\&/g
  20282. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20283. D["\1"]=" \3\\\\\\n"\\/p
  20284. t cont
  20285. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  20286. t cont
  20287. d
  20288. :cont
  20289. n
  20290. s/.\{148\}/&'"$ac_delim"'/g
  20291. t clear
  20292. :clear
  20293. s/\\$//
  20294. t bsnlc
  20295. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  20296. d
  20297. :bsnlc
  20298. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  20299. b cont
  20300. ' <confdefs.h | sed '
  20301. s/'"$ac_delim"'/"\\\
  20302. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  20303. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20304. for (key in D) D_is_set[key] = 1
  20305. FS = ""
  20306. }
  20307. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  20308. line = \$ 0
  20309. split(line, arg, " ")
  20310. if (arg[1] == "#") {
  20311. defundef = arg[2]
  20312. mac1 = arg[3]
  20313. } else {
  20314. defundef = substr(arg[1], 2)
  20315. mac1 = arg[2]
  20316. }
  20317. split(mac1, mac2, "(") #)
  20318. macro = mac2[1]
  20319. prefix = substr(line, 1, index(line, defundef) - 1)
  20320. if (D_is_set[macro]) {
  20321. # Preserve the white space surrounding the "#".
  20322. print prefix "define", macro P[macro] D[macro]
  20323. next
  20324. } else {
  20325. # Replace #undef with comments. This is necessary, for example,
  20326. # in the case of _POSIX_SOURCE, which is predefined and required
  20327. # on some systems where configure will not decide to define it.
  20328. if (defundef == "undef") {
  20329. print "/*", prefix defundef, macro, "*/"
  20330. next
  20331. }
  20332. }
  20333. }
  20334. { print }
  20335. _ACAWK
  20336. _ACEOF
  20337. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20338. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  20339. fi # test -n "$CONFIG_HEADERS"
  20340. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  20341. shift
  20342. for ac_tag
  20343. do
  20344. case $ac_tag in
  20345. :[FHLC]) ac_mode=$ac_tag; continue;;
  20346. esac
  20347. case $ac_mode$ac_tag in
  20348. :[FHL]*:*);;
  20349. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  20350. :[FH]-) ac_tag=-:-;;
  20351. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  20352. esac
  20353. ac_save_IFS=$IFS
  20354. IFS=:
  20355. set x $ac_tag
  20356. IFS=$ac_save_IFS
  20357. shift
  20358. ac_file=$1
  20359. shift
  20360. case $ac_mode in
  20361. :L) ac_source=$1;;
  20362. :[FH])
  20363. ac_file_inputs=
  20364. for ac_f
  20365. do
  20366. case $ac_f in
  20367. -) ac_f="$ac_tmp/stdin";;
  20368. *) # Look for the file first in the build tree, then in the source tree
  20369. # (if the path is not absolute). The absolute path cannot be DOS-style,
  20370. # because $ac_f cannot contain `:'.
  20371. test -f "$ac_f" ||
  20372. case $ac_f in
  20373. [\\/$]*) false;;
  20374. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  20375. esac ||
  20376. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  20377. esac
  20378. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  20379. as_fn_append ac_file_inputs " '$ac_f'"
  20380. done
  20381. # Let's still pretend it is `configure' which instantiates (i.e., don't
  20382. # use $as_me), people would be surprised to read:
  20383. # /* config.h. Generated by config.status. */
  20384. configure_input='Generated from '`
  20385. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  20386. `' by configure.'
  20387. if test x"$ac_file" != x-; then
  20388. configure_input="$ac_file. $configure_input"
  20389. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  20390. $as_echo "$as_me: creating $ac_file" >&6;}
  20391. fi
  20392. # Neutralize special characters interpreted by sed in replacement strings.
  20393. case $configure_input in #(
  20394. *\&* | *\|* | *\\* )
  20395. ac_sed_conf_input=`$as_echo "$configure_input" |
  20396. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  20397. *) ac_sed_conf_input=$configure_input;;
  20398. esac
  20399. case $ac_tag in
  20400. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  20401. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  20402. esac
  20403. ;;
  20404. esac
  20405. ac_dir=`$as_dirname -- "$ac_file" ||
  20406. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20407. X"$ac_file" : 'X\(//\)[^/]' \| \
  20408. X"$ac_file" : 'X\(//\)$' \| \
  20409. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  20410. $as_echo X"$ac_file" |
  20411. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20412. s//\1/
  20413. q
  20414. }
  20415. /^X\(\/\/\)[^/].*/{
  20416. s//\1/
  20417. q
  20418. }
  20419. /^X\(\/\/\)$/{
  20420. s//\1/
  20421. q
  20422. }
  20423. /^X\(\/\).*/{
  20424. s//\1/
  20425. q
  20426. }
  20427. s/.*/./; q'`
  20428. as_dir="$ac_dir"; as_fn_mkdir_p
  20429. ac_builddir=.
  20430. case "$ac_dir" in
  20431. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20432. *)
  20433. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  20434. # A ".." for each directory in $ac_dir_suffix.
  20435. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  20436. case $ac_top_builddir_sub in
  20437. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20438. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  20439. esac ;;
  20440. esac
  20441. ac_abs_top_builddir=$ac_pwd
  20442. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  20443. # for backward compatibility:
  20444. ac_top_builddir=$ac_top_build_prefix
  20445. case $srcdir in
  20446. .) # We are building in place.
  20447. ac_srcdir=.
  20448. ac_top_srcdir=$ac_top_builddir_sub
  20449. ac_abs_top_srcdir=$ac_pwd ;;
  20450. [\\/]* | ?:[\\/]* ) # Absolute name.
  20451. ac_srcdir=$srcdir$ac_dir_suffix;
  20452. ac_top_srcdir=$srcdir
  20453. ac_abs_top_srcdir=$srcdir ;;
  20454. *) # Relative name.
  20455. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  20456. ac_top_srcdir=$ac_top_build_prefix$srcdir
  20457. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  20458. esac
  20459. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  20460. case $ac_mode in
  20461. :F)
  20462. #
  20463. # CONFIG_FILE
  20464. #
  20465. _ACEOF
  20466. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20467. # If the template does not know about datarootdir, expand it.
  20468. # FIXME: This hack should be removed a few years after 2.60.
  20469. ac_datarootdir_hack=; ac_datarootdir_seen=
  20470. ac_sed_dataroot='
  20471. /datarootdir/ {
  20472. p
  20473. q
  20474. }
  20475. /@datadir@/p
  20476. /@docdir@/p
  20477. /@infodir@/p
  20478. /@localedir@/p
  20479. /@mandir@/p'
  20480. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  20481. *datarootdir*) ac_datarootdir_seen=yes;;
  20482. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  20483. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  20484. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  20485. _ACEOF
  20486. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20487. ac_datarootdir_hack='
  20488. s&@datadir@&$datadir&g
  20489. s&@docdir@&$docdir&g
  20490. s&@infodir@&$infodir&g
  20491. s&@localedir@&$localedir&g
  20492. s&@mandir@&$mandir&g
  20493. s&\\\${datarootdir}&$datarootdir&g' ;;
  20494. esac
  20495. _ACEOF
  20496. # Neutralize VPATH when `$srcdir' = `.'.
  20497. # Shell code in configure.ac might set extrasub.
  20498. # FIXME: do we really want to maintain this feature?
  20499. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20500. ac_sed_extra="$ac_vpsub
  20501. $extrasub
  20502. _ACEOF
  20503. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20504. :t
  20505. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  20506. s|@configure_input@|$ac_sed_conf_input|;t t
  20507. s&@top_builddir@&$ac_top_builddir_sub&;t t
  20508. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  20509. s&@srcdir@&$ac_srcdir&;t t
  20510. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  20511. s&@top_srcdir@&$ac_top_srcdir&;t t
  20512. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  20513. s&@builddir@&$ac_builddir&;t t
  20514. s&@abs_builddir@&$ac_abs_builddir&;t t
  20515. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  20516. $ac_datarootdir_hack
  20517. "
  20518. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  20519. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20520. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  20521. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  20522. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  20523. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  20524. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20525. which seems to be undefined. Please make sure it is defined" >&5
  20526. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20527. which seems to be undefined. Please make sure it is defined" >&2;}
  20528. rm -f "$ac_tmp/stdin"
  20529. case $ac_file in
  20530. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  20531. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  20532. esac \
  20533. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20534. ;;
  20535. :H)
  20536. #
  20537. # CONFIG_HEADER
  20538. #
  20539. if test x"$ac_file" != x-; then
  20540. {
  20541. $as_echo "/* $configure_input */" \
  20542. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  20543. } >"$ac_tmp/config.h" \
  20544. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20545. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  20546. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  20547. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  20548. else
  20549. rm -f "$ac_file"
  20550. mv "$ac_tmp/config.h" "$ac_file" \
  20551. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20552. fi
  20553. else
  20554. $as_echo "/* $configure_input */" \
  20555. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  20556. || as_fn_error $? "could not create -" "$LINENO" 5
  20557. fi
  20558. ;;
  20559. :L)
  20560. #
  20561. # CONFIG_LINK
  20562. #
  20563. if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  20564. :
  20565. else
  20566. # Prefer the file from the source tree if names are identical.
  20567. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  20568. ac_source=$srcdir/$ac_source
  20569. fi
  20570. { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  20571. $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
  20572. if test ! -r "$ac_source"; then
  20573. as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  20574. fi
  20575. rm -f "$ac_file"
  20576. # Try a relative symlink, then a hard link, then a copy.
  20577. case $ac_source in
  20578. [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  20579. *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  20580. esac
  20581. ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  20582. ln "$ac_source" "$ac_file" 2>/dev/null ||
  20583. cp -p "$ac_source" "$ac_file" ||
  20584. as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  20585. fi
  20586. ;;
  20587. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  20588. $as_echo "$as_me: executing $ac_file commands" >&6;}
  20589. ;;
  20590. esac
  20591. case $ac_file$ac_mode in
  20592. "include/stamp-h":C) echo timestamp > include/stamp-h ;;
  20593. "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
  20594. "Makefile":C) wine_fn_output_makefile Makefile ;;
  20595. esac
  20596. done # for ac_tag
  20597. as_fn_exit 0
  20598. _ACEOF
  20599. ac_clean_files=$ac_clean_files_save
  20600. test $ac_write_fail = 0 ||
  20601. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  20602. # configure is writing to config.log, and then calls config.status.
  20603. # config.status does its own redirection, appending to config.log.
  20604. # Unfortunately, on DOS this fails, as config.log is still kept open
  20605. # by configure, so config.status won't be able to write to it; its
  20606. # output is simply discarded. So we exec the FD to /dev/null,
  20607. # effectively closing config.log, so it can be properly (re)opened and
  20608. # appended to by config.status. When coming back to configure, we
  20609. # need to make the FD available again.
  20610. if test "$no_create" != yes; then
  20611. ac_cs_success=:
  20612. ac_config_status_args=
  20613. test "$silent" = yes &&
  20614. ac_config_status_args="$ac_config_status_args --quiet"
  20615. exec 5>/dev/null
  20616. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  20617. exec 5>>config.log
  20618. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  20619. # would make configure fail if this is the last instruction.
  20620. $ac_cs_success || as_fn_exit 1
  20621. fi
  20622. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  20623. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  20624. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  20625. fi
  20626. if test "$no_create" = "yes"
  20627. then
  20628. exit 0
  20629. fi
  20630. ac_save_IFS="$IFS"
  20631. if test "x$wine_notices" != x; then
  20632. echo >&6
  20633. IFS="|"
  20634. for msg in $wine_notices; do
  20635. IFS="$ac_save_IFS"
  20636. if ${msg:+false} :; then :
  20637. else
  20638. { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
  20639. $as_echo "$as_me: $msg" >&6;}
  20640. fi
  20641. done
  20642. fi
  20643. IFS="|"
  20644. for msg in $wine_warnings; do
  20645. IFS="$ac_save_IFS"
  20646. if ${msg:+false} :; then :
  20647. else
  20648. echo >&2
  20649. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
  20650. $as_echo "$as_me: WARNING: $msg" >&2;}
  20651. fi
  20652. done
  20653. IFS="$ac_save_IFS"
  20654. $as_echo "
  20655. $as_me: Finished. Do '${ac_make}' to compile Wine.
  20656. " >&6