configure 712 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for Wine 5.7.
  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.7'
  536. PACKAGE_STRING='Wine 5.7'
  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. EXCESS_PRECISION_CFLAGS
  585. EXTRACFLAGS
  586. VKD3D_LIBS
  587. VKD3D_CFLAGS
  588. NETAPI_LIBS
  589. NETAPI_CFLAGS
  590. PROCSTAT_LIBS
  591. KSTAT_LIBS
  592. MPG123_LIBS
  593. MPG123_CFLAGS
  594. TIFF_LIBS
  595. TIFF_CFLAGS
  596. PNG_LIBS
  597. PNG_CFLAGS
  598. JPEG_LIBS
  599. JPEG_CFLAGS
  600. GSSAPI_LIBS
  601. GSSAPI_CFLAGS
  602. KRB5_LIBS
  603. KRB5_CFLAGS
  604. FONTCONFIG_LIBS
  605. FONTCONFIG_CFLAGS
  606. CUPS_LIBS
  607. CUPS_CFLAGS
  608. CAPI20_LIBS
  609. CAPI20_CFLAGS
  610. FAUDIO_LIBS
  611. FAUDIO_CFLAGS
  612. SDL2_LIBS
  613. SDL2_CFLAGS
  614. UNWIND_LIBS
  615. UNWIND_CFLAGS
  616. UDEV_LIBS
  617. UDEV_CFLAGS
  618. OSS4_LIBS
  619. OSS4_CFLAGS
  620. ALSA_LIBS
  621. GSTREAMER_LIBS
  622. GSTREAMER_CFLAGS
  623. PULSE_LIBS
  624. PULSE_CFLAGS
  625. GETTEXTPO_LIBS
  626. FREETYPE_LIBS
  627. FREETYPE_CFLAGS
  628. LCMS2_LIBS
  629. LCMS2_CFLAGS
  630. RESOLV_LIBS
  631. GPHOTO2_PORT_LIBS
  632. GPHOTO2_PORT_CFLAGS
  633. GPHOTO2_LIBS
  634. GPHOTO2_CFLAGS
  635. USB_LIBS
  636. USB_CFLAGS
  637. SANE_LIBS
  638. SANE_CFLAGS
  639. GNUTLS_LIBS
  640. GNUTLS_CFLAGS
  641. HAL_LIBS
  642. HAL_CFLAGS
  643. DBUS_LIBS
  644. DBUS_CFLAGS
  645. INOTIFY_LIBS
  646. INOTIFY_CFLAGS
  647. XSLT_LIBS
  648. XSLT_CFLAGS
  649. XML2_LIBS
  650. XML2_CFLAGS
  651. PCAP_LIBS
  652. X_EXTRA_LIBS
  653. X_LIBS
  654. X_PRE_LIBS
  655. X_CFLAGS
  656. XMKMF
  657. PTHREAD_LIBS
  658. DELAYLOADFLAG
  659. CROSSLDFLAGS
  660. EXTRACROSSCFLAGS
  661. CROSSCFLAGS
  662. CROSSCC
  663. CROSSTARGET
  664. LIBWINE_DEPENDS
  665. PRELINK
  666. WINELOADER_DEPENDS
  667. LIBWINE_LDFLAGS
  668. LIBWINE_SHAREDLIB
  669. METAL_LIBS
  670. CARBON_LIBS
  671. QUICKTIME_LIBS
  672. OPENCL_LIBS
  673. OPENAL_LIBS
  674. COREAUDIO_LIBS
  675. SECURITY_LIBS
  676. DISKARBITRATION_LIBS
  677. SYSTEMCONFIGURATION_LIBS
  678. APPKIT_LIBS
  679. CORESERVICES_LIBS
  680. APPLICATIONSERVICES_LIBS
  681. FORCEFEEDBACK_LIBS
  682. IOKIT_LIBS
  683. COREFOUNDATION_LIBS
  684. OBJCPP
  685. ac_ct_OBJC
  686. OBJCFLAGS
  687. OBJC
  688. DLLTOOL
  689. WINELOADER_PROGRAMS
  690. CONFIGURE_TARGETS
  691. DISABLED_SUBDIRS
  692. SUBDIRS
  693. READELF
  694. OTOOL
  695. LDD
  696. WINEPRELOADER_LDFLAGS
  697. WINELOADER_LDFLAGS
  698. TOP_INSTALL_DEV
  699. TOP_INSTALL_LIB
  700. LDEXECFLAGS
  701. LDDLLFLAGS
  702. LDRPATH_LOCAL
  703. LDRPATH_INSTALL
  704. DLLFLAGS
  705. CPP
  706. OPENGL_LIBS
  707. I386_LIBS
  708. ICOTOOL
  709. CONVERT
  710. RSVG
  711. FONTFORGE
  712. PKG_CONFIG
  713. MSGFMT
  714. LDCONFIG
  715. EGREP
  716. GREP
  717. LN_S
  718. RANLIB
  719. STRIP
  720. ac_ct_AR
  721. AR
  722. BISON
  723. FLEX
  724. TOOLSDIR
  725. TARGETFLAGS
  726. LD
  727. CPPBIN
  728. ac_ct_CXX
  729. CXXFLAGS
  730. CXX
  731. OBJEXT
  732. EXEEXT
  733. ac_ct_CC
  734. CPPFLAGS
  735. LDFLAGS
  736. CFLAGS
  737. CC
  738. SET_MAKE
  739. host_os
  740. host_vendor
  741. host_cpu
  742. host
  743. build_os
  744. build_vendor
  745. build_cpu
  746. build
  747. target_alias
  748. host_alias
  749. build_alias
  750. LIBS
  751. ECHO_T
  752. ECHO_N
  753. ECHO_C
  754. DEFS
  755. mandir
  756. localedir
  757. libdir
  758. psdir
  759. pdfdir
  760. dvidir
  761. htmldir
  762. infodir
  763. docdir
  764. oldincludedir
  765. includedir
  766. runstatedir
  767. localstatedir
  768. sharedstatedir
  769. sysconfdir
  770. datadir
  771. datarootdir
  772. libexecdir
  773. sbindir
  774. bindir
  775. program_transform_name
  776. prefix
  777. exec_prefix
  778. PACKAGE_URL
  779. PACKAGE_BUGREPORT
  780. PACKAGE_STRING
  781. PACKAGE_VERSION
  782. PACKAGE_TARNAME
  783. PACKAGE_NAME
  784. PATH_SEPARATOR
  785. SHELL'
  786. ac_subst_files=''
  787. ac_user_opts='
  788. enable_option_checking
  789. enable_win16
  790. enable_win64
  791. enable_tests
  792. enable_maintainer_mode
  793. enable_werror
  794. with_alsa
  795. with_capi
  796. with_cms
  797. with_coreaudio
  798. with_cups
  799. with_curses
  800. with_dbus
  801. with_faudio
  802. with_float_abi
  803. with_fontconfig
  804. with_freetype
  805. with_gettext
  806. with_gettextpo
  807. with_gphoto
  808. with_glu
  809. with_gnutls
  810. with_gsm
  811. with_gssapi
  812. with_gstreamer
  813. with_hal
  814. with_inotify
  815. with_jpeg
  816. with_krb5
  817. with_ldap
  818. with_mingw
  819. with_mpg123
  820. with_netapi
  821. with_openal
  822. with_opencl
  823. with_opengl
  824. with_osmesa
  825. with_oss
  826. with_pcap
  827. with_png
  828. with_pthread
  829. with_pulse
  830. with_sane
  831. with_sdl
  832. with_tiff
  833. with_udev
  834. with_unwind
  835. with_usb
  836. with_v4l2
  837. with_vkd3d
  838. with_vulkan
  839. with_xcomposite
  840. with_xcursor
  841. with_xfixes
  842. with_xinerama
  843. with_xinput
  844. with_xinput2
  845. with_xml
  846. with_xrandr
  847. with_xrender
  848. with_xshape
  849. with_xshm
  850. with_xslt
  851. with_xxf86vm
  852. with_wine_tools
  853. with_wine64
  854. enable_largefile
  855. with_x
  856. enable_acledit
  857. enable_aclui
  858. enable_activeds_tlb
  859. enable_activeds
  860. enable_actxprxy
  861. enable_adsiid
  862. enable_adsldp
  863. enable_adsldpc
  864. enable_advapi32
  865. enable_advpack
  866. enable_amsi
  867. enable_amstream
  868. enable_api_ms_win_appmodel_identity_l1_1_0
  869. enable_api_ms_win_appmodel_runtime_l1_1_1
  870. enable_api_ms_win_appmodel_runtime_l1_1_2
  871. enable_api_ms_win_core_apiquery_l1_1_0
  872. enable_api_ms_win_core_appcompat_l1_1_1
  873. enable_api_ms_win_core_appinit_l1_1_0
  874. enable_api_ms_win_core_atoms_l1_1_0
  875. enable_api_ms_win_core_bem_l1_1_0
  876. enable_api_ms_win_core_com_l1_1_0
  877. enable_api_ms_win_core_com_l1_1_1
  878. enable_api_ms_win_core_com_private_l1_1_0
  879. enable_api_ms_win_core_comm_l1_1_0
  880. enable_api_ms_win_core_console_l1_1_0
  881. enable_api_ms_win_core_console_l2_1_0
  882. enable_api_ms_win_core_crt_l1_1_0
  883. enable_api_ms_win_core_crt_l2_1_0
  884. enable_api_ms_win_core_datetime_l1_1_0
  885. enable_api_ms_win_core_datetime_l1_1_1
  886. enable_api_ms_win_core_debug_l1_1_0
  887. enable_api_ms_win_core_debug_l1_1_1
  888. enable_api_ms_win_core_delayload_l1_1_0
  889. enable_api_ms_win_core_delayload_l1_1_1
  890. enable_api_ms_win_core_errorhandling_l1_1_0
  891. enable_api_ms_win_core_errorhandling_l1_1_1
  892. enable_api_ms_win_core_errorhandling_l1_1_2
  893. enable_api_ms_win_core_errorhandling_l1_1_3
  894. enable_api_ms_win_core_fibers_l1_1_0
  895. enable_api_ms_win_core_fibers_l1_1_1
  896. enable_api_ms_win_core_file_l1_1_0
  897. enable_api_ms_win_core_file_l1_2_0
  898. enable_api_ms_win_core_file_l1_2_1
  899. enable_api_ms_win_core_file_l1_2_2
  900. enable_api_ms_win_core_file_l2_1_0
  901. enable_api_ms_win_core_file_l2_1_1
  902. enable_api_ms_win_core_file_l2_1_2
  903. enable_api_ms_win_core_handle_l1_1_0
  904. enable_api_ms_win_core_heap_l1_1_0
  905. enable_api_ms_win_core_heap_l1_2_0
  906. enable_api_ms_win_core_heap_l2_1_0
  907. enable_api_ms_win_core_heap_obsolete_l1_1_0
  908. enable_api_ms_win_core_interlocked_l1_1_0
  909. enable_api_ms_win_core_interlocked_l1_2_0
  910. enable_api_ms_win_core_io_l1_1_0
  911. enable_api_ms_win_core_io_l1_1_1
  912. enable_api_ms_win_core_job_l1_1_0
  913. enable_api_ms_win_core_job_l2_1_0
  914. enable_api_ms_win_core_kernel32_legacy_l1_1_0
  915. enable_api_ms_win_core_kernel32_legacy_l1_1_1
  916. enable_api_ms_win_core_kernel32_private_l1_1_1
  917. enable_api_ms_win_core_largeinteger_l1_1_0
  918. enable_api_ms_win_core_libraryloader_l1_1_0
  919. enable_api_ms_win_core_libraryloader_l1_1_1
  920. enable_api_ms_win_core_libraryloader_l1_2_0
  921. enable_api_ms_win_core_libraryloader_l1_2_1
  922. enable_api_ms_win_core_libraryloader_l1_2_2
  923. enable_api_ms_win_core_localization_l1_1_0
  924. enable_api_ms_win_core_localization_l1_2_0
  925. enable_api_ms_win_core_localization_l1_2_1
  926. enable_api_ms_win_core_localization_l2_1_0
  927. enable_api_ms_win_core_localization_obsolete_l1_1_0
  928. enable_api_ms_win_core_localization_obsolete_l1_2_0
  929. enable_api_ms_win_core_localization_obsolete_l1_3_0
  930. enable_api_ms_win_core_localization_private_l1_1_0
  931. enable_api_ms_win_core_localregistry_l1_1_0
  932. enable_api_ms_win_core_memory_l1_1_0
  933. enable_api_ms_win_core_memory_l1_1_1
  934. enable_api_ms_win_core_memory_l1_1_2
  935. enable_api_ms_win_core_misc_l1_1_0
  936. enable_api_ms_win_core_namedpipe_l1_1_0
  937. enable_api_ms_win_core_namedpipe_l1_2_0
  938. enable_api_ms_win_core_namespace_l1_1_0
  939. enable_api_ms_win_core_normalization_l1_1_0
  940. enable_api_ms_win_core_path_l1_1_0
  941. enable_api_ms_win_core_privateprofile_l1_1_1
  942. enable_api_ms_win_core_processenvironment_l1_1_0
  943. enable_api_ms_win_core_processenvironment_l1_2_0
  944. enable_api_ms_win_core_processthreads_l1_1_0
  945. enable_api_ms_win_core_processthreads_l1_1_1
  946. enable_api_ms_win_core_processthreads_l1_1_2
  947. enable_api_ms_win_core_processthreads_l1_1_3
  948. enable_api_ms_win_core_processtopology_obsolete_l1_1_0
  949. enable_api_ms_win_core_profile_l1_1_0
  950. enable_api_ms_win_core_psapi_ansi_l1_1_0
  951. enable_api_ms_win_core_psapi_l1_1_0
  952. enable_api_ms_win_core_psapi_obsolete_l1_1_0
  953. enable_api_ms_win_core_quirks_l1_1_0
  954. enable_api_ms_win_core_realtime_l1_1_0
  955. enable_api_ms_win_core_registry_l1_1_0
  956. enable_api_ms_win_core_registry_l2_1_0
  957. enable_api_ms_win_core_registry_l2_2_0
  958. enable_api_ms_win_core_registryuserspecific_l1_1_0
  959. enable_api_ms_win_core_rtlsupport_l1_1_0
  960. enable_api_ms_win_core_rtlsupport_l1_2_0
  961. enable_api_ms_win_core_shlwapi_legacy_l1_1_0
  962. enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
  963. enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
  964. enable_api_ms_win_core_shutdown_l1_1_0
  965. enable_api_ms_win_core_sidebyside_l1_1_0
  966. enable_api_ms_win_core_string_l1_1_0
  967. enable_api_ms_win_core_string_l2_1_0
  968. enable_api_ms_win_core_string_obsolete_l1_1_0
  969. enable_api_ms_win_core_stringansi_l1_1_0
  970. enable_api_ms_win_core_stringloader_l1_1_1
  971. enable_api_ms_win_core_synch_ansi_l1_1_0
  972. enable_api_ms_win_core_synch_l1_1_0
  973. enable_api_ms_win_core_synch_l1_2_0
  974. enable_api_ms_win_core_synch_l1_2_1
  975. enable_api_ms_win_core_sysinfo_l1_1_0
  976. enable_api_ms_win_core_sysinfo_l1_2_0
  977. enable_api_ms_win_core_sysinfo_l1_2_1
  978. enable_api_ms_win_core_threadpool_l1_1_0
  979. enable_api_ms_win_core_threadpool_l1_2_0
  980. enable_api_ms_win_core_threadpool_legacy_l1_1_0
  981. enable_api_ms_win_core_threadpool_private_l1_1_0
  982. enable_api_ms_win_core_timezone_l1_1_0
  983. enable_api_ms_win_core_toolhelp_l1_1_0
  984. enable_api_ms_win_core_url_l1_1_0
  985. enable_api_ms_win_core_util_l1_1_0
  986. enable_api_ms_win_core_version_l1_1_0
  987. enable_api_ms_win_core_version_l1_1_1
  988. enable_api_ms_win_core_version_private_l1_1_0
  989. enable_api_ms_win_core_versionansi_l1_1_0
  990. enable_api_ms_win_core_windowserrorreporting_l1_1_0
  991. enable_api_ms_win_core_winrt_error_l1_1_0
  992. enable_api_ms_win_core_winrt_error_l1_1_1
  993. enable_api_ms_win_core_winrt_errorprivate_l1_1_1
  994. enable_api_ms_win_core_winrt_l1_1_0
  995. enable_api_ms_win_core_winrt_registration_l1_1_0
  996. enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
  997. enable_api_ms_win_core_winrt_string_l1_1_0
  998. enable_api_ms_win_core_winrt_string_l1_1_1
  999. enable_api_ms_win_core_wow64_l1_1_0
  1000. enable_api_ms_win_core_wow64_l1_1_1
  1001. enable_api_ms_win_core_xstate_l1_1_0
  1002. enable_api_ms_win_core_xstate_l2_1_0
  1003. enable_api_ms_win_crt_conio_l1_1_0
  1004. enable_api_ms_win_crt_convert_l1_1_0
  1005. enable_api_ms_win_crt_environment_l1_1_0
  1006. enable_api_ms_win_crt_filesystem_l1_1_0
  1007. enable_api_ms_win_crt_heap_l1_1_0
  1008. enable_api_ms_win_crt_locale_l1_1_0
  1009. enable_api_ms_win_crt_math_l1_1_0
  1010. enable_api_ms_win_crt_multibyte_l1_1_0
  1011. enable_api_ms_win_crt_private_l1_1_0
  1012. enable_api_ms_win_crt_process_l1_1_0
  1013. enable_api_ms_win_crt_runtime_l1_1_0
  1014. enable_api_ms_win_crt_stdio_l1_1_0
  1015. enable_api_ms_win_crt_string_l1_1_0
  1016. enable_api_ms_win_crt_time_l1_1_0
  1017. enable_api_ms_win_crt_utility_l1_1_0
  1018. enable_api_ms_win_devices_config_l1_1_0
  1019. enable_api_ms_win_devices_config_l1_1_1
  1020. enable_api_ms_win_devices_query_l1_1_1
  1021. enable_api_ms_win_downlevel_advapi32_l1_1_0
  1022. enable_api_ms_win_downlevel_advapi32_l2_1_0
  1023. enable_api_ms_win_downlevel_normaliz_l1_1_0
  1024. enable_api_ms_win_downlevel_ole32_l1_1_0
  1025. enable_api_ms_win_downlevel_shell32_l1_1_0
  1026. enable_api_ms_win_downlevel_shlwapi_l1_1_0
  1027. enable_api_ms_win_downlevel_shlwapi_l2_1_0
  1028. enable_api_ms_win_downlevel_user32_l1_1_0
  1029. enable_api_ms_win_downlevel_version_l1_1_0
  1030. enable_api_ms_win_dx_d3dkmt_l1_1_0
  1031. enable_api_ms_win_eventing_classicprovider_l1_1_0
  1032. enable_api_ms_win_eventing_consumer_l1_1_0
  1033. enable_api_ms_win_eventing_controller_l1_1_0
  1034. enable_api_ms_win_eventing_legacy_l1_1_0
  1035. enable_api_ms_win_eventing_provider_l1_1_0
  1036. enable_api_ms_win_eventlog_legacy_l1_1_0
  1037. enable_api_ms_win_gdi_dpiinfo_l1_1_0
  1038. enable_api_ms_win_mm_joystick_l1_1_0
  1039. enable_api_ms_win_mm_misc_l1_1_1
  1040. enable_api_ms_win_mm_mme_l1_1_0
  1041. enable_api_ms_win_mm_time_l1_1_0
  1042. enable_api_ms_win_ntuser_dc_access_l1_1_0
  1043. enable_api_ms_win_ntuser_rectangle_l1_1_0
  1044. enable_api_ms_win_ntuser_sysparams_l1_1_0
  1045. enable_api_ms_win_perf_legacy_l1_1_0
  1046. enable_api_ms_win_power_base_l1_1_0
  1047. enable_api_ms_win_power_setting_l1_1_0
  1048. enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
  1049. enable_api_ms_win_rtcore_ntuser_private_l1_1_0
  1050. enable_api_ms_win_rtcore_ntuser_private_l1_1_4
  1051. enable_api_ms_win_rtcore_ntuser_window_l1_1_0
  1052. enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
  1053. enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
  1054. enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
  1055. enable_api_ms_win_security_activedirectoryclient_l1_1_0
  1056. enable_api_ms_win_security_audit_l1_1_1
  1057. enable_api_ms_win_security_base_l1_1_0
  1058. enable_api_ms_win_security_base_l1_2_0
  1059. enable_api_ms_win_security_base_private_l1_1_1
  1060. enable_api_ms_win_security_credentials_l1_1_0
  1061. enable_api_ms_win_security_cryptoapi_l1_1_0
  1062. enable_api_ms_win_security_grouppolicy_l1_1_0
  1063. enable_api_ms_win_security_lsalookup_l1_1_0
  1064. enable_api_ms_win_security_lsalookup_l1_1_1
  1065. enable_api_ms_win_security_lsalookup_l2_1_0
  1066. enable_api_ms_win_security_lsalookup_l2_1_1
  1067. enable_api_ms_win_security_lsapolicy_l1_1_0
  1068. enable_api_ms_win_security_provider_l1_1_0
  1069. enable_api_ms_win_security_sddl_l1_1_0
  1070. enable_api_ms_win_security_systemfunctions_l1_1_0
  1071. enable_api_ms_win_service_core_l1_1_0
  1072. enable_api_ms_win_service_core_l1_1_1
  1073. enable_api_ms_win_service_management_l1_1_0
  1074. enable_api_ms_win_service_management_l2_1_0
  1075. enable_api_ms_win_service_private_l1_1_1
  1076. enable_api_ms_win_service_winsvc_l1_1_0
  1077. enable_api_ms_win_service_winsvc_l1_2_0
  1078. enable_api_ms_win_shcore_obsolete_l1_1_0
  1079. enable_api_ms_win_shcore_scaling_l1_1_1
  1080. enable_api_ms_win_shcore_stream_l1_1_0
  1081. enable_api_ms_win_shcore_thread_l1_1_0
  1082. enable_api_ms_win_shell_shellcom_l1_1_0
  1083. enable_api_ms_win_shell_shellfolders_l1_1_0
  1084. enable_apphelp
  1085. enable_appwiz_cpl
  1086. enable_atl
  1087. enable_atl100
  1088. enable_atl110
  1089. enable_atl80
  1090. enable_atl90
  1091. enable_atlthunk
  1092. enable_atmlib
  1093. enable_authz
  1094. enable_avicap32
  1095. enable_avifil32
  1096. enable_avrt
  1097. enable_bcrypt
  1098. enable_bluetoothapis
  1099. enable_browseui
  1100. enable_bthprops_cpl
  1101. enable_cabinet
  1102. enable_capi2032
  1103. enable_cards
  1104. enable_cdosys
  1105. enable_cfgmgr32
  1106. enable_clusapi
  1107. enable_combase
  1108. enable_comcat
  1109. enable_comctl32
  1110. enable_comdlg32
  1111. enable_compstui
  1112. enable_comsvcs
  1113. enable_concrt140
  1114. enable_connect
  1115. enable_credui
  1116. enable_crtdll
  1117. enable_crypt32
  1118. enable_cryptdlg
  1119. enable_cryptdll
  1120. enable_cryptext
  1121. enable_cryptnet
  1122. enable_cryptui
  1123. enable_ctapi32
  1124. enable_ctl3d32
  1125. enable_d2d1
  1126. enable_d3d10
  1127. enable_d3d10_1
  1128. enable_d3d10core
  1129. enable_d3d11
  1130. enable_d3d12
  1131. enable_d3d8
  1132. enable_d3d9
  1133. enable_d3dcompiler_33
  1134. enable_d3dcompiler_34
  1135. enable_d3dcompiler_35
  1136. enable_d3dcompiler_36
  1137. enable_d3dcompiler_37
  1138. enable_d3dcompiler_38
  1139. enable_d3dcompiler_39
  1140. enable_d3dcompiler_40
  1141. enable_d3dcompiler_41
  1142. enable_d3dcompiler_42
  1143. enable_d3dcompiler_43
  1144. enable_d3dcompiler_46
  1145. enable_d3dcompiler_47
  1146. enable_d3dim
  1147. enable_d3drm
  1148. enable_d3dx10_33
  1149. enable_d3dx10_34
  1150. enable_d3dx10_35
  1151. enable_d3dx10_36
  1152. enable_d3dx10_37
  1153. enable_d3dx10_38
  1154. enable_d3dx10_39
  1155. enable_d3dx10_40
  1156. enable_d3dx10_41
  1157. enable_d3dx10_42
  1158. enable_d3dx10_43
  1159. enable_d3dx11_42
  1160. enable_d3dx11_43
  1161. enable_d3dx9_24
  1162. enable_d3dx9_25
  1163. enable_d3dx9_26
  1164. enable_d3dx9_27
  1165. enable_d3dx9_28
  1166. enable_d3dx9_29
  1167. enable_d3dx9_30
  1168. enable_d3dx9_31
  1169. enable_d3dx9_32
  1170. enable_d3dx9_33
  1171. enable_d3dx9_34
  1172. enable_d3dx9_35
  1173. enable_d3dx9_36
  1174. enable_d3dx9_37
  1175. enable_d3dx9_38
  1176. enable_d3dx9_39
  1177. enable_d3dx9_40
  1178. enable_d3dx9_41
  1179. enable_d3dx9_42
  1180. enable_d3dx9_43
  1181. enable_d3dxof
  1182. enable_davclnt
  1183. enable_dbgeng
  1184. enable_dbghelp
  1185. enable_dciman32
  1186. enable_ddraw
  1187. enable_ddrawex
  1188. enable_devenum
  1189. enable_dhcpcsvc
  1190. enable_dhtmled_ocx
  1191. enable_difxapi
  1192. enable_dinput
  1193. enable_dinput8
  1194. enable_dispex
  1195. enable_dmband
  1196. enable_dmcompos
  1197. enable_dmime
  1198. enable_dmloader
  1199. enable_dmoguids
  1200. enable_dmscript
  1201. enable_dmstyle
  1202. enable_dmsynth
  1203. enable_dmusic
  1204. enable_dmusic32
  1205. enable_dnsapi
  1206. enable_dplay
  1207. enable_dplayx
  1208. enable_dpnaddr
  1209. enable_dpnet
  1210. enable_dpnhpast
  1211. enable_dpnlobby
  1212. enable_dpvoice
  1213. enable_dpwsockx
  1214. enable_drmclien
  1215. enable_dsdmo
  1216. enable_dsound
  1217. enable_dsquery
  1218. enable_dssenh
  1219. enable_dsuiext
  1220. enable_dswave
  1221. enable_dwmapi
  1222. enable_dwrite
  1223. enable_dx8vb
  1224. enable_dxdiagn
  1225. enable_dxerr8
  1226. enable_dxerr9
  1227. enable_dxgi
  1228. enable_dxguid
  1229. enable_dxva2
  1230. enable_esent
  1231. enable_evr
  1232. enable_explorerframe
  1233. enable_ext_ms_win_authz_context_l1_1_0
  1234. enable_ext_ms_win_domainjoin_netjoin_l1_1_0
  1235. enable_ext_ms_win_dwmapi_ext_l1_1_0
  1236. enable_ext_ms_win_gdi_dc_create_l1_1_0
  1237. enable_ext_ms_win_gdi_dc_create_l1_1_1
  1238. enable_ext_ms_win_gdi_dc_l1_2_0
  1239. enable_ext_ms_win_gdi_devcaps_l1_1_0
  1240. enable_ext_ms_win_gdi_draw_l1_1_0
  1241. enable_ext_ms_win_gdi_draw_l1_1_1
  1242. enable_ext_ms_win_gdi_font_l1_1_0
  1243. enable_ext_ms_win_gdi_font_l1_1_1
  1244. enable_ext_ms_win_gdi_render_l1_1_0
  1245. enable_ext_ms_win_kernel32_package_current_l1_1_0
  1246. enable_ext_ms_win_kernel32_package_l1_1_1
  1247. enable_ext_ms_win_ntuser_dialogbox_l1_1_0
  1248. enable_ext_ms_win_ntuser_draw_l1_1_0
  1249. enable_ext_ms_win_ntuser_gui_l1_1_0
  1250. enable_ext_ms_win_ntuser_gui_l1_3_0
  1251. enable_ext_ms_win_ntuser_keyboard_l1_3_0
  1252. enable_ext_ms_win_ntuser_message_l1_1_0
  1253. enable_ext_ms_win_ntuser_message_l1_1_1
  1254. enable_ext_ms_win_ntuser_misc_l1_1_0
  1255. enable_ext_ms_win_ntuser_misc_l1_2_0
  1256. enable_ext_ms_win_ntuser_misc_l1_5_1
  1257. enable_ext_ms_win_ntuser_mouse_l1_1_0
  1258. enable_ext_ms_win_ntuser_private_l1_1_1
  1259. enable_ext_ms_win_ntuser_private_l1_3_1
  1260. enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
  1261. enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
  1262. enable_ext_ms_win_ntuser_window_l1_1_0
  1263. enable_ext_ms_win_ntuser_window_l1_1_1
  1264. enable_ext_ms_win_ntuser_window_l1_1_4
  1265. enable_ext_ms_win_ntuser_windowclass_l1_1_0
  1266. enable_ext_ms_win_ntuser_windowclass_l1_1_1
  1267. enable_ext_ms_win_oleacc_l1_1_0
  1268. enable_ext_ms_win_ras_rasapi32_l1_1_0
  1269. enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
  1270. enable_ext_ms_win_rtcore_gdi_object_l1_1_0
  1271. enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
  1272. enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
  1273. enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
  1274. enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
  1275. enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
  1276. enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
  1277. enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
  1278. enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
  1279. enable_ext_ms_win_security_credui_l1_1_0
  1280. enable_ext_ms_win_security_cryptui_l1_1_0
  1281. enable_ext_ms_win_shell_comctl32_init_l1_1_0
  1282. enable_ext_ms_win_shell_comdlg32_l1_1_0
  1283. enable_ext_ms_win_shell_shell32_l1_2_0
  1284. enable_ext_ms_win_uxtheme_themes_l1_1_0
  1285. enable_faultrep
  1286. enable_feclient
  1287. enable_fltlib
  1288. enable_fltmgr_sys
  1289. enable_fntcache
  1290. enable_fontsub
  1291. enable_fusion
  1292. enable_fwpuclnt
  1293. enable_gameux
  1294. enable_gdi32
  1295. enable_gdiplus
  1296. enable_glu32
  1297. enable_gphoto2_ds
  1298. enable_gpkcsp
  1299. enable_hal
  1300. enable_hhctrl_ocx
  1301. enable_hid
  1302. enable_hidclass_sys
  1303. enable_hlink
  1304. enable_hnetcfg
  1305. enable_http_sys
  1306. enable_httpapi
  1307. enable_iccvid
  1308. enable_icmp
  1309. enable_ieframe
  1310. enable_ieproxy
  1311. enable_imaadp32_acm
  1312. enable_imagehlp
  1313. enable_imm32
  1314. enable_inetcomm
  1315. enable_inetcpl_cpl
  1316. enable_inetmib1
  1317. enable_infosoft
  1318. enable_initpki
  1319. enable_inkobj
  1320. enable_inseng
  1321. enable_iphlpapi
  1322. enable_iprop
  1323. enable_irprops_cpl
  1324. enable_itircl
  1325. enable_itss
  1326. enable_joy_cpl
  1327. enable_jscript
  1328. enable_jsproxy
  1329. enable_kerberos
  1330. enable_kernel32
  1331. enable_kernelbase
  1332. enable_ksecdd_sys
  1333. enable_ksproxy_ax
  1334. enable_ksuser
  1335. enable_ktmw32
  1336. enable_l3codeca_acm
  1337. enable_loadperf
  1338. enable_localspl
  1339. enable_localui
  1340. enable_lz32
  1341. enable_mapi32
  1342. enable_mapistub
  1343. enable_mciavi32
  1344. enable_mcicda
  1345. enable_mciqtz32
  1346. enable_mciseq
  1347. enable_mciwave
  1348. enable_mf
  1349. enable_mf3216
  1350. enable_mferror
  1351. enable_mfmediaengine
  1352. enable_mfplat
  1353. enable_mfplay
  1354. enable_mfreadwrite
  1355. enable_mfuuid
  1356. enable_mgmtapi
  1357. enable_midimap
  1358. enable_mlang
  1359. enable_mmcndmgr
  1360. enable_mmdevapi
  1361. enable_mountmgr_sys
  1362. enable_mp3dmod
  1363. enable_mpr
  1364. enable_mprapi
  1365. enable_msacm32_drv
  1366. enable_msacm32
  1367. enable_msado15
  1368. enable_msadp32_acm
  1369. enable_msasn1
  1370. enable_mscat32
  1371. enable_mscms
  1372. enable_mscoree
  1373. enable_mscorwks
  1374. enable_msctf
  1375. enable_msctfp
  1376. enable_msdaps
  1377. enable_msdelta
  1378. enable_msdmo
  1379. enable_msdrm
  1380. enable_msftedit
  1381. enable_msg711_acm
  1382. enable_msgsm32_acm
  1383. enable_mshtml_tlb
  1384. enable_mshtml
  1385. enable_msi
  1386. enable_msident
  1387. enable_msimg32
  1388. enable_msimsg
  1389. enable_msimtf
  1390. enable_msisip
  1391. enable_msisys_ocx
  1392. enable_msls31
  1393. enable_msnet32
  1394. enable_mspatcha
  1395. enable_msports
  1396. enable_msrle32
  1397. enable_msscript_ocx
  1398. enable_mssign32
  1399. enable_mssip32
  1400. enable_mstask
  1401. enable_msvcirt
  1402. enable_msvcm80
  1403. enable_msvcm90
  1404. enable_msvcp100
  1405. enable_msvcp110
  1406. enable_msvcp120
  1407. enable_msvcp120_app
  1408. enable_msvcp140
  1409. enable_msvcp60
  1410. enable_msvcp70
  1411. enable_msvcp71
  1412. enable_msvcp80
  1413. enable_msvcp90
  1414. enable_msvcr100
  1415. enable_msvcr110
  1416. enable_msvcr120
  1417. enable_msvcr120_app
  1418. enable_msvcr70
  1419. enable_msvcr71
  1420. enable_msvcr80
  1421. enable_msvcr90
  1422. enable_msvcrt
  1423. enable_msvcrt20
  1424. enable_msvcrt40
  1425. enable_msvcrtd
  1426. enable_msvfw32
  1427. enable_msvidc32
  1428. enable_mswsock
  1429. enable_msxml
  1430. enable_msxml2
  1431. enable_msxml3
  1432. enable_msxml4
  1433. enable_msxml6
  1434. enable_mtxdm
  1435. enable_ncrypt
  1436. enable_nddeapi
  1437. enable_ndis_sys
  1438. enable_netapi32
  1439. enable_netcfgx
  1440. enable_netprofm
  1441. enable_newdev
  1442. enable_ninput
  1443. enable_normaliz
  1444. enable_npmshtml
  1445. enable_npptools
  1446. enable_ntdll
  1447. enable_ntdsapi
  1448. enable_ntoskrnl_exe
  1449. enable_ntprint
  1450. enable_objsel
  1451. enable_odbc32
  1452. enable_odbcbcp
  1453. enable_odbccp32
  1454. enable_odbccu32
  1455. enable_ole32
  1456. enable_oleacc
  1457. enable_oleaut32
  1458. enable_olecli32
  1459. enable_oledb32
  1460. enable_oledlg
  1461. enable_olepro32
  1462. enable_olesvr32
  1463. enable_olethk32
  1464. enable_opcservices
  1465. enable_openal32
  1466. enable_opencl
  1467. enable_opengl32
  1468. enable_packager
  1469. enable_pdh
  1470. enable_photometadatahandler
  1471. enable_pidgen
  1472. enable_powrprof
  1473. enable_printui
  1474. enable_prntvpt
  1475. enable_propsys
  1476. enable_psapi
  1477. enable_pstorec
  1478. enable_qasf
  1479. enable_qcap
  1480. enable_qdvd
  1481. enable_qedit
  1482. enable_qmgr
  1483. enable_qmgrprxy
  1484. enable_quartz
  1485. enable_query
  1486. enable_qwave
  1487. enable_rasapi32
  1488. enable_rasdlg
  1489. enable_regapi
  1490. enable_resutils
  1491. enable_riched20
  1492. enable_riched32
  1493. enable_rpcrt4
  1494. enable_rsabase
  1495. enable_rsaenh
  1496. enable_rstrtmgr
  1497. enable_rtutils
  1498. enable_rtworkq
  1499. enable_samlib
  1500. enable_sane_ds
  1501. enable_sapi
  1502. enable_sas
  1503. enable_scarddlg
  1504. enable_sccbase
  1505. enable_schannel
  1506. enable_schedsvc
  1507. enable_scrobj
  1508. enable_scrrun
  1509. enable_scsiport_sys
  1510. enable_sechost
  1511. enable_secur32
  1512. enable_security
  1513. enable_sensapi
  1514. enable_serialui
  1515. enable_setupapi
  1516. enable_sfc
  1517. enable_sfc_os
  1518. enable_shcore
  1519. enable_shdoclc
  1520. enable_shdocvw
  1521. enable_shell32
  1522. enable_shfolder
  1523. enable_shlwapi
  1524. enable_slbcsp
  1525. enable_slc
  1526. enable_snmpapi
  1527. enable_softpub
  1528. enable_spoolss
  1529. enable_srclient
  1530. enable_sspicli
  1531. enable_stdole2_tlb
  1532. enable_stdole32_tlb
  1533. enable_sti
  1534. enable_strmbase
  1535. enable_strmdll
  1536. enable_strmiids
  1537. enable_svrapi
  1538. enable_sxs
  1539. enable_t2embed
  1540. enable_tapi32
  1541. enable_taskschd
  1542. enable_tdh
  1543. enable_tdi_sys
  1544. enable_traffic
  1545. enable_twain_32
  1546. enable_tzres
  1547. enable_ucrtbase
  1548. enable_uianimation
  1549. enable_uiautomationcore
  1550. enable_uiribbon
  1551. enable_unicows
  1552. enable_updspapi
  1553. enable_url
  1554. enable_urlmon
  1555. enable_usbd_sys
  1556. enable_user32
  1557. enable_userenv
  1558. enable_usp10
  1559. enable_utildll
  1560. enable_uuid
  1561. enable_uxtheme
  1562. enable_vbscript
  1563. enable_vcomp
  1564. enable_vcomp100
  1565. enable_vcomp110
  1566. enable_vcomp120
  1567. enable_vcomp140
  1568. enable_vcomp90
  1569. enable_vcruntime140
  1570. enable_vcruntime140_1
  1571. enable_vdmdbg
  1572. enable_version
  1573. enable_vga
  1574. enable_virtdisk
  1575. enable_vssapi
  1576. enable_vulkan_1
  1577. enable_wbemdisp
  1578. enable_wbemprox
  1579. enable_wbemuuid
  1580. enable_wdscore
  1581. enable_webservices
  1582. enable_wer
  1583. enable_wevtapi
  1584. enable_wiaservc
  1585. enable_wimgapi
  1586. enable_windowscodecs
  1587. enable_windowscodecsext
  1588. enable_winealsa_drv
  1589. enable_wineandroid_drv
  1590. enable_winebus_sys
  1591. enable_winecoreaudio_drv
  1592. enable_winecrt0
  1593. enable_wined3d
  1594. enable_winegstreamer
  1595. enable_winehid_sys
  1596. enable_winejoystick_drv
  1597. enable_winemac_drv
  1598. enable_winemapi
  1599. enable_wineoss_drv
  1600. enable_wineps_drv
  1601. enable_winepulse_drv
  1602. enable_wineqtdecoder
  1603. enable_wineusb_sys
  1604. enable_winevulkan
  1605. enable_winex11_drv
  1606. enable_wing32
  1607. enable_winhttp
  1608. enable_wininet
  1609. enable_winmm
  1610. enable_winnls32
  1611. enable_winscard
  1612. enable_winspool_drv
  1613. enable_winsta
  1614. enable_wintab32
  1615. enable_wintrust
  1616. enable_winusb
  1617. enable_wlanapi
  1618. enable_wlanui
  1619. enable_wldap32
  1620. enable_wmasf
  1621. enable_wmcodecdspuuid
  1622. enable_wmi
  1623. enable_wmiutils
  1624. enable_wmp
  1625. enable_wmphoto
  1626. enable_wmvcore
  1627. enable_wnaspi32
  1628. enable_wpc
  1629. enable_wpcap
  1630. enable_ws2_32
  1631. enable_wsdapi
  1632. enable_wshom_ocx
  1633. enable_wsnmp32
  1634. enable_wsock32
  1635. enable_wtsapi32
  1636. enable_wuapi
  1637. enable_wuaueng
  1638. enable_x3daudio1_0
  1639. enable_x3daudio1_1
  1640. enable_x3daudio1_2
  1641. enable_x3daudio1_3
  1642. enable_x3daudio1_4
  1643. enable_x3daudio1_5
  1644. enable_x3daudio1_6
  1645. enable_x3daudio1_7
  1646. enable_xapofx1_1
  1647. enable_xapofx1_2
  1648. enable_xapofx1_3
  1649. enable_xapofx1_4
  1650. enable_xapofx1_5
  1651. enable_xaudio2_0
  1652. enable_xaudio2_1
  1653. enable_xaudio2_2
  1654. enable_xaudio2_3
  1655. enable_xaudio2_4
  1656. enable_xaudio2_5
  1657. enable_xaudio2_6
  1658. enable_xaudio2_7
  1659. enable_xaudio2_8
  1660. enable_xaudio2_9
  1661. enable_xinput1_1
  1662. enable_xinput1_2
  1663. enable_xinput1_3
  1664. enable_xinput1_4
  1665. enable_xinput9_1_0
  1666. enable_xmllite
  1667. enable_xolehlp
  1668. enable_xpsprint
  1669. enable_xpssvcs
  1670. enable_fonts
  1671. enable_include
  1672. enable_port
  1673. enable_wine
  1674. enable_wpp
  1675. enable_loader
  1676. enable_nls
  1677. enable_po
  1678. enable_arp
  1679. enable_aspnet_regiis
  1680. enable_attrib
  1681. enable_cabarc
  1682. enable_cacls
  1683. enable_chcp_com
  1684. enable_clock
  1685. enable_cmd
  1686. enable_conhost
  1687. enable_control
  1688. enable_cscript
  1689. enable_dism
  1690. enable_dpnsvr
  1691. enable_dxdiag
  1692. enable_eject
  1693. enable_expand
  1694. enable_explorer
  1695. enable_extrac32
  1696. enable_fc
  1697. enable_find
  1698. enable_findstr
  1699. enable_fsutil
  1700. enable_hh
  1701. enable_hostname
  1702. enable_icacls
  1703. enable_icinfo
  1704. enable_iexplore
  1705. enable_ipconfig
  1706. enable_lodctr
  1707. enable_mofcomp
  1708. enable_mshta
  1709. enable_msidb
  1710. enable_msiexec
  1711. enable_msinfo32
  1712. enable_net
  1713. enable_netsh
  1714. enable_netstat
  1715. enable_ngen
  1716. enable_notepad
  1717. enable_oleview
  1718. enable_ping
  1719. enable_plugplay
  1720. enable_powershell
  1721. enable_presentationfontcache
  1722. enable_progman
  1723. enable_reg
  1724. enable_regasm
  1725. enable_regedit
  1726. enable_regini
  1727. enable_regsvcs
  1728. enable_regsvr32
  1729. enable_rpcss
  1730. enable_rundll32
  1731. enable_sc
  1732. enable_schtasks
  1733. enable_sdbinst
  1734. enable_secedit
  1735. enable_servicemodelreg
  1736. enable_services
  1737. enable_shutdown
  1738. enable_spoolsv
  1739. enable_start
  1740. enable_subst
  1741. enable_svchost
  1742. enable_systeminfo
  1743. enable_taskkill
  1744. enable_tasklist
  1745. enable_taskmgr
  1746. enable_termsv
  1747. enable_uninstaller
  1748. enable_unlodctr
  1749. enable_view
  1750. enable_wevtutil
  1751. enable_whoami
  1752. enable_wineboot
  1753. enable_winebrowser
  1754. enable_winecfg
  1755. enable_wineconsole
  1756. enable_winedbg
  1757. enable_winedevice
  1758. enable_winefile
  1759. enable_winemenubuilder
  1760. enable_winemine
  1761. enable_winemsibuilder
  1762. enable_winepath
  1763. enable_winetest
  1764. enable_winhlp32
  1765. enable_winmgmt
  1766. enable_winver
  1767. enable_wmic
  1768. enable_wmplayer
  1769. enable_wordpad
  1770. enable_write
  1771. enable_wscript
  1772. enable_wuauserv
  1773. enable_wusa
  1774. enable_xcopy
  1775. enable_server
  1776. enable_tools
  1777. enable_sfnt2fon
  1778. enable_widl
  1779. enable_winebuild
  1780. enable_winedump
  1781. enable_winegcc
  1782. enable_winemaker
  1783. enable_wmc
  1784. enable_wrc
  1785. '
  1786. ac_precious_vars='build_alias
  1787. host_alias
  1788. target_alias
  1789. CC
  1790. CFLAGS
  1791. LDFLAGS
  1792. LIBS
  1793. CPPFLAGS
  1794. CXX
  1795. CXXFLAGS
  1796. CCC
  1797. CPP
  1798. OBJC
  1799. OBJCFLAGS
  1800. OBJCPP
  1801. XMKMF
  1802. XML2_CFLAGS
  1803. XML2_LIBS
  1804. XSLT_CFLAGS
  1805. XSLT_LIBS
  1806. INOTIFY_CFLAGS
  1807. INOTIFY_LIBS
  1808. DBUS_CFLAGS
  1809. DBUS_LIBS
  1810. HAL_CFLAGS
  1811. HAL_LIBS
  1812. GNUTLS_CFLAGS
  1813. GNUTLS_LIBS
  1814. SANE_CFLAGS
  1815. SANE_LIBS
  1816. USB_CFLAGS
  1817. USB_LIBS
  1818. GPHOTO2_CFLAGS
  1819. GPHOTO2_LIBS
  1820. GPHOTO2_PORT_CFLAGS
  1821. GPHOTO2_PORT_LIBS
  1822. LCMS2_CFLAGS
  1823. LCMS2_LIBS
  1824. FREETYPE_CFLAGS
  1825. FREETYPE_LIBS
  1826. PULSE_CFLAGS
  1827. PULSE_LIBS
  1828. GSTREAMER_CFLAGS
  1829. GSTREAMER_LIBS
  1830. UDEV_CFLAGS
  1831. UDEV_LIBS
  1832. UNWIND_CFLAGS
  1833. UNWIND_LIBS
  1834. SDL2_CFLAGS
  1835. SDL2_LIBS
  1836. FAUDIO_CFLAGS
  1837. FAUDIO_LIBS
  1838. CAPI20_CFLAGS
  1839. CAPI20_LIBS
  1840. CUPS_CFLAGS
  1841. CUPS_LIBS
  1842. FONTCONFIG_CFLAGS
  1843. FONTCONFIG_LIBS
  1844. KRB5_CFLAGS
  1845. KRB5_LIBS
  1846. GSSAPI_CFLAGS
  1847. GSSAPI_LIBS
  1848. JPEG_CFLAGS
  1849. JPEG_LIBS
  1850. PNG_CFLAGS
  1851. PNG_LIBS
  1852. TIFF_CFLAGS
  1853. TIFF_LIBS
  1854. MPG123_CFLAGS
  1855. MPG123_LIBS
  1856. NETAPI_CFLAGS
  1857. NETAPI_LIBS
  1858. VKD3D_CFLAGS
  1859. VKD3D_LIBS
  1860. LDAP_CFLAGS
  1861. LDAP_LIBS'
  1862. # Initialize some variables set by options.
  1863. ac_init_help=
  1864. ac_init_version=false
  1865. ac_unrecognized_opts=
  1866. ac_unrecognized_sep=
  1867. # The variables have the same names as the options, with
  1868. # dashes changed to underlines.
  1869. cache_file=/dev/null
  1870. exec_prefix=NONE
  1871. no_create=
  1872. no_recursion=
  1873. prefix=NONE
  1874. program_prefix=NONE
  1875. program_suffix=NONE
  1876. program_transform_name=s,x,x,
  1877. silent=
  1878. site=
  1879. srcdir=
  1880. verbose=
  1881. x_includes=NONE
  1882. x_libraries=NONE
  1883. # Installation directory options.
  1884. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1885. # and all the variables that are supposed to be based on exec_prefix
  1886. # by default will actually change.
  1887. # Use braces instead of parens because sh, perl, etc. also accept them.
  1888. # (The list follows the same order as the GNU Coding Standards.)
  1889. bindir='${exec_prefix}/bin'
  1890. sbindir='${exec_prefix}/sbin'
  1891. libexecdir='${exec_prefix}/libexec'
  1892. datarootdir='${prefix}/share'
  1893. datadir='${datarootdir}'
  1894. sysconfdir='${prefix}/etc'
  1895. sharedstatedir='${prefix}/com'
  1896. localstatedir='${prefix}/var'
  1897. runstatedir='${localstatedir}/run'
  1898. includedir='${prefix}/include'
  1899. oldincludedir='/usr/include'
  1900. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1901. infodir='${datarootdir}/info'
  1902. htmldir='${docdir}'
  1903. dvidir='${docdir}'
  1904. pdfdir='${docdir}'
  1905. psdir='${docdir}'
  1906. libdir='${exec_prefix}/lib'
  1907. localedir='${datarootdir}/locale'
  1908. mandir='${datarootdir}/man'
  1909. ac_prev=
  1910. ac_dashdash=
  1911. for ac_option
  1912. do
  1913. # If the previous option needs an argument, assign it.
  1914. if test -n "$ac_prev"; then
  1915. eval $ac_prev=\$ac_option
  1916. ac_prev=
  1917. continue
  1918. fi
  1919. case $ac_option in
  1920. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1921. *=) ac_optarg= ;;
  1922. *) ac_optarg=yes ;;
  1923. esac
  1924. # Accept the important Cygnus configure options, so we can diagnose typos.
  1925. case $ac_dashdash$ac_option in
  1926. --)
  1927. ac_dashdash=yes ;;
  1928. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1929. ac_prev=bindir ;;
  1930. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1931. bindir=$ac_optarg ;;
  1932. -build | --build | --buil | --bui | --bu)
  1933. ac_prev=build_alias ;;
  1934. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1935. build_alias=$ac_optarg ;;
  1936. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1937. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1938. ac_prev=cache_file ;;
  1939. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1940. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1941. cache_file=$ac_optarg ;;
  1942. --config-cache | -C)
  1943. cache_file=config.cache ;;
  1944. -datadir | --datadir | --datadi | --datad)
  1945. ac_prev=datadir ;;
  1946. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1947. datadir=$ac_optarg ;;
  1948. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1949. | --dataroo | --dataro | --datar)
  1950. ac_prev=datarootdir ;;
  1951. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1952. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1953. datarootdir=$ac_optarg ;;
  1954. -disable-* | --disable-*)
  1955. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1956. # Reject names that are not valid shell variable names.
  1957. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1958. as_fn_error $? "invalid feature name: $ac_useropt"
  1959. ac_useropt_orig=$ac_useropt
  1960. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1961. case $ac_user_opts in
  1962. *"
  1963. "enable_$ac_useropt"
  1964. "*) ;;
  1965. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1966. ac_unrecognized_sep=', ';;
  1967. esac
  1968. eval enable_$ac_useropt=no ;;
  1969. -docdir | --docdir | --docdi | --doc | --do)
  1970. ac_prev=docdir ;;
  1971. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1972. docdir=$ac_optarg ;;
  1973. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1974. ac_prev=dvidir ;;
  1975. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1976. dvidir=$ac_optarg ;;
  1977. -enable-* | --enable-*)
  1978. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1979. # Reject names that are not valid shell variable names.
  1980. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1981. as_fn_error $? "invalid feature name: $ac_useropt"
  1982. ac_useropt_orig=$ac_useropt
  1983. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1984. case $ac_user_opts in
  1985. *"
  1986. "enable_$ac_useropt"
  1987. "*) ;;
  1988. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1989. ac_unrecognized_sep=', ';;
  1990. esac
  1991. eval enable_$ac_useropt=\$ac_optarg ;;
  1992. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1993. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1994. | --exec | --exe | --ex)
  1995. ac_prev=exec_prefix ;;
  1996. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1997. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1998. | --exec=* | --exe=* | --ex=*)
  1999. exec_prefix=$ac_optarg ;;
  2000. -gas | --gas | --ga | --g)
  2001. # Obsolete; use --with-gas.
  2002. with_gas=yes ;;
  2003. -help | --help | --hel | --he | -h)
  2004. ac_init_help=long ;;
  2005. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  2006. ac_init_help=recursive ;;
  2007. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  2008. ac_init_help=short ;;
  2009. -host | --host | --hos | --ho)
  2010. ac_prev=host_alias ;;
  2011. -host=* | --host=* | --hos=* | --ho=*)
  2012. host_alias=$ac_optarg ;;
  2013. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  2014. ac_prev=htmldir ;;
  2015. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  2016. | --ht=*)
  2017. htmldir=$ac_optarg ;;
  2018. -includedir | --includedir | --includedi | --included | --include \
  2019. | --includ | --inclu | --incl | --inc)
  2020. ac_prev=includedir ;;
  2021. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  2022. | --includ=* | --inclu=* | --incl=* | --inc=*)
  2023. includedir=$ac_optarg ;;
  2024. -infodir | --infodir | --infodi | --infod | --info | --inf)
  2025. ac_prev=infodir ;;
  2026. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  2027. infodir=$ac_optarg ;;
  2028. -libdir | --libdir | --libdi | --libd)
  2029. ac_prev=libdir ;;
  2030. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  2031. libdir=$ac_optarg ;;
  2032. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  2033. | --libexe | --libex | --libe)
  2034. ac_prev=libexecdir ;;
  2035. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  2036. | --libexe=* | --libex=* | --libe=*)
  2037. libexecdir=$ac_optarg ;;
  2038. -localedir | --localedir | --localedi | --localed | --locale)
  2039. ac_prev=localedir ;;
  2040. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  2041. localedir=$ac_optarg ;;
  2042. -localstatedir | --localstatedir | --localstatedi | --localstated \
  2043. | --localstate | --localstat | --localsta | --localst | --locals)
  2044. ac_prev=localstatedir ;;
  2045. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  2046. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  2047. localstatedir=$ac_optarg ;;
  2048. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  2049. ac_prev=mandir ;;
  2050. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  2051. mandir=$ac_optarg ;;
  2052. -nfp | --nfp | --nf)
  2053. # Obsolete; use --without-fp.
  2054. with_fp=no ;;
  2055. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  2056. | --no-cr | --no-c | -n)
  2057. no_create=yes ;;
  2058. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  2059. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  2060. no_recursion=yes ;;
  2061. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  2062. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  2063. | --oldin | --oldi | --old | --ol | --o)
  2064. ac_prev=oldincludedir ;;
  2065. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  2066. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  2067. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  2068. oldincludedir=$ac_optarg ;;
  2069. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  2070. ac_prev=prefix ;;
  2071. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  2072. prefix=$ac_optarg ;;
  2073. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  2074. | --program-pre | --program-pr | --program-p)
  2075. ac_prev=program_prefix ;;
  2076. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  2077. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  2078. program_prefix=$ac_optarg ;;
  2079. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  2080. | --program-suf | --program-su | --program-s)
  2081. ac_prev=program_suffix ;;
  2082. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  2083. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  2084. program_suffix=$ac_optarg ;;
  2085. -program-transform-name | --program-transform-name \
  2086. | --program-transform-nam | --program-transform-na \
  2087. | --program-transform-n | --program-transform- \
  2088. | --program-transform | --program-transfor \
  2089. | --program-transfo | --program-transf \
  2090. | --program-trans | --program-tran \
  2091. | --progr-tra | --program-tr | --program-t)
  2092. ac_prev=program_transform_name ;;
  2093. -program-transform-name=* | --program-transform-name=* \
  2094. | --program-transform-nam=* | --program-transform-na=* \
  2095. | --program-transform-n=* | --program-transform-=* \
  2096. | --program-transform=* | --program-transfor=* \
  2097. | --program-transfo=* | --program-transf=* \
  2098. | --program-trans=* | --program-tran=* \
  2099. | --progr-tra=* | --program-tr=* | --program-t=*)
  2100. program_transform_name=$ac_optarg ;;
  2101. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  2102. ac_prev=pdfdir ;;
  2103. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  2104. pdfdir=$ac_optarg ;;
  2105. -psdir | --psdir | --psdi | --psd | --ps)
  2106. ac_prev=psdir ;;
  2107. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  2108. psdir=$ac_optarg ;;
  2109. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2110. | -silent | --silent | --silen | --sile | --sil)
  2111. silent=yes ;;
  2112. -runstatedir | --runstatedir | --runstatedi | --runstated \
  2113. | --runstate | --runstat | --runsta | --runst | --runs \
  2114. | --run | --ru | --r)
  2115. ac_prev=runstatedir ;;
  2116. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  2117. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  2118. | --run=* | --ru=* | --r=*)
  2119. runstatedir=$ac_optarg ;;
  2120. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  2121. ac_prev=sbindir ;;
  2122. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  2123. | --sbi=* | --sb=*)
  2124. sbindir=$ac_optarg ;;
  2125. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  2126. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  2127. | --sharedst | --shareds | --shared | --share | --shar \
  2128. | --sha | --sh)
  2129. ac_prev=sharedstatedir ;;
  2130. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  2131. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  2132. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  2133. | --sha=* | --sh=*)
  2134. sharedstatedir=$ac_optarg ;;
  2135. -site | --site | --sit)
  2136. ac_prev=site ;;
  2137. -site=* | --site=* | --sit=*)
  2138. site=$ac_optarg ;;
  2139. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  2140. ac_prev=srcdir ;;
  2141. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  2142. srcdir=$ac_optarg ;;
  2143. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  2144. | --syscon | --sysco | --sysc | --sys | --sy)
  2145. ac_prev=sysconfdir ;;
  2146. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  2147. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  2148. sysconfdir=$ac_optarg ;;
  2149. -target | --target | --targe | --targ | --tar | --ta | --t)
  2150. ac_prev=target_alias ;;
  2151. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  2152. target_alias=$ac_optarg ;;
  2153. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  2154. verbose=yes ;;
  2155. -version | --version | --versio | --versi | --vers | -V)
  2156. ac_init_version=: ;;
  2157. -with-* | --with-*)
  2158. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  2159. # Reject names that are not valid shell variable names.
  2160. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2161. as_fn_error $? "invalid package name: $ac_useropt"
  2162. ac_useropt_orig=$ac_useropt
  2163. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2164. case $ac_user_opts in
  2165. *"
  2166. "with_$ac_useropt"
  2167. "*) ;;
  2168. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  2169. ac_unrecognized_sep=', ';;
  2170. esac
  2171. eval with_$ac_useropt=\$ac_optarg ;;
  2172. -without-* | --without-*)
  2173. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  2174. # Reject names that are not valid shell variable names.
  2175. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2176. as_fn_error $? "invalid package name: $ac_useropt"
  2177. ac_useropt_orig=$ac_useropt
  2178. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2179. case $ac_user_opts in
  2180. *"
  2181. "with_$ac_useropt"
  2182. "*) ;;
  2183. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  2184. ac_unrecognized_sep=', ';;
  2185. esac
  2186. eval with_$ac_useropt=no ;;
  2187. --x)
  2188. # Obsolete; use --with-x.
  2189. with_x=yes ;;
  2190. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  2191. | --x-incl | --x-inc | --x-in | --x-i)
  2192. ac_prev=x_includes ;;
  2193. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  2194. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  2195. x_includes=$ac_optarg ;;
  2196. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  2197. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  2198. ac_prev=x_libraries ;;
  2199. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  2200. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2201. x_libraries=$ac_optarg ;;
  2202. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  2203. Try \`$0 --help' for more information"
  2204. ;;
  2205. *=*)
  2206. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  2207. # Reject names that are not valid shell variable names.
  2208. case $ac_envvar in #(
  2209. '' | [0-9]* | *[!_$as_cr_alnum]* )
  2210. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  2211. esac
  2212. eval $ac_envvar=\$ac_optarg
  2213. export $ac_envvar ;;
  2214. *)
  2215. # FIXME: should be removed in autoconf 3.0.
  2216. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  2217. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  2218. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  2219. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  2220. ;;
  2221. esac
  2222. done
  2223. if test -n "$ac_prev"; then
  2224. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  2225. as_fn_error $? "missing argument to $ac_option"
  2226. fi
  2227. if test -n "$ac_unrecognized_opts"; then
  2228. case $enable_option_checking in
  2229. no) ;;
  2230. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  2231. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  2232. esac
  2233. fi
  2234. # Check all directory arguments for consistency.
  2235. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  2236. datadir sysconfdir sharedstatedir localstatedir includedir \
  2237. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  2238. libdir localedir mandir runstatedir
  2239. do
  2240. eval ac_val=\$$ac_var
  2241. # Remove trailing slashes.
  2242. case $ac_val in
  2243. */ )
  2244. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  2245. eval $ac_var=\$ac_val;;
  2246. esac
  2247. # Be sure to have absolute directory names.
  2248. case $ac_val in
  2249. [\\/$]* | ?:[\\/]* ) continue;;
  2250. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  2251. esac
  2252. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  2253. done
  2254. # There might be people who depend on the old broken behavior: `$host'
  2255. # used to hold the argument of --host etc.
  2256. # FIXME: To remove some day.
  2257. build=$build_alias
  2258. host=$host_alias
  2259. target=$target_alias
  2260. # FIXME: To remove some day.
  2261. if test "x$host_alias" != x; then
  2262. if test "x$build_alias" = x; then
  2263. cross_compiling=maybe
  2264. elif test "x$build_alias" != "x$host_alias"; then
  2265. cross_compiling=yes
  2266. fi
  2267. fi
  2268. ac_tool_prefix=
  2269. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  2270. test "$silent" = yes && exec 6>/dev/null
  2271. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  2272. ac_ls_di=`ls -di .` &&
  2273. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  2274. as_fn_error $? "working directory cannot be determined"
  2275. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  2276. as_fn_error $? "pwd does not report name of working directory"
  2277. # Find the source files, if location was not specified.
  2278. if test -z "$srcdir"; then
  2279. ac_srcdir_defaulted=yes
  2280. # Try the directory containing this script, then the parent directory.
  2281. ac_confdir=`$as_dirname -- "$as_myself" ||
  2282. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2283. X"$as_myself" : 'X\(//\)[^/]' \| \
  2284. X"$as_myself" : 'X\(//\)$' \| \
  2285. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  2286. $as_echo X"$as_myself" |
  2287. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  2288. s//\1/
  2289. q
  2290. }
  2291. /^X\(\/\/\)[^/].*/{
  2292. s//\1/
  2293. q
  2294. }
  2295. /^X\(\/\/\)$/{
  2296. s//\1/
  2297. q
  2298. }
  2299. /^X\(\/\).*/{
  2300. s//\1/
  2301. q
  2302. }
  2303. s/.*/./; q'`
  2304. srcdir=$ac_confdir
  2305. if test ! -r "$srcdir/$ac_unique_file"; then
  2306. srcdir=..
  2307. fi
  2308. else
  2309. ac_srcdir_defaulted=no
  2310. fi
  2311. if test ! -r "$srcdir/$ac_unique_file"; then
  2312. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  2313. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  2314. fi
  2315. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  2316. ac_abs_confdir=`(
  2317. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  2318. pwd)`
  2319. # When building in place, set srcdir=.
  2320. if test "$ac_abs_confdir" = "$ac_pwd"; then
  2321. srcdir=.
  2322. fi
  2323. # Remove unnecessary trailing slashes from srcdir.
  2324. # Double slashes in file names in object file debugging info
  2325. # mess up M-x gdb in Emacs.
  2326. case $srcdir in
  2327. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  2328. esac
  2329. for ac_var in $ac_precious_vars; do
  2330. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  2331. eval ac_env_${ac_var}_value=\$${ac_var}
  2332. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  2333. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  2334. done
  2335. #
  2336. # Report the --help message.
  2337. #
  2338. if test "$ac_init_help" = "long"; then
  2339. # Omit some internal or obsolete options to make the list less imposing.
  2340. # This message is too long to be a string in the A/UX 3.1 sh.
  2341. cat <<_ACEOF
  2342. \`configure' configures Wine 5.7 to adapt to many kinds of systems.
  2343. Usage: $0 [OPTION]... [VAR=VALUE]...
  2344. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  2345. VAR=VALUE. See below for descriptions of some of the useful variables.
  2346. Defaults for the options are specified in brackets.
  2347. Configuration:
  2348. -h, --help display this help and exit
  2349. --help=short display options specific to this package
  2350. --help=recursive display the short help of all the included packages
  2351. -V, --version display version information and exit
  2352. -q, --quiet, --silent do not print \`checking ...' messages
  2353. --cache-file=FILE cache test results in FILE [disabled]
  2354. -C, --config-cache alias for \`--cache-file=config.cache'
  2355. -n, --no-create do not create output files
  2356. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  2357. Installation directories:
  2358. --prefix=PREFIX install architecture-independent files in PREFIX
  2359. [$ac_default_prefix]
  2360. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  2361. [PREFIX]
  2362. By default, \`make install' will install all the files in
  2363. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  2364. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  2365. for instance \`--prefix=\$HOME'.
  2366. For better control, use the options below.
  2367. Fine tuning of the installation directories:
  2368. --bindir=DIR user executables [EPREFIX/bin]
  2369. --sbindir=DIR system admin executables [EPREFIX/sbin]
  2370. --libexecdir=DIR program executables [EPREFIX/libexec]
  2371. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  2372. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  2373. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  2374. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  2375. --libdir=DIR object code libraries [EPREFIX/lib]
  2376. --includedir=DIR C header files [PREFIX/include]
  2377. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  2378. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  2379. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  2380. --infodir=DIR info documentation [DATAROOTDIR/info]
  2381. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  2382. --mandir=DIR man documentation [DATAROOTDIR/man]
  2383. --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
  2384. --htmldir=DIR html documentation [DOCDIR]
  2385. --dvidir=DIR dvi documentation [DOCDIR]
  2386. --pdfdir=DIR pdf documentation [DOCDIR]
  2387. --psdir=DIR ps documentation [DOCDIR]
  2388. _ACEOF
  2389. cat <<\_ACEOF
  2390. X features:
  2391. --x-includes=DIR X include files are in DIR
  2392. --x-libraries=DIR X library files are in DIR
  2393. System types:
  2394. --build=BUILD configure for building on BUILD [guessed]
  2395. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  2396. _ACEOF
  2397. fi
  2398. if test -n "$ac_init_help"; then
  2399. case $ac_init_help in
  2400. short | recursive ) echo "Configuration of Wine 5.7:";;
  2401. esac
  2402. cat <<\_ACEOF
  2403. Optional Features:
  2404. --disable-option-checking ignore unrecognized --enable/--with options
  2405. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  2406. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  2407. --disable-win16 do not include Win16 support
  2408. --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
  2409. binaries)
  2410. --disable-tests do not build the regression tests
  2411. --enable-maintainer-mode
  2412. enable maintainer-specific build rules
  2413. --enable-werror treat compilation warnings as errors
  2414. --disable-largefile omit support for large files
  2415. Optional Packages:
  2416. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  2417. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  2418. --without-alsa do not use the Alsa sound support
  2419. --without-capi do not use CAPI (ISDN support)
  2420. --without-cms do not use CMS (color management support)
  2421. --without-coreaudio do not use the CoreAudio sound support
  2422. --without-cups do not use CUPS
  2423. --without-curses do not use (n)curses
  2424. --without-dbus do not use DBus (dynamic device support)
  2425. --without-faudio do not use FAudio (XAudio2 support)
  2426. --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
  2427. --without-fontconfig do not use fontconfig
  2428. --without-freetype do not use the FreeType library
  2429. --without-gettext do not use gettext
  2430. --with-gettextpo use the GetTextPO library to rebuild po files
  2431. --without-gphoto do not use gphoto (Digital Camera support)
  2432. --without-glu do not use the GLU library
  2433. --without-gnutls do not use GnuTLS (schannel support)
  2434. --without-gsm do not use libgsm (GSM 06.10 codec support)
  2435. --without-gssapi do not use GSSAPI (Kerberos SSP support)
  2436. --without-gstreamer do not use GStreamer (codecs support)
  2437. --without-hal do not use HAL (dynamic device support)
  2438. --without-inotify do not use inotify (filesystem change notifications)
  2439. --without-jpeg do not use JPEG
  2440. --without-krb5 do not use krb5 (Kerberos)
  2441. --without-ldap do not use LDAP
  2442. --without-mingw do not use the MinGW cross-compiler
  2443. --without-mpg123 do not use the mpg123 library
  2444. --without-netapi do not use the Samba NetAPI library
  2445. --without-openal do not use OpenAL
  2446. --without-opencl do not use OpenCL
  2447. --without-opengl do not use OpenGL
  2448. --without-osmesa do not use the OSMesa library
  2449. --without-oss do not use the OSS sound support
  2450. --without-pcap do not use the Packet Capture library
  2451. --without-png do not use PNG
  2452. --without-pthread do not use the pthread library
  2453. --without-pulse do not use PulseAudio sound support
  2454. --without-sane do not use SANE (scanner support)
  2455. --without-sdl do not use SDL
  2456. --without-tiff do not use TIFF
  2457. --without-udev do not use udev (plug and play support)
  2458. --without-unwind do not use the libunwind library (exception
  2459. handling)
  2460. --without-usb do not use the libusb library
  2461. --without-v4l2 do not use v4l2 (video capture)
  2462. --without-vkd3d do not use vkd3d (Direct3D 12 support)
  2463. --without-vulkan do not use Vulkan
  2464. --without-xcomposite do not use the Xcomposite extension
  2465. --without-xcursor do not use the Xcursor extension
  2466. --without-xfixes do not use Xfixes for clipboard change notifications
  2467. --without-xinerama do not use Xinerama (legacy multi-monitor support)
  2468. --without-xinput do not use the Xinput extension
  2469. --without-xinput2 do not use the Xinput 2 extension
  2470. --without-xml do not use XML
  2471. --without-xrandr do not use Xrandr (multi-monitor support)
  2472. --without-xrender do not use the Xrender extension
  2473. --without-xshape do not use the Xshape extension
  2474. --without-xshm do not use XShm (shared memory extension)
  2475. --without-xslt do not use XSLT
  2476. --without-xxf86vm do not use XFree video mode extension
  2477. --with-wine-tools=DIR use Wine tools from directory DIR
  2478. --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
  2479. --with-x use the X Window System
  2480. Some influential environment variables:
  2481. CC C compiler command
  2482. CFLAGS C compiler flags
  2483. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2484. nonstandard directory <lib dir>
  2485. LIBS libraries to pass to the linker, e.g. -l<library>
  2486. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2487. you have headers in a nonstandard directory <include dir>
  2488. CXX C++ compiler command
  2489. CXXFLAGS C++ compiler flags
  2490. CPP C preprocessor
  2491. OBJC Objective C compiler command
  2492. OBJCFLAGS Objective C compiler flags
  2493. OBJCPP Objective C preprocessor
  2494. XMKMF Path to xmkmf, Makefile generator for X Window System
  2495. XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
  2496. XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
  2497. XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
  2498. XSLT_LIBS Linker flags for libxslt, overriding pkg-config
  2499. INOTIFY_CFLAGS
  2500. C compiler flags for libinotify, overriding pkg-config
  2501. INOTIFY_LIBS
  2502. Linker flags for libinotify, overriding pkg-config
  2503. DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
  2504. DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
  2505. HAL_CFLAGS C compiler flags for hal, overriding pkg-config
  2506. HAL_LIBS Linker flags for hal, overriding pkg-config
  2507. GNUTLS_CFLAGS
  2508. C compiler flags for gnutls, overriding pkg-config
  2509. GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
  2510. SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
  2511. SANE_LIBS Linker flags for libsane, overriding pkg-config
  2512. USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
  2513. USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
  2514. GPHOTO2_CFLAGS
  2515. C compiler flags for libgphoto2, overriding pkg-config
  2516. GPHOTO2_LIBS
  2517. Linker flags for libgphoto2, overriding pkg-config
  2518. GPHOTO2_PORT_CFLAGS
  2519. C compiler flags for libgphoto2_port, overriding pkg-config
  2520. GPHOTO2_PORT_LIBS
  2521. Linker flags for libgphoto2_port, overriding pkg-config
  2522. LCMS2_CFLAGS
  2523. C compiler flags for lcms2, overriding pkg-config
  2524. LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
  2525. FREETYPE_CFLAGS
  2526. C compiler flags for freetype2, overriding pkg-config
  2527. FREETYPE_LIBS
  2528. Linker flags for freetype2, overriding pkg-config
  2529. PULSE_CFLAGS
  2530. C compiler flags for libpulse, overriding pkg-config
  2531. PULSE_LIBS Linker flags for libpulse, overriding pkg-config
  2532. GSTREAMER_CFLAGS
  2533. C compiler flags for gstreamer-1.0 gstreamer-video-1.0
  2534. gstreamer-audio-1.0, overriding pkg-config
  2535. GSTREAMER_LIBS
  2536. Linker flags for gstreamer-1.0 gstreamer-video-1.0
  2537. gstreamer-audio-1.0, overriding pkg-config
  2538. UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
  2539. UDEV_LIBS Linker flags for libudev, overriding pkg-config
  2540. UNWIND_CFLAGS
  2541. C compiler flags for libunwind, overriding pkg-config
  2542. UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
  2543. SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
  2544. SDL2_LIBS Linker flags for sdl2, overriding pkg-config
  2545. FAUDIO_CFLAGS
  2546. C compiler flags for faudio, overriding pkg-config
  2547. FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
  2548. CAPI20_CFLAGS
  2549. C compiler flags for capi20, overriding pkg-config
  2550. CAPI20_LIBS Linker flags for capi20, overriding pkg-config
  2551. CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
  2552. CUPS_LIBS Linker flags for cups, overriding pkg-config
  2553. FONTCONFIG_CFLAGS
  2554. C compiler flags for fontconfig, overriding pkg-config
  2555. FONTCONFIG_LIBS
  2556. Linker flags for fontconfig, overriding pkg-config
  2557. KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
  2558. KRB5_LIBS Linker flags for krb5, overriding pkg-config
  2559. GSSAPI_CFLAGS
  2560. C compiler flags for krb5-gssapi, overriding pkg-config
  2561. GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
  2562. JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
  2563. JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
  2564. PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
  2565. PNG_LIBS Linker flags for libpng, overriding pkg-config
  2566. TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
  2567. TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
  2568. MPG123_CFLAGS
  2569. C compiler flags for libmpg123, overriding pkg-config
  2570. MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
  2571. NETAPI_CFLAGS
  2572. C compiler flags for netapi, overriding pkg-config
  2573. NETAPI_LIBS Linker flags for netapi, overriding pkg-config
  2574. VKD3D_CFLAGS
  2575. C compiler flags for libvkd3d, overriding pkg-config
  2576. VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
  2577. LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
  2578. LDAP_LIBS Linker flags for openldap, overriding pkg-config
  2579. Use these variables to override the choices made by `configure' or to help
  2580. it to find libraries and programs with nonstandard names/locations.
  2581. Report bugs to <wine-devel@winehq.org>.
  2582. Wine home page: <https://www.winehq.org>.
  2583. _ACEOF
  2584. ac_status=$?
  2585. fi
  2586. if test "$ac_init_help" = "recursive"; then
  2587. # If there are subdirs, report their specific --help.
  2588. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2589. test -d "$ac_dir" ||
  2590. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2591. continue
  2592. ac_builddir=.
  2593. case "$ac_dir" in
  2594. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2595. *)
  2596. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  2597. # A ".." for each directory in $ac_dir_suffix.
  2598. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2599. case $ac_top_builddir_sub in
  2600. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2601. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2602. esac ;;
  2603. esac
  2604. ac_abs_top_builddir=$ac_pwd
  2605. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2606. # for backward compatibility:
  2607. ac_top_builddir=$ac_top_build_prefix
  2608. case $srcdir in
  2609. .) # We are building in place.
  2610. ac_srcdir=.
  2611. ac_top_srcdir=$ac_top_builddir_sub
  2612. ac_abs_top_srcdir=$ac_pwd ;;
  2613. [\\/]* | ?:[\\/]* ) # Absolute name.
  2614. ac_srcdir=$srcdir$ac_dir_suffix;
  2615. ac_top_srcdir=$srcdir
  2616. ac_abs_top_srcdir=$srcdir ;;
  2617. *) # Relative name.
  2618. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2619. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2620. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2621. esac
  2622. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2623. cd "$ac_dir" || { ac_status=$?; continue; }
  2624. # Check for guested configure.
  2625. if test -f "$ac_srcdir/configure.gnu"; then
  2626. echo &&
  2627. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2628. elif test -f "$ac_srcdir/configure"; then
  2629. echo &&
  2630. $SHELL "$ac_srcdir/configure" --help=recursive
  2631. else
  2632. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2633. fi || ac_status=$?
  2634. cd "$ac_pwd" || { ac_status=$?; break; }
  2635. done
  2636. fi
  2637. test -n "$ac_init_help" && exit $ac_status
  2638. if $ac_init_version; then
  2639. cat <<\_ACEOF
  2640. Wine configure 5.7
  2641. generated by GNU Autoconf 2.69
  2642. Copyright (C) 2012 Free Software Foundation, Inc.
  2643. This configure script is free software; the Free Software Foundation
  2644. gives unlimited permission to copy, distribute and modify it.
  2645. _ACEOF
  2646. exit
  2647. fi
  2648. ## ------------------------ ##
  2649. ## Autoconf initialization. ##
  2650. ## ------------------------ ##
  2651. # ac_fn_c_try_compile LINENO
  2652. # --------------------------
  2653. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2654. ac_fn_c_try_compile ()
  2655. {
  2656. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2657. rm -f conftest.$ac_objext
  2658. if { { ac_try="$ac_compile"
  2659. case "(($ac_try" in
  2660. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2661. *) ac_try_echo=$ac_try;;
  2662. esac
  2663. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2664. $as_echo "$ac_try_echo"; } >&5
  2665. (eval "$ac_compile") 2>conftest.err
  2666. ac_status=$?
  2667. if test -s conftest.err; then
  2668. grep -v '^ *+' conftest.err >conftest.er1
  2669. cat conftest.er1 >&5
  2670. mv -f conftest.er1 conftest.err
  2671. fi
  2672. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2673. test $ac_status = 0; } && {
  2674. test -z "$ac_c_werror_flag" ||
  2675. test ! -s conftest.err
  2676. } && test -s conftest.$ac_objext; then :
  2677. ac_retval=0
  2678. else
  2679. $as_echo "$as_me: failed program was:" >&5
  2680. sed 's/^/| /' conftest.$ac_ext >&5
  2681. ac_retval=1
  2682. fi
  2683. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2684. as_fn_set_status $ac_retval
  2685. } # ac_fn_c_try_compile
  2686. # ac_fn_cxx_try_compile LINENO
  2687. # ----------------------------
  2688. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2689. ac_fn_cxx_try_compile ()
  2690. {
  2691. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2692. rm -f conftest.$ac_objext
  2693. if { { ac_try="$ac_compile"
  2694. case "(($ac_try" in
  2695. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2696. *) ac_try_echo=$ac_try;;
  2697. esac
  2698. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2699. $as_echo "$ac_try_echo"; } >&5
  2700. (eval "$ac_compile") 2>conftest.err
  2701. ac_status=$?
  2702. if test -s conftest.err; then
  2703. grep -v '^ *+' conftest.err >conftest.er1
  2704. cat conftest.er1 >&5
  2705. mv -f conftest.er1 conftest.err
  2706. fi
  2707. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2708. test $ac_status = 0; } && {
  2709. test -z "$ac_cxx_werror_flag" ||
  2710. test ! -s conftest.err
  2711. } && test -s conftest.$ac_objext; then :
  2712. ac_retval=0
  2713. else
  2714. $as_echo "$as_me: failed program was:" >&5
  2715. sed 's/^/| /' conftest.$ac_ext >&5
  2716. ac_retval=1
  2717. fi
  2718. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2719. as_fn_set_status $ac_retval
  2720. } # ac_fn_cxx_try_compile
  2721. # ac_fn_c_try_link LINENO
  2722. # -----------------------
  2723. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2724. ac_fn_c_try_link ()
  2725. {
  2726. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2727. rm -f conftest.$ac_objext conftest$ac_exeext
  2728. if { { ac_try="$ac_link"
  2729. case "(($ac_try" in
  2730. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2731. *) ac_try_echo=$ac_try;;
  2732. esac
  2733. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2734. $as_echo "$ac_try_echo"; } >&5
  2735. (eval "$ac_link") 2>conftest.err
  2736. ac_status=$?
  2737. if test -s conftest.err; then
  2738. grep -v '^ *+' conftest.err >conftest.er1
  2739. cat conftest.er1 >&5
  2740. mv -f conftest.er1 conftest.err
  2741. fi
  2742. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2743. test $ac_status = 0; } && {
  2744. test -z "$ac_c_werror_flag" ||
  2745. test ! -s conftest.err
  2746. } && test -s conftest$ac_exeext && {
  2747. test "$cross_compiling" = yes ||
  2748. test -x conftest$ac_exeext
  2749. }; then :
  2750. ac_retval=0
  2751. else
  2752. $as_echo "$as_me: failed program was:" >&5
  2753. sed 's/^/| /' conftest.$ac_ext >&5
  2754. ac_retval=1
  2755. fi
  2756. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2757. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2758. # interfere with the next link command; also delete a directory that is
  2759. # left behind by Apple's compiler. We do this before executing the actions.
  2760. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2761. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2762. as_fn_set_status $ac_retval
  2763. } # ac_fn_c_try_link
  2764. # ac_fn_c_try_cpp LINENO
  2765. # ----------------------
  2766. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2767. ac_fn_c_try_cpp ()
  2768. {
  2769. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2770. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2771. case "(($ac_try" in
  2772. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2773. *) ac_try_echo=$ac_try;;
  2774. esac
  2775. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2776. $as_echo "$ac_try_echo"; } >&5
  2777. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2778. ac_status=$?
  2779. if test -s conftest.err; then
  2780. grep -v '^ *+' conftest.err >conftest.er1
  2781. cat conftest.er1 >&5
  2782. mv -f conftest.er1 conftest.err
  2783. fi
  2784. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2785. test $ac_status = 0; } > conftest.i && {
  2786. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2787. test ! -s conftest.err
  2788. }; then :
  2789. ac_retval=0
  2790. else
  2791. $as_echo "$as_me: failed program was:" >&5
  2792. sed 's/^/| /' conftest.$ac_ext >&5
  2793. ac_retval=1
  2794. fi
  2795. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2796. as_fn_set_status $ac_retval
  2797. } # ac_fn_c_try_cpp
  2798. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2799. # -------------------------------------------------------
  2800. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2801. # the include files in INCLUDES and setting the cache variable VAR
  2802. # accordingly.
  2803. ac_fn_c_check_header_mongrel ()
  2804. {
  2805. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2806. if eval \${$3+:} false; then :
  2807. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2808. $as_echo_n "checking for $2... " >&6; }
  2809. if eval \${$3+:} false; then :
  2810. $as_echo_n "(cached) " >&6
  2811. fi
  2812. eval ac_res=\$$3
  2813. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2814. $as_echo "$ac_res" >&6; }
  2815. else
  2816. # Is the header compilable?
  2817. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2818. $as_echo_n "checking $2 usability... " >&6; }
  2819. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2820. /* end confdefs.h. */
  2821. $4
  2822. #include <$2>
  2823. _ACEOF
  2824. if ac_fn_c_try_compile "$LINENO"; then :
  2825. ac_header_compiler=yes
  2826. else
  2827. ac_header_compiler=no
  2828. fi
  2829. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2831. $as_echo "$ac_header_compiler" >&6; }
  2832. # Is the header present?
  2833. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2834. $as_echo_n "checking $2 presence... " >&6; }
  2835. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2836. /* end confdefs.h. */
  2837. #include <$2>
  2838. _ACEOF
  2839. if ac_fn_c_try_cpp "$LINENO"; then :
  2840. ac_header_preproc=yes
  2841. else
  2842. ac_header_preproc=no
  2843. fi
  2844. rm -f conftest.err conftest.i conftest.$ac_ext
  2845. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2846. $as_echo "$ac_header_preproc" >&6; }
  2847. # So? What about this header?
  2848. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2849. yes:no: )
  2850. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2851. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2852. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2853. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2854. ;;
  2855. no:yes:* )
  2856. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2857. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2858. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2859. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2860. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2861. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2862. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2863. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2864. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2865. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2866. ( $as_echo "## ------------------------------------ ##
  2867. ## Report this to wine-devel@winehq.org ##
  2868. ## ------------------------------------ ##"
  2869. ) | sed "s/^/$as_me: WARNING: /" >&2
  2870. ;;
  2871. esac
  2872. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2873. $as_echo_n "checking for $2... " >&6; }
  2874. if eval \${$3+:} false; then :
  2875. $as_echo_n "(cached) " >&6
  2876. else
  2877. eval "$3=\$ac_header_compiler"
  2878. fi
  2879. eval ac_res=\$$3
  2880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2881. $as_echo "$ac_res" >&6; }
  2882. fi
  2883. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2884. } # ac_fn_c_check_header_mongrel
  2885. # ac_fn_c_try_run LINENO
  2886. # ----------------------
  2887. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  2888. # that executables *can* be run.
  2889. ac_fn_c_try_run ()
  2890. {
  2891. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2892. if { { ac_try="$ac_link"
  2893. case "(($ac_try" in
  2894. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2895. *) ac_try_echo=$ac_try;;
  2896. esac
  2897. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2898. $as_echo "$ac_try_echo"; } >&5
  2899. (eval "$ac_link") 2>&5
  2900. ac_status=$?
  2901. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2902. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  2903. { { case "(($ac_try" in
  2904. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2905. *) ac_try_echo=$ac_try;;
  2906. esac
  2907. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2908. $as_echo "$ac_try_echo"; } >&5
  2909. (eval "$ac_try") 2>&5
  2910. ac_status=$?
  2911. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2912. test $ac_status = 0; }; }; then :
  2913. ac_retval=0
  2914. else
  2915. $as_echo "$as_me: program exited with status $ac_status" >&5
  2916. $as_echo "$as_me: failed program was:" >&5
  2917. sed 's/^/| /' conftest.$ac_ext >&5
  2918. ac_retval=$ac_status
  2919. fi
  2920. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2921. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2922. as_fn_set_status $ac_retval
  2923. } # ac_fn_c_try_run
  2924. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2925. # -------------------------------------------------------
  2926. # Tests whether HEADER exists and can be compiled using the include files in
  2927. # INCLUDES, setting the cache variable VAR accordingly.
  2928. ac_fn_c_check_header_compile ()
  2929. {
  2930. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2932. $as_echo_n "checking for $2... " >&6; }
  2933. if eval \${$3+:} false; then :
  2934. $as_echo_n "(cached) " >&6
  2935. else
  2936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2937. /* end confdefs.h. */
  2938. $4
  2939. #include <$2>
  2940. _ACEOF
  2941. if ac_fn_c_try_compile "$LINENO"; then :
  2942. eval "$3=yes"
  2943. else
  2944. eval "$3=no"
  2945. fi
  2946. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2947. fi
  2948. eval ac_res=\$$3
  2949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2950. $as_echo "$ac_res" >&6; }
  2951. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2952. } # ac_fn_c_check_header_compile
  2953. # ac_fn_objc_try_compile LINENO
  2954. # -----------------------------
  2955. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2956. ac_fn_objc_try_compile ()
  2957. {
  2958. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2959. rm -f conftest.$ac_objext
  2960. if { { ac_try="$ac_compile"
  2961. case "(($ac_try" in
  2962. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2963. *) ac_try_echo=$ac_try;;
  2964. esac
  2965. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2966. $as_echo "$ac_try_echo"; } >&5
  2967. (eval "$ac_compile") 2>conftest.err
  2968. ac_status=$?
  2969. if test -s conftest.err; then
  2970. grep -v '^ *+' conftest.err >conftest.er1
  2971. cat conftest.er1 >&5
  2972. mv -f conftest.er1 conftest.err
  2973. fi
  2974. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2975. test $ac_status = 0; } && {
  2976. test -z "$ac_objc_werror_flag" ||
  2977. test ! -s conftest.err
  2978. } && test -s conftest.$ac_objext; then :
  2979. ac_retval=0
  2980. else
  2981. $as_echo "$as_me: failed program was:" >&5
  2982. sed 's/^/| /' conftest.$ac_ext >&5
  2983. ac_retval=1
  2984. fi
  2985. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2986. as_fn_set_status $ac_retval
  2987. } # ac_fn_objc_try_compile
  2988. # ac_fn_objc_try_cpp LINENO
  2989. # -------------------------
  2990. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2991. ac_fn_objc_try_cpp ()
  2992. {
  2993. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2994. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2995. case "(($ac_try" in
  2996. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2997. *) ac_try_echo=$ac_try;;
  2998. esac
  2999. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3000. $as_echo "$ac_try_echo"; } >&5
  3001. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  3002. ac_status=$?
  3003. if test -s conftest.err; then
  3004. grep -v '^ *+' conftest.err >conftest.er1
  3005. cat conftest.er1 >&5
  3006. mv -f conftest.er1 conftest.err
  3007. fi
  3008. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3009. test $ac_status = 0; } > conftest.i && {
  3010. test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  3011. test ! -s conftest.err
  3012. }; then :
  3013. ac_retval=0
  3014. else
  3015. $as_echo "$as_me: failed program was:" >&5
  3016. sed 's/^/| /' conftest.$ac_ext >&5
  3017. ac_retval=1
  3018. fi
  3019. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3020. as_fn_set_status $ac_retval
  3021. } # ac_fn_objc_try_cpp
  3022. # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
  3023. # ----------------------------------------------------------
  3024. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  3025. # the include files in INCLUDES and setting the cache variable VAR
  3026. # accordingly.
  3027. ac_fn_objc_check_header_mongrel ()
  3028. {
  3029. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3030. if eval \${$3+:} false; then :
  3031. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3032. $as_echo_n "checking for $2... " >&6; }
  3033. if eval \${$3+:} false; then :
  3034. $as_echo_n "(cached) " >&6
  3035. fi
  3036. eval ac_res=\$$3
  3037. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3038. $as_echo "$ac_res" >&6; }
  3039. else
  3040. # Is the header compilable?
  3041. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  3042. $as_echo_n "checking $2 usability... " >&6; }
  3043. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3044. /* end confdefs.h. */
  3045. $4
  3046. #include <$2>
  3047. _ACEOF
  3048. if ac_fn_objc_try_compile "$LINENO"; then :
  3049. ac_header_compiler=yes
  3050. else
  3051. ac_header_compiler=no
  3052. fi
  3053. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  3055. $as_echo "$ac_header_compiler" >&6; }
  3056. # Is the header present?
  3057. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  3058. $as_echo_n "checking $2 presence... " >&6; }
  3059. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3060. /* end confdefs.h. */
  3061. #include <$2>
  3062. _ACEOF
  3063. if ac_fn_objc_try_cpp "$LINENO"; then :
  3064. ac_header_preproc=yes
  3065. else
  3066. ac_header_preproc=no
  3067. fi
  3068. rm -f conftest.err conftest.i conftest.$ac_ext
  3069. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  3070. $as_echo "$ac_header_preproc" >&6; }
  3071. # So? What about this header?
  3072. case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
  3073. yes:no: )
  3074. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  3075. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3076. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3077. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3078. ;;
  3079. no:yes:* )
  3080. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  3081. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  3082. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  3083. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  3084. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  3085. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  3086. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  3087. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  3088. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3089. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3090. ( $as_echo "## ------------------------------------ ##
  3091. ## Report this to wine-devel@winehq.org ##
  3092. ## ------------------------------------ ##"
  3093. ) | sed "s/^/$as_me: WARNING: /" >&2
  3094. ;;
  3095. esac
  3096. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3097. $as_echo_n "checking for $2... " >&6; }
  3098. if eval \${$3+:} false; then :
  3099. $as_echo_n "(cached) " >&6
  3100. else
  3101. eval "$3=\$ac_header_compiler"
  3102. fi
  3103. eval ac_res=\$$3
  3104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3105. $as_echo "$ac_res" >&6; }
  3106. fi
  3107. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3108. } # ac_fn_objc_check_header_mongrel
  3109. # ac_fn_c_check_func LINENO FUNC VAR
  3110. # ----------------------------------
  3111. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  3112. ac_fn_c_check_func ()
  3113. {
  3114. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3115. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3116. $as_echo_n "checking for $2... " >&6; }
  3117. if eval \${$3+:} false; then :
  3118. $as_echo_n "(cached) " >&6
  3119. else
  3120. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3121. /* end confdefs.h. */
  3122. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  3123. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3124. #define $2 innocuous_$2
  3125. /* System header to define __stub macros and hopefully few prototypes,
  3126. which can conflict with char $2 (); below.
  3127. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3128. <limits.h> exists even on freestanding compilers. */
  3129. #ifdef __STDC__
  3130. # include <limits.h>
  3131. #else
  3132. # include <assert.h>
  3133. #endif
  3134. #undef $2
  3135. /* Override any GCC internal prototype to avoid an error.
  3136. Use char because int might match the return type of a GCC
  3137. builtin and then its argument prototype would still apply. */
  3138. #ifdef __cplusplus
  3139. extern "C"
  3140. #endif
  3141. char $2 ();
  3142. /* The GNU C library defines this for functions which it implements
  3143. to always fail with ENOSYS. Some functions are actually named
  3144. something starting with __ and the normal name is an alias. */
  3145. #if defined __stub_$2 || defined __stub___$2
  3146. choke me
  3147. #endif
  3148. int
  3149. main ()
  3150. {
  3151. return $2 ();
  3152. ;
  3153. return 0;
  3154. }
  3155. _ACEOF
  3156. if ac_fn_c_try_link "$LINENO"; then :
  3157. eval "$3=yes"
  3158. else
  3159. eval "$3=no"
  3160. fi
  3161. rm -f core conftest.err conftest.$ac_objext \
  3162. conftest$ac_exeext conftest.$ac_ext
  3163. fi
  3164. eval ac_res=\$$3
  3165. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3166. $as_echo "$ac_res" >&6; }
  3167. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3168. } # ac_fn_c_check_func
  3169. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  3170. # ----------------------------------------------------
  3171. # Tries to find if the field MEMBER exists in type AGGR, after including
  3172. # INCLUDES, setting cache variable VAR accordingly.
  3173. ac_fn_c_check_member ()
  3174. {
  3175. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3176. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  3177. $as_echo_n "checking for $2.$3... " >&6; }
  3178. if eval \${$4+:} false; then :
  3179. $as_echo_n "(cached) " >&6
  3180. else
  3181. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3182. /* end confdefs.h. */
  3183. $5
  3184. int
  3185. main ()
  3186. {
  3187. static $2 ac_aggr;
  3188. if (ac_aggr.$3)
  3189. return 0;
  3190. ;
  3191. return 0;
  3192. }
  3193. _ACEOF
  3194. if ac_fn_c_try_compile "$LINENO"; then :
  3195. eval "$4=yes"
  3196. else
  3197. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3198. /* end confdefs.h. */
  3199. $5
  3200. int
  3201. main ()
  3202. {
  3203. static $2 ac_aggr;
  3204. if (sizeof ac_aggr.$3)
  3205. return 0;
  3206. ;
  3207. return 0;
  3208. }
  3209. _ACEOF
  3210. if ac_fn_c_try_compile "$LINENO"; then :
  3211. eval "$4=yes"
  3212. else
  3213. eval "$4=no"
  3214. fi
  3215. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3216. fi
  3217. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3218. fi
  3219. eval ac_res=\$$4
  3220. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3221. $as_echo "$ac_res" >&6; }
  3222. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3223. } # ac_fn_c_check_member
  3224. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  3225. # -------------------------------------------
  3226. # Tests whether TYPE exists after having included INCLUDES, setting cache
  3227. # variable VAR accordingly.
  3228. ac_fn_c_check_type ()
  3229. {
  3230. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3231. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3232. $as_echo_n "checking for $2... " >&6; }
  3233. if eval \${$3+:} false; then :
  3234. $as_echo_n "(cached) " >&6
  3235. else
  3236. eval "$3=no"
  3237. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3238. /* end confdefs.h. */
  3239. $4
  3240. int
  3241. main ()
  3242. {
  3243. if (sizeof ($2))
  3244. return 0;
  3245. ;
  3246. return 0;
  3247. }
  3248. _ACEOF
  3249. if ac_fn_c_try_compile "$LINENO"; then :
  3250. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3251. /* end confdefs.h. */
  3252. $4
  3253. int
  3254. main ()
  3255. {
  3256. if (sizeof (($2)))
  3257. return 0;
  3258. ;
  3259. return 0;
  3260. }
  3261. _ACEOF
  3262. if ac_fn_c_try_compile "$LINENO"; then :
  3263. else
  3264. eval "$3=yes"
  3265. fi
  3266. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3267. fi
  3268. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3269. fi
  3270. eval ac_res=\$$3
  3271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3272. $as_echo "$ac_res" >&6; }
  3273. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3274. } # ac_fn_c_check_type
  3275. cat >config.log <<_ACEOF
  3276. This file contains any messages produced by compilers while
  3277. running configure, to aid debugging if configure makes a mistake.
  3278. It was created by Wine $as_me 5.7, which was
  3279. generated by GNU Autoconf 2.69. Invocation command line was
  3280. $ $0 $@
  3281. _ACEOF
  3282. exec 5>>config.log
  3283. {
  3284. cat <<_ASUNAME
  3285. ## --------- ##
  3286. ## Platform. ##
  3287. ## --------- ##
  3288. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3289. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3290. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3291. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3292. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3293. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3294. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  3295. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  3296. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  3297. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3298. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  3299. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  3300. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  3301. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  3302. _ASUNAME
  3303. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3304. for as_dir in $PATH
  3305. do
  3306. IFS=$as_save_IFS
  3307. test -z "$as_dir" && as_dir=.
  3308. $as_echo "PATH: $as_dir"
  3309. done
  3310. IFS=$as_save_IFS
  3311. } >&5
  3312. cat >&5 <<_ACEOF
  3313. ## ----------- ##
  3314. ## Core tests. ##
  3315. ## ----------- ##
  3316. _ACEOF
  3317. # Keep a trace of the command line.
  3318. # Strip out --no-create and --no-recursion so they do not pile up.
  3319. # Strip out --silent because we don't want to record it for future runs.
  3320. # Also quote any args containing shell meta-characters.
  3321. # Make two passes to allow for proper duplicate-argument suppression.
  3322. ac_configure_args=
  3323. ac_configure_args0=
  3324. ac_configure_args1=
  3325. ac_must_keep_next=false
  3326. for ac_pass in 1 2
  3327. do
  3328. for ac_arg
  3329. do
  3330. case $ac_arg in
  3331. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  3332. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3333. | -silent | --silent | --silen | --sile | --sil)
  3334. continue ;;
  3335. *\'*)
  3336. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3337. esac
  3338. case $ac_pass in
  3339. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  3340. 2)
  3341. as_fn_append ac_configure_args1 " '$ac_arg'"
  3342. if test $ac_must_keep_next = true; then
  3343. ac_must_keep_next=false # Got value, back to normal.
  3344. else
  3345. case $ac_arg in
  3346. *=* | --config-cache | -C | -disable-* | --disable-* \
  3347. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3348. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3349. | -with-* | --with-* | -without-* | --without-* | --x)
  3350. case "$ac_configure_args0 " in
  3351. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3352. esac
  3353. ;;
  3354. -* ) ac_must_keep_next=true ;;
  3355. esac
  3356. fi
  3357. as_fn_append ac_configure_args " '$ac_arg'"
  3358. ;;
  3359. esac
  3360. done
  3361. done
  3362. { ac_configure_args0=; unset ac_configure_args0;}
  3363. { ac_configure_args1=; unset ac_configure_args1;}
  3364. # When interrupted or exit'd, cleanup temporary files, and complete
  3365. # config.log. We remove comments because anyway the quotes in there
  3366. # would cause problems or look ugly.
  3367. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3368. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3369. trap 'exit_status=$?
  3370. # Save into config.log some information that might help in debugging.
  3371. {
  3372. echo
  3373. $as_echo "## ---------------- ##
  3374. ## Cache variables. ##
  3375. ## ---------------- ##"
  3376. echo
  3377. # The following way of writing the cache mishandles newlines in values,
  3378. (
  3379. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3380. eval ac_val=\$$ac_var
  3381. case $ac_val in #(
  3382. *${as_nl}*)
  3383. case $ac_var in #(
  3384. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3385. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3386. esac
  3387. case $ac_var in #(
  3388. _ | IFS | as_nl) ;; #(
  3389. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3390. *) { eval $ac_var=; unset $ac_var;} ;;
  3391. esac ;;
  3392. esac
  3393. done
  3394. (set) 2>&1 |
  3395. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3396. *${as_nl}ac_space=\ *)
  3397. sed -n \
  3398. "s/'\''/'\''\\\\'\'''\''/g;
  3399. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3400. ;; #(
  3401. *)
  3402. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3403. ;;
  3404. esac |
  3405. sort
  3406. )
  3407. echo
  3408. $as_echo "## ----------------- ##
  3409. ## Output variables. ##
  3410. ## ----------------- ##"
  3411. echo
  3412. for ac_var in $ac_subst_vars
  3413. do
  3414. eval ac_val=\$$ac_var
  3415. case $ac_val in
  3416. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3417. esac
  3418. $as_echo "$ac_var='\''$ac_val'\''"
  3419. done | sort
  3420. echo
  3421. if test -n "$ac_subst_files"; then
  3422. $as_echo "## ------------------- ##
  3423. ## File substitutions. ##
  3424. ## ------------------- ##"
  3425. echo
  3426. for ac_var in $ac_subst_files
  3427. do
  3428. eval ac_val=\$$ac_var
  3429. case $ac_val in
  3430. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3431. esac
  3432. $as_echo "$ac_var='\''$ac_val'\''"
  3433. done | sort
  3434. echo
  3435. fi
  3436. if test -s confdefs.h; then
  3437. $as_echo "## ----------- ##
  3438. ## confdefs.h. ##
  3439. ## ----------- ##"
  3440. echo
  3441. cat confdefs.h
  3442. echo
  3443. fi
  3444. test "$ac_signal" != 0 &&
  3445. $as_echo "$as_me: caught signal $ac_signal"
  3446. $as_echo "$as_me: exit $exit_status"
  3447. } >&5
  3448. rm -f core *.core core.conftest.* &&
  3449. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3450. exit $exit_status
  3451. ' 0
  3452. for ac_signal in 1 2 13 15; do
  3453. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3454. done
  3455. ac_signal=0
  3456. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3457. rm -f -r conftest* confdefs.h
  3458. $as_echo "/* confdefs.h */" > confdefs.h
  3459. # Predefined preprocessor variables.
  3460. cat >>confdefs.h <<_ACEOF
  3461. #define PACKAGE_NAME "$PACKAGE_NAME"
  3462. _ACEOF
  3463. cat >>confdefs.h <<_ACEOF
  3464. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  3465. _ACEOF
  3466. cat >>confdefs.h <<_ACEOF
  3467. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  3468. _ACEOF
  3469. cat >>confdefs.h <<_ACEOF
  3470. #define PACKAGE_STRING "$PACKAGE_STRING"
  3471. _ACEOF
  3472. cat >>confdefs.h <<_ACEOF
  3473. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3474. _ACEOF
  3475. cat >>confdefs.h <<_ACEOF
  3476. #define PACKAGE_URL "$PACKAGE_URL"
  3477. _ACEOF
  3478. # Let the site file select an alternate cache file if it wants to.
  3479. # Prefer an explicitly selected file to automatically selected ones.
  3480. ac_site_file1=NONE
  3481. ac_site_file2=NONE
  3482. if test -n "$CONFIG_SITE"; then
  3483. # We do not want a PATH search for config.site.
  3484. case $CONFIG_SITE in #((
  3485. -*) ac_site_file1=./$CONFIG_SITE;;
  3486. */*) ac_site_file1=$CONFIG_SITE;;
  3487. *) ac_site_file1=./$CONFIG_SITE;;
  3488. esac
  3489. elif test "x$prefix" != xNONE; then
  3490. ac_site_file1=$prefix/share/config.site
  3491. ac_site_file2=$prefix/etc/config.site
  3492. else
  3493. ac_site_file1=$ac_default_prefix/share/config.site
  3494. ac_site_file2=$ac_default_prefix/etc/config.site
  3495. fi
  3496. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3497. do
  3498. test "x$ac_site_file" = xNONE && continue
  3499. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  3500. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3501. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3502. sed 's/^/| /' "$ac_site_file" >&5
  3503. . "$ac_site_file" \
  3504. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3505. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3506. as_fn_error $? "failed to load site script $ac_site_file
  3507. See \`config.log' for more details" "$LINENO" 5; }
  3508. fi
  3509. done
  3510. if test -r "$cache_file"; then
  3511. # Some versions of bash will fail to source /dev/null (special files
  3512. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3513. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3514. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3515. $as_echo "$as_me: loading cache $cache_file" >&6;}
  3516. case $cache_file in
  3517. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3518. *) . "./$cache_file";;
  3519. esac
  3520. fi
  3521. else
  3522. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3523. $as_echo "$as_me: creating cache $cache_file" >&6;}
  3524. >$cache_file
  3525. fi
  3526. # Check that the precious variables saved in the cache have kept the same
  3527. # value.
  3528. ac_cache_corrupted=false
  3529. for ac_var in $ac_precious_vars; do
  3530. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3531. eval ac_new_set=\$ac_env_${ac_var}_set
  3532. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3533. eval ac_new_val=\$ac_env_${ac_var}_value
  3534. case $ac_old_set,$ac_new_set in
  3535. set,)
  3536. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3537. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3538. ac_cache_corrupted=: ;;
  3539. ,set)
  3540. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3541. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3542. ac_cache_corrupted=: ;;
  3543. ,);;
  3544. *)
  3545. if test "x$ac_old_val" != "x$ac_new_val"; then
  3546. # differences in whitespace do not lead to failure.
  3547. ac_old_val_w=`echo x $ac_old_val`
  3548. ac_new_val_w=`echo x $ac_new_val`
  3549. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3550. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3551. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3552. ac_cache_corrupted=:
  3553. else
  3554. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3555. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3556. eval $ac_var=\$ac_old_val
  3557. fi
  3558. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3559. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  3560. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3561. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  3562. fi;;
  3563. esac
  3564. # Pass precious variables to config.status.
  3565. if test "$ac_new_set" = set; then
  3566. case $ac_new_val in
  3567. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3568. *) ac_arg=$ac_var=$ac_new_val ;;
  3569. esac
  3570. case " $ac_configure_args " in
  3571. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3572. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3573. esac
  3574. fi
  3575. done
  3576. if $ac_cache_corrupted; then
  3577. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3578. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3579. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3580. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3581. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  3582. fi
  3583. ## -------------------- ##
  3584. ## Main body of script. ##
  3585. ## -------------------- ##
  3586. ac_ext=c
  3587. ac_cpp='$CPP $CPPFLAGS'
  3588. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3589. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3590. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3591. ac_config_headers="$ac_config_headers include/config.h"
  3592. ac_aux_dir=
  3593. for ac_dir in tools "$srcdir"/tools; do
  3594. if test -f "$ac_dir/install-sh"; then
  3595. ac_aux_dir=$ac_dir
  3596. ac_install_sh="$ac_aux_dir/install-sh -c"
  3597. break
  3598. elif test -f "$ac_dir/install.sh"; then
  3599. ac_aux_dir=$ac_dir
  3600. ac_install_sh="$ac_aux_dir/install.sh -c"
  3601. break
  3602. elif test -f "$ac_dir/shtool"; then
  3603. ac_aux_dir=$ac_dir
  3604. ac_install_sh="$ac_aux_dir/shtool install -c"
  3605. break
  3606. fi
  3607. done
  3608. if test -z "$ac_aux_dir"; then
  3609. as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
  3610. fi
  3611. # These three variables are undocumented and unsupported,
  3612. # and are intended to be withdrawn in a future Autoconf release.
  3613. # They can cause serious problems if a builder's source tree is in a directory
  3614. # whose full name contains unusual characters.
  3615. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  3616. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  3617. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  3618. libwine_version="1.0"
  3619. # Check whether --enable-win16 was given.
  3620. if test "${enable_win16+set}" = set; then :
  3621. enableval=$enable_win16;
  3622. fi
  3623. # Check whether --enable-win64 was given.
  3624. if test "${enable_win64+set}" = set; then :
  3625. enableval=$enable_win64;
  3626. fi
  3627. # Check whether --enable-tests was given.
  3628. if test "${enable_tests+set}" = set; then :
  3629. enableval=$enable_tests;
  3630. fi
  3631. # Check whether --enable-maintainer-mode was given.
  3632. if test "${enable_maintainer_mode+set}" = set; then :
  3633. enableval=$enable_maintainer_mode;
  3634. fi
  3635. # Check whether --enable-werror was given.
  3636. if test "${enable_werror+set}" = set; then :
  3637. enableval=$enable_werror;
  3638. fi
  3639. # Check whether --with-alsa was given.
  3640. if test "${with_alsa+set}" = set; then :
  3641. withval=$with_alsa;
  3642. fi
  3643. # Check whether --with-capi was given.
  3644. if test "${with_capi+set}" = set; then :
  3645. withval=$with_capi;
  3646. fi
  3647. # Check whether --with-cms was given.
  3648. if test "${with_cms+set}" = set; then :
  3649. withval=$with_cms;
  3650. fi
  3651. # Check whether --with-coreaudio was given.
  3652. if test "${with_coreaudio+set}" = set; then :
  3653. withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
  3654. fi
  3655. # Check whether --with-cups was given.
  3656. if test "${with_cups+set}" = set; then :
  3657. withval=$with_cups;
  3658. fi
  3659. # Check whether --with-curses was given.
  3660. if test "${with_curses+set}" = set; then :
  3661. withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
  3662. fi
  3663. # Check whether --with-dbus was given.
  3664. if test "${with_dbus+set}" = set; then :
  3665. withval=$with_dbus;
  3666. fi
  3667. # Check whether --with-faudio was given.
  3668. if test "${with_faudio+set}" = set; then :
  3669. withval=$with_faudio;
  3670. fi
  3671. # Check whether --with-float-abi was given.
  3672. if test "${with_float_abi+set}" = set; then :
  3673. withval=$with_float_abi;
  3674. fi
  3675. # Check whether --with-fontconfig was given.
  3676. if test "${with_fontconfig+set}" = set; then :
  3677. withval=$with_fontconfig;
  3678. fi
  3679. # Check whether --with-freetype was given.
  3680. if test "${with_freetype+set}" = set; then :
  3681. withval=$with_freetype;
  3682. fi
  3683. # Check whether --with-gettext was given.
  3684. if test "${with_gettext+set}" = set; then :
  3685. withval=$with_gettext;
  3686. fi
  3687. # Check whether --with-gettextpo was given.
  3688. if test "${with_gettextpo+set}" = set; then :
  3689. withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
  3690. fi
  3691. # Check whether --with-gphoto was given.
  3692. if test "${with_gphoto+set}" = set; then :
  3693. withval=$with_gphoto;
  3694. fi
  3695. # Check whether --with-glu was given.
  3696. if test "${with_glu+set}" = set; then :
  3697. withval=$with_glu;
  3698. fi
  3699. # Check whether --with-gnutls was given.
  3700. if test "${with_gnutls+set}" = set; then :
  3701. withval=$with_gnutls;
  3702. fi
  3703. # Check whether --with-gsm was given.
  3704. if test "${with_gsm+set}" = set; then :
  3705. withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
  3706. fi
  3707. # Check whether --with-gssapi was given.
  3708. if test "${with_gssapi+set}" = set; then :
  3709. withval=$with_gssapi;
  3710. fi
  3711. # Check whether --with-gstreamer was given.
  3712. if test "${with_gstreamer+set}" = set; then :
  3713. withval=$with_gstreamer;
  3714. fi
  3715. # Check whether --with-hal was given.
  3716. if test "${with_hal+set}" = set; then :
  3717. withval=$with_hal;
  3718. fi
  3719. # Check whether --with-inotify was given.
  3720. if test "${with_inotify+set}" = set; then :
  3721. withval=$with_inotify;
  3722. fi
  3723. # Check whether --with-jpeg was given.
  3724. if test "${with_jpeg+set}" = set; then :
  3725. withval=$with_jpeg;
  3726. fi
  3727. # Check whether --with-krb5 was given.
  3728. if test "${with_krb5+set}" = set; then :
  3729. withval=$with_krb5;
  3730. fi
  3731. # Check whether --with-ldap was given.
  3732. if test "${with_ldap+set}" = set; then :
  3733. withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
  3734. fi
  3735. # Check whether --with-mingw was given.
  3736. if test "${with_mingw+set}" = set; then :
  3737. withval=$with_mingw;
  3738. fi
  3739. # Check whether --with-mpg123 was given.
  3740. if test "${with_mpg123+set}" = set; then :
  3741. withval=$with_mpg123;
  3742. fi
  3743. # Check whether --with-netapi was given.
  3744. if test "${with_netapi+set}" = set; then :
  3745. withval=$with_netapi;
  3746. fi
  3747. # Check whether --with-openal was given.
  3748. if test "${with_openal+set}" = set; then :
  3749. withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
  3750. fi
  3751. # Check whether --with-opencl was given.
  3752. if test "${with_opencl+set}" = set; then :
  3753. withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
  3754. fi
  3755. # Check whether --with-opengl was given.
  3756. if test "${with_opengl+set}" = set; then :
  3757. withval=$with_opengl;
  3758. fi
  3759. # Check whether --with-osmesa was given.
  3760. if test "${with_osmesa+set}" = set; then :
  3761. withval=$with_osmesa;
  3762. fi
  3763. # Check whether --with-oss was given.
  3764. if test "${with_oss+set}" = set; then :
  3765. withval=$with_oss;
  3766. fi
  3767. # Check whether --with-pcap was given.
  3768. if test "${with_pcap+set}" = set; then :
  3769. withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
  3770. fi
  3771. # Check whether --with-png was given.
  3772. if test "${with_png+set}" = set; then :
  3773. withval=$with_png;
  3774. fi
  3775. # Check whether --with-pthread was given.
  3776. if test "${with_pthread+set}" = set; then :
  3777. withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
  3778. fi
  3779. # Check whether --with-pulse was given.
  3780. if test "${with_pulse+set}" = set; then :
  3781. withval=$with_pulse;
  3782. fi
  3783. # Check whether --with-sane was given.
  3784. if test "${with_sane+set}" = set; then :
  3785. withval=$with_sane;
  3786. fi
  3787. # Check whether --with-sdl was given.
  3788. if test "${with_sdl+set}" = set; then :
  3789. withval=$with_sdl;
  3790. fi
  3791. # Check whether --with-tiff was given.
  3792. if test "${with_tiff+set}" = set; then :
  3793. withval=$with_tiff;
  3794. fi
  3795. # Check whether --with-udev was given.
  3796. if test "${with_udev+set}" = set; then :
  3797. withval=$with_udev;
  3798. fi
  3799. # Check whether --with-unwind was given.
  3800. if test "${with_unwind+set}" = set; then :
  3801. withval=$with_unwind;
  3802. fi
  3803. # Check whether --with-usb was given.
  3804. if test "${with_usb+set}" = set; then :
  3805. withval=$with_usb;
  3806. fi
  3807. # Check whether --with-v4l2 was given.
  3808. if test "${with_v4l2+set}" = set; then :
  3809. withval=$with_v4l2;
  3810. fi
  3811. # Check whether --with-vkd3d was given.
  3812. if test "${with_vkd3d+set}" = set; then :
  3813. withval=$with_vkd3d;
  3814. fi
  3815. # Check whether --with-vulkan was given.
  3816. if test "${with_vulkan+set}" = set; then :
  3817. withval=$with_vulkan;
  3818. fi
  3819. # Check whether --with-xcomposite was given.
  3820. if test "${with_xcomposite+set}" = set; then :
  3821. withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
  3822. fi
  3823. # Check whether --with-xcursor was given.
  3824. if test "${with_xcursor+set}" = set; then :
  3825. withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
  3826. fi
  3827. # Check whether --with-xfixes was given.
  3828. if test "${with_xfixes+set}" = set; then :
  3829. withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
  3830. fi
  3831. # Check whether --with-xinerama was given.
  3832. if test "${with_xinerama+set}" = set; then :
  3833. withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
  3834. fi
  3835. # Check whether --with-xinput was given.
  3836. if test "${with_xinput+set}" = set; then :
  3837. withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
  3838. fi
  3839. # Check whether --with-xinput2 was given.
  3840. if test "${with_xinput2+set}" = set; then :
  3841. withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
  3842. fi
  3843. # Check whether --with-xml was given.
  3844. if test "${with_xml+set}" = set; then :
  3845. withval=$with_xml;
  3846. fi
  3847. # Check whether --with-xrandr was given.
  3848. if test "${with_xrandr+set}" = set; then :
  3849. withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
  3850. fi
  3851. # Check whether --with-xrender was given.
  3852. if test "${with_xrender+set}" = set; then :
  3853. withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
  3854. fi
  3855. # Check whether --with-xshape was given.
  3856. if test "${with_xshape+set}" = set; then :
  3857. withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
  3858. fi
  3859. # Check whether --with-xshm was given.
  3860. if test "${with_xshm+set}" = set; then :
  3861. withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
  3862. fi
  3863. # Check whether --with-xslt was given.
  3864. if test "${with_xslt+set}" = set; then :
  3865. withval=$with_xslt;
  3866. fi
  3867. # Check whether --with-xxf86vm was given.
  3868. if test "${with_xxf86vm+set}" = set; then :
  3869. 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
  3870. fi
  3871. # Check whether --with-wine-tools was given.
  3872. if test "${with_wine_tools+set}" = set; then :
  3873. withval=$with_wine_tools;
  3874. fi
  3875. # Check whether --with-wine64 was given.
  3876. if test "${with_wine64+set}" = set; then :
  3877. withval=$with_wine64;
  3878. fi
  3879. # Make sure we can run config.sub.
  3880. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3881. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3882. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3883. $as_echo_n "checking build system type... " >&6; }
  3884. if ${ac_cv_build+:} false; then :
  3885. $as_echo_n "(cached) " >&6
  3886. else
  3887. ac_build_alias=$build_alias
  3888. test "x$ac_build_alias" = x &&
  3889. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3890. test "x$ac_build_alias" = x &&
  3891. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  3892. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3893. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3894. fi
  3895. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3896. $as_echo "$ac_cv_build" >&6; }
  3897. case $ac_cv_build in
  3898. *-*-*) ;;
  3899. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  3900. esac
  3901. build=$ac_cv_build
  3902. ac_save_IFS=$IFS; IFS='-'
  3903. set x $ac_cv_build
  3904. shift
  3905. build_cpu=$1
  3906. build_vendor=$2
  3907. shift; shift
  3908. # Remember, the first character of IFS is used to create $*,
  3909. # except with old shells:
  3910. build_os=$*
  3911. IFS=$ac_save_IFS
  3912. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3913. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3914. $as_echo_n "checking host system type... " >&6; }
  3915. if ${ac_cv_host+:} false; then :
  3916. $as_echo_n "(cached) " >&6
  3917. else
  3918. if test "x$host_alias" = x; then
  3919. ac_cv_host=$ac_cv_build
  3920. else
  3921. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3922. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3923. fi
  3924. fi
  3925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3926. $as_echo "$ac_cv_host" >&6; }
  3927. case $ac_cv_host in
  3928. *-*-*) ;;
  3929. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  3930. esac
  3931. host=$ac_cv_host
  3932. ac_save_IFS=$IFS; IFS='-'
  3933. set x $ac_cv_host
  3934. shift
  3935. host_cpu=$1
  3936. host_vendor=$2
  3937. shift; shift
  3938. # Remember, the first character of IFS is used to create $*,
  3939. # except with old shells:
  3940. host_os=$*
  3941. IFS=$ac_save_IFS
  3942. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3943. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  3944. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  3945. set x ${MAKE-make}
  3946. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  3947. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  3948. $as_echo_n "(cached) " >&6
  3949. else
  3950. cat >conftest.make <<\_ACEOF
  3951. SHELL = /bin/sh
  3952. all:
  3953. @echo '@@@%%%=$(MAKE)=@@@%%%'
  3954. _ACEOF
  3955. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  3956. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  3957. *@@@%%%=?*=@@@%%%*)
  3958. eval ac_cv_prog_make_${ac_make}_set=yes;;
  3959. *)
  3960. eval ac_cv_prog_make_${ac_make}_set=no;;
  3961. esac
  3962. rm -f conftest.make
  3963. fi
  3964. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  3965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3966. $as_echo "yes" >&6; }
  3967. SET_MAKE=
  3968. else
  3969. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3970. $as_echo "no" >&6; }
  3971. SET_MAKE="MAKE=${MAKE-make}"
  3972. fi
  3973. ac_ext=c
  3974. ac_cpp='$CPP $CPPFLAGS'
  3975. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3976. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3977. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3978. if test -n "$ac_tool_prefix"; then
  3979. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3980. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3981. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3982. $as_echo_n "checking for $ac_word... " >&6; }
  3983. if ${ac_cv_prog_CC+:} false; then :
  3984. $as_echo_n "(cached) " >&6
  3985. else
  3986. if test -n "$CC"; then
  3987. ac_cv_prog_CC="$CC" # Let the user override the test.
  3988. else
  3989. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3990. for as_dir in $PATH
  3991. do
  3992. IFS=$as_save_IFS
  3993. test -z "$as_dir" && as_dir=.
  3994. for ac_exec_ext in '' $ac_executable_extensions; do
  3995. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3996. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3997. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3998. break 2
  3999. fi
  4000. done
  4001. done
  4002. IFS=$as_save_IFS
  4003. fi
  4004. fi
  4005. CC=$ac_cv_prog_CC
  4006. if test -n "$CC"; then
  4007. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4008. $as_echo "$CC" >&6; }
  4009. else
  4010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4011. $as_echo "no" >&6; }
  4012. fi
  4013. fi
  4014. if test -z "$ac_cv_prog_CC"; then
  4015. ac_ct_CC=$CC
  4016. # Extract the first word of "gcc", so it can be a program name with args.
  4017. set dummy gcc; ac_word=$2
  4018. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4019. $as_echo_n "checking for $ac_word... " >&6; }
  4020. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4021. $as_echo_n "(cached) " >&6
  4022. else
  4023. if test -n "$ac_ct_CC"; then
  4024. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4025. else
  4026. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4027. for as_dir in $PATH
  4028. do
  4029. IFS=$as_save_IFS
  4030. test -z "$as_dir" && as_dir=.
  4031. for ac_exec_ext in '' $ac_executable_extensions; do
  4032. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4033. ac_cv_prog_ac_ct_CC="gcc"
  4034. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4035. break 2
  4036. fi
  4037. done
  4038. done
  4039. IFS=$as_save_IFS
  4040. fi
  4041. fi
  4042. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4043. if test -n "$ac_ct_CC"; then
  4044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4045. $as_echo "$ac_ct_CC" >&6; }
  4046. else
  4047. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4048. $as_echo "no" >&6; }
  4049. fi
  4050. if test "x$ac_ct_CC" = x; then
  4051. CC=""
  4052. else
  4053. case $cross_compiling:$ac_tool_warned in
  4054. yes:)
  4055. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4056. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4057. ac_tool_warned=yes ;;
  4058. esac
  4059. CC=$ac_ct_CC
  4060. fi
  4061. else
  4062. CC="$ac_cv_prog_CC"
  4063. fi
  4064. if test -z "$CC"; then
  4065. if test -n "$ac_tool_prefix"; then
  4066. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4067. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4068. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4069. $as_echo_n "checking for $ac_word... " >&6; }
  4070. if ${ac_cv_prog_CC+:} false; then :
  4071. $as_echo_n "(cached) " >&6
  4072. else
  4073. if test -n "$CC"; then
  4074. ac_cv_prog_CC="$CC" # Let the user override the test.
  4075. else
  4076. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4077. for as_dir in $PATH
  4078. do
  4079. IFS=$as_save_IFS
  4080. test -z "$as_dir" && as_dir=.
  4081. for ac_exec_ext in '' $ac_executable_extensions; do
  4082. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4083. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4084. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4085. break 2
  4086. fi
  4087. done
  4088. done
  4089. IFS=$as_save_IFS
  4090. fi
  4091. fi
  4092. CC=$ac_cv_prog_CC
  4093. if test -n "$CC"; then
  4094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4095. $as_echo "$CC" >&6; }
  4096. else
  4097. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4098. $as_echo "no" >&6; }
  4099. fi
  4100. fi
  4101. fi
  4102. if test -z "$CC"; then
  4103. # Extract the first word of "cc", so it can be a program name with args.
  4104. set dummy cc; ac_word=$2
  4105. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4106. $as_echo_n "checking for $ac_word... " >&6; }
  4107. if ${ac_cv_prog_CC+:} false; then :
  4108. $as_echo_n "(cached) " >&6
  4109. else
  4110. if test -n "$CC"; then
  4111. ac_cv_prog_CC="$CC" # Let the user override the test.
  4112. else
  4113. ac_prog_rejected=no
  4114. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4115. for as_dir in $PATH
  4116. do
  4117. IFS=$as_save_IFS
  4118. test -z "$as_dir" && as_dir=.
  4119. for ac_exec_ext in '' $ac_executable_extensions; do
  4120. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4121. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4122. ac_prog_rejected=yes
  4123. continue
  4124. fi
  4125. ac_cv_prog_CC="cc"
  4126. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4127. break 2
  4128. fi
  4129. done
  4130. done
  4131. IFS=$as_save_IFS
  4132. if test $ac_prog_rejected = yes; then
  4133. # We found a bogon in the path, so make sure we never use it.
  4134. set dummy $ac_cv_prog_CC
  4135. shift
  4136. if test $# != 0; then
  4137. # We chose a different compiler from the bogus one.
  4138. # However, it has the same basename, so the bogon will be chosen
  4139. # first if we set CC to just the basename; use the full file name.
  4140. shift
  4141. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4142. fi
  4143. fi
  4144. fi
  4145. fi
  4146. CC=$ac_cv_prog_CC
  4147. if test -n "$CC"; then
  4148. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4149. $as_echo "$CC" >&6; }
  4150. else
  4151. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4152. $as_echo "no" >&6; }
  4153. fi
  4154. fi
  4155. if test -z "$CC"; then
  4156. if test -n "$ac_tool_prefix"; then
  4157. for ac_prog in cl.exe
  4158. do
  4159. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4160. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4161. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4162. $as_echo_n "checking for $ac_word... " >&6; }
  4163. if ${ac_cv_prog_CC+:} false; then :
  4164. $as_echo_n "(cached) " >&6
  4165. else
  4166. if test -n "$CC"; then
  4167. ac_cv_prog_CC="$CC" # Let the user override the test.
  4168. else
  4169. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4170. for as_dir in $PATH
  4171. do
  4172. IFS=$as_save_IFS
  4173. test -z "$as_dir" && as_dir=.
  4174. for ac_exec_ext in '' $ac_executable_extensions; do
  4175. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4176. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4177. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4178. break 2
  4179. fi
  4180. done
  4181. done
  4182. IFS=$as_save_IFS
  4183. fi
  4184. fi
  4185. CC=$ac_cv_prog_CC
  4186. if test -n "$CC"; then
  4187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4188. $as_echo "$CC" >&6; }
  4189. else
  4190. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4191. $as_echo "no" >&6; }
  4192. fi
  4193. test -n "$CC" && break
  4194. done
  4195. fi
  4196. if test -z "$CC"; then
  4197. ac_ct_CC=$CC
  4198. for ac_prog in cl.exe
  4199. do
  4200. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4201. set dummy $ac_prog; ac_word=$2
  4202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4203. $as_echo_n "checking for $ac_word... " >&6; }
  4204. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4205. $as_echo_n "(cached) " >&6
  4206. else
  4207. if test -n "$ac_ct_CC"; then
  4208. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4209. else
  4210. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4211. for as_dir in $PATH
  4212. do
  4213. IFS=$as_save_IFS
  4214. test -z "$as_dir" && as_dir=.
  4215. for ac_exec_ext in '' $ac_executable_extensions; do
  4216. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4217. ac_cv_prog_ac_ct_CC="$ac_prog"
  4218. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4219. break 2
  4220. fi
  4221. done
  4222. done
  4223. IFS=$as_save_IFS
  4224. fi
  4225. fi
  4226. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4227. if test -n "$ac_ct_CC"; then
  4228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4229. $as_echo "$ac_ct_CC" >&6; }
  4230. else
  4231. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4232. $as_echo "no" >&6; }
  4233. fi
  4234. test -n "$ac_ct_CC" && break
  4235. done
  4236. if test "x$ac_ct_CC" = x; then
  4237. CC=""
  4238. else
  4239. case $cross_compiling:$ac_tool_warned in
  4240. yes:)
  4241. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4242. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4243. ac_tool_warned=yes ;;
  4244. esac
  4245. CC=$ac_ct_CC
  4246. fi
  4247. fi
  4248. fi
  4249. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4250. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4251. as_fn_error $? "no acceptable C compiler found in \$PATH
  4252. See \`config.log' for more details" "$LINENO" 5; }
  4253. # Provide some information about the compiler.
  4254. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4255. set X $ac_compile
  4256. ac_compiler=$2
  4257. for ac_option in --version -v -V -qversion; do
  4258. { { ac_try="$ac_compiler $ac_option >&5"
  4259. case "(($ac_try" in
  4260. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4261. *) ac_try_echo=$ac_try;;
  4262. esac
  4263. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4264. $as_echo "$ac_try_echo"; } >&5
  4265. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4266. ac_status=$?
  4267. if test -s conftest.err; then
  4268. sed '10a\
  4269. ... rest of stderr output deleted ...
  4270. 10q' conftest.err >conftest.er1
  4271. cat conftest.er1 >&5
  4272. fi
  4273. rm -f conftest.er1 conftest.err
  4274. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4275. test $ac_status = 0; }
  4276. done
  4277. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4278. /* end confdefs.h. */
  4279. int
  4280. main ()
  4281. {
  4282. ;
  4283. return 0;
  4284. }
  4285. _ACEOF
  4286. ac_clean_files_save=$ac_clean_files
  4287. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  4288. # Try to create an executable without -o first, disregard a.out.
  4289. # It will help us diagnose broken compilers, and finding out an intuition
  4290. # of exeext.
  4291. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  4292. $as_echo_n "checking whether the C compiler works... " >&6; }
  4293. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4294. # The possible output files:
  4295. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  4296. ac_rmfiles=
  4297. for ac_file in $ac_files
  4298. do
  4299. case $ac_file in
  4300. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4301. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  4302. esac
  4303. done
  4304. rm -f $ac_rmfiles
  4305. if { { ac_try="$ac_link_default"
  4306. case "(($ac_try" in
  4307. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4308. *) ac_try_echo=$ac_try;;
  4309. esac
  4310. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4311. $as_echo "$ac_try_echo"; } >&5
  4312. (eval "$ac_link_default") 2>&5
  4313. ac_status=$?
  4314. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4315. test $ac_status = 0; }; then :
  4316. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  4317. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  4318. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  4319. # so that the user can short-circuit this test for compilers unknown to
  4320. # Autoconf.
  4321. for ac_file in $ac_files ''
  4322. do
  4323. test -f "$ac_file" || continue
  4324. case $ac_file in
  4325. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  4326. ;;
  4327. [ab].out )
  4328. # We found the default executable, but exeext='' is most
  4329. # certainly right.
  4330. break;;
  4331. *.* )
  4332. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  4333. then :; else
  4334. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4335. fi
  4336. # We set ac_cv_exeext here because the later test for it is not
  4337. # safe: cross compilers may not add the suffix if given an `-o'
  4338. # argument, so we may need to know it at that point already.
  4339. # Even if this section looks crufty: it has the advantage of
  4340. # actually working.
  4341. break;;
  4342. * )
  4343. break;;
  4344. esac
  4345. done
  4346. test "$ac_cv_exeext" = no && ac_cv_exeext=
  4347. else
  4348. ac_file=''
  4349. fi
  4350. if test -z "$ac_file"; then :
  4351. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4352. $as_echo "no" >&6; }
  4353. $as_echo "$as_me: failed program was:" >&5
  4354. sed 's/^/| /' conftest.$ac_ext >&5
  4355. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4356. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4357. as_fn_error 77 "C compiler cannot create executables
  4358. See \`config.log' for more details" "$LINENO" 5; }
  4359. else
  4360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4361. $as_echo "yes" >&6; }
  4362. fi
  4363. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  4364. $as_echo_n "checking for C compiler default output file name... " >&6; }
  4365. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  4366. $as_echo "$ac_file" >&6; }
  4367. ac_exeext=$ac_cv_exeext
  4368. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  4369. ac_clean_files=$ac_clean_files_save
  4370. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  4371. $as_echo_n "checking for suffix of executables... " >&6; }
  4372. if { { ac_try="$ac_link"
  4373. case "(($ac_try" in
  4374. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4375. *) ac_try_echo=$ac_try;;
  4376. esac
  4377. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4378. $as_echo "$ac_try_echo"; } >&5
  4379. (eval "$ac_link") 2>&5
  4380. ac_status=$?
  4381. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4382. test $ac_status = 0; }; then :
  4383. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  4384. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  4385. # work properly (i.e., refer to `conftest.exe'), while it won't with
  4386. # `rm'.
  4387. for ac_file in conftest.exe conftest conftest.*; do
  4388. test -f "$ac_file" || continue
  4389. case $ac_file in
  4390. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4391. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4392. break;;
  4393. * ) break;;
  4394. esac
  4395. done
  4396. else
  4397. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4398. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4399. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  4400. See \`config.log' for more details" "$LINENO" 5; }
  4401. fi
  4402. rm -f conftest conftest$ac_cv_exeext
  4403. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  4404. $as_echo "$ac_cv_exeext" >&6; }
  4405. rm -f conftest.$ac_ext
  4406. EXEEXT=$ac_cv_exeext
  4407. ac_exeext=$EXEEXT
  4408. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4409. /* end confdefs.h. */
  4410. #include <stdio.h>
  4411. int
  4412. main ()
  4413. {
  4414. FILE *f = fopen ("conftest.out", "w");
  4415. return ferror (f) || fclose (f) != 0;
  4416. ;
  4417. return 0;
  4418. }
  4419. _ACEOF
  4420. ac_clean_files="$ac_clean_files conftest.out"
  4421. # Check that the compiler produces executables we can run. If not, either
  4422. # the compiler is broken, or we cross compile.
  4423. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  4424. $as_echo_n "checking whether we are cross compiling... " >&6; }
  4425. if test "$cross_compiling" != yes; then
  4426. { { ac_try="$ac_link"
  4427. case "(($ac_try" in
  4428. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4429. *) ac_try_echo=$ac_try;;
  4430. esac
  4431. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4432. $as_echo "$ac_try_echo"; } >&5
  4433. (eval "$ac_link") 2>&5
  4434. ac_status=$?
  4435. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4436. test $ac_status = 0; }
  4437. if { ac_try='./conftest$ac_cv_exeext'
  4438. { { case "(($ac_try" in
  4439. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4440. *) ac_try_echo=$ac_try;;
  4441. esac
  4442. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4443. $as_echo "$ac_try_echo"; } >&5
  4444. (eval "$ac_try") 2>&5
  4445. ac_status=$?
  4446. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4447. test $ac_status = 0; }; }; then
  4448. cross_compiling=no
  4449. else
  4450. if test "$cross_compiling" = maybe; then
  4451. cross_compiling=yes
  4452. else
  4453. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4454. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4455. as_fn_error $? "cannot run C compiled programs.
  4456. If you meant to cross compile, use \`--host'.
  4457. See \`config.log' for more details" "$LINENO" 5; }
  4458. fi
  4459. fi
  4460. fi
  4461. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  4462. $as_echo "$cross_compiling" >&6; }
  4463. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  4464. ac_clean_files=$ac_clean_files_save
  4465. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  4466. $as_echo_n "checking for suffix of object files... " >&6; }
  4467. if ${ac_cv_objext+:} false; then :
  4468. $as_echo_n "(cached) " >&6
  4469. else
  4470. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4471. /* end confdefs.h. */
  4472. int
  4473. main ()
  4474. {
  4475. ;
  4476. return 0;
  4477. }
  4478. _ACEOF
  4479. rm -f conftest.o conftest.obj
  4480. if { { ac_try="$ac_compile"
  4481. case "(($ac_try" in
  4482. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4483. *) ac_try_echo=$ac_try;;
  4484. esac
  4485. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4486. $as_echo "$ac_try_echo"; } >&5
  4487. (eval "$ac_compile") 2>&5
  4488. ac_status=$?
  4489. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4490. test $ac_status = 0; }; then :
  4491. for ac_file in conftest.o conftest.obj conftest.*; do
  4492. test -f "$ac_file" || continue;
  4493. case $ac_file in
  4494. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  4495. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  4496. break;;
  4497. esac
  4498. done
  4499. else
  4500. $as_echo "$as_me: failed program was:" >&5
  4501. sed 's/^/| /' conftest.$ac_ext >&5
  4502. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4503. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4504. as_fn_error $? "cannot compute suffix of object files: cannot compile
  4505. See \`config.log' for more details" "$LINENO" 5; }
  4506. fi
  4507. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4508. fi
  4509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4510. $as_echo "$ac_cv_objext" >&6; }
  4511. OBJEXT=$ac_cv_objext
  4512. ac_objext=$OBJEXT
  4513. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4514. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4515. if ${ac_cv_c_compiler_gnu+:} false; then :
  4516. $as_echo_n "(cached) " >&6
  4517. else
  4518. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4519. /* end confdefs.h. */
  4520. int
  4521. main ()
  4522. {
  4523. #ifndef __GNUC__
  4524. choke me
  4525. #endif
  4526. ;
  4527. return 0;
  4528. }
  4529. _ACEOF
  4530. if ac_fn_c_try_compile "$LINENO"; then :
  4531. ac_compiler_gnu=yes
  4532. else
  4533. ac_compiler_gnu=no
  4534. fi
  4535. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4536. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4537. fi
  4538. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4539. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4540. if test $ac_compiler_gnu = yes; then
  4541. GCC=yes
  4542. else
  4543. GCC=
  4544. fi
  4545. ac_test_CFLAGS=${CFLAGS+set}
  4546. ac_save_CFLAGS=$CFLAGS
  4547. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4548. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4549. if ${ac_cv_prog_cc_g+:} false; then :
  4550. $as_echo_n "(cached) " >&6
  4551. else
  4552. ac_save_c_werror_flag=$ac_c_werror_flag
  4553. ac_c_werror_flag=yes
  4554. ac_cv_prog_cc_g=no
  4555. CFLAGS="-g"
  4556. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4557. /* end confdefs.h. */
  4558. int
  4559. main ()
  4560. {
  4561. ;
  4562. return 0;
  4563. }
  4564. _ACEOF
  4565. if ac_fn_c_try_compile "$LINENO"; then :
  4566. ac_cv_prog_cc_g=yes
  4567. else
  4568. CFLAGS=""
  4569. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4570. /* end confdefs.h. */
  4571. int
  4572. main ()
  4573. {
  4574. ;
  4575. return 0;
  4576. }
  4577. _ACEOF
  4578. if ac_fn_c_try_compile "$LINENO"; then :
  4579. else
  4580. ac_c_werror_flag=$ac_save_c_werror_flag
  4581. CFLAGS="-g"
  4582. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4583. /* end confdefs.h. */
  4584. int
  4585. main ()
  4586. {
  4587. ;
  4588. return 0;
  4589. }
  4590. _ACEOF
  4591. if ac_fn_c_try_compile "$LINENO"; then :
  4592. ac_cv_prog_cc_g=yes
  4593. fi
  4594. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4595. fi
  4596. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4597. fi
  4598. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4599. ac_c_werror_flag=$ac_save_c_werror_flag
  4600. fi
  4601. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4602. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4603. if test "$ac_test_CFLAGS" = set; then
  4604. CFLAGS=$ac_save_CFLAGS
  4605. elif test $ac_cv_prog_cc_g = yes; then
  4606. if test "$GCC" = yes; then
  4607. CFLAGS="-g -O2"
  4608. else
  4609. CFLAGS="-g"
  4610. fi
  4611. else
  4612. if test "$GCC" = yes; then
  4613. CFLAGS="-O2"
  4614. else
  4615. CFLAGS=
  4616. fi
  4617. fi
  4618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4619. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4620. if ${ac_cv_prog_cc_c89+:} false; then :
  4621. $as_echo_n "(cached) " >&6
  4622. else
  4623. ac_cv_prog_cc_c89=no
  4624. ac_save_CC=$CC
  4625. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4626. /* end confdefs.h. */
  4627. #include <stdarg.h>
  4628. #include <stdio.h>
  4629. struct stat;
  4630. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4631. struct buf { int x; };
  4632. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4633. static char *e (p, i)
  4634. char **p;
  4635. int i;
  4636. {
  4637. return p[i];
  4638. }
  4639. static char *f (char * (*g) (char **, int), char **p, ...)
  4640. {
  4641. char *s;
  4642. va_list v;
  4643. va_start (v,p);
  4644. s = g (p, va_arg (v,int));
  4645. va_end (v);
  4646. return s;
  4647. }
  4648. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4649. function prototypes and stuff, but not '\xHH' hex character constants.
  4650. These don't provoke an error unfortunately, instead are silently treated
  4651. as 'x'. The following induces an error, until -std is added to get
  4652. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4653. array size at least. It's necessary to write '\x00'==0 to get something
  4654. that's true only with -std. */
  4655. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4656. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4657. inside strings and character constants. */
  4658. #define FOO(x) 'x'
  4659. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4660. int test (int i, double x);
  4661. struct s1 {int (*f) (int a);};
  4662. struct s2 {int (*f) (double a);};
  4663. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4664. int argc;
  4665. char **argv;
  4666. int
  4667. main ()
  4668. {
  4669. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4670. ;
  4671. return 0;
  4672. }
  4673. _ACEOF
  4674. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4675. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4676. do
  4677. CC="$ac_save_CC $ac_arg"
  4678. if ac_fn_c_try_compile "$LINENO"; then :
  4679. ac_cv_prog_cc_c89=$ac_arg
  4680. fi
  4681. rm -f core conftest.err conftest.$ac_objext
  4682. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4683. done
  4684. rm -f conftest.$ac_ext
  4685. CC=$ac_save_CC
  4686. fi
  4687. # AC_CACHE_VAL
  4688. case "x$ac_cv_prog_cc_c89" in
  4689. x)
  4690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4691. $as_echo "none needed" >&6; } ;;
  4692. xno)
  4693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4694. $as_echo "unsupported" >&6; } ;;
  4695. *)
  4696. CC="$CC $ac_cv_prog_cc_c89"
  4697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4698. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4699. esac
  4700. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4701. fi
  4702. ac_ext=c
  4703. ac_cpp='$CPP $CPPFLAGS'
  4704. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4705. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4706. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4707. ac_ext=cpp
  4708. ac_cpp='$CXXCPP $CPPFLAGS'
  4709. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4710. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4711. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4712. if test -z "$CXX"; then
  4713. if test -n "$CCC"; then
  4714. CXX=$CCC
  4715. else
  4716. if test -n "$ac_tool_prefix"; then
  4717. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4718. do
  4719. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4720. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4721. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4722. $as_echo_n "checking for $ac_word... " >&6; }
  4723. if ${ac_cv_prog_CXX+:} false; then :
  4724. $as_echo_n "(cached) " >&6
  4725. else
  4726. if test -n "$CXX"; then
  4727. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  4728. else
  4729. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4730. for as_dir in $PATH
  4731. do
  4732. IFS=$as_save_IFS
  4733. test -z "$as_dir" && as_dir=.
  4734. for ac_exec_ext in '' $ac_executable_extensions; do
  4735. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4736. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  4737. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4738. break 2
  4739. fi
  4740. done
  4741. done
  4742. IFS=$as_save_IFS
  4743. fi
  4744. fi
  4745. CXX=$ac_cv_prog_CXX
  4746. if test -n "$CXX"; then
  4747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  4748. $as_echo "$CXX" >&6; }
  4749. else
  4750. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4751. $as_echo "no" >&6; }
  4752. fi
  4753. test -n "$CXX" && break
  4754. done
  4755. fi
  4756. if test -z "$CXX"; then
  4757. ac_ct_CXX=$CXX
  4758. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4759. do
  4760. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4761. set dummy $ac_prog; ac_word=$2
  4762. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4763. $as_echo_n "checking for $ac_word... " >&6; }
  4764. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  4765. $as_echo_n "(cached) " >&6
  4766. else
  4767. if test -n "$ac_ct_CXX"; then
  4768. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  4769. else
  4770. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4771. for as_dir in $PATH
  4772. do
  4773. IFS=$as_save_IFS
  4774. test -z "$as_dir" && as_dir=.
  4775. for ac_exec_ext in '' $ac_executable_extensions; do
  4776. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4777. ac_cv_prog_ac_ct_CXX="$ac_prog"
  4778. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4779. break 2
  4780. fi
  4781. done
  4782. done
  4783. IFS=$as_save_IFS
  4784. fi
  4785. fi
  4786. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  4787. if test -n "$ac_ct_CXX"; then
  4788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  4789. $as_echo "$ac_ct_CXX" >&6; }
  4790. else
  4791. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4792. $as_echo "no" >&6; }
  4793. fi
  4794. test -n "$ac_ct_CXX" && break
  4795. done
  4796. if test "x$ac_ct_CXX" = x; then
  4797. CXX="g++"
  4798. else
  4799. case $cross_compiling:$ac_tool_warned in
  4800. yes:)
  4801. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4802. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4803. ac_tool_warned=yes ;;
  4804. esac
  4805. CXX=$ac_ct_CXX
  4806. fi
  4807. fi
  4808. fi
  4809. fi
  4810. # Provide some information about the compiler.
  4811. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  4812. set X $ac_compile
  4813. ac_compiler=$2
  4814. for ac_option in --version -v -V -qversion; do
  4815. { { ac_try="$ac_compiler $ac_option >&5"
  4816. case "(($ac_try" in
  4817. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4818. *) ac_try_echo=$ac_try;;
  4819. esac
  4820. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4821. $as_echo "$ac_try_echo"; } >&5
  4822. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4823. ac_status=$?
  4824. if test -s conftest.err; then
  4825. sed '10a\
  4826. ... rest of stderr output deleted ...
  4827. 10q' conftest.err >conftest.er1
  4828. cat conftest.er1 >&5
  4829. fi
  4830. rm -f conftest.er1 conftest.err
  4831. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4832. test $ac_status = 0; }
  4833. done
  4834. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  4835. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  4836. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  4837. $as_echo_n "(cached) " >&6
  4838. else
  4839. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4840. /* end confdefs.h. */
  4841. int
  4842. main ()
  4843. {
  4844. #ifndef __GNUC__
  4845. choke me
  4846. #endif
  4847. ;
  4848. return 0;
  4849. }
  4850. _ACEOF
  4851. if ac_fn_cxx_try_compile "$LINENO"; then :
  4852. ac_compiler_gnu=yes
  4853. else
  4854. ac_compiler_gnu=no
  4855. fi
  4856. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4857. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  4858. fi
  4859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  4860. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  4861. if test $ac_compiler_gnu = yes; then
  4862. GXX=yes
  4863. else
  4864. GXX=
  4865. fi
  4866. ac_test_CXXFLAGS=${CXXFLAGS+set}
  4867. ac_save_CXXFLAGS=$CXXFLAGS
  4868. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  4869. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  4870. if ${ac_cv_prog_cxx_g+:} false; then :
  4871. $as_echo_n "(cached) " >&6
  4872. else
  4873. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4874. ac_cxx_werror_flag=yes
  4875. ac_cv_prog_cxx_g=no
  4876. CXXFLAGS="-g"
  4877. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4878. /* end confdefs.h. */
  4879. int
  4880. main ()
  4881. {
  4882. ;
  4883. return 0;
  4884. }
  4885. _ACEOF
  4886. if ac_fn_cxx_try_compile "$LINENO"; then :
  4887. ac_cv_prog_cxx_g=yes
  4888. else
  4889. CXXFLAGS=""
  4890. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4891. /* end confdefs.h. */
  4892. int
  4893. main ()
  4894. {
  4895. ;
  4896. return 0;
  4897. }
  4898. _ACEOF
  4899. if ac_fn_cxx_try_compile "$LINENO"; then :
  4900. else
  4901. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4902. CXXFLAGS="-g"
  4903. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4904. /* end confdefs.h. */
  4905. int
  4906. main ()
  4907. {
  4908. ;
  4909. return 0;
  4910. }
  4911. _ACEOF
  4912. if ac_fn_cxx_try_compile "$LINENO"; then :
  4913. ac_cv_prog_cxx_g=yes
  4914. fi
  4915. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4916. fi
  4917. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4918. fi
  4919. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4920. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4921. fi
  4922. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  4923. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  4924. if test "$ac_test_CXXFLAGS" = set; then
  4925. CXXFLAGS=$ac_save_CXXFLAGS
  4926. elif test $ac_cv_prog_cxx_g = yes; then
  4927. if test "$GXX" = yes; then
  4928. CXXFLAGS="-g -O2"
  4929. else
  4930. CXXFLAGS="-g"
  4931. fi
  4932. else
  4933. if test "$GXX" = yes; then
  4934. CXXFLAGS="-O2"
  4935. else
  4936. CXXFLAGS=
  4937. fi
  4938. fi
  4939. ac_ext=c
  4940. ac_cpp='$CPP $CPPFLAGS'
  4941. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4942. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4943. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4944. if test -n "$ac_tool_prefix"; then
  4945. # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
  4946. set dummy ${ac_tool_prefix}cpp; ac_word=$2
  4947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4948. $as_echo_n "checking for $ac_word... " >&6; }
  4949. if ${ac_cv_prog_CPPBIN+:} false; then :
  4950. $as_echo_n "(cached) " >&6
  4951. else
  4952. if test -n "$CPPBIN"; then
  4953. ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
  4954. else
  4955. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4956. for as_dir in $PATH
  4957. do
  4958. IFS=$as_save_IFS
  4959. test -z "$as_dir" && as_dir=.
  4960. for ac_exec_ext in '' $ac_executable_extensions; do
  4961. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4962. ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
  4963. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4964. break 2
  4965. fi
  4966. done
  4967. done
  4968. IFS=$as_save_IFS
  4969. fi
  4970. fi
  4971. CPPBIN=$ac_cv_prog_CPPBIN
  4972. if test -n "$CPPBIN"; then
  4973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
  4974. $as_echo "$CPPBIN" >&6; }
  4975. else
  4976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4977. $as_echo "no" >&6; }
  4978. fi
  4979. fi
  4980. if test -z "$ac_cv_prog_CPPBIN"; then
  4981. ac_ct_CPPBIN=$CPPBIN
  4982. # Extract the first word of "cpp", so it can be a program name with args.
  4983. set dummy cpp; ac_word=$2
  4984. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4985. $as_echo_n "checking for $ac_word... " >&6; }
  4986. if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
  4987. $as_echo_n "(cached) " >&6
  4988. else
  4989. if test -n "$ac_ct_CPPBIN"; then
  4990. ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
  4991. else
  4992. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4993. for as_dir in $PATH
  4994. do
  4995. IFS=$as_save_IFS
  4996. test -z "$as_dir" && as_dir=.
  4997. for ac_exec_ext in '' $ac_executable_extensions; do
  4998. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4999. ac_cv_prog_ac_ct_CPPBIN="cpp"
  5000. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5001. break 2
  5002. fi
  5003. done
  5004. done
  5005. IFS=$as_save_IFS
  5006. fi
  5007. fi
  5008. ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
  5009. if test -n "$ac_ct_CPPBIN"; then
  5010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
  5011. $as_echo "$ac_ct_CPPBIN" >&6; }
  5012. else
  5013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5014. $as_echo "no" >&6; }
  5015. fi
  5016. if test "x$ac_ct_CPPBIN" = x; then
  5017. CPPBIN="cpp"
  5018. else
  5019. case $cross_compiling:$ac_tool_warned in
  5020. yes:)
  5021. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5022. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5023. ac_tool_warned=yes ;;
  5024. esac
  5025. CPPBIN=$ac_ct_CPPBIN
  5026. fi
  5027. else
  5028. CPPBIN="$ac_cv_prog_CPPBIN"
  5029. fi
  5030. cat >>confdefs.h <<_ACEOF
  5031. #define EXEEXT "$ac_exeext"
  5032. _ACEOF
  5033. if test -n "$ac_tool_prefix"; then
  5034. # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
  5035. set dummy ${ac_tool_prefix}ld; ac_word=$2
  5036. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5037. $as_echo_n "checking for $ac_word... " >&6; }
  5038. if ${ac_cv_prog_LD+:} false; then :
  5039. $as_echo_n "(cached) " >&6
  5040. else
  5041. if test -n "$LD"; then
  5042. ac_cv_prog_LD="$LD" # Let the user override the test.
  5043. else
  5044. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5045. for as_dir in $PATH
  5046. do
  5047. IFS=$as_save_IFS
  5048. test -z "$as_dir" && as_dir=.
  5049. for ac_exec_ext in '' $ac_executable_extensions; do
  5050. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5051. ac_cv_prog_LD="${ac_tool_prefix}ld"
  5052. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5053. break 2
  5054. fi
  5055. done
  5056. done
  5057. IFS=$as_save_IFS
  5058. fi
  5059. fi
  5060. LD=$ac_cv_prog_LD
  5061. if test -n "$LD"; then
  5062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5063. $as_echo "$LD" >&6; }
  5064. else
  5065. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5066. $as_echo "no" >&6; }
  5067. fi
  5068. fi
  5069. if test -z "$ac_cv_prog_LD"; then
  5070. ac_ct_LD=$LD
  5071. # Extract the first word of "ld", so it can be a program name with args.
  5072. set dummy ld; ac_word=$2
  5073. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5074. $as_echo_n "checking for $ac_word... " >&6; }
  5075. if ${ac_cv_prog_ac_ct_LD+:} false; then :
  5076. $as_echo_n "(cached) " >&6
  5077. else
  5078. if test -n "$ac_ct_LD"; then
  5079. ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
  5080. else
  5081. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5082. for as_dir in $PATH
  5083. do
  5084. IFS=$as_save_IFS
  5085. test -z "$as_dir" && as_dir=.
  5086. for ac_exec_ext in '' $ac_executable_extensions; do
  5087. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5088. ac_cv_prog_ac_ct_LD="ld"
  5089. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5090. break 2
  5091. fi
  5092. done
  5093. done
  5094. IFS=$as_save_IFS
  5095. fi
  5096. fi
  5097. ac_ct_LD=$ac_cv_prog_ac_ct_LD
  5098. if test -n "$ac_ct_LD"; then
  5099. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
  5100. $as_echo "$ac_ct_LD" >&6; }
  5101. else
  5102. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5103. $as_echo "no" >&6; }
  5104. fi
  5105. if test "x$ac_ct_LD" = x; then
  5106. LD=""
  5107. else
  5108. case $cross_compiling:$ac_tool_warned in
  5109. yes:)
  5110. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5111. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5112. ac_tool_warned=yes ;;
  5113. esac
  5114. LD=$ac_ct_LD
  5115. fi
  5116. else
  5117. LD="$ac_cv_prog_LD"
  5118. fi
  5119. case $host in
  5120. *-darwin*)
  5121. with_fontconfig=${with_fontconfig:-no}
  5122. ;;
  5123. *-mingw32*|*-cygwin*)
  5124. enable_win16=${enable_win16:-no}
  5125. with_mingw=${with_mingw:-no}
  5126. CFLAGS="$CFLAGS -D_WIN32"
  5127. ;;
  5128. esac
  5129. case $host in
  5130. x86_64*|amd64*)
  5131. if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
  5132. then
  5133. CC="$CC -m32"
  5134. CXX="$CXX -m32"
  5135. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
  5136. $as_echo_n "checking whether $CC works... " >&6; }
  5137. if ${wine_cv_cc_m32+:} false; then :
  5138. $as_echo_n "(cached) " >&6
  5139. else
  5140. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5141. /* end confdefs.h. */
  5142. int
  5143. main ()
  5144. {
  5145. ;
  5146. return 0;
  5147. }
  5148. _ACEOF
  5149. if ac_fn_c_try_link "$LINENO"; then :
  5150. wine_cv_cc_m32=yes
  5151. else
  5152. wine_cv_cc_m32=no
  5153. fi
  5154. rm -f core conftest.err conftest.$ac_objext \
  5155. conftest$ac_exeext conftest.$ac_ext
  5156. fi
  5157. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
  5158. $as_echo "$wine_cv_cc_m32" >&6; }
  5159. 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
  5160. host_cpu="i386"
  5161. notice_platform="32-bit "
  5162. TARGETFLAGS="-m32"
  5163. PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
  5164. export PKG_CONFIG_PATH
  5165. enable_win16=${enable_win16:-yes}
  5166. with_unwind=${with_unwind:-no}
  5167. else
  5168. if test "x${GCC}" = "xyes"
  5169. then
  5170. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5171. $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5172. if ${wine_cv_builtin_ms_va_list+:} false; then :
  5173. $as_echo_n "(cached) " >&6
  5174. else
  5175. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5176. /* end confdefs.h. */
  5177. #include <stdarg.h>
  5178. int
  5179. main ()
  5180. {
  5181. void func(__builtin_ms_va_list *args);
  5182. ;
  5183. return 0;
  5184. }
  5185. _ACEOF
  5186. if ac_fn_c_try_compile "$LINENO"; then :
  5187. wine_cv_builtin_ms_va_list=yes
  5188. else
  5189. wine_cv_builtin_ms_va_list=no
  5190. fi
  5191. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5192. fi
  5193. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5194. $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
  5195. 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
  5196. fi
  5197. CC="$CC -m64"
  5198. CXX="$CXX -m64"
  5199. host_cpu="x86_64"
  5200. notice_platform="64-bit "
  5201. TARGETFLAGS="-m64"
  5202. fi
  5203. ;;
  5204. arm*)
  5205. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
  5206. $as_echo_n "checking whether $CC supports Thumb... " >&6; }
  5207. if ${wine_cv_thumb+:} false; then :
  5208. $as_echo_n "(cached) " >&6
  5209. else
  5210. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5211. /* end confdefs.h. */
  5212. int ac_test(int i) { return i; }
  5213. int
  5214. main ()
  5215. {
  5216. asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
  5217. ;
  5218. return 0;
  5219. }
  5220. _ACEOF
  5221. if ac_fn_c_try_link "$LINENO"; then :
  5222. wine_cv_thumb=yes
  5223. else
  5224. wine_cv_thumb=no
  5225. fi
  5226. rm -f core conftest.err conftest.$ac_objext \
  5227. conftest$ac_exeext conftest.$ac_ext
  5228. fi
  5229. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
  5230. $as_echo "$wine_cv_thumb" >&6; }
  5231. test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
  5232. case $with_float_abi in
  5233. soft|softfp|hard)
  5234. float_abi=$with_float_abi ;;
  5235. *)
  5236. case $host_os in
  5237. *eabihf)
  5238. float_abi=hard ;;
  5239. *)
  5240. float_abi=softfp
  5241. saved_CFLAGS=$CFLAGS
  5242. CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
  5243. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
  5244. $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
  5245. if ${wine_cv_float_abi+:} false; then :
  5246. $as_echo_n "(cached) " >&6
  5247. else
  5248. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5249. /* end confdefs.h. */
  5250. int
  5251. main ()
  5252. {
  5253. asm("vmrs r2,fpscr");
  5254. ;
  5255. return 0;
  5256. }
  5257. _ACEOF
  5258. if ac_fn_c_try_link "$LINENO"; then :
  5259. wine_cv_float_abi=yes
  5260. else
  5261. wine_cv_float_abi=no
  5262. fi
  5263. rm -f core conftest.err conftest.$ac_objext \
  5264. conftest$ac_exeext conftest.$ac_ext
  5265. fi
  5266. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
  5267. $as_echo "$wine_cv_float_abi" >&6; }
  5268. if test $wine_cv_float_abi = no
  5269. then
  5270. float_abi=soft
  5271. as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
  5272. fi
  5273. CFLAGS=$saved_CFLAGS
  5274. esac
  5275. ;;
  5276. esac
  5277. CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
  5278. TARGETFLAGS="-marm -mfloat-abi=$float_abi"
  5279. ;;
  5280. aarch64*)
  5281. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5282. $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5283. if ${wine_cv_builtin_ms_va_list+:} false; then :
  5284. $as_echo_n "(cached) " >&6
  5285. else
  5286. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5287. /* end confdefs.h. */
  5288. #include <stdarg.h>
  5289. int
  5290. main ()
  5291. {
  5292. void func(__builtin_ms_va_list *args);
  5293. ;
  5294. return 0;
  5295. }
  5296. _ACEOF
  5297. if ac_fn_c_try_compile "$LINENO"; then :
  5298. wine_cv_builtin_ms_va_list=yes
  5299. else
  5300. wine_cv_builtin_ms_va_list=no
  5301. fi
  5302. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5303. fi
  5304. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5305. $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
  5306. test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
  5307. ;;
  5308. i[3456789]86*)
  5309. enable_win16=${enable_win16:-yes}
  5310. with_unwind=${with_unwind:-no}
  5311. ;;
  5312. esac
  5313. enable_win16=${enable_win16:-no}
  5314. enable_win64=${enable_win64:-no}
  5315. enable_winetest=${enable_winetest:-$enable_tests}
  5316. if test "x$enable_win64" = "xyes"
  5317. then
  5318. test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
  5319. --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
  5320. test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
  5321. fi
  5322. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
  5323. $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
  5324. if ${wine_cv_toolsdir+:} false; then :
  5325. $as_echo_n "(cached) " >&6
  5326. else
  5327. wine_cv_toolsdir="$with_wine_tools"
  5328. if test -z "$with_wine_tools"; then
  5329. if test "$cross_compiling" = "yes"; then
  5330. as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
  5331. elif test -n "$with_wine64"; then
  5332. wine_cv_toolsdir="$with_wine64"
  5333. fi
  5334. fi
  5335. fi
  5336. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
  5337. $as_echo "$wine_cv_toolsdir" >&6; }
  5338. if test -z "$wine_cv_toolsdir"; then
  5339. wine_makedep=tools/makedep
  5340. TOOLSDIR="\$(top_builddir)"
  5341. elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
  5342. wine_makedep=$wine_cv_toolsdir/tools/makedep
  5343. case "$wine_cv_toolsdir" in
  5344. /*) TOOLSDIR=$wine_cv_toolsdir
  5345. ;;
  5346. *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
  5347. ;;
  5348. esac
  5349. enable_tools=${enable_tools:-no}
  5350. test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
  5351. else
  5352. as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
  5353. fi
  5354. if test -n "$host_alias" -a "$host_alias" != "$build_alias"
  5355. then
  5356. TARGETFLAGS="-b $host_alias $TARGETFLAGS"
  5357. fi
  5358. for ac_prog in flex
  5359. do
  5360. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5361. set dummy $ac_prog; ac_word=$2
  5362. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5363. $as_echo_n "checking for $ac_word... " >&6; }
  5364. if ${ac_cv_prog_FLEX+:} false; then :
  5365. $as_echo_n "(cached) " >&6
  5366. else
  5367. if test -n "$FLEX"; then
  5368. ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
  5369. else
  5370. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5371. for as_dir in $PATH
  5372. do
  5373. IFS=$as_save_IFS
  5374. test -z "$as_dir" && as_dir=.
  5375. for ac_exec_ext in '' $ac_executable_extensions; do
  5376. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5377. ac_cv_prog_FLEX="$ac_prog"
  5378. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5379. break 2
  5380. fi
  5381. done
  5382. done
  5383. IFS=$as_save_IFS
  5384. fi
  5385. fi
  5386. FLEX=$ac_cv_prog_FLEX
  5387. if test -n "$FLEX"; then
  5388. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
  5389. $as_echo "$FLEX" >&6; }
  5390. else
  5391. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5392. $as_echo "no" >&6; }
  5393. fi
  5394. test -n "$FLEX" && break
  5395. done
  5396. test -n "$FLEX" || FLEX="none"
  5397. if test "$FLEX" = "none"
  5398. then
  5399. as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
  5400. fi
  5401. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
  5402. $as_echo_n "checking whether flex is recent enough... " >&6; }
  5403. if ${wine_cv_recent_flex+:} false; then :
  5404. $as_echo_n "(cached) " >&6
  5405. else
  5406. cat >conftest.l <<EOF
  5407. %top{
  5408. #include "prediluvian.h"
  5409. }
  5410. %%
  5411. EOF
  5412. if $FLEX -t conftest.l >/dev/null 2>&5
  5413. then
  5414. wine_cv_recent_flex=yes
  5415. else
  5416. wine_cv_recent_flex=no
  5417. fi
  5418. fi
  5419. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
  5420. $as_echo "$wine_cv_recent_flex" >&6; }
  5421. 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
  5422. for ac_prog in bison
  5423. do
  5424. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5425. set dummy $ac_prog; ac_word=$2
  5426. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5427. $as_echo_n "checking for $ac_word... " >&6; }
  5428. if ${ac_cv_prog_BISON+:} false; then :
  5429. $as_echo_n "(cached) " >&6
  5430. else
  5431. if test -n "$BISON"; then
  5432. ac_cv_prog_BISON="$BISON" # Let the user override the test.
  5433. else
  5434. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5435. for as_dir in $PATH
  5436. do
  5437. IFS=$as_save_IFS
  5438. test -z "$as_dir" && as_dir=.
  5439. for ac_exec_ext in '' $ac_executable_extensions; do
  5440. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5441. ac_cv_prog_BISON="$ac_prog"
  5442. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5443. break 2
  5444. fi
  5445. done
  5446. done
  5447. IFS=$as_save_IFS
  5448. fi
  5449. fi
  5450. BISON=$ac_cv_prog_BISON
  5451. if test -n "$BISON"; then
  5452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
  5453. $as_echo "$BISON" >&6; }
  5454. else
  5455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5456. $as_echo "no" >&6; }
  5457. fi
  5458. test -n "$BISON" && break
  5459. done
  5460. test -n "$BISON" || BISON="none"
  5461. if test "$BISON" = "none"
  5462. then
  5463. as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
  5464. fi
  5465. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
  5466. $as_echo_n "checking whether bison is recent enough... " >&6; }
  5467. if ${wine_cv_recent_bison+:} false; then :
  5468. $as_echo_n "(cached) " >&6
  5469. else
  5470. cat >conftest.y <<EOF
  5471. %define parse.error verbose
  5472. %%
  5473. empty: ;
  5474. EOF
  5475. if $BISON conftest.y >/dev/null 2>&5
  5476. then
  5477. wine_cv_recent_bison=yes
  5478. else
  5479. wine_cv_recent_bison=no
  5480. fi
  5481. fi
  5482. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
  5483. $as_echo "$wine_cv_recent_bison" >&6; }
  5484. 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
  5485. if test -n "$ac_tool_prefix"; then
  5486. for ac_prog in ar gar
  5487. do
  5488. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5489. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5490. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5491. $as_echo_n "checking for $ac_word... " >&6; }
  5492. if ${ac_cv_prog_AR+:} false; then :
  5493. $as_echo_n "(cached) " >&6
  5494. else
  5495. if test -n "$AR"; then
  5496. ac_cv_prog_AR="$AR" # Let the user override the test.
  5497. else
  5498. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5499. for as_dir in $PATH
  5500. do
  5501. IFS=$as_save_IFS
  5502. test -z "$as_dir" && as_dir=.
  5503. for ac_exec_ext in '' $ac_executable_extensions; do
  5504. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5505. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5506. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5507. break 2
  5508. fi
  5509. done
  5510. done
  5511. IFS=$as_save_IFS
  5512. fi
  5513. fi
  5514. AR=$ac_cv_prog_AR
  5515. if test -n "$AR"; then
  5516. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5517. $as_echo "$AR" >&6; }
  5518. else
  5519. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5520. $as_echo "no" >&6; }
  5521. fi
  5522. test -n "$AR" && break
  5523. done
  5524. fi
  5525. if test -z "$AR"; then
  5526. ac_ct_AR=$AR
  5527. for ac_prog in ar gar
  5528. do
  5529. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5530. set dummy $ac_prog; ac_word=$2
  5531. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5532. $as_echo_n "checking for $ac_word... " >&6; }
  5533. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5534. $as_echo_n "(cached) " >&6
  5535. else
  5536. if test -n "$ac_ct_AR"; then
  5537. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5538. else
  5539. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5540. for as_dir in $PATH
  5541. do
  5542. IFS=$as_save_IFS
  5543. test -z "$as_dir" && as_dir=.
  5544. for ac_exec_ext in '' $ac_executable_extensions; do
  5545. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5546. ac_cv_prog_ac_ct_AR="$ac_prog"
  5547. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5548. break 2
  5549. fi
  5550. done
  5551. done
  5552. IFS=$as_save_IFS
  5553. fi
  5554. fi
  5555. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5556. if test -n "$ac_ct_AR"; then
  5557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5558. $as_echo "$ac_ct_AR" >&6; }
  5559. else
  5560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5561. $as_echo "no" >&6; }
  5562. fi
  5563. test -n "$ac_ct_AR" && break
  5564. done
  5565. if test "x$ac_ct_AR" = x; then
  5566. AR="ar"
  5567. else
  5568. case $cross_compiling:$ac_tool_warned in
  5569. yes:)
  5570. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5571. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5572. ac_tool_warned=yes ;;
  5573. esac
  5574. AR=$ac_ct_AR
  5575. fi
  5576. fi
  5577. if test -n "$ac_tool_prefix"; then
  5578. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5579. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5580. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5581. $as_echo_n "checking for $ac_word... " >&6; }
  5582. if ${ac_cv_prog_STRIP+:} false; then :
  5583. $as_echo_n "(cached) " >&6
  5584. else
  5585. if test -n "$STRIP"; then
  5586. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5587. else
  5588. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5589. for as_dir in $PATH
  5590. do
  5591. IFS=$as_save_IFS
  5592. test -z "$as_dir" && as_dir=.
  5593. for ac_exec_ext in '' $ac_executable_extensions; do
  5594. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5595. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5596. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5597. break 2
  5598. fi
  5599. done
  5600. done
  5601. IFS=$as_save_IFS
  5602. fi
  5603. fi
  5604. STRIP=$ac_cv_prog_STRIP
  5605. if test -n "$STRIP"; then
  5606. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5607. $as_echo "$STRIP" >&6; }
  5608. else
  5609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5610. $as_echo "no" >&6; }
  5611. fi
  5612. fi
  5613. if test -z "$ac_cv_prog_STRIP"; then
  5614. ac_ct_STRIP=$STRIP
  5615. # Extract the first word of "strip", so it can be a program name with args.
  5616. set dummy strip; ac_word=$2
  5617. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5618. $as_echo_n "checking for $ac_word... " >&6; }
  5619. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5620. $as_echo_n "(cached) " >&6
  5621. else
  5622. if test -n "$ac_ct_STRIP"; then
  5623. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5624. else
  5625. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5626. for as_dir in $PATH
  5627. do
  5628. IFS=$as_save_IFS
  5629. test -z "$as_dir" && as_dir=.
  5630. for ac_exec_ext in '' $ac_executable_extensions; do
  5631. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5632. ac_cv_prog_ac_ct_STRIP="strip"
  5633. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5634. break 2
  5635. fi
  5636. done
  5637. done
  5638. IFS=$as_save_IFS
  5639. fi
  5640. fi
  5641. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5642. if test -n "$ac_ct_STRIP"; then
  5643. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5644. $as_echo "$ac_ct_STRIP" >&6; }
  5645. else
  5646. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5647. $as_echo "no" >&6; }
  5648. fi
  5649. if test "x$ac_ct_STRIP" = x; then
  5650. STRIP="strip"
  5651. else
  5652. case $cross_compiling:$ac_tool_warned in
  5653. yes:)
  5654. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5655. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5656. ac_tool_warned=yes ;;
  5657. esac
  5658. STRIP=$ac_ct_STRIP
  5659. fi
  5660. else
  5661. STRIP="$ac_cv_prog_STRIP"
  5662. fi
  5663. if test -n "$ac_tool_prefix"; then
  5664. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5665. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5666. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5667. $as_echo_n "checking for $ac_word... " >&6; }
  5668. if ${ac_cv_prog_RANLIB+:} false; then :
  5669. $as_echo_n "(cached) " >&6
  5670. else
  5671. if test -n "$RANLIB"; then
  5672. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5673. else
  5674. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5675. for as_dir in $PATH
  5676. do
  5677. IFS=$as_save_IFS
  5678. test -z "$as_dir" && as_dir=.
  5679. for ac_exec_ext in '' $ac_executable_extensions; do
  5680. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5681. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5682. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5683. break 2
  5684. fi
  5685. done
  5686. done
  5687. IFS=$as_save_IFS
  5688. fi
  5689. fi
  5690. RANLIB=$ac_cv_prog_RANLIB
  5691. if test -n "$RANLIB"; then
  5692. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5693. $as_echo "$RANLIB" >&6; }
  5694. else
  5695. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5696. $as_echo "no" >&6; }
  5697. fi
  5698. fi
  5699. if test -z "$ac_cv_prog_RANLIB"; then
  5700. ac_ct_RANLIB=$RANLIB
  5701. # Extract the first word of "ranlib", so it can be a program name with args.
  5702. set dummy ranlib; ac_word=$2
  5703. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5704. $as_echo_n "checking for $ac_word... " >&6; }
  5705. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5706. $as_echo_n "(cached) " >&6
  5707. else
  5708. if test -n "$ac_ct_RANLIB"; then
  5709. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5710. else
  5711. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5712. for as_dir in $PATH
  5713. do
  5714. IFS=$as_save_IFS
  5715. test -z "$as_dir" && as_dir=.
  5716. for ac_exec_ext in '' $ac_executable_extensions; do
  5717. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5718. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5719. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5720. break 2
  5721. fi
  5722. done
  5723. done
  5724. IFS=$as_save_IFS
  5725. fi
  5726. fi
  5727. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5728. if test -n "$ac_ct_RANLIB"; then
  5729. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5730. $as_echo "$ac_ct_RANLIB" >&6; }
  5731. else
  5732. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5733. $as_echo "no" >&6; }
  5734. fi
  5735. if test "x$ac_ct_RANLIB" = x; then
  5736. RANLIB=":"
  5737. else
  5738. case $cross_compiling:$ac_tool_warned in
  5739. yes:)
  5740. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5741. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5742. ac_tool_warned=yes ;;
  5743. esac
  5744. RANLIB=$ac_ct_RANLIB
  5745. fi
  5746. else
  5747. RANLIB="$ac_cv_prog_RANLIB"
  5748. fi
  5749. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5750. $as_echo_n "checking whether ln -s works... " >&6; }
  5751. LN_S=$as_ln_s
  5752. if test "$LN_S" = "ln -s"; then
  5753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5754. $as_echo "yes" >&6; }
  5755. else
  5756. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5757. $as_echo "no, using $LN_S" >&6; }
  5758. fi
  5759. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  5760. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5761. if ${ac_cv_path_GREP+:} false; then :
  5762. $as_echo_n "(cached) " >&6
  5763. else
  5764. if test -z "$GREP"; then
  5765. ac_path_GREP_found=false
  5766. # Loop through the user's path and test for each of PROGNAME-LIST
  5767. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5768. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5769. do
  5770. IFS=$as_save_IFS
  5771. test -z "$as_dir" && as_dir=.
  5772. for ac_prog in grep ggrep; do
  5773. for ac_exec_ext in '' $ac_executable_extensions; do
  5774. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5775. as_fn_executable_p "$ac_path_GREP" || continue
  5776. # Check for GNU ac_path_GREP and select it if it is found.
  5777. # Check for GNU $ac_path_GREP
  5778. case `"$ac_path_GREP" --version 2>&1` in
  5779. *GNU*)
  5780. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5781. *)
  5782. ac_count=0
  5783. $as_echo_n 0123456789 >"conftest.in"
  5784. while :
  5785. do
  5786. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5787. mv "conftest.tmp" "conftest.in"
  5788. cp "conftest.in" "conftest.nl"
  5789. $as_echo 'GREP' >> "conftest.nl"
  5790. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5791. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5792. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5793. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5794. # Best one so far, save it but keep looking for a better one
  5795. ac_cv_path_GREP="$ac_path_GREP"
  5796. ac_path_GREP_max=$ac_count
  5797. fi
  5798. # 10*(2^10) chars as input seems more than enough
  5799. test $ac_count -gt 10 && break
  5800. done
  5801. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5802. esac
  5803. $ac_path_GREP_found && break 3
  5804. done
  5805. done
  5806. done
  5807. IFS=$as_save_IFS
  5808. if test -z "$ac_cv_path_GREP"; then
  5809. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5810. fi
  5811. else
  5812. ac_cv_path_GREP=$GREP
  5813. fi
  5814. fi
  5815. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  5816. $as_echo "$ac_cv_path_GREP" >&6; }
  5817. GREP="$ac_cv_path_GREP"
  5818. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  5819. $as_echo_n "checking for egrep... " >&6; }
  5820. if ${ac_cv_path_EGREP+:} false; then :
  5821. $as_echo_n "(cached) " >&6
  5822. else
  5823. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5824. then ac_cv_path_EGREP="$GREP -E"
  5825. else
  5826. if test -z "$EGREP"; then
  5827. ac_path_EGREP_found=false
  5828. # Loop through the user's path and test for each of PROGNAME-LIST
  5829. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5830. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5831. do
  5832. IFS=$as_save_IFS
  5833. test -z "$as_dir" && as_dir=.
  5834. for ac_prog in egrep; do
  5835. for ac_exec_ext in '' $ac_executable_extensions; do
  5836. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5837. as_fn_executable_p "$ac_path_EGREP" || continue
  5838. # Check for GNU ac_path_EGREP and select it if it is found.
  5839. # Check for GNU $ac_path_EGREP
  5840. case `"$ac_path_EGREP" --version 2>&1` in
  5841. *GNU*)
  5842. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5843. *)
  5844. ac_count=0
  5845. $as_echo_n 0123456789 >"conftest.in"
  5846. while :
  5847. do
  5848. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5849. mv "conftest.tmp" "conftest.in"
  5850. cp "conftest.in" "conftest.nl"
  5851. $as_echo 'EGREP' >> "conftest.nl"
  5852. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5853. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5854. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5855. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5856. # Best one so far, save it but keep looking for a better one
  5857. ac_cv_path_EGREP="$ac_path_EGREP"
  5858. ac_path_EGREP_max=$ac_count
  5859. fi
  5860. # 10*(2^10) chars as input seems more than enough
  5861. test $ac_count -gt 10 && break
  5862. done
  5863. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5864. esac
  5865. $ac_path_EGREP_found && break 3
  5866. done
  5867. done
  5868. done
  5869. IFS=$as_save_IFS
  5870. if test -z "$ac_cv_path_EGREP"; then
  5871. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5872. fi
  5873. else
  5874. ac_cv_path_EGREP=$EGREP
  5875. fi
  5876. fi
  5877. fi
  5878. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  5879. $as_echo "$ac_cv_path_EGREP" >&6; }
  5880. EGREP="$ac_cv_path_EGREP"
  5881. # Extract the first word of "ldconfig", so it can be a program name with args.
  5882. set dummy ldconfig; ac_word=$2
  5883. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5884. $as_echo_n "checking for $ac_word... " >&6; }
  5885. if ${ac_cv_path_LDCONFIG+:} false; then :
  5886. $as_echo_n "(cached) " >&6
  5887. else
  5888. case $LDCONFIG in
  5889. [\\/]* | ?:[\\/]*)
  5890. ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
  5891. ;;
  5892. *)
  5893. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5894. for as_dir in /sbin /usr/sbin $PATH
  5895. do
  5896. IFS=$as_save_IFS
  5897. test -z "$as_dir" && as_dir=.
  5898. for ac_exec_ext in '' $ac_executable_extensions; do
  5899. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5900. ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
  5901. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5902. break 2
  5903. fi
  5904. done
  5905. done
  5906. IFS=$as_save_IFS
  5907. test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
  5908. ;;
  5909. esac
  5910. fi
  5911. LDCONFIG=$ac_cv_path_LDCONFIG
  5912. if test -n "$LDCONFIG"; then
  5913. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
  5914. $as_echo "$LDCONFIG" >&6; }
  5915. else
  5916. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5917. $as_echo "no" >&6; }
  5918. fi
  5919. for ac_prog in msgfmt
  5920. do
  5921. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5922. set dummy $ac_prog; ac_word=$2
  5923. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5924. $as_echo_n "checking for $ac_word... " >&6; }
  5925. if ${ac_cv_prog_MSGFMT+:} false; then :
  5926. $as_echo_n "(cached) " >&6
  5927. else
  5928. if test -n "$MSGFMT"; then
  5929. ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
  5930. else
  5931. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5932. for as_dir in $PATH
  5933. do
  5934. IFS=$as_save_IFS
  5935. test -z "$as_dir" && as_dir=.
  5936. for ac_exec_ext in '' $ac_executable_extensions; do
  5937. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5938. ac_cv_prog_MSGFMT="$ac_prog"
  5939. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5940. break 2
  5941. fi
  5942. done
  5943. done
  5944. IFS=$as_save_IFS
  5945. fi
  5946. fi
  5947. MSGFMT=$ac_cv_prog_MSGFMT
  5948. if test -n "$MSGFMT"; then
  5949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  5950. $as_echo "$MSGFMT" >&6; }
  5951. else
  5952. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5953. $as_echo "no" >&6; }
  5954. fi
  5955. test -n "$MSGFMT" && break
  5956. done
  5957. test -n "$MSGFMT" || MSGFMT="false"
  5958. if ${ac_tool_prefix+:} false; then :
  5959. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  5960. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  5961. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5962. $as_echo_n "checking for $ac_word... " >&6; }
  5963. if ${ac_cv_prog_PKG_CONFIG+:} false; then :
  5964. $as_echo_n "(cached) " >&6
  5965. else
  5966. if test -n "$PKG_CONFIG"; then
  5967. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  5968. else
  5969. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5970. for as_dir in $PATH
  5971. do
  5972. IFS=$as_save_IFS
  5973. test -z "$as_dir" && as_dir=.
  5974. for ac_exec_ext in '' $ac_executable_extensions; do
  5975. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5976. ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
  5977. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5978. break 2
  5979. fi
  5980. done
  5981. done
  5982. IFS=$as_save_IFS
  5983. fi
  5984. fi
  5985. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  5986. if test -n "$PKG_CONFIG"; then
  5987. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  5988. $as_echo "$PKG_CONFIG" >&6; }
  5989. else
  5990. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5991. $as_echo "no" >&6; }
  5992. fi
  5993. fi
  5994. if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
  5995. if test "x$cross_compiling" = xyes; then :
  5996. else
  5997. { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
  5998. # Extract the first word of "pkg-config", so it can be a program name with args.
  5999. set dummy pkg-config; ac_word=$2
  6000. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6001. $as_echo_n "checking for $ac_word... " >&6; }
  6002. if ${ac_cv_prog_PKG_CONFIG+:} false; then :
  6003. $as_echo_n "(cached) " >&6
  6004. else
  6005. if test -n "$PKG_CONFIG"; then
  6006. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6007. else
  6008. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6009. for as_dir in $PATH
  6010. do
  6011. IFS=$as_save_IFS
  6012. test -z "$as_dir" && as_dir=.
  6013. for ac_exec_ext in '' $ac_executable_extensions; do
  6014. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6015. ac_cv_prog_PKG_CONFIG="pkg-config"
  6016. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6017. break 2
  6018. fi
  6019. done
  6020. done
  6021. IFS=$as_save_IFS
  6022. fi
  6023. fi
  6024. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6025. if test -n "$PKG_CONFIG"; then
  6026. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6027. $as_echo "$PKG_CONFIG" >&6; }
  6028. else
  6029. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6030. $as_echo "no" >&6; }
  6031. fi
  6032. fi
  6033. else
  6034. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6035. fi
  6036. if test "x$enable_maintainer_mode" != "xyes"
  6037. then
  6038. FONTFORGE=""
  6039. RSVG=""
  6040. CONVERT=""
  6041. ICOTOOL=""
  6042. else
  6043. test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
  6044. for ac_prog in fontforge
  6045. do
  6046. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6047. set dummy $ac_prog; ac_word=$2
  6048. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6049. $as_echo_n "checking for $ac_word... " >&6; }
  6050. if ${ac_cv_prog_FONTFORGE+:} false; then :
  6051. $as_echo_n "(cached) " >&6
  6052. else
  6053. if test -n "$FONTFORGE"; then
  6054. ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
  6055. else
  6056. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6057. for as_dir in $PATH
  6058. do
  6059. IFS=$as_save_IFS
  6060. test -z "$as_dir" && as_dir=.
  6061. for ac_exec_ext in '' $ac_executable_extensions; do
  6062. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6063. ac_cv_prog_FONTFORGE="$ac_prog"
  6064. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6065. break 2
  6066. fi
  6067. done
  6068. done
  6069. IFS=$as_save_IFS
  6070. fi
  6071. fi
  6072. FONTFORGE=$ac_cv_prog_FONTFORGE
  6073. if test -n "$FONTFORGE"; then
  6074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
  6075. $as_echo "$FONTFORGE" >&6; }
  6076. else
  6077. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6078. $as_echo "no" >&6; }
  6079. fi
  6080. test -n "$FONTFORGE" && break
  6081. done
  6082. test -n "$FONTFORGE" || FONTFORGE="false"
  6083. for ac_prog in rsvg-convert rsvg
  6084. do
  6085. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6086. set dummy $ac_prog; ac_word=$2
  6087. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6088. $as_echo_n "checking for $ac_word... " >&6; }
  6089. if ${ac_cv_prog_RSVG+:} false; then :
  6090. $as_echo_n "(cached) " >&6
  6091. else
  6092. if test -n "$RSVG"; then
  6093. ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
  6094. else
  6095. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6096. for as_dir in $PATH
  6097. do
  6098. IFS=$as_save_IFS
  6099. test -z "$as_dir" && as_dir=.
  6100. for ac_exec_ext in '' $ac_executable_extensions; do
  6101. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6102. ac_cv_prog_RSVG="$ac_prog"
  6103. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6104. break 2
  6105. fi
  6106. done
  6107. done
  6108. IFS=$as_save_IFS
  6109. fi
  6110. fi
  6111. RSVG=$ac_cv_prog_RSVG
  6112. if test -n "$RSVG"; then
  6113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
  6114. $as_echo "$RSVG" >&6; }
  6115. else
  6116. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6117. $as_echo "no" >&6; }
  6118. fi
  6119. test -n "$RSVG" && break
  6120. done
  6121. test -n "$RSVG" || RSVG="false"
  6122. for ac_prog in convert
  6123. do
  6124. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6125. set dummy $ac_prog; ac_word=$2
  6126. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6127. $as_echo_n "checking for $ac_word... " >&6; }
  6128. if ${ac_cv_prog_CONVERT+:} false; then :
  6129. $as_echo_n "(cached) " >&6
  6130. else
  6131. if test -n "$CONVERT"; then
  6132. ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
  6133. else
  6134. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6135. for as_dir in $PATH
  6136. do
  6137. IFS=$as_save_IFS
  6138. test -z "$as_dir" && as_dir=.
  6139. for ac_exec_ext in '' $ac_executable_extensions; do
  6140. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6141. ac_cv_prog_CONVERT="$ac_prog"
  6142. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6143. break 2
  6144. fi
  6145. done
  6146. done
  6147. IFS=$as_save_IFS
  6148. fi
  6149. fi
  6150. CONVERT=$ac_cv_prog_CONVERT
  6151. if test -n "$CONVERT"; then
  6152. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
  6153. $as_echo "$CONVERT" >&6; }
  6154. else
  6155. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6156. $as_echo "no" >&6; }
  6157. fi
  6158. test -n "$CONVERT" && break
  6159. done
  6160. test -n "$CONVERT" || CONVERT="false"
  6161. for ac_prog in icotool
  6162. do
  6163. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6164. set dummy $ac_prog; ac_word=$2
  6165. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6166. $as_echo_n "checking for $ac_word... " >&6; }
  6167. if ${ac_cv_prog_ICOTOOL+:} false; then :
  6168. $as_echo_n "(cached) " >&6
  6169. else
  6170. if test -n "$ICOTOOL"; then
  6171. ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
  6172. else
  6173. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6174. for as_dir in $PATH
  6175. do
  6176. IFS=$as_save_IFS
  6177. test -z "$as_dir" && as_dir=.
  6178. for ac_exec_ext in '' $ac_executable_extensions; do
  6179. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6180. ac_cv_prog_ICOTOOL="$ac_prog"
  6181. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6182. break 2
  6183. fi
  6184. done
  6185. done
  6186. IFS=$as_save_IFS
  6187. fi
  6188. fi
  6189. ICOTOOL=$ac_cv_prog_ICOTOOL
  6190. if test -n "$ICOTOOL"; then
  6191. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
  6192. $as_echo "$ICOTOOL" >&6; }
  6193. else
  6194. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6195. $as_echo "no" >&6; }
  6196. fi
  6197. test -n "$ICOTOOL" && break
  6198. done
  6199. test -n "$ICOTOOL" || ICOTOOL="false"
  6200. test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
  6201. test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
  6202. if test "$CONVERT" = false
  6203. then
  6204. as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
  6205. else
  6206. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
  6207. $as_echo_n "checking for recent enough imagemagick... " >&6; }
  6208. convert_version=`convert --version | head -n1`
  6209. if test "x$convert_version" != "x"
  6210. then
  6211. convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
  6212. convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
  6213. if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
  6214. then
  6215. CONVERT=false
  6216. fi
  6217. fi
  6218. if test "$CONVERT" = false
  6219. then
  6220. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
  6221. $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
  6222. as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6223. else
  6224. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
  6225. $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
  6226. fi
  6227. fi
  6228. if test "$ICOTOOL" = false
  6229. then
  6230. as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
  6231. else
  6232. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
  6233. $as_echo_n "checking for recent enough icotool... " >&6; }
  6234. icotool_version=`icotool --version | head -n1`
  6235. if test "x$icotool_version" != "x"
  6236. then
  6237. icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
  6238. icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
  6239. if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
  6240. then
  6241. ICOTOOL=false
  6242. as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
  6243. fi
  6244. fi
  6245. if test "$ICOTOOL" = false
  6246. then
  6247. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
  6248. $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
  6249. as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6250. else
  6251. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
  6252. $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
  6253. fi
  6254. fi
  6255. with_gettext=yes
  6256. with_gettextpo=yes
  6257. enable_werror=yes
  6258. fi
  6259. test "x$with_gettext" != xno || MSGFMT=false
  6260. if test "$MSGFMT" != "false"
  6261. then
  6262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
  6263. $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
  6264. if ${wine_cv_msgfmt_contexts+:} false; then :
  6265. $as_echo_n "(cached) " >&6
  6266. else
  6267. cat >conftest.po <<EOF
  6268. # comment
  6269. msgctxt "ctxt"
  6270. msgid "id"
  6271. msgstr "str"
  6272. EOF
  6273. if $MSGFMT -o /dev/null conftest.po 2>&5
  6274. then
  6275. wine_cv_msgfmt_contexts=yes
  6276. else
  6277. wine_cv_msgfmt_contexts=no
  6278. fi
  6279. fi
  6280. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
  6281. $as_echo "$wine_cv_msgfmt_contexts" >&6; }
  6282. test $wine_cv_msgfmt_contexts != no || MSGFMT=false
  6283. fi
  6284. if test "$MSGFMT" = false; then :
  6285. case "x$with_gettext" in
  6286. x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
  6287. xno) ;;
  6288. *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
  6289. This is an error since --with-gettext was requested." "$LINENO" 5 ;;
  6290. esac
  6291. enable_po=${enable_po:-no}
  6292. fi
  6293. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
  6294. $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
  6295. if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
  6296. $as_echo_n "(cached) " >&6
  6297. else
  6298. ac_check_lib_save_LIBS=$LIBS
  6299. LIBS="-li386 $LIBS"
  6300. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6301. /* end confdefs.h. */
  6302. /* Override any GCC internal prototype to avoid an error.
  6303. Use char because int might match the return type of a GCC
  6304. builtin and then its argument prototype would still apply. */
  6305. #ifdef __cplusplus
  6306. extern "C"
  6307. #endif
  6308. char i386_set_ldt ();
  6309. int
  6310. main ()
  6311. {
  6312. return i386_set_ldt ();
  6313. ;
  6314. return 0;
  6315. }
  6316. _ACEOF
  6317. if ac_fn_c_try_link "$LINENO"; then :
  6318. ac_cv_lib_i386_i386_set_ldt=yes
  6319. else
  6320. ac_cv_lib_i386_i386_set_ldt=no
  6321. fi
  6322. rm -f core conftest.err conftest.$ac_objext \
  6323. conftest$ac_exeext conftest.$ac_ext
  6324. LIBS=$ac_check_lib_save_LIBS
  6325. fi
  6326. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
  6327. $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
  6328. if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
  6329. I386_LIBS="-li386"
  6330. fi
  6331. OPENGL_LIBS=""
  6332. # Check whether --enable-largefile was given.
  6333. if test "${enable_largefile+set}" = set; then :
  6334. enableval=$enable_largefile;
  6335. fi
  6336. if test "$enable_largefile" != no; then
  6337. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  6338. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  6339. if ${ac_cv_sys_largefile_CC+:} false; then :
  6340. $as_echo_n "(cached) " >&6
  6341. else
  6342. ac_cv_sys_largefile_CC=no
  6343. if test "$GCC" != yes; then
  6344. ac_save_CC=$CC
  6345. while :; do
  6346. # IRIX 6.2 and later do not support large files by default,
  6347. # so use the C compiler's -n32 option if that helps.
  6348. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6349. /* end confdefs.h. */
  6350. #include <sys/types.h>
  6351. /* Check that off_t can represent 2**63 - 1 correctly.
  6352. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6353. since some C++ compilers masquerading as C compilers
  6354. incorrectly reject 9223372036854775807. */
  6355. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6356. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6357. && LARGE_OFF_T % 2147483647 == 1)
  6358. ? 1 : -1];
  6359. int
  6360. main ()
  6361. {
  6362. ;
  6363. return 0;
  6364. }
  6365. _ACEOF
  6366. if ac_fn_c_try_compile "$LINENO"; then :
  6367. break
  6368. fi
  6369. rm -f core conftest.err conftest.$ac_objext
  6370. CC="$CC -n32"
  6371. if ac_fn_c_try_compile "$LINENO"; then :
  6372. ac_cv_sys_largefile_CC=' -n32'; break
  6373. fi
  6374. rm -f core conftest.err conftest.$ac_objext
  6375. break
  6376. done
  6377. CC=$ac_save_CC
  6378. rm -f conftest.$ac_ext
  6379. fi
  6380. fi
  6381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  6382. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  6383. if test "$ac_cv_sys_largefile_CC" != no; then
  6384. CC=$CC$ac_cv_sys_largefile_CC
  6385. fi
  6386. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  6387. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  6388. if ${ac_cv_sys_file_offset_bits+:} false; then :
  6389. $as_echo_n "(cached) " >&6
  6390. else
  6391. while :; do
  6392. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6393. /* end confdefs.h. */
  6394. #include <sys/types.h>
  6395. /* Check that off_t can represent 2**63 - 1 correctly.
  6396. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6397. since some C++ compilers masquerading as C compilers
  6398. incorrectly reject 9223372036854775807. */
  6399. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6400. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6401. && LARGE_OFF_T % 2147483647 == 1)
  6402. ? 1 : -1];
  6403. int
  6404. main ()
  6405. {
  6406. ;
  6407. return 0;
  6408. }
  6409. _ACEOF
  6410. if ac_fn_c_try_compile "$LINENO"; then :
  6411. ac_cv_sys_file_offset_bits=no; break
  6412. fi
  6413. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6414. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6415. /* end confdefs.h. */
  6416. #define _FILE_OFFSET_BITS 64
  6417. #include <sys/types.h>
  6418. /* Check that off_t can represent 2**63 - 1 correctly.
  6419. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6420. since some C++ compilers masquerading as C compilers
  6421. incorrectly reject 9223372036854775807. */
  6422. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6423. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6424. && LARGE_OFF_T % 2147483647 == 1)
  6425. ? 1 : -1];
  6426. int
  6427. main ()
  6428. {
  6429. ;
  6430. return 0;
  6431. }
  6432. _ACEOF
  6433. if ac_fn_c_try_compile "$LINENO"; then :
  6434. ac_cv_sys_file_offset_bits=64; break
  6435. fi
  6436. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6437. ac_cv_sys_file_offset_bits=unknown
  6438. break
  6439. done
  6440. fi
  6441. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  6442. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  6443. case $ac_cv_sys_file_offset_bits in #(
  6444. no | unknown) ;;
  6445. *)
  6446. cat >>confdefs.h <<_ACEOF
  6447. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  6448. _ACEOF
  6449. ;;
  6450. esac
  6451. rm -rf conftest*
  6452. if test $ac_cv_sys_file_offset_bits = unknown; then
  6453. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  6454. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  6455. if ${ac_cv_sys_large_files+:} false; then :
  6456. $as_echo_n "(cached) " >&6
  6457. else
  6458. while :; do
  6459. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6460. /* end confdefs.h. */
  6461. #include <sys/types.h>
  6462. /* Check that off_t can represent 2**63 - 1 correctly.
  6463. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6464. since some C++ compilers masquerading as C compilers
  6465. incorrectly reject 9223372036854775807. */
  6466. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6467. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6468. && LARGE_OFF_T % 2147483647 == 1)
  6469. ? 1 : -1];
  6470. int
  6471. main ()
  6472. {
  6473. ;
  6474. return 0;
  6475. }
  6476. _ACEOF
  6477. if ac_fn_c_try_compile "$LINENO"; then :
  6478. ac_cv_sys_large_files=no; break
  6479. fi
  6480. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6481. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6482. /* end confdefs.h. */
  6483. #define _LARGE_FILES 1
  6484. #include <sys/types.h>
  6485. /* Check that off_t can represent 2**63 - 1 correctly.
  6486. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6487. since some C++ compilers masquerading as C compilers
  6488. incorrectly reject 9223372036854775807. */
  6489. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6490. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6491. && LARGE_OFF_T % 2147483647 == 1)
  6492. ? 1 : -1];
  6493. int
  6494. main ()
  6495. {
  6496. ;
  6497. return 0;
  6498. }
  6499. _ACEOF
  6500. if ac_fn_c_try_compile "$LINENO"; then :
  6501. ac_cv_sys_large_files=1; break
  6502. fi
  6503. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6504. ac_cv_sys_large_files=unknown
  6505. break
  6506. done
  6507. fi
  6508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  6509. $as_echo "$ac_cv_sys_large_files" >&6; }
  6510. case $ac_cv_sys_large_files in #(
  6511. no | unknown) ;;
  6512. *)
  6513. cat >>confdefs.h <<_ACEOF
  6514. #define _LARGE_FILES $ac_cv_sys_large_files
  6515. _ACEOF
  6516. ;;
  6517. esac
  6518. rm -rf conftest*
  6519. fi
  6520. fi
  6521. ac_ext=c
  6522. ac_cpp='$CPP $CPPFLAGS'
  6523. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6524. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6525. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6526. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6527. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6528. # On Suns, sometimes $CPP names a directory.
  6529. if test -n "$CPP" && test -d "$CPP"; then
  6530. CPP=
  6531. fi
  6532. if test -z "$CPP"; then
  6533. if ${ac_cv_prog_CPP+:} false; then :
  6534. $as_echo_n "(cached) " >&6
  6535. else
  6536. # Double quotes because CPP needs to be expanded
  6537. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6538. do
  6539. ac_preproc_ok=false
  6540. for ac_c_preproc_warn_flag in '' yes
  6541. do
  6542. # Use a header file that comes with gcc, so configuring glibc
  6543. # with a fresh cross-compiler works.
  6544. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6545. # <limits.h> exists even on freestanding compilers.
  6546. # On the NeXT, cc -E runs the code through the compiler's parser,
  6547. # not just through cpp. "Syntax error" is here to catch this case.
  6548. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6549. /* end confdefs.h. */
  6550. #ifdef __STDC__
  6551. # include <limits.h>
  6552. #else
  6553. # include <assert.h>
  6554. #endif
  6555. Syntax error
  6556. _ACEOF
  6557. if ac_fn_c_try_cpp "$LINENO"; then :
  6558. else
  6559. # Broken: fails on valid input.
  6560. continue
  6561. fi
  6562. rm -f conftest.err conftest.i conftest.$ac_ext
  6563. # OK, works on sane cases. Now check whether nonexistent headers
  6564. # can be detected and how.
  6565. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6566. /* end confdefs.h. */
  6567. #include <ac_nonexistent.h>
  6568. _ACEOF
  6569. if ac_fn_c_try_cpp "$LINENO"; then :
  6570. # Broken: success on invalid input.
  6571. continue
  6572. else
  6573. # Passes both tests.
  6574. ac_preproc_ok=:
  6575. break
  6576. fi
  6577. rm -f conftest.err conftest.i conftest.$ac_ext
  6578. done
  6579. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6580. rm -f conftest.i conftest.err conftest.$ac_ext
  6581. if $ac_preproc_ok; then :
  6582. break
  6583. fi
  6584. done
  6585. ac_cv_prog_CPP=$CPP
  6586. fi
  6587. CPP=$ac_cv_prog_CPP
  6588. else
  6589. ac_cv_prog_CPP=$CPP
  6590. fi
  6591. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6592. $as_echo "$CPP" >&6; }
  6593. ac_preproc_ok=false
  6594. for ac_c_preproc_warn_flag in '' yes
  6595. do
  6596. # Use a header file that comes with gcc, so configuring glibc
  6597. # with a fresh cross-compiler works.
  6598. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6599. # <limits.h> exists even on freestanding compilers.
  6600. # On the NeXT, cc -E runs the code through the compiler's parser,
  6601. # not just through cpp. "Syntax error" is here to catch this case.
  6602. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6603. /* end confdefs.h. */
  6604. #ifdef __STDC__
  6605. # include <limits.h>
  6606. #else
  6607. # include <assert.h>
  6608. #endif
  6609. Syntax error
  6610. _ACEOF
  6611. if ac_fn_c_try_cpp "$LINENO"; then :
  6612. else
  6613. # Broken: fails on valid input.
  6614. continue
  6615. fi
  6616. rm -f conftest.err conftest.i conftest.$ac_ext
  6617. # OK, works on sane cases. Now check whether nonexistent headers
  6618. # can be detected and how.
  6619. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6620. /* end confdefs.h. */
  6621. #include <ac_nonexistent.h>
  6622. _ACEOF
  6623. if ac_fn_c_try_cpp "$LINENO"; then :
  6624. # Broken: success on invalid input.
  6625. continue
  6626. else
  6627. # Passes both tests.
  6628. ac_preproc_ok=:
  6629. break
  6630. fi
  6631. rm -f conftest.err conftest.i conftest.$ac_ext
  6632. done
  6633. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6634. rm -f conftest.i conftest.err conftest.$ac_ext
  6635. if $ac_preproc_ok; then :
  6636. else
  6637. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6638. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6639. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6640. See \`config.log' for more details" "$LINENO" 5; }
  6641. fi
  6642. ac_ext=c
  6643. ac_cpp='$CPP $CPPFLAGS'
  6644. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6645. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6646. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6648. $as_echo_n "checking for ANSI C header files... " >&6; }
  6649. if ${ac_cv_header_stdc+:} false; then :
  6650. $as_echo_n "(cached) " >&6
  6651. else
  6652. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6653. /* end confdefs.h. */
  6654. #include <stdlib.h>
  6655. #include <stdarg.h>
  6656. #include <string.h>
  6657. #include <float.h>
  6658. int
  6659. main ()
  6660. {
  6661. ;
  6662. return 0;
  6663. }
  6664. _ACEOF
  6665. if ac_fn_c_try_compile "$LINENO"; then :
  6666. ac_cv_header_stdc=yes
  6667. else
  6668. ac_cv_header_stdc=no
  6669. fi
  6670. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6671. if test $ac_cv_header_stdc = yes; then
  6672. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6673. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6674. /* end confdefs.h. */
  6675. #include <string.h>
  6676. _ACEOF
  6677. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6678. $EGREP "memchr" >/dev/null 2>&1; then :
  6679. else
  6680. ac_cv_header_stdc=no
  6681. fi
  6682. rm -f conftest*
  6683. fi
  6684. if test $ac_cv_header_stdc = yes; then
  6685. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6686. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6687. /* end confdefs.h. */
  6688. #include <stdlib.h>
  6689. _ACEOF
  6690. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6691. $EGREP "free" >/dev/null 2>&1; then :
  6692. else
  6693. ac_cv_header_stdc=no
  6694. fi
  6695. rm -f conftest*
  6696. fi
  6697. if test $ac_cv_header_stdc = yes; then
  6698. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6699. if test "$cross_compiling" = yes; then :
  6700. :
  6701. else
  6702. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6703. /* end confdefs.h. */
  6704. #include <ctype.h>
  6705. #include <stdlib.h>
  6706. #if ((' ' & 0x0FF) == 0x020)
  6707. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6708. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6709. #else
  6710. # define ISLOWER(c) \
  6711. (('a' <= (c) && (c) <= 'i') \
  6712. || ('j' <= (c) && (c) <= 'r') \
  6713. || ('s' <= (c) && (c) <= 'z'))
  6714. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6715. #endif
  6716. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6717. int
  6718. main ()
  6719. {
  6720. int i;
  6721. for (i = 0; i < 256; i++)
  6722. if (XOR (islower (i), ISLOWER (i))
  6723. || toupper (i) != TOUPPER (i))
  6724. return 2;
  6725. return 0;
  6726. }
  6727. _ACEOF
  6728. if ac_fn_c_try_run "$LINENO"; then :
  6729. else
  6730. ac_cv_header_stdc=no
  6731. fi
  6732. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6733. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6734. fi
  6735. fi
  6736. fi
  6737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6738. $as_echo "$ac_cv_header_stdc" >&6; }
  6739. if test $ac_cv_header_stdc = yes; then
  6740. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6741. fi
  6742. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6743. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6744. inttypes.h stdint.h unistd.h
  6745. do :
  6746. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6747. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6748. "
  6749. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6750. cat >>confdefs.h <<_ACEOF
  6751. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6752. _ACEOF
  6753. fi
  6754. done
  6755. for ac_header in \
  6756. AL/al.h \
  6757. ApplicationServices/ApplicationServices.h \
  6758. AudioToolbox/AudioConverter.h \
  6759. AudioUnit/AudioUnit.h \
  6760. AudioUnit/AudioComponent.h \
  6761. CL/cl.h \
  6762. Carbon/Carbon.h \
  6763. CommonCrypto/CommonCryptor.h \
  6764. CoreAudio/CoreAudio.h \
  6765. CoreServices/CoreServices.h \
  6766. DiskArbitration/DiskArbitration.h \
  6767. EGL/egl.h \
  6768. IOKit/IOKitLib.h \
  6769. IOKit/hid/IOHIDLib.h \
  6770. OpenAL/al.h \
  6771. OpenCL/opencl.h \
  6772. QuickTime/ImageCompression.h \
  6773. Security/Security.h \
  6774. SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
  6775. SystemConfiguration/SCNetworkConfiguration.h \
  6776. alias.h \
  6777. arpa/inet.h \
  6778. arpa/nameser.h \
  6779. asm/types.h \
  6780. asm/user.h \
  6781. curses.h \
  6782. dirent.h \
  6783. dlfcn.h \
  6784. elf.h \
  6785. float.h \
  6786. fnmatch.h \
  6787. getopt.h \
  6788. gettext-po.h \
  6789. grp.h \
  6790. gsm.h \
  6791. gsm/gsm.h \
  6792. ieeefp.h \
  6793. inet/mib2.h \
  6794. kstat.h \
  6795. libproc.h \
  6796. link.h \
  6797. linux/cdrom.h \
  6798. linux/compiler.h \
  6799. linux/filter.h \
  6800. linux/hdreg.h \
  6801. linux/hidraw.h \
  6802. linux/input.h \
  6803. linux/ioctl.h \
  6804. linux/joystick.h \
  6805. linux/major.h \
  6806. linux/param.h \
  6807. linux/serial.h \
  6808. linux/types.h \
  6809. linux/ucdrom.h \
  6810. lwp.h \
  6811. mach-o/nlist.h \
  6812. mach-o/loader.h \
  6813. mach/mach.h \
  6814. mach/machine.h \
  6815. machine/cpu.h \
  6816. machine/limits.h \
  6817. machine/sysarch.h \
  6818. mntent.h \
  6819. ncurses.h \
  6820. netdb.h \
  6821. netinet/in.h \
  6822. netinet/in_systm.h \
  6823. netinet/tcp.h \
  6824. netinet/tcp_fsm.h \
  6825. pcap/pcap.h \
  6826. poll.h \
  6827. port.h \
  6828. pthread.h \
  6829. pwd.h \
  6830. sasl/sasl.h \
  6831. sched.h \
  6832. scsi/scsi.h \
  6833. scsi/scsi_ioctl.h \
  6834. scsi/sg.h \
  6835. stdbool.h \
  6836. stdint.h \
  6837. stropts.h \
  6838. sys/attr.h \
  6839. sys/auxv.h \
  6840. sys/cdio.h \
  6841. sys/epoll.h \
  6842. sys/event.h \
  6843. sys/filio.h \
  6844. sys/ioctl.h \
  6845. sys/ipc.h \
  6846. sys/limits.h \
  6847. sys/link.h \
  6848. sys/mman.h \
  6849. sys/modem.h \
  6850. sys/msg.h \
  6851. sys/mtio.h \
  6852. sys/param.h \
  6853. sys/poll.h \
  6854. sys/prctl.h \
  6855. sys/protosw.h \
  6856. sys/ptrace.h \
  6857. sys/queue.h \
  6858. sys/resource.h \
  6859. sys/scsiio.h \
  6860. sys/shm.h \
  6861. sys/signal.h \
  6862. sys/socket.h \
  6863. sys/socketvar.h \
  6864. sys/sockio.h \
  6865. sys/statvfs.h \
  6866. sys/strtio.h \
  6867. sys/syscall.h \
  6868. sys/sysinfo.h \
  6869. sys/tihdr.h \
  6870. sys/time.h \
  6871. sys/timeout.h \
  6872. sys/times.h \
  6873. sys/uio.h \
  6874. sys/user.h \
  6875. sys/utsname.h \
  6876. sys/vnode.h \
  6877. sys/wait.h \
  6878. syscall.h \
  6879. termios.h \
  6880. unistd.h \
  6881. utime.h \
  6882. valgrind/memcheck.h \
  6883. valgrind/valgrind.h
  6884. do :
  6885. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6886. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  6887. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6888. cat >>confdefs.h <<_ACEOF
  6889. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6890. _ACEOF
  6891. fi
  6892. done
  6893. ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
  6894. if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
  6895. $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
  6896. fi
  6897. if test $ac_cv_header_sys_mkdev_h = no; then
  6898. ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
  6899. if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
  6900. $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
  6901. fi
  6902. fi
  6903. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  6904. $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
  6905. if ${ac_cv_header_stat_broken+:} false; then :
  6906. $as_echo_n "(cached) " >&6
  6907. else
  6908. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6909. /* end confdefs.h. */
  6910. #include <sys/types.h>
  6911. #include <sys/stat.h>
  6912. #if defined S_ISBLK && defined S_IFDIR
  6913. extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  6914. #endif
  6915. #if defined S_ISBLK && defined S_IFCHR
  6916. extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  6917. #endif
  6918. #if defined S_ISLNK && defined S_IFREG
  6919. extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  6920. #endif
  6921. #if defined S_ISSOCK && defined S_IFREG
  6922. extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  6923. #endif
  6924. _ACEOF
  6925. if ac_fn_c_try_compile "$LINENO"; then :
  6926. ac_cv_header_stat_broken=no
  6927. else
  6928. ac_cv_header_stat_broken=yes
  6929. fi
  6930. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6931. fi
  6932. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
  6933. $as_echo "$ac_cv_header_stat_broken" >&6; }
  6934. if test $ac_cv_header_stat_broken = yes; then
  6935. $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
  6936. fi
  6937. for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
  6938. do :
  6939. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6940. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  6941. #ifdef HAVE_SYS_PARAM_H
  6942. # include <sys/param.h>
  6943. #endif
  6944. "
  6945. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6946. cat >>confdefs.h <<_ACEOF
  6947. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6948. _ACEOF
  6949. fi
  6950. done
  6951. saved_sysctl_h_CFLAGS=$CFLAGS
  6952. test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
  6953. for ac_header in sys/sysctl.h
  6954. do :
  6955. ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
  6956. #ifdef HAVE_SYS_PARAM_H
  6957. # include <sys/param.h>
  6958. #endif
  6959. "
  6960. if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
  6961. cat >>confdefs.h <<_ACEOF
  6962. #define HAVE_SYS_SYSCTL_H 1
  6963. _ACEOF
  6964. fi
  6965. done
  6966. CFLAGS=$saved_sysctl_h_CFLAGS
  6967. for ac_header in \
  6968. netinet/ip.h \
  6969. net/if.h \
  6970. net/if_arp.h \
  6971. net/if_dl.h \
  6972. net/if_types.h \
  6973. net/route.h \
  6974. netinet/if_ether.h \
  6975. netinet/if_inarp.h \
  6976. netinet/in_pcb.h \
  6977. netinet/ip_icmp.h \
  6978. netinet/ip_var.h \
  6979. netinet/udp.h \
  6980. netipx/ipx.h \
  6981. sys/un.h \
  6982. do :
  6983. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6984. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  6985. #ifdef HAVE_SYS_SOCKET_H
  6986. # include <sys/socket.h>
  6987. #endif
  6988. #ifdef HAVE_SYS_SOCKETVAR_H
  6989. # include <sys/socketvar.h>
  6990. #endif
  6991. #ifdef HAVE_NET_ROUTE_H
  6992. # include <net/route.h>
  6993. #endif
  6994. #ifdef HAVE_NETINET_IN_H
  6995. # include <netinet/in.h>
  6996. #endif
  6997. #ifdef HAVE_NETINET_IN_SYSTM_H
  6998. # include <netinet/in_systm.h>
  6999. #endif
  7000. #ifdef HAVE_NET_IF_H
  7001. # include <net/if.h>
  7002. #endif
  7003. #ifdef HAVE_NETINET_IP_H
  7004. # include <netinet/ip.h>
  7005. #endif
  7006. "
  7007. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7008. cat >>confdefs.h <<_ACEOF
  7009. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7010. _ACEOF
  7011. fi
  7012. done
  7013. for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
  7014. do :
  7015. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7016. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7017. #ifdef HAVE_ALIAS_H
  7018. # include <alias.h>
  7019. #endif
  7020. #ifdef HAVE_SYS_SOCKET_H
  7021. # include <sys/socket.h>
  7022. #endif
  7023. #ifdef HAVE_SYS_SOCKETVAR_H
  7024. # include <sys/socketvar.h>
  7025. #endif
  7026. #ifdef HAVE_SYS_TIMEOUT_H
  7027. # include <sys/timeout.h>
  7028. #endif
  7029. #ifdef HAVE_NETINET_IN_H
  7030. # include <netinet/in.h>
  7031. #endif
  7032. #ifdef HAVE_NETINET_IN_SYSTM_H
  7033. # include <netinet/in_systm.h>
  7034. #endif
  7035. #ifdef HAVE_NETINET_IP_H
  7036. # include <netinet/ip.h>
  7037. #endif
  7038. #ifdef HAVE_NETINET_IP_VAR_H
  7039. # include <netinet/ip_var.h>
  7040. #endif
  7041. #ifdef HAVE_NETINET_IP_ICMP_H
  7042. # include <netinet/ip_icmp.h>
  7043. #endif
  7044. #ifdef HAVE_NETINET_UDP_H
  7045. # include <netinet/udp.h>
  7046. #endif
  7047. #ifdef HAVE_NETINET_TCP_H
  7048. # include <netinet/tcp.h>
  7049. #endif
  7050. #ifdef HAVE_NETINET_TCP_TIMER_H
  7051. #include <netinet/tcp_timer.h>
  7052. #endif
  7053. "
  7054. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7055. cat >>confdefs.h <<_ACEOF
  7056. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7057. _ACEOF
  7058. fi
  7059. done
  7060. for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
  7061. do :
  7062. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7063. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7064. #ifdef HAVE_ASM_TYPES_H
  7065. # include <asm/types.h>
  7066. #endif
  7067. #ifdef HAVE_SYS_SOCKET_H
  7068. # include <sys/socket.h>
  7069. #endif
  7070. #ifdef HAVE_LINUX_TYPES_H
  7071. # include <linux/types.h>
  7072. #endif
  7073. "
  7074. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7075. cat >>confdefs.h <<_ACEOF
  7076. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7077. _ACEOF
  7078. fi
  7079. done
  7080. for ac_header in resolv.h
  7081. do :
  7082. ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
  7083. #ifdef HAVE_SYS_SOCKET_H
  7084. # include <sys/socket.h>
  7085. #endif
  7086. #ifdef HAVE_NETINET_IN_H
  7087. # include <netinet/in.h>
  7088. #endif
  7089. #ifdef HAVE_ARPA_NAMESER_H
  7090. # include <arpa/nameser.h>
  7091. #endif
  7092. "
  7093. if test "x$ac_cv_header_resolv_h" = xyes; then :
  7094. cat >>confdefs.h <<_ACEOF
  7095. #define HAVE_RESOLV_H 1
  7096. _ACEOF
  7097. fi
  7098. done
  7099. for ac_header in ifaddrs.h
  7100. do :
  7101. ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
  7102. "
  7103. if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
  7104. cat >>confdefs.h <<_ACEOF
  7105. #define HAVE_IFADDRS_H 1
  7106. _ACEOF
  7107. fi
  7108. done
  7109. for ac_header in sys/ucontext.h
  7110. do :
  7111. ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
  7112. "
  7113. if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
  7114. cat >>confdefs.h <<_ACEOF
  7115. #define HAVE_SYS_UCONTEXT_H 1
  7116. _ACEOF
  7117. fi
  7118. done
  7119. for ac_header in sys/thr.h
  7120. do :
  7121. ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
  7122. #ifdef HAVE_SYS_UCONTEXT_H
  7123. #include <sys/ucontext.h>
  7124. #endif
  7125. "
  7126. if test "x$ac_cv_header_sys_thr_h" = xyes; then :
  7127. cat >>confdefs.h <<_ACEOF
  7128. #define HAVE_SYS_THR_H 1
  7129. _ACEOF
  7130. fi
  7131. done
  7132. for ac_header in pthread_np.h
  7133. do :
  7134. ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
  7135. #include <pthread.h>
  7136. #endif
  7137. "
  7138. if test "x$ac_cv_header_pthread_np_h" = xyes; then :
  7139. cat >>confdefs.h <<_ACEOF
  7140. #define HAVE_PTHREAD_NP_H 1
  7141. _ACEOF
  7142. fi
  7143. done
  7144. for ac_header in linux/videodev2.h
  7145. do :
  7146. ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
  7147. #include <sys/time.h>
  7148. #endif
  7149. #include <sys/types.h>
  7150. #ifdef HAVE_ASM_TYPES_H
  7151. #include <asm/types.h>
  7152. #endif
  7153. "
  7154. if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
  7155. cat >>confdefs.h <<_ACEOF
  7156. #define HAVE_LINUX_VIDEODEV2_H 1
  7157. _ACEOF
  7158. fi
  7159. done
  7160. for ac_header in libprocstat.h
  7161. do :
  7162. ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
  7163. #include <sys/param.h>
  7164. #endif
  7165. #ifdef HAVE_SYS_QUEUE_H
  7166. #include <sys/queue.h>
  7167. #endif
  7168. #ifdef HAVE_SYS_SOCKET_H
  7169. #include <sys/socket.h>
  7170. #endif
  7171. "
  7172. if test "x$ac_cv_header_libprocstat_h" = xyes; then :
  7173. cat >>confdefs.h <<_ACEOF
  7174. #define HAVE_LIBPROCSTAT_H 1
  7175. _ACEOF
  7176. fi
  7177. done
  7178. DLLFLAGS="-D_REENTRANT"
  7179. LDRPATH_INSTALL=""
  7180. LDRPATH_LOCAL=""
  7181. LDDLLFLAGS=""
  7182. LDEXECFLAGS=""
  7183. TOP_INSTALL_LIB=""
  7184. TOP_INSTALL_DEV=""
  7185. WINELOADER_LDFLAGS=""
  7186. WINEPRELOADER_LDFLAGS=""
  7187. LIBEXT="so"
  7188. DLLEXT=".so"
  7189. # Extract the first word of "ldd", so it can be a program name with args.
  7190. set dummy ldd; ac_word=$2
  7191. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7192. $as_echo_n "checking for $ac_word... " >&6; }
  7193. if ${ac_cv_path_LDD+:} false; then :
  7194. $as_echo_n "(cached) " >&6
  7195. else
  7196. case $LDD in
  7197. [\\/]* | ?:[\\/]*)
  7198. ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
  7199. ;;
  7200. *)
  7201. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7202. as_dummy="/sbin:/usr/sbin:$PATH"
  7203. for as_dir in $as_dummy
  7204. do
  7205. IFS=$as_save_IFS
  7206. test -z "$as_dir" && as_dir=.
  7207. for ac_exec_ext in '' $ac_executable_extensions; do
  7208. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7209. ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
  7210. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7211. break 2
  7212. fi
  7213. done
  7214. done
  7215. IFS=$as_save_IFS
  7216. test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
  7217. ;;
  7218. esac
  7219. fi
  7220. LDD=$ac_cv_path_LDD
  7221. if test -n "$LDD"; then
  7222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
  7223. $as_echo "$LDD" >&6; }
  7224. else
  7225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7226. $as_echo "no" >&6; }
  7227. fi
  7228. if test -n "$ac_tool_prefix"; then
  7229. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7230. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7231. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7232. $as_echo_n "checking for $ac_word... " >&6; }
  7233. if ${ac_cv_prog_OTOOL+:} false; then :
  7234. $as_echo_n "(cached) " >&6
  7235. else
  7236. if test -n "$OTOOL"; then
  7237. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7238. else
  7239. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7240. for as_dir in $PATH
  7241. do
  7242. IFS=$as_save_IFS
  7243. test -z "$as_dir" && as_dir=.
  7244. for ac_exec_ext in '' $ac_executable_extensions; do
  7245. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7246. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7247. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7248. break 2
  7249. fi
  7250. done
  7251. done
  7252. IFS=$as_save_IFS
  7253. fi
  7254. fi
  7255. OTOOL=$ac_cv_prog_OTOOL
  7256. if test -n "$OTOOL"; then
  7257. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7258. $as_echo "$OTOOL" >&6; }
  7259. else
  7260. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7261. $as_echo "no" >&6; }
  7262. fi
  7263. fi
  7264. if test -z "$ac_cv_prog_OTOOL"; then
  7265. ac_ct_OTOOL=$OTOOL
  7266. # Extract the first word of "otool", so it can be a program name with args.
  7267. set dummy otool; ac_word=$2
  7268. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7269. $as_echo_n "checking for $ac_word... " >&6; }
  7270. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7271. $as_echo_n "(cached) " >&6
  7272. else
  7273. if test -n "$ac_ct_OTOOL"; then
  7274. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7275. else
  7276. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7277. for as_dir in $PATH
  7278. do
  7279. IFS=$as_save_IFS
  7280. test -z "$as_dir" && as_dir=.
  7281. for ac_exec_ext in '' $ac_executable_extensions; do
  7282. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7283. ac_cv_prog_ac_ct_OTOOL="otool"
  7284. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7285. break 2
  7286. fi
  7287. done
  7288. done
  7289. IFS=$as_save_IFS
  7290. fi
  7291. fi
  7292. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7293. if test -n "$ac_ct_OTOOL"; then
  7294. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7295. $as_echo "$ac_ct_OTOOL" >&6; }
  7296. else
  7297. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7298. $as_echo "no" >&6; }
  7299. fi
  7300. if test "x$ac_ct_OTOOL" = x; then
  7301. OTOOL="otool"
  7302. else
  7303. case $cross_compiling:$ac_tool_warned in
  7304. yes:)
  7305. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7306. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7307. ac_tool_warned=yes ;;
  7308. esac
  7309. OTOOL=$ac_ct_OTOOL
  7310. fi
  7311. else
  7312. OTOOL="$ac_cv_prog_OTOOL"
  7313. fi
  7314. if test -n "$ac_tool_prefix"; then
  7315. # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
  7316. set dummy ${ac_tool_prefix}readelf; ac_word=$2
  7317. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7318. $as_echo_n "checking for $ac_word... " >&6; }
  7319. if ${ac_cv_prog_READELF+:} false; then :
  7320. $as_echo_n "(cached) " >&6
  7321. else
  7322. if test -n "$READELF"; then
  7323. ac_cv_prog_READELF="$READELF" # Let the user override the test.
  7324. else
  7325. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7326. for as_dir in $PATH
  7327. do
  7328. IFS=$as_save_IFS
  7329. test -z "$as_dir" && as_dir=.
  7330. for ac_exec_ext in '' $ac_executable_extensions; do
  7331. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7332. ac_cv_prog_READELF="${ac_tool_prefix}readelf"
  7333. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7334. break 2
  7335. fi
  7336. done
  7337. done
  7338. IFS=$as_save_IFS
  7339. fi
  7340. fi
  7341. READELF=$ac_cv_prog_READELF
  7342. if test -n "$READELF"; then
  7343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
  7344. $as_echo "$READELF" >&6; }
  7345. else
  7346. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7347. $as_echo "no" >&6; }
  7348. fi
  7349. fi
  7350. if test -z "$ac_cv_prog_READELF"; then
  7351. ac_ct_READELF=$READELF
  7352. # Extract the first word of "readelf", so it can be a program name with args.
  7353. set dummy readelf; ac_word=$2
  7354. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7355. $as_echo_n "checking for $ac_word... " >&6; }
  7356. if ${ac_cv_prog_ac_ct_READELF+:} false; then :
  7357. $as_echo_n "(cached) " >&6
  7358. else
  7359. if test -n "$ac_ct_READELF"; then
  7360. ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
  7361. else
  7362. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7363. for as_dir in $PATH
  7364. do
  7365. IFS=$as_save_IFS
  7366. test -z "$as_dir" && as_dir=.
  7367. for ac_exec_ext in '' $ac_executable_extensions; do
  7368. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7369. ac_cv_prog_ac_ct_READELF="readelf"
  7370. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7371. break 2
  7372. fi
  7373. done
  7374. done
  7375. IFS=$as_save_IFS
  7376. fi
  7377. fi
  7378. ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
  7379. if test -n "$ac_ct_READELF"; then
  7380. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
  7381. $as_echo "$ac_ct_READELF" >&6; }
  7382. else
  7383. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7384. $as_echo "no" >&6; }
  7385. fi
  7386. if test "x$ac_ct_READELF" = x; then
  7387. READELF="true"
  7388. else
  7389. case $cross_compiling:$ac_tool_warned in
  7390. yes:)
  7391. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7392. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7393. ac_tool_warned=yes ;;
  7394. esac
  7395. READELF=$ac_ct_READELF
  7396. fi
  7397. else
  7398. READELF="$ac_cv_prog_READELF"
  7399. fi
  7400. wine_rules_file=conf$$rules.make
  7401. rm -f $wine_rules_file
  7402. SUBDIRS=""
  7403. DISABLED_SUBDIRS=""
  7404. CONFIGURE_TARGETS=""
  7405. wine_fn_append_file ()
  7406. {
  7407. as_fn_append $1 " \\$as_nl $2"
  7408. }
  7409. wine_fn_append_rule ()
  7410. {
  7411. $as_echo "$1" >>$wine_rules_file
  7412. }
  7413. wine_fn_config_makefile ()
  7414. {
  7415. wine_fn_append_file SUBDIRS $1
  7416. if eval test \"x\$"$2"\" = x"no"; then :
  7417. wine_fn_append_file DISABLED_SUBDIRS $1
  7418. fi
  7419. }
  7420. wine_fn_config_symlink ()
  7421. {
  7422. ac_links=$@
  7423. wine_fn_append_rule \
  7424. "$ac_links:
  7425. @./config.status \$@"
  7426. for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
  7427. }
  7428. wine_binary="wine"
  7429. test "x$enable_win64" != "xyes" || wine_binary="wine64"
  7430. WINELOADER_PROGRAMS="$wine_binary"
  7431. libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
  7432. case $host_os in
  7433. cygwin*|mingw32*)
  7434. if test -n "$ac_tool_prefix"; then
  7435. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  7436. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  7437. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7438. $as_echo_n "checking for $ac_word... " >&6; }
  7439. if ${ac_cv_prog_DLLTOOL+:} false; then :
  7440. $as_echo_n "(cached) " >&6
  7441. else
  7442. if test -n "$DLLTOOL"; then
  7443. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  7444. else
  7445. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7446. for as_dir in $PATH
  7447. do
  7448. IFS=$as_save_IFS
  7449. test -z "$as_dir" && as_dir=.
  7450. for ac_exec_ext in '' $ac_executable_extensions; do
  7451. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7452. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  7453. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7454. break 2
  7455. fi
  7456. done
  7457. done
  7458. IFS=$as_save_IFS
  7459. fi
  7460. fi
  7461. DLLTOOL=$ac_cv_prog_DLLTOOL
  7462. if test -n "$DLLTOOL"; then
  7463. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  7464. $as_echo "$DLLTOOL" >&6; }
  7465. else
  7466. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7467. $as_echo "no" >&6; }
  7468. fi
  7469. fi
  7470. if test -z "$ac_cv_prog_DLLTOOL"; then
  7471. ac_ct_DLLTOOL=$DLLTOOL
  7472. # Extract the first word of "dlltool", so it can be a program name with args.
  7473. set dummy dlltool; ac_word=$2
  7474. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7475. $as_echo_n "checking for $ac_word... " >&6; }
  7476. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  7477. $as_echo_n "(cached) " >&6
  7478. else
  7479. if test -n "$ac_ct_DLLTOOL"; then
  7480. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  7481. else
  7482. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7483. for as_dir in $PATH
  7484. do
  7485. IFS=$as_save_IFS
  7486. test -z "$as_dir" && as_dir=.
  7487. for ac_exec_ext in '' $ac_executable_extensions; do
  7488. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7489. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  7490. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7491. break 2
  7492. fi
  7493. done
  7494. done
  7495. IFS=$as_save_IFS
  7496. fi
  7497. fi
  7498. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  7499. if test -n "$ac_ct_DLLTOOL"; then
  7500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  7501. $as_echo "$ac_ct_DLLTOOL" >&6; }
  7502. else
  7503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7504. $as_echo "no" >&6; }
  7505. fi
  7506. if test "x$ac_ct_DLLTOOL" = x; then
  7507. DLLTOOL="false"
  7508. else
  7509. case $cross_compiling:$ac_tool_warned in
  7510. yes:)
  7511. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7512. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7513. ac_tool_warned=yes ;;
  7514. esac
  7515. DLLTOOL=$ac_ct_DLLTOOL
  7516. fi
  7517. else
  7518. DLLTOOL="$ac_cv_prog_DLLTOOL"
  7519. fi
  7520. LIBEXT="dll"
  7521. DLLEXT=""
  7522. case $host_cpu in
  7523. *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
  7524. esac
  7525. enable_iphlpapi=${enable_iphlpapi:-no}
  7526. enable_kernel32=${enable_kernel32:-no}
  7527. enable_ntdll=${enable_ntdll:-no}
  7528. enable_ws2_32=${enable_ws2_32:-no}
  7529. enable_loader=${enable_loader:-no}
  7530. enable_server=${enable_server:-no}
  7531. with_x=${with_x:-no}
  7532. with_pthread=${with_pthread:-no}
  7533. ;;
  7534. darwin*|macosx*)
  7535. ac_ext=m
  7536. ac_cpp='$OBJCPP $CPPFLAGS'
  7537. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7538. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7539. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7540. ac_ext=m
  7541. ac_cpp='$OBJCPP $CPPFLAGS'
  7542. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7543. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7544. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7545. if test -n "$ac_tool_prefix"; then
  7546. for ac_prog in gcc objcc objc cc CC
  7547. do
  7548. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7549. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7551. $as_echo_n "checking for $ac_word... " >&6; }
  7552. if ${ac_cv_prog_OBJC+:} false; then :
  7553. $as_echo_n "(cached) " >&6
  7554. else
  7555. if test -n "$OBJC"; then
  7556. ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  7557. else
  7558. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7559. for as_dir in $PATH
  7560. do
  7561. IFS=$as_save_IFS
  7562. test -z "$as_dir" && as_dir=.
  7563. for ac_exec_ext in '' $ac_executable_extensions; do
  7564. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7565. ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  7566. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7567. break 2
  7568. fi
  7569. done
  7570. done
  7571. IFS=$as_save_IFS
  7572. fi
  7573. fi
  7574. OBJC=$ac_cv_prog_OBJC
  7575. if test -n "$OBJC"; then
  7576. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
  7577. $as_echo "$OBJC" >&6; }
  7578. else
  7579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7580. $as_echo "no" >&6; }
  7581. fi
  7582. test -n "$OBJC" && break
  7583. done
  7584. fi
  7585. if test -z "$OBJC"; then
  7586. ac_ct_OBJC=$OBJC
  7587. for ac_prog in gcc objcc objc cc CC
  7588. do
  7589. # Extract the first word of "$ac_prog", so it can be a program name with args.
  7590. set dummy $ac_prog; ac_word=$2
  7591. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7592. $as_echo_n "checking for $ac_word... " >&6; }
  7593. if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
  7594. $as_echo_n "(cached) " >&6
  7595. else
  7596. if test -n "$ac_ct_OBJC"; then
  7597. ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  7598. else
  7599. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7600. for as_dir in $PATH
  7601. do
  7602. IFS=$as_save_IFS
  7603. test -z "$as_dir" && as_dir=.
  7604. for ac_exec_ext in '' $ac_executable_extensions; do
  7605. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7606. ac_cv_prog_ac_ct_OBJC="$ac_prog"
  7607. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7608. break 2
  7609. fi
  7610. done
  7611. done
  7612. IFS=$as_save_IFS
  7613. fi
  7614. fi
  7615. ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  7616. if test -n "$ac_ct_OBJC"; then
  7617. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
  7618. $as_echo "$ac_ct_OBJC" >&6; }
  7619. else
  7620. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7621. $as_echo "no" >&6; }
  7622. fi
  7623. test -n "$ac_ct_OBJC" && break
  7624. done
  7625. if test "x$ac_ct_OBJC" = x; then
  7626. OBJC="gcc"
  7627. else
  7628. case $cross_compiling:$ac_tool_warned in
  7629. yes:)
  7630. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7631. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7632. ac_tool_warned=yes ;;
  7633. esac
  7634. OBJC=$ac_ct_OBJC
  7635. fi
  7636. fi
  7637. # Provide some information about the compiler.
  7638. $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
  7639. set X $ac_compile
  7640. ac_compiler=$2
  7641. for ac_option in --version -v -V -qversion; do
  7642. { { ac_try="$ac_compiler $ac_option >&5"
  7643. case "(($ac_try" in
  7644. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7645. *) ac_try_echo=$ac_try;;
  7646. esac
  7647. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7648. $as_echo "$ac_try_echo"; } >&5
  7649. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  7650. ac_status=$?
  7651. if test -s conftest.err; then
  7652. sed '10a\
  7653. ... rest of stderr output deleted ...
  7654. 10q' conftest.err >conftest.er1
  7655. cat conftest.er1 >&5
  7656. fi
  7657. rm -f conftest.er1 conftest.err
  7658. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7659. test $ac_status = 0; }
  7660. done
  7661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
  7662. $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  7663. if ${ac_cv_objc_compiler_gnu+:} false; then :
  7664. $as_echo_n "(cached) " >&6
  7665. else
  7666. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7667. /* end confdefs.h. */
  7668. int
  7669. main ()
  7670. {
  7671. #ifndef __GNUC__
  7672. choke me
  7673. #endif
  7674. ;
  7675. return 0;
  7676. }
  7677. _ACEOF
  7678. if ac_fn_objc_try_compile "$LINENO"; then :
  7679. ac_compiler_gnu=yes
  7680. else
  7681. ac_compiler_gnu=no
  7682. fi
  7683. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7684. ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  7685. fi
  7686. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
  7687. $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  7688. if test $ac_compiler_gnu = yes; then
  7689. GOBJC=yes
  7690. else
  7691. GOBJC=
  7692. fi
  7693. ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  7694. ac_save_OBJCFLAGS=$OBJCFLAGS
  7695. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
  7696. $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  7697. if ${ac_cv_prog_objc_g+:} false; then :
  7698. $as_echo_n "(cached) " >&6
  7699. else
  7700. ac_save_objc_werror_flag=$ac_objc_werror_flag
  7701. ac_objc_werror_flag=yes
  7702. ac_cv_prog_objc_g=no
  7703. OBJCFLAGS="-g"
  7704. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7705. /* end confdefs.h. */
  7706. int
  7707. main ()
  7708. {
  7709. ;
  7710. return 0;
  7711. }
  7712. _ACEOF
  7713. if ac_fn_objc_try_compile "$LINENO"; then :
  7714. ac_cv_prog_objc_g=yes
  7715. else
  7716. OBJCFLAGS=""
  7717. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7718. /* end confdefs.h. */
  7719. int
  7720. main ()
  7721. {
  7722. ;
  7723. return 0;
  7724. }
  7725. _ACEOF
  7726. if ac_fn_objc_try_compile "$LINENO"; then :
  7727. else
  7728. ac_objc_werror_flag=$ac_save_objc_werror_flag
  7729. OBJCFLAGS="-g"
  7730. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7731. /* end confdefs.h. */
  7732. int
  7733. main ()
  7734. {
  7735. ;
  7736. return 0;
  7737. }
  7738. _ACEOF
  7739. if ac_fn_objc_try_compile "$LINENO"; then :
  7740. ac_cv_prog_objc_g=yes
  7741. fi
  7742. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7743. fi
  7744. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7745. fi
  7746. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7747. ac_objc_werror_flag=$ac_save_objc_werror_flag
  7748. fi
  7749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
  7750. $as_echo "$ac_cv_prog_objc_g" >&6; }
  7751. if test "$ac_test_OBJCFLAGS" = set; then
  7752. OBJCFLAGS=$ac_save_OBJCFLAGS
  7753. elif test $ac_cv_prog_objc_g = yes; then
  7754. if test "$GOBJC" = yes; then
  7755. OBJCFLAGS="-g -O2"
  7756. else
  7757. OBJCFLAGS="-g"
  7758. fi
  7759. else
  7760. if test "$GOBJC" = yes; then
  7761. OBJCFLAGS="-O2"
  7762. else
  7763. OBJCFLAGS=
  7764. fi
  7765. fi
  7766. ac_ext=m
  7767. ac_cpp='$OBJCPP $CPPFLAGS'
  7768. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7769. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7770. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7771. ac_ext=m
  7772. ac_cpp='$OBJCPP $CPPFLAGS'
  7773. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7774. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7775. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7776. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
  7777. $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
  7778. if test -z "$OBJCPP"; then
  7779. if ${ac_cv_prog_OBJCPP+:} false; then :
  7780. $as_echo_n "(cached) " >&6
  7781. else
  7782. # Double quotes because OBJCPP needs to be expanded
  7783. for OBJCPP in "$OBJC -E" "/lib/cpp"
  7784. do
  7785. ac_preproc_ok=false
  7786. for ac_objc_preproc_warn_flag in '' yes
  7787. do
  7788. # Use a header file that comes with gcc, so configuring glibc
  7789. # with a fresh cross-compiler works.
  7790. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7791. # <limits.h> exists even on freestanding compilers.
  7792. # On the NeXT, cc -E runs the code through the compiler's parser,
  7793. # not just through cpp. "Syntax error" is here to catch this case.
  7794. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7795. /* end confdefs.h. */
  7796. #ifdef __STDC__
  7797. # include <limits.h>
  7798. #else
  7799. # include <assert.h>
  7800. #endif
  7801. Syntax error
  7802. _ACEOF
  7803. if ac_fn_objc_try_cpp "$LINENO"; then :
  7804. else
  7805. # Broken: fails on valid input.
  7806. continue
  7807. fi
  7808. rm -f conftest.err conftest.i conftest.$ac_ext
  7809. # OK, works on sane cases. Now check whether nonexistent headers
  7810. # can be detected and how.
  7811. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7812. /* end confdefs.h. */
  7813. #include <ac_nonexistent.h>
  7814. _ACEOF
  7815. if ac_fn_objc_try_cpp "$LINENO"; then :
  7816. # Broken: success on invalid input.
  7817. continue
  7818. else
  7819. # Passes both tests.
  7820. ac_preproc_ok=:
  7821. break
  7822. fi
  7823. rm -f conftest.err conftest.i conftest.$ac_ext
  7824. done
  7825. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7826. rm -f conftest.i conftest.err conftest.$ac_ext
  7827. if $ac_preproc_ok; then :
  7828. break
  7829. fi
  7830. done
  7831. ac_cv_prog_OBJCPP=$OBJCPP
  7832. fi
  7833. OBJCPP=$ac_cv_prog_OBJCPP
  7834. else
  7835. ac_cv_prog_OBJCPP=$OBJCPP
  7836. fi
  7837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
  7838. $as_echo "$OBJCPP" >&6; }
  7839. ac_preproc_ok=false
  7840. for ac_objc_preproc_warn_flag in '' yes
  7841. do
  7842. # Use a header file that comes with gcc, so configuring glibc
  7843. # with a fresh cross-compiler works.
  7844. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7845. # <limits.h> exists even on freestanding compilers.
  7846. # On the NeXT, cc -E runs the code through the compiler's parser,
  7847. # not just through cpp. "Syntax error" is here to catch this case.
  7848. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7849. /* end confdefs.h. */
  7850. #ifdef __STDC__
  7851. # include <limits.h>
  7852. #else
  7853. # include <assert.h>
  7854. #endif
  7855. Syntax error
  7856. _ACEOF
  7857. if ac_fn_objc_try_cpp "$LINENO"; then :
  7858. else
  7859. # Broken: fails on valid input.
  7860. continue
  7861. fi
  7862. rm -f conftest.err conftest.i conftest.$ac_ext
  7863. # OK, works on sane cases. Now check whether nonexistent headers
  7864. # can be detected and how.
  7865. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7866. /* end confdefs.h. */
  7867. #include <ac_nonexistent.h>
  7868. _ACEOF
  7869. if ac_fn_objc_try_cpp "$LINENO"; then :
  7870. # Broken: success on invalid input.
  7871. continue
  7872. else
  7873. # Passes both tests.
  7874. ac_preproc_ok=:
  7875. break
  7876. fi
  7877. rm -f conftest.err conftest.i conftest.$ac_ext
  7878. done
  7879. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7880. rm -f conftest.i conftest.err conftest.$ac_ext
  7881. if $ac_preproc_ok; then :
  7882. else
  7883. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7884. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7885. as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
  7886. See \`config.log' for more details" "$LINENO" 5; }
  7887. fi
  7888. ac_ext=m
  7889. ac_cpp='$OBJCPP $CPPFLAGS'
  7890. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7891. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7892. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7893. for ac_header in Metal/Metal.h
  7894. do :
  7895. ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
  7896. if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
  7897. cat >>confdefs.h <<_ACEOF
  7898. #define HAVE_METAL_METAL_H 1
  7899. _ACEOF
  7900. fi
  7901. done
  7902. ac_ext=c
  7903. ac_cpp='$CPP $CPPFLAGS'
  7904. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7905. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7906. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7907. LIBEXT="dylib"
  7908. DLLFLAGS="$DLLFLAGS -fPIC"
  7909. LDDLLFLAGS="-fPIC"
  7910. LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
  7911. LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
  7912. COREFOUNDATION_LIBS="-framework CoreFoundation"
  7913. IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
  7914. FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
  7915. APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
  7916. CORESERVICES_LIBS="-framework CoreServices"
  7917. APPKIT_LIBS="-framework AppKit"
  7918. SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
  7919. WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
  7920. wine_can_build_preloader=yes
  7921. WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
  7922. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
  7923. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
  7924. if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
  7925. $as_echo_n "(cached) " >&6
  7926. else
  7927. ac_wine_try_cflags_saved=$CFLAGS
  7928. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
  7929. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7930. /* end confdefs.h. */
  7931. int main(int argc, char **argv) { return 0; }
  7932. _ACEOF
  7933. if ac_fn_c_try_link "$LINENO"; then :
  7934. ac_cv_cflags__Wl__no_new_main__e__main=yes
  7935. else
  7936. ac_cv_cflags__Wl__no_new_main__e__main=no
  7937. fi
  7938. rm -f core conftest.err conftest.$ac_objext \
  7939. conftest$ac_exeext conftest.$ac_ext
  7940. CFLAGS=$ac_wine_try_cflags_saved
  7941. fi
  7942. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
  7943. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
  7944. if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
  7945. WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
  7946. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
  7947. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
  7948. if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
  7949. $as_echo_n "(cached) " >&6
  7950. else
  7951. ac_wine_try_cflags_saved=$CFLAGS
  7952. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
  7953. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7954. /* end confdefs.h. */
  7955. int main(int argc, char **argv) { return 0; }
  7956. _ACEOF
  7957. if ac_fn_c_try_link "$LINENO"; then :
  7958. ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
  7959. else
  7960. ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
  7961. fi
  7962. rm -f core conftest.err conftest.$ac_objext \
  7963. conftest$ac_exeext conftest.$ac_ext
  7964. CFLAGS=$ac_wine_try_cflags_saved
  7965. fi
  7966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
  7967. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
  7968. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
  7969. EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
  7970. else
  7971. { $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
  7972. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  7973. if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
  7974. $as_echo_n "(cached) " >&6
  7975. else
  7976. ac_wine_try_cflags_saved=$CFLAGS
  7977. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  7978. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7979. /* end confdefs.h. */
  7980. int main(int argc, char **argv) { return 0; }
  7981. _ACEOF
  7982. if ac_fn_c_try_link "$LINENO"; then :
  7983. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  7984. else
  7985. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  7986. fi
  7987. rm -f core conftest.err conftest.$ac_objext \
  7988. conftest$ac_exeext conftest.$ac_ext
  7989. CFLAGS=$ac_wine_try_cflags_saved
  7990. fi
  7991. { $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
  7992. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  7993. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
  7994. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  7995. else
  7996. wine_can_build_preloader=no
  7997. fi
  7998. fi
  7999. else
  8000. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
  8001. $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
  8002. if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
  8003. $as_echo_n "(cached) " >&6
  8004. else
  8005. ac_wine_try_cflags_saved=$CFLAGS
  8006. CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
  8007. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8008. /* end confdefs.h. */
  8009. int main(int argc, char **argv) { return 0; }
  8010. _ACEOF
  8011. if ac_fn_c_try_link "$LINENO"; then :
  8012. ac_cv_cflags__nostartfiles__nodefaultlibs=yes
  8013. else
  8014. ac_cv_cflags__nostartfiles__nodefaultlibs=no
  8015. fi
  8016. rm -f core conftest.err conftest.$ac_objext \
  8017. conftest$ac_exeext conftest.$ac_ext
  8018. CFLAGS=$ac_wine_try_cflags_saved
  8019. fi
  8020. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
  8021. $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
  8022. if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
  8023. EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
  8024. else
  8025. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  8026. $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8027. if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
  8028. $as_echo_n "(cached) " >&6
  8029. else
  8030. ac_wine_try_cflags_saved=$CFLAGS
  8031. CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8032. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8033. /* end confdefs.h. */
  8034. int main(int argc, char **argv) { return 0; }
  8035. _ACEOF
  8036. if ac_fn_c_try_link "$LINENO"; then :
  8037. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8038. else
  8039. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8040. fi
  8041. rm -f core conftest.err conftest.$ac_objext \
  8042. conftest$ac_exeext conftest.$ac_ext
  8043. CFLAGS=$ac_wine_try_cflags_saved
  8044. fi
  8045. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  8046. $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8047. if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
  8048. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8049. else
  8050. wine_can_build_preloader=no
  8051. fi
  8052. fi
  8053. fi
  8054. if test "$wine_can_build_preloader" = "yes"
  8055. then
  8056. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
  8057. $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
  8058. if ${ac_cv_cflags__Wl__no_pie+:} false; then :
  8059. $as_echo_n "(cached) " >&6
  8060. else
  8061. ac_wine_try_cflags_saved=$CFLAGS
  8062. CFLAGS="$CFLAGS -Wl,-no_pie"
  8063. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8064. /* end confdefs.h. */
  8065. int main(int argc, char **argv) { return 0; }
  8066. _ACEOF
  8067. if ac_fn_c_try_link "$LINENO"; then :
  8068. ac_cv_cflags__Wl__no_pie=yes
  8069. else
  8070. ac_cv_cflags__Wl__no_pie=no
  8071. fi
  8072. rm -f core conftest.err conftest.$ac_objext \
  8073. conftest$ac_exeext conftest.$ac_ext
  8074. CFLAGS=$ac_wine_try_cflags_saved
  8075. fi
  8076. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
  8077. $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
  8078. if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
  8079. WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
  8080. fi
  8081. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  8082. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  8083. else
  8084. as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
  8085. fi
  8086. if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
  8087. then
  8088. DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
  8089. fi
  8090. if test "$ac_cv_header_Security_Security_h" = "yes"
  8091. then
  8092. SECURITY_LIBS="-framework Security -framework CoreFoundation"
  8093. ac_save_LIBS="$LIBS"
  8094. LIBS="$LIBS $SECURITY_LIBS"
  8095. for ac_func in SSLCopyPeerCertificates
  8096. do :
  8097. ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
  8098. if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
  8099. cat >>confdefs.h <<_ACEOF
  8100. #define HAVE_SSLCOPYPEERCERTIFICATES 1
  8101. _ACEOF
  8102. fi
  8103. done
  8104. LIBS="$ac_save_LIBS"
  8105. fi
  8106. if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
  8107. then
  8108. if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
  8109. then
  8110. COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
  8111. else
  8112. COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
  8113. fi
  8114. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
  8115. ac_save_LIBS="$LIBS"
  8116. LIBS="$LIBS $COREAUDIO_LIBS"
  8117. for ac_func in AUGraphAddNode
  8118. do :
  8119. ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
  8120. if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
  8121. cat >>confdefs.h <<_ACEOF
  8122. #define HAVE_AUGRAPHADDNODE 1
  8123. _ACEOF
  8124. fi
  8125. done
  8126. LIBS="$ac_save_LIBS"
  8127. fi
  8128. if test "$ac_cv_header_OpenAL_al_h" = "yes"
  8129. then
  8130. OPENAL_LIBS="-framework OpenAL"
  8131. cat >>confdefs.h <<_ACEOF
  8132. #define HAVE_OPENAL 1
  8133. _ACEOF
  8134. ac_cv_lib_openal=yes
  8135. fi
  8136. if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
  8137. then
  8138. OPENCL_LIBS="-framework OpenCL"
  8139. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  8140. fi
  8141. if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
  8142. then
  8143. ac_save_LIBS="$LIBS"
  8144. LIBS="$LIBS $IOKIT_LIBS"
  8145. for ac_func in IOHIDManagerCreate
  8146. do :
  8147. ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
  8148. if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
  8149. cat >>confdefs.h <<_ACEOF
  8150. #define HAVE_IOHIDMANAGERCREATE 1
  8151. _ACEOF
  8152. fi
  8153. done
  8154. LIBS="$ac_save_LIBS"
  8155. fi
  8156. if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
  8157. then
  8158. ac_save_LIBS="$LIBS"
  8159. LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
  8160. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
  8161. $as_echo_n "checking for the QuickTime framework... " >&6; }
  8162. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8163. /* end confdefs.h. */
  8164. #include <QuickTime/ImageCompression.h>
  8165. int
  8166. main ()
  8167. {
  8168. CodecManagerVersion(NULL);
  8169. ;
  8170. return 0;
  8171. }
  8172. _ACEOF
  8173. if ac_fn_c_try_link "$LINENO"; then :
  8174. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8175. $as_echo "yes" >&6; }
  8176. QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
  8177. enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
  8178. else
  8179. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8180. $as_echo "no" >&6; }
  8181. ac_cv_header_QuickTime_ImageCompression_h=no
  8182. fi
  8183. rm -f core conftest.err conftest.$ac_objext \
  8184. conftest$ac_exeext conftest.$ac_ext
  8185. LIBS="$ac_save_LIBS"
  8186. fi
  8187. if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
  8188. then
  8189. as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
  8190. fi
  8191. if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
  8192. then
  8193. CARBON_LIBS="-framework Carbon"
  8194. fi
  8195. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  8196. then
  8197. METAL_LIBS="-framework Metal -framework QuartzCore"
  8198. fi
  8199. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  8200. then
  8201. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
  8202. $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
  8203. ac_ext=m
  8204. ac_cpp='$OBJCPP $CPPFLAGS'
  8205. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8206. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8207. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8208. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8209. /* end confdefs.h. */
  8210. #include <Metal/Metal.h>
  8211. int
  8212. main ()
  8213. {
  8214. id<MTLDevice> device; device.registryID;
  8215. ;
  8216. return 0;
  8217. }
  8218. _ACEOF
  8219. if ac_fn_objc_try_compile "$LINENO"; then :
  8220. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8221. $as_echo "yes" >&6; }
  8222. $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
  8223. else
  8224. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8225. $as_echo "no" >&6; }
  8226. fi
  8227. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8228. ac_ext=c
  8229. ac_cpp='$CPP $CPPFLAGS'
  8230. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8231. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8232. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8233. fi
  8234. if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
  8235. then
  8236. ac_save_LIBS="$LIBS"
  8237. LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
  8238. ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
  8239. if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
  8240. enable_winemac_drv=${enable_winemac_drv:-yes}
  8241. fi
  8242. LIBS="$ac_save_LIBS"
  8243. fi
  8244. if test "x$enable_win16" = "xyes"
  8245. then
  8246. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
  8247. $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
  8248. if test "$cross_compiling" = yes; then :
  8249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
  8250. $as_echo "cross-compiling, assuming yes" >&6; }
  8251. else
  8252. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8253. /* end confdefs.h. */
  8254. asm(".text\n"
  8255. "bad:\tnop;nop\n"
  8256. "good:\tnop;nop\n\t"
  8257. ".globl _testfunc\n"
  8258. "_testfunc:\tcallw good");
  8259. extern void testfunc();
  8260. int
  8261. main ()
  8262. {
  8263. unsigned short *p = (unsigned short *)testfunc;
  8264. return p[0] != 0xe866 || p[1] != 0xfffa
  8265. ;
  8266. return 0;
  8267. }
  8268. _ACEOF
  8269. if ac_fn_c_try_run "$LINENO"; then :
  8270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8271. $as_echo "yes" >&6; }
  8272. else
  8273. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8274. $as_echo "no" >&6; }
  8275. 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
  8276. fi
  8277. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8278. conftest.$ac_objext conftest.beam conftest.$ac_ext
  8279. fi
  8280. fi
  8281. LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
  8282. LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
  8283. WINELOADER_DEPENDS="wine_info.plist"
  8284. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
  8285. TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
  8286. ;;
  8287. linux-android*)
  8288. DLLFLAGS="$DLLFLAGS -fPIC"
  8289. LDDLLFLAGS="-fPIC"
  8290. LDEXECFLAGS="-Wl,-pie"
  8291. enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
  8292. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
  8293. $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
  8294. if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
  8295. $as_echo_n "(cached) " >&6
  8296. else
  8297. ac_wine_try_cflags_saved=$CFLAGS
  8298. CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
  8299. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8300. /* end confdefs.h. */
  8301. int main(int argc, char **argv) { return 0; }
  8302. _ACEOF
  8303. if ac_fn_c_try_link "$LINENO"; then :
  8304. ac_cv_cflags__fPIC__Wl___export_dynamic=yes
  8305. else
  8306. ac_cv_cflags__fPIC__Wl___export_dynamic=no
  8307. fi
  8308. rm -f core conftest.err conftest.$ac_objext \
  8309. conftest$ac_exeext conftest.$ac_ext
  8310. CFLAGS=$ac_wine_try_cflags_saved
  8311. fi
  8312. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
  8313. $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
  8314. if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
  8315. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  8316. fi
  8317. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
  8318. as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
  8319. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
  8320. $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
  8321. if eval \${$as_ac_var+:} false; then :
  8322. $as_echo_n "(cached) " >&6
  8323. else
  8324. ac_wine_try_cflags_saved=$CFLAGS
  8325. CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
  8326. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8327. /* end confdefs.h. */
  8328. int main(int argc, char **argv) { return 0; }
  8329. _ACEOF
  8330. if ac_fn_c_try_link "$LINENO"; then :
  8331. eval "$as_ac_var=yes"
  8332. else
  8333. eval "$as_ac_var=no"
  8334. fi
  8335. rm -f core conftest.err conftest.$ac_objext \
  8336. conftest$ac_exeext conftest.$ac_ext
  8337. CFLAGS=$ac_wine_try_cflags_saved
  8338. fi
  8339. eval ac_res=\$$as_ac_var
  8340. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8341. $as_echo "$ac_res" >&6; }
  8342. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8343. LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
  8344. LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
  8345. else
  8346. as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
  8347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
  8348. $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
  8349. if eval \${$as_ac_var+:} false; then :
  8350. $as_echo_n "(cached) " >&6
  8351. else
  8352. ac_wine_try_cflags_saved=$CFLAGS
  8353. CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
  8354. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8355. /* end confdefs.h. */
  8356. int main(int argc, char **argv) { return 0; }
  8357. _ACEOF
  8358. if ac_fn_c_try_link "$LINENO"; then :
  8359. eval "$as_ac_var=yes"
  8360. else
  8361. eval "$as_ac_var=no"
  8362. fi
  8363. rm -f core conftest.err conftest.$ac_objext \
  8364. conftest$ac_exeext conftest.$ac_ext
  8365. CFLAGS=$ac_wine_try_cflags_saved
  8366. fi
  8367. eval ac_res=\$$as_ac_var
  8368. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8369. $as_echo "$ac_res" >&6; }
  8370. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8371. LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
  8372. LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
  8373. fi
  8374. fi
  8375. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
  8376. $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
  8377. if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
  8378. $as_echo_n "(cached) " >&6
  8379. else
  8380. ac_wine_try_cflags_saved=$CFLAGS
  8381. CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
  8382. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8383. /* end confdefs.h. */
  8384. int main(int argc, char **argv) { return 0; }
  8385. _ACEOF
  8386. if ac_fn_c_try_link "$LINENO"; then :
  8387. ac_cv_cflags__Wl___enable_new_dtags=yes
  8388. else
  8389. ac_cv_cflags__Wl___enable_new_dtags=no
  8390. fi
  8391. rm -f core conftest.err conftest.$ac_objext \
  8392. conftest$ac_exeext conftest.$ac_ext
  8393. CFLAGS=$ac_wine_try_cflags_saved
  8394. fi
  8395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
  8396. $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
  8397. if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
  8398. LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
  8399. fi
  8400. LIBWINE_SHAREDLIB="libwine.so"
  8401. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
  8402. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
  8403. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
  8404. $as_echo_n "checking for -lEGL... " >&6; }
  8405. if ${ac_cv_lib_soname_EGL+:} false; then :
  8406. $as_echo_n "(cached) " >&6
  8407. else
  8408. ac_check_soname_save_LIBS=$LIBS
  8409. LIBS="-lEGL $LIBS"
  8410. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8411. /* end confdefs.h. */
  8412. /* Override any GCC internal prototype to avoid an error.
  8413. Use char because int might match the return type of a GCC
  8414. builtin and then its argument prototype would still apply. */
  8415. #ifdef __cplusplus
  8416. extern "C"
  8417. #endif
  8418. char eglGetProcAddress ();
  8419. int
  8420. main ()
  8421. {
  8422. return eglGetProcAddress ();
  8423. ;
  8424. return 0;
  8425. }
  8426. _ACEOF
  8427. if ac_fn_c_try_link "$LINENO"; then :
  8428. case "$LIBEXT" in
  8429. dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  8430. 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'` ;;
  8431. *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  8432. if ${ac_cv_lib_soname_EGL:+false} :; then :
  8433. ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  8434. fi ;;
  8435. esac
  8436. else
  8437. ac_cv_lib_soname_EGL=
  8438. fi
  8439. rm -f core conftest.err conftest.$ac_objext \
  8440. conftest$ac_exeext conftest.$ac_ext
  8441. LIBS=$ac_check_soname_save_LIBS
  8442. fi
  8443. if ${ac_cv_lib_soname_EGL:+false} :; then :
  8444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  8445. $as_echo "not found" >&6; }
  8446. else
  8447. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
  8448. $as_echo "$ac_cv_lib_soname_EGL" >&6; }
  8449. cat >>confdefs.h <<_ACEOF
  8450. #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
  8451. _ACEOF
  8452. fi
  8453. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
  8454. $as_echo_n "checking for -lGLESv2... " >&6; }
  8455. if ${ac_cv_lib_soname_GLESv2+:} false; then :
  8456. $as_echo_n "(cached) " >&6
  8457. else
  8458. ac_check_soname_save_LIBS=$LIBS
  8459. LIBS="-lGLESv2 $LIBS"
  8460. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8461. /* end confdefs.h. */
  8462. /* Override any GCC internal prototype to avoid an error.
  8463. Use char because int might match the return type of a GCC
  8464. builtin and then its argument prototype would still apply. */
  8465. #ifdef __cplusplus
  8466. extern "C"
  8467. #endif
  8468. char glFlush ();
  8469. int
  8470. main ()
  8471. {
  8472. return glFlush ();
  8473. ;
  8474. return 0;
  8475. }
  8476. _ACEOF
  8477. if ac_fn_c_try_link "$LINENO"; then :
  8478. case "$LIBEXT" in
  8479. dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  8480. 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'` ;;
  8481. *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  8482. if ${ac_cv_lib_soname_GLESv2:+false} :; then :
  8483. ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  8484. fi ;;
  8485. esac
  8486. else
  8487. ac_cv_lib_soname_GLESv2=
  8488. fi
  8489. rm -f core conftest.err conftest.$ac_objext \
  8490. conftest$ac_exeext conftest.$ac_ext
  8491. LIBS=$ac_check_soname_save_LIBS
  8492. fi
  8493. if ${ac_cv_lib_soname_GLESv2:+false} :; then :
  8494. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  8495. $as_echo "not found" >&6; }
  8496. else
  8497. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
  8498. $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
  8499. cat >>confdefs.h <<_ACEOF
  8500. #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
  8501. _ACEOF
  8502. fi
  8503. if test "x$exec_prefix" = xNONE
  8504. then
  8505. case $host_cpu in
  8506. *i[3456]86*) exec_prefix='${prefix}/x86' ;;
  8507. *x86_64*) exec_prefix='${prefix}/x86_64' ;;
  8508. *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
  8509. *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
  8510. esac
  8511. fi
  8512. ;;
  8513. *)
  8514. case $host_cpu in
  8515. *i[3456789]86*)
  8516. DLLFLAGS="$DLLFLAGS -fno-PIC"
  8517. LDDLLFLAGS="-fno-PIC" ;;
  8518. *)
  8519. DLLFLAGS="$DLLFLAGS -fPIC"
  8520. LDDLLFLAGS="-fPIC" ;;
  8521. esac
  8522. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
  8523. $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
  8524. if ${ac_cv_c_dll_gnuelf+:} false; then :
  8525. $as_echo_n "(cached) " >&6
  8526. else
  8527. ac_wine_try_cflags_saved=$CFLAGS
  8528. CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
  8529. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8530. /* end confdefs.h. */
  8531. void myfunc() {}
  8532. _ACEOF
  8533. if ac_fn_c_try_link "$LINENO"; then :
  8534. ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
  8535. else
  8536. ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
  8537. fi
  8538. rm -f core conftest.err conftest.$ac_objext \
  8539. conftest$ac_exeext conftest.$ac_ext
  8540. CFLAGS=$ac_wine_try_cflags_saved
  8541. if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
  8542. ac_cv_c_dll_gnuelf="yes"
  8543. else
  8544. ac_cv_c_dll_gnuelf="no"
  8545. fi
  8546. fi
  8547. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
  8548. $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
  8549. if test "$ac_cv_c_dll_gnuelf" = "yes"
  8550. then
  8551. LIBWINE_LDFLAGS="-shared"
  8552. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
  8553. $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
  8554. if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
  8555. $as_echo_n "(cached) " >&6
  8556. else
  8557. ac_wine_try_cflags_saved=$CFLAGS
  8558. CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
  8559. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8560. /* end confdefs.h. */
  8561. int main(int argc, char **argv) { return 0; }
  8562. _ACEOF
  8563. if ac_fn_c_try_link "$LINENO"; then :
  8564. ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
  8565. else
  8566. ac_cv_cflags__shared__Wl__soname_confest_so_1=no
  8567. fi
  8568. rm -f core conftest.err conftest.$ac_objext \
  8569. conftest$ac_exeext conftest.$ac_ext
  8570. CFLAGS=$ac_wine_try_cflags_saved
  8571. fi
  8572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
  8573. $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
  8574. if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
  8575. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
  8576. else
  8577. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
  8578. $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
  8579. if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
  8580. $as_echo_n "(cached) " >&6
  8581. else
  8582. ac_wine_try_cflags_saved=$CFLAGS
  8583. CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
  8584. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8585. /* end confdefs.h. */
  8586. int main(int argc, char **argv) { return 0; }
  8587. _ACEOF
  8588. if ac_fn_c_try_link "$LINENO"; then :
  8589. ac_cv_cflags__shared__Wl__h_confest_so_1=yes
  8590. else
  8591. ac_cv_cflags__shared__Wl__h_confest_so_1=no
  8592. fi
  8593. rm -f core conftest.err conftest.$ac_objext \
  8594. conftest$ac_exeext conftest.$ac_ext
  8595. CFLAGS=$ac_wine_try_cflags_saved
  8596. fi
  8597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
  8598. $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
  8599. if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
  8600. LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
  8601. fi
  8602. fi
  8603. echo '{ global: *; };' >conftest.map
  8604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
  8605. $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
  8606. if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
  8607. $as_echo_n "(cached) " >&6
  8608. else
  8609. ac_wine_try_cflags_saved=$CFLAGS
  8610. CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
  8611. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8612. /* end confdefs.h. */
  8613. int main(int argc, char **argv) { return 0; }
  8614. _ACEOF
  8615. if ac_fn_c_try_link "$LINENO"; then :
  8616. ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
  8617. else
  8618. ac_cv_cflags__shared__Wl___version_script_conftest_map=no
  8619. fi
  8620. rm -f core conftest.err conftest.$ac_objext \
  8621. conftest$ac_exeext conftest.$ac_ext
  8622. CFLAGS=$ac_wine_try_cflags_saved
  8623. fi
  8624. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
  8625. $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
  8626. if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
  8627. LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
  8628. fi
  8629. rm -f conftest.map
  8630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
  8631. $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
  8632. if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
  8633. $as_echo_n "(cached) " >&6
  8634. else
  8635. ac_wine_try_cflags_saved=$CFLAGS
  8636. CFLAGS="$CFLAGS -Wl,--export-dynamic"
  8637. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8638. /* end confdefs.h. */
  8639. int main(int argc, char **argv) { return 0; }
  8640. _ACEOF
  8641. if ac_fn_c_try_link "$LINENO"; then :
  8642. ac_cv_cflags__Wl___export_dynamic=yes
  8643. else
  8644. ac_cv_cflags__Wl___export_dynamic=no
  8645. fi
  8646. rm -f core conftest.err conftest.$ac_objext \
  8647. conftest$ac_exeext conftest.$ac_ext
  8648. CFLAGS=$ac_wine_try_cflags_saved
  8649. fi
  8650. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
  8651. $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
  8652. if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
  8653. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  8654. fi
  8655. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
  8656. as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
  8657. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
  8658. $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
  8659. if eval \${$as_ac_var+:} false; then :
  8660. $as_echo_n "(cached) " >&6
  8661. else
  8662. ac_wine_try_cflags_saved=$CFLAGS
  8663. CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
  8664. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8665. /* end confdefs.h. */
  8666. int main(int argc, char **argv) { return 0; }
  8667. _ACEOF
  8668. if ac_fn_c_try_link "$LINENO"; then :
  8669. eval "$as_ac_var=yes"
  8670. else
  8671. eval "$as_ac_var=no"
  8672. fi
  8673. rm -f core conftest.err conftest.$ac_objext \
  8674. conftest$ac_exeext conftest.$ac_ext
  8675. CFLAGS=$ac_wine_try_cflags_saved
  8676. fi
  8677. eval ac_res=\$$as_ac_var
  8678. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8679. $as_echo "$ac_res" >&6; }
  8680. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8681. LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
  8682. LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
  8683. else
  8684. as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
  8685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
  8686. $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
  8687. if eval \${$as_ac_var+:} false; then :
  8688. $as_echo_n "(cached) " >&6
  8689. else
  8690. ac_wine_try_cflags_saved=$CFLAGS
  8691. CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
  8692. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8693. /* end confdefs.h. */
  8694. int main(int argc, char **argv) { return 0; }
  8695. _ACEOF
  8696. if ac_fn_c_try_link "$LINENO"; then :
  8697. eval "$as_ac_var=yes"
  8698. else
  8699. eval "$as_ac_var=no"
  8700. fi
  8701. rm -f core conftest.err conftest.$ac_objext \
  8702. conftest$ac_exeext conftest.$ac_ext
  8703. CFLAGS=$ac_wine_try_cflags_saved
  8704. fi
  8705. eval ac_res=\$$as_ac_var
  8706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8707. $as_echo "$ac_res" >&6; }
  8708. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8709. LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
  8710. LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
  8711. fi
  8712. fi
  8713. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
  8714. $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
  8715. if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
  8716. $as_echo_n "(cached) " >&6
  8717. else
  8718. ac_wine_try_cflags_saved=$CFLAGS
  8719. CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
  8720. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8721. /* end confdefs.h. */
  8722. int main(int argc, char **argv) { return 0; }
  8723. _ACEOF
  8724. if ac_fn_c_try_link "$LINENO"; then :
  8725. ac_cv_cflags__Wl___enable_new_dtags=yes
  8726. else
  8727. ac_cv_cflags__Wl___enable_new_dtags=no
  8728. fi
  8729. rm -f core conftest.err conftest.$ac_objext \
  8730. conftest$ac_exeext conftest.$ac_ext
  8731. CFLAGS=$ac_wine_try_cflags_saved
  8732. fi
  8733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
  8734. $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
  8735. if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
  8736. LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
  8737. fi
  8738. case $host_cpu in
  8739. *i[3456789]86* | x86_64 | *aarch64*)
  8740. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
  8741. $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
  8742. if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
  8743. $as_echo_n "(cached) " >&6
  8744. else
  8745. ac_wine_try_cflags_saved=$CFLAGS
  8746. CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
  8747. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8748. /* end confdefs.h. */
  8749. int main(int argc, char **argv) { return 0; }
  8750. _ACEOF
  8751. if ac_fn_c_try_link "$LINENO"; then :
  8752. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
  8753. else
  8754. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
  8755. fi
  8756. rm -f core conftest.err conftest.$ac_objext \
  8757. conftest$ac_exeext conftest.$ac_ext
  8758. CFLAGS=$ac_wine_try_cflags_saved
  8759. fi
  8760. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
  8761. $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
  8762. if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
  8763. case $host_os in
  8764. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
  8765. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
  8766. esac
  8767. else
  8768. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
  8769. $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
  8770. if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
  8771. $as_echo_n "(cached) " >&6
  8772. else
  8773. ac_wine_try_cflags_saved=$CFLAGS
  8774. CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
  8775. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8776. /* end confdefs.h. */
  8777. int main(int argc, char **argv) { return 0; }
  8778. _ACEOF
  8779. if ac_fn_c_try_link "$LINENO"; then :
  8780. ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
  8781. else
  8782. ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
  8783. fi
  8784. rm -f core conftest.err conftest.$ac_objext \
  8785. conftest$ac_exeext conftest.$ac_ext
  8786. CFLAGS=$ac_wine_try_cflags_saved
  8787. fi
  8788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
  8789. $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
  8790. if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
  8791. case $host_os in
  8792. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
  8793. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
  8794. esac
  8795. fi
  8796. # Extract the first word of "prelink", so it can be a program name with args.
  8797. set dummy prelink; ac_word=$2
  8798. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8799. $as_echo_n "checking for $ac_word... " >&6; }
  8800. if ${ac_cv_path_PRELINK+:} false; then :
  8801. $as_echo_n "(cached) " >&6
  8802. else
  8803. case $PRELINK in
  8804. [\\/]* | ?:[\\/]*)
  8805. ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
  8806. ;;
  8807. *)
  8808. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8809. for as_dir in /sbin /usr/sbin $PATH
  8810. do
  8811. IFS=$as_save_IFS
  8812. test -z "$as_dir" && as_dir=.
  8813. for ac_exec_ext in '' $ac_executable_extensions; do
  8814. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8815. ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
  8816. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8817. break 2
  8818. fi
  8819. done
  8820. done
  8821. IFS=$as_save_IFS
  8822. test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
  8823. ;;
  8824. esac
  8825. fi
  8826. PRELINK=$ac_cv_path_PRELINK
  8827. if test -n "$PRELINK"; then
  8828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
  8829. $as_echo "$PRELINK" >&6; }
  8830. else
  8831. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8832. $as_echo "no" >&6; }
  8833. fi
  8834. if test "x$PRELINK" = xfalse
  8835. then
  8836. as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
  8837. fi
  8838. fi
  8839. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
  8840. $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
  8841. if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
  8842. $as_echo_n "(cached) " >&6
  8843. else
  8844. ac_wine_try_cflags_saved=$CFLAGS
  8845. CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
  8846. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8847. /* end confdefs.h. */
  8848. int main(int argc, char **argv) { return 0; }
  8849. _ACEOF
  8850. if ac_fn_c_try_link "$LINENO"; then :
  8851. ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
  8852. else
  8853. ac_cv_cflags__Wl__z_max_page_size_0x1000=no
  8854. fi
  8855. rm -f core conftest.err conftest.$ac_objext \
  8856. conftest$ac_exeext conftest.$ac_ext
  8857. CFLAGS=$ac_wine_try_cflags_saved
  8858. fi
  8859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
  8860. $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
  8861. if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
  8862. WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
  8863. fi
  8864. ;;
  8865. esac
  8866. else
  8867. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
  8868. $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
  8869. if ${ac_cv_c_dll_unixware+:} false; then :
  8870. $as_echo_n "(cached) " >&6
  8871. else
  8872. ac_wine_try_cflags_saved=$CFLAGS
  8873. CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
  8874. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8875. /* end confdefs.h. */
  8876. void myfunc() {}
  8877. _ACEOF
  8878. if ac_fn_c_try_link "$LINENO"; then :
  8879. ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
  8880. else
  8881. ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
  8882. fi
  8883. rm -f core conftest.err conftest.$ac_objext \
  8884. conftest$ac_exeext conftest.$ac_ext
  8885. CFLAGS=$ac_wine_try_cflags_saved
  8886. if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
  8887. ac_cv_c_dll_unixware="yes"
  8888. else
  8889. ac_cv_c_dll_unixware="no"
  8890. fi
  8891. fi
  8892. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
  8893. $as_echo "$ac_cv_c_dll_unixware" >&6; }
  8894. if test "$ac_cv_c_dll_unixware" = "yes"
  8895. then
  8896. LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
  8897. fi
  8898. fi
  8899. LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
  8900. LIBWINE_DEPENDS="wine.map"
  8901. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
  8902. TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
  8903. ;;
  8904. esac
  8905. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
  8906. enable_wineqtdecoder=${enable_wineqtdecoder:-no}
  8907. enable_wineandroid_drv=${enable_wineandroid_drv:-no}
  8908. enable_winemac_drv=${enable_winemac_drv:-no}
  8909. test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
  8910. CROSSTARGET=""
  8911. if test "x$with_mingw" != xno
  8912. then
  8913. case "x$with_mingw" in
  8914. x|xyes) case "$host_cpu" in
  8915. aarch64*)
  8916. ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
  8917. arm*)
  8918. ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
  8919. i[3456789]86*)
  8920. 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
  8921. i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
  8922. mingw32-gcc" ;;
  8923. x86_64)
  8924. 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
  8925. x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
  8926. *)
  8927. ac_prefix_list="" ;;
  8928. esac
  8929. for ac_prog in $ac_prefix_list
  8930. do
  8931. # Extract the first word of "$ac_prog", so it can be a program name with args.
  8932. set dummy $ac_prog; ac_word=$2
  8933. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8934. $as_echo_n "checking for $ac_word... " >&6; }
  8935. if ${ac_cv_prog_CROSSCC+:} false; then :
  8936. $as_echo_n "(cached) " >&6
  8937. else
  8938. if test -n "$CROSSCC"; then
  8939. ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
  8940. else
  8941. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8942. for as_dir in $PATH
  8943. do
  8944. IFS=$as_save_IFS
  8945. test -z "$as_dir" && as_dir=.
  8946. for ac_exec_ext in '' $ac_executable_extensions; do
  8947. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8948. ac_cv_prog_CROSSCC="$ac_prog"
  8949. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8950. break 2
  8951. fi
  8952. done
  8953. done
  8954. IFS=$as_save_IFS
  8955. fi
  8956. fi
  8957. CROSSCC=$ac_cv_prog_CROSSCC
  8958. if test -n "$CROSSCC"; then
  8959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
  8960. $as_echo "$CROSSCC" >&6; }
  8961. else
  8962. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8963. $as_echo "no" >&6; }
  8964. fi
  8965. test -n "$CROSSCC" && break
  8966. done
  8967. test -n "$CROSSCC" || CROSSCC="false"
  8968. ;;
  8969. *) CROSSCC=$with_mingw ;;
  8970. esac
  8971. if test "$CROSSCC" != "false"
  8972. then
  8973. ac_save_CC="$CC"
  8974. saved_CFLAGS=$CFLAGS
  8975. CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
  8976. EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
  8977. CC="$CROSSCC"
  8978. CFLAGS=$CROSSCFLAGS
  8979. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
  8980. $as_echo_n "checking whether $CROSSCC works... " >&6; }
  8981. if ${wine_cv_crosscc+:} false; then :
  8982. $as_echo_n "(cached) " >&6
  8983. else
  8984. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8985. /* end confdefs.h. */
  8986. int
  8987. main ()
  8988. {
  8989. ;
  8990. return 0;
  8991. }
  8992. _ACEOF
  8993. if ac_fn_c_try_compile "$LINENO"; then :
  8994. wine_cv_crosscc=yes
  8995. else
  8996. wine_cv_crosscc=no
  8997. fi
  8998. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8999. fi
  9000. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
  9001. $as_echo "$wine_cv_crosscc" >&6; }
  9002. if test $wine_cv_crosscc = yes
  9003. then
  9004. set x $CROSSCC
  9005. shift
  9006. while test $# -ge 1
  9007. do
  9008. case "$1" in
  9009. *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
  9010. *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
  9011. esac
  9012. shift
  9013. done
  9014. llvm_target=$CROSSTARGET
  9015. if test -z "$llvm_target"
  9016. then
  9017. case $host_cpu in
  9018. *i[3456789]86*) llvm_target=i686-windows-gnu ;;
  9019. *) llvm_target=$host_cpu-windows-gnu ;;
  9020. esac
  9021. fi
  9022. as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
  9023. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
  9024. $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
  9025. if eval \${$as_ac_var+:} false; then :
  9026. $as_echo_n "(cached) " >&6
  9027. else
  9028. ac_wine_try_cflags_saved=$CFLAGS
  9029. ac_wine_try_cflags_saved_cc=$CC
  9030. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9031. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
  9032. CC="$CROSSCC"
  9033. ac_exeext=".exe"
  9034. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9035. /* end confdefs.h. */
  9036. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9037. _ACEOF
  9038. if ac_fn_c_try_link "$LINENO"; then :
  9039. eval "$as_ac_var=yes"
  9040. else
  9041. eval "$as_ac_var=no"
  9042. fi
  9043. rm -f core conftest.err conftest.$ac_objext \
  9044. conftest$ac_exeext conftest.$ac_ext
  9045. CFLAGS=$ac_wine_try_cflags_saved
  9046. CC=$ac_wine_try_cflags_saved_cc
  9047. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9048. fi
  9049. eval ac_res=\$$as_ac_var
  9050. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9051. $as_echo "$ac_res" >&6; }
  9052. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  9053. CROSSTARGET=$llvm_target
  9054. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
  9055. CFLAGS="$CFLAGS -fuse-ld=lld"
  9056. fi
  9057. fi
  9058. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
  9059. $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
  9060. if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
  9061. $as_echo_n "(cached) " >&6
  9062. else
  9063. ac_wine_try_cflags_saved=$CFLAGS
  9064. ac_wine_try_cflags_saved_cc=$CC
  9065. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9066. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
  9067. CC="$CROSSCC"
  9068. ac_exeext=".exe"
  9069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9070. /* end confdefs.h. */
  9071. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9072. _ACEOF
  9073. if ac_fn_c_try_link "$LINENO"; then :
  9074. ac_cv_crosscflags__fno_strict_aliasing=yes
  9075. else
  9076. ac_cv_crosscflags__fno_strict_aliasing=no
  9077. fi
  9078. rm -f core conftest.err conftest.$ac_objext \
  9079. conftest$ac_exeext conftest.$ac_ext
  9080. CFLAGS=$ac_wine_try_cflags_saved
  9081. CC=$ac_wine_try_cflags_saved_cc
  9082. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9083. fi
  9084. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
  9085. $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
  9086. if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
  9087. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
  9088. fi
  9089. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
  9090. $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
  9091. if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
  9092. $as_echo_n "(cached) " >&6
  9093. else
  9094. ac_wine_try_cflags_saved=$CFLAGS
  9095. ac_wine_try_cflags_saved_cc=$CC
  9096. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9097. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
  9098. CC="$CROSSCC"
  9099. ac_exeext=".exe"
  9100. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9101. /* end confdefs.h. */
  9102. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9103. _ACEOF
  9104. if ac_fn_c_try_link "$LINENO"; then :
  9105. ac_cv_crosscflags__Werror_unknown_warning_option=yes
  9106. else
  9107. ac_cv_crosscflags__Werror_unknown_warning_option=no
  9108. fi
  9109. rm -f core conftest.err conftest.$ac_objext \
  9110. conftest$ac_exeext conftest.$ac_ext
  9111. CFLAGS=$ac_wine_try_cflags_saved
  9112. CC=$ac_wine_try_cflags_saved_cc
  9113. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9114. fi
  9115. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
  9116. $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
  9117. if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
  9118. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  9119. fi
  9120. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
  9121. $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
  9122. if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
  9123. $as_echo_n "(cached) " >&6
  9124. else
  9125. ac_wine_try_cflags_saved=$CFLAGS
  9126. ac_wine_try_cflags_saved_cc=$CC
  9127. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9128. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
  9129. CC="$CROSSCC"
  9130. ac_exeext=".exe"
  9131. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9132. /* end confdefs.h. */
  9133. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9134. _ACEOF
  9135. if ac_fn_c_try_link "$LINENO"; then :
  9136. ac_cv_crosscflags__Wdeclaration_after_statement=yes
  9137. else
  9138. ac_cv_crosscflags__Wdeclaration_after_statement=no
  9139. fi
  9140. rm -f core conftest.err conftest.$ac_objext \
  9141. conftest$ac_exeext conftest.$ac_ext
  9142. CFLAGS=$ac_wine_try_cflags_saved
  9143. CC=$ac_wine_try_cflags_saved_cc
  9144. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9145. fi
  9146. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
  9147. $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
  9148. if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
  9149. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
  9150. fi
  9151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
  9152. $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
  9153. if ${ac_cv_crosscflags__Wempty_body+:} false; then :
  9154. $as_echo_n "(cached) " >&6
  9155. else
  9156. ac_wine_try_cflags_saved=$CFLAGS
  9157. ac_wine_try_cflags_saved_cc=$CC
  9158. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9159. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
  9160. CC="$CROSSCC"
  9161. ac_exeext=".exe"
  9162. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9163. /* end confdefs.h. */
  9164. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9165. _ACEOF
  9166. if ac_fn_c_try_link "$LINENO"; then :
  9167. ac_cv_crosscflags__Wempty_body=yes
  9168. else
  9169. ac_cv_crosscflags__Wempty_body=no
  9170. fi
  9171. rm -f core conftest.err conftest.$ac_objext \
  9172. conftest$ac_exeext conftest.$ac_ext
  9173. CFLAGS=$ac_wine_try_cflags_saved
  9174. CC=$ac_wine_try_cflags_saved_cc
  9175. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9176. fi
  9177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
  9178. $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
  9179. if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
  9180. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
  9181. fi
  9182. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
  9183. $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
  9184. if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
  9185. $as_echo_n "(cached) " >&6
  9186. else
  9187. ac_wine_try_cflags_saved=$CFLAGS
  9188. ac_wine_try_cflags_saved_cc=$CC
  9189. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9190. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
  9191. CC="$CROSSCC"
  9192. ac_exeext=".exe"
  9193. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9194. /* end confdefs.h. */
  9195. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9196. _ACEOF
  9197. if ac_fn_c_try_link "$LINENO"; then :
  9198. ac_cv_crosscflags__Wignored_qualifiers=yes
  9199. else
  9200. ac_cv_crosscflags__Wignored_qualifiers=no
  9201. fi
  9202. rm -f core conftest.err conftest.$ac_objext \
  9203. conftest$ac_exeext conftest.$ac_ext
  9204. CFLAGS=$ac_wine_try_cflags_saved
  9205. CC=$ac_wine_try_cflags_saved_cc
  9206. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9207. fi
  9208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
  9209. $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
  9210. if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
  9211. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
  9212. fi
  9213. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
  9214. $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
  9215. if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
  9216. $as_echo_n "(cached) " >&6
  9217. else
  9218. ac_wine_try_cflags_saved=$CFLAGS
  9219. ac_wine_try_cflags_saved_cc=$CC
  9220. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9221. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
  9222. CC="$CROSSCC"
  9223. ac_exeext=".exe"
  9224. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9225. /* end confdefs.h. */
  9226. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9227. _ACEOF
  9228. if ac_fn_c_try_link "$LINENO"; then :
  9229. ac_cv_crosscflags__Wpacked_not_aligned=yes
  9230. else
  9231. ac_cv_crosscflags__Wpacked_not_aligned=no
  9232. fi
  9233. rm -f core conftest.err conftest.$ac_objext \
  9234. conftest$ac_exeext conftest.$ac_ext
  9235. CFLAGS=$ac_wine_try_cflags_saved
  9236. CC=$ac_wine_try_cflags_saved_cc
  9237. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9238. fi
  9239. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
  9240. $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
  9241. if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
  9242. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
  9243. fi
  9244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
  9245. $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
  9246. if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
  9247. $as_echo_n "(cached) " >&6
  9248. else
  9249. ac_wine_try_cflags_saved=$CFLAGS
  9250. ac_wine_try_cflags_saved_cc=$CC
  9251. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9252. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
  9253. CC="$CROSSCC"
  9254. ac_exeext=".exe"
  9255. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9256. /* end confdefs.h. */
  9257. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9258. _ACEOF
  9259. if ac_fn_c_try_link "$LINENO"; then :
  9260. ac_cv_crosscflags__Wpragma_pack=yes
  9261. else
  9262. ac_cv_crosscflags__Wpragma_pack=no
  9263. fi
  9264. rm -f core conftest.err conftest.$ac_objext \
  9265. conftest$ac_exeext conftest.$ac_ext
  9266. CFLAGS=$ac_wine_try_cflags_saved
  9267. CC=$ac_wine_try_cflags_saved_cc
  9268. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9269. fi
  9270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
  9271. $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
  9272. if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
  9273. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
  9274. fi
  9275. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
  9276. $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
  9277. if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
  9278. $as_echo_n "(cached) " >&6
  9279. else
  9280. ac_wine_try_cflags_saved=$CFLAGS
  9281. ac_wine_try_cflags_saved_cc=$CC
  9282. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9283. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
  9284. CC="$CROSSCC"
  9285. ac_exeext=".exe"
  9286. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9287. /* end confdefs.h. */
  9288. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9289. _ACEOF
  9290. if ac_fn_c_try_link "$LINENO"; then :
  9291. ac_cv_crosscflags__Wshift_overflow_2=yes
  9292. else
  9293. ac_cv_crosscflags__Wshift_overflow_2=no
  9294. fi
  9295. rm -f core conftest.err conftest.$ac_objext \
  9296. conftest$ac_exeext conftest.$ac_ext
  9297. CFLAGS=$ac_wine_try_cflags_saved
  9298. CC=$ac_wine_try_cflags_saved_cc
  9299. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9300. fi
  9301. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
  9302. $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
  9303. if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
  9304. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
  9305. fi
  9306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
  9307. $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
  9308. if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
  9309. $as_echo_n "(cached) " >&6
  9310. else
  9311. ac_wine_try_cflags_saved=$CFLAGS
  9312. ac_wine_try_cflags_saved_cc=$CC
  9313. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9314. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
  9315. CC="$CROSSCC"
  9316. ac_exeext=".exe"
  9317. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9318. /* end confdefs.h. */
  9319. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9320. _ACEOF
  9321. if ac_fn_c_try_link "$LINENO"; then :
  9322. ac_cv_crosscflags__Wstrict_prototypes=yes
  9323. else
  9324. ac_cv_crosscflags__Wstrict_prototypes=no
  9325. fi
  9326. rm -f core conftest.err conftest.$ac_objext \
  9327. conftest$ac_exeext conftest.$ac_ext
  9328. CFLAGS=$ac_wine_try_cflags_saved
  9329. CC=$ac_wine_try_cflags_saved_cc
  9330. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9331. fi
  9332. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
  9333. $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
  9334. if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
  9335. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
  9336. fi
  9337. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
  9338. $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
  9339. if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
  9340. $as_echo_n "(cached) " >&6
  9341. else
  9342. ac_wine_try_cflags_saved=$CFLAGS
  9343. ac_wine_try_cflags_saved_cc=$CC
  9344. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9345. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
  9346. CC="$CROSSCC"
  9347. ac_exeext=".exe"
  9348. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9349. /* end confdefs.h. */
  9350. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9351. _ACEOF
  9352. if ac_fn_c_try_link "$LINENO"; then :
  9353. ac_cv_crosscflags__Wtype_limits=yes
  9354. else
  9355. ac_cv_crosscflags__Wtype_limits=no
  9356. fi
  9357. rm -f core conftest.err conftest.$ac_objext \
  9358. conftest$ac_exeext conftest.$ac_ext
  9359. CFLAGS=$ac_wine_try_cflags_saved
  9360. CC=$ac_wine_try_cflags_saved_cc
  9361. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9362. fi
  9363. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
  9364. $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
  9365. if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
  9366. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
  9367. fi
  9368. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
  9369. $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
  9370. if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
  9371. $as_echo_n "(cached) " >&6
  9372. else
  9373. ac_wine_try_cflags_saved=$CFLAGS
  9374. ac_wine_try_cflags_saved_cc=$CC
  9375. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9376. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
  9377. CC="$CROSSCC"
  9378. ac_exeext=".exe"
  9379. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9380. /* end confdefs.h. */
  9381. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9382. _ACEOF
  9383. if ac_fn_c_try_link "$LINENO"; then :
  9384. ac_cv_crosscflags__Wunused_but_set_parameter=yes
  9385. else
  9386. ac_cv_crosscflags__Wunused_but_set_parameter=no
  9387. fi
  9388. rm -f core conftest.err conftest.$ac_objext \
  9389. conftest$ac_exeext conftest.$ac_ext
  9390. CFLAGS=$ac_wine_try_cflags_saved
  9391. CC=$ac_wine_try_cflags_saved_cc
  9392. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9393. fi
  9394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
  9395. $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
  9396. if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
  9397. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
  9398. fi
  9399. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
  9400. $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
  9401. if ${ac_cv_crosscflags__Wvla+:} false; then :
  9402. $as_echo_n "(cached) " >&6
  9403. else
  9404. ac_wine_try_cflags_saved=$CFLAGS
  9405. ac_wine_try_cflags_saved_cc=$CC
  9406. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9407. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
  9408. CC="$CROSSCC"
  9409. ac_exeext=".exe"
  9410. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9411. /* end confdefs.h. */
  9412. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9413. _ACEOF
  9414. if ac_fn_c_try_link "$LINENO"; then :
  9415. ac_cv_crosscflags__Wvla=yes
  9416. else
  9417. ac_cv_crosscflags__Wvla=no
  9418. fi
  9419. rm -f core conftest.err conftest.$ac_objext \
  9420. conftest$ac_exeext conftest.$ac_ext
  9421. CFLAGS=$ac_wine_try_cflags_saved
  9422. CC=$ac_wine_try_cflags_saved_cc
  9423. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9424. fi
  9425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
  9426. $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
  9427. if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
  9428. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
  9429. fi
  9430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
  9431. $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
  9432. if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
  9433. $as_echo_n "(cached) " >&6
  9434. else
  9435. ac_wine_try_cflags_saved=$CFLAGS
  9436. ac_wine_try_cflags_saved_cc=$CC
  9437. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9438. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
  9439. CC="$CROSSCC"
  9440. ac_exeext=".exe"
  9441. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9442. /* end confdefs.h. */
  9443. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9444. _ACEOF
  9445. if ac_fn_c_try_link "$LINENO"; then :
  9446. ac_cv_crosscflags__Wwrite_strings=yes
  9447. else
  9448. ac_cv_crosscflags__Wwrite_strings=no
  9449. fi
  9450. rm -f core conftest.err conftest.$ac_objext \
  9451. conftest$ac_exeext conftest.$ac_ext
  9452. CFLAGS=$ac_wine_try_cflags_saved
  9453. CC=$ac_wine_try_cflags_saved_cc
  9454. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9455. fi
  9456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
  9457. $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
  9458. if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
  9459. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
  9460. fi
  9461. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
  9462. $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
  9463. if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
  9464. $as_echo_n "(cached) " >&6
  9465. else
  9466. ac_wine_try_cflags_saved=$CFLAGS
  9467. ac_wine_try_cflags_saved_cc=$CC
  9468. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9469. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
  9470. CC="$CROSSCC"
  9471. ac_exeext=".exe"
  9472. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9473. /* end confdefs.h. */
  9474. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9475. _ACEOF
  9476. if ac_fn_c_try_link "$LINENO"; then :
  9477. ac_cv_crosscflags__Wpointer_arith=yes
  9478. else
  9479. ac_cv_crosscflags__Wpointer_arith=no
  9480. fi
  9481. rm -f core conftest.err conftest.$ac_objext \
  9482. conftest$ac_exeext conftest.$ac_ext
  9483. CFLAGS=$ac_wine_try_cflags_saved
  9484. CC=$ac_wine_try_cflags_saved_cc
  9485. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9486. fi
  9487. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
  9488. $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
  9489. if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
  9490. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
  9491. fi
  9492. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
  9493. $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
  9494. if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
  9495. $as_echo_n "(cached) " >&6
  9496. else
  9497. ac_wine_try_cflags_saved=$CFLAGS
  9498. ac_wine_try_cflags_saved_cc=$CC
  9499. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9500. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
  9501. CC="$CROSSCC"
  9502. ac_exeext=".exe"
  9503. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9504. /* end confdefs.h. */
  9505. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9506. _ACEOF
  9507. if ac_fn_c_try_link "$LINENO"; then :
  9508. ac_cv_crosscflags__Wlogical_op=yes
  9509. else
  9510. ac_cv_crosscflags__Wlogical_op=no
  9511. fi
  9512. rm -f core conftest.err conftest.$ac_objext \
  9513. conftest$ac_exeext conftest.$ac_ext
  9514. CFLAGS=$ac_wine_try_cflags_saved
  9515. CC=$ac_wine_try_cflags_saved_cc
  9516. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9517. fi
  9518. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
  9519. $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
  9520. if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
  9521. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
  9522. fi
  9523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
  9524. $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
  9525. if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
  9526. $as_echo_n "(cached) " >&6
  9527. else
  9528. ac_wine_try_cflags_saved=$CFLAGS
  9529. ac_wine_try_cflags_saved_cc=$CC
  9530. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9531. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
  9532. CC="$CROSSCC"
  9533. ac_exeext=".exe"
  9534. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9535. /* end confdefs.h. */
  9536. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9537. _ACEOF
  9538. if ac_fn_c_try_link "$LINENO"; then :
  9539. ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
  9540. else
  9541. ac_cv_crosscflags__Wincompatible_library_redeclaration=no
  9542. fi
  9543. rm -f core conftest.err conftest.$ac_objext \
  9544. conftest$ac_exeext conftest.$ac_ext
  9545. CFLAGS=$ac_wine_try_cflags_saved
  9546. CC=$ac_wine_try_cflags_saved_cc
  9547. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9548. fi
  9549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
  9550. $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
  9551. if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
  9552. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
  9553. fi
  9554. case $host_cpu in
  9555. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
  9556. $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
  9557. if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
  9558. $as_echo_n "(cached) " >&6
  9559. else
  9560. ac_wine_try_cflags_saved=$CFLAGS
  9561. ac_wine_try_cflags_saved_cc=$CC
  9562. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9563. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
  9564. CC="$CROSSCC"
  9565. ac_exeext=".exe"
  9566. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9567. /* end confdefs.h. */
  9568. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9569. _ACEOF
  9570. if ac_fn_c_try_link "$LINENO"; then :
  9571. ac_cv_crosscflags__fno_omit_frame_pointer=yes
  9572. else
  9573. ac_cv_crosscflags__fno_omit_frame_pointer=no
  9574. fi
  9575. rm -f core conftest.err conftest.$ac_objext \
  9576. conftest$ac_exeext conftest.$ac_ext
  9577. CFLAGS=$ac_wine_try_cflags_saved
  9578. CC=$ac_wine_try_cflags_saved_cc
  9579. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9580. fi
  9581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
  9582. $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
  9583. if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
  9584. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
  9585. fi ;;
  9586. x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  9587. $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
  9588. if ${ac_cv_crosscflags__Wno_format+:} false; then :
  9589. $as_echo_n "(cached) " >&6
  9590. else
  9591. ac_wine_try_cflags_saved=$CFLAGS
  9592. ac_wine_try_cflags_saved_cc=$CC
  9593. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9594. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  9595. CC="$CROSSCC"
  9596. ac_exeext=".exe"
  9597. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9598. /* end confdefs.h. */
  9599. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9600. _ACEOF
  9601. if ac_fn_c_try_link "$LINENO"; then :
  9602. ac_cv_crosscflags__Wno_format=yes
  9603. else
  9604. ac_cv_crosscflags__Wno_format=no
  9605. fi
  9606. rm -f core conftest.err conftest.$ac_objext \
  9607. conftest$ac_exeext conftest.$ac_ext
  9608. CFLAGS=$ac_wine_try_cflags_saved
  9609. CC=$ac_wine_try_cflags_saved_cc
  9610. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9611. fi
  9612. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  9613. $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
  9614. if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
  9615. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  9616. fi
  9617. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
  9618. $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
  9619. if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
  9620. $as_echo_n "(cached) " >&6
  9621. else
  9622. ac_wine_try_cflags_saved=$CFLAGS
  9623. ac_wine_try_cflags_saved_cc=$CC
  9624. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9625. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
  9626. CC="$CROSSCC"
  9627. ac_exeext=".exe"
  9628. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9629. /* end confdefs.h. */
  9630. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9631. _ACEOF
  9632. if ac_fn_c_try_link "$LINENO"; then :
  9633. ac_cv_crosscflags__Wformat_overflow=yes
  9634. else
  9635. ac_cv_crosscflags__Wformat_overflow=no
  9636. fi
  9637. rm -f core conftest.err conftest.$ac_objext \
  9638. conftest$ac_exeext conftest.$ac_ext
  9639. CFLAGS=$ac_wine_try_cflags_saved
  9640. CC=$ac_wine_try_cflags_saved_cc
  9641. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9642. fi
  9643. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
  9644. $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
  9645. if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
  9646. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
  9647. fi
  9648. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
  9649. $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
  9650. if ${ac_cv_crosscflags__Wnonnull+:} false; then :
  9651. $as_echo_n "(cached) " >&6
  9652. else
  9653. ac_wine_try_cflags_saved=$CFLAGS
  9654. ac_wine_try_cflags_saved_cc=$CC
  9655. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9656. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
  9657. CC="$CROSSCC"
  9658. ac_exeext=".exe"
  9659. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9660. /* end confdefs.h. */
  9661. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9662. _ACEOF
  9663. if ac_fn_c_try_link "$LINENO"; then :
  9664. ac_cv_crosscflags__Wnonnull=yes
  9665. else
  9666. ac_cv_crosscflags__Wnonnull=no
  9667. fi
  9668. rm -f core conftest.err conftest.$ac_objext \
  9669. conftest$ac_exeext conftest.$ac_ext
  9670. CFLAGS=$ac_wine_try_cflags_saved
  9671. CC=$ac_wine_try_cflags_saved_cc
  9672. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9673. fi
  9674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
  9675. $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
  9676. if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
  9677. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
  9678. fi ;;
  9679. esac
  9680. for ac_flag in $CROSSCFLAGS; do
  9681. case $ac_flag in
  9682. -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
  9683. $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
  9684. if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
  9685. $as_echo_n "(cached) " >&6
  9686. else
  9687. ac_wine_try_cflags_saved=$CFLAGS
  9688. ac_wine_try_cflags_saved_cc=$CC
  9689. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9690. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
  9691. CC="$CROSSCC"
  9692. ac_exeext=".exe"
  9693. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9694. /* end confdefs.h. */
  9695. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9696. _ACEOF
  9697. if ac_fn_c_try_link "$LINENO"; then :
  9698. ac_cv_crosscflags__gdwarf_2=yes
  9699. else
  9700. ac_cv_crosscflags__gdwarf_2=no
  9701. fi
  9702. rm -f core conftest.err conftest.$ac_objext \
  9703. conftest$ac_exeext conftest.$ac_ext
  9704. CFLAGS=$ac_wine_try_cflags_saved
  9705. CC=$ac_wine_try_cflags_saved_cc
  9706. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9707. fi
  9708. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
  9709. $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
  9710. if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
  9711. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
  9712. fi
  9713. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
  9714. $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
  9715. if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
  9716. $as_echo_n "(cached) " >&6
  9717. else
  9718. ac_wine_try_cflags_saved=$CFLAGS
  9719. ac_wine_try_cflags_saved_cc=$CC
  9720. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9721. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
  9722. CC="$CROSSCC"
  9723. ac_exeext=".exe"
  9724. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9725. /* end confdefs.h. */
  9726. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9727. _ACEOF
  9728. if ac_fn_c_try_link "$LINENO"; then :
  9729. ac_cv_crosscflags__gstrict_dwarf=yes
  9730. else
  9731. ac_cv_crosscflags__gstrict_dwarf=no
  9732. fi
  9733. rm -f core conftest.err conftest.$ac_objext \
  9734. conftest$ac_exeext conftest.$ac_ext
  9735. CFLAGS=$ac_wine_try_cflags_saved
  9736. CC=$ac_wine_try_cflags_saved_cc
  9737. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9738. fi
  9739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
  9740. $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
  9741. if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
  9742. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
  9743. fi ;;
  9744. esac
  9745. done
  9746. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
  9747. $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
  9748. if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
  9749. $as_echo_n "(cached) " >&6
  9750. else
  9751. ac_wine_try_cflags_saved=$CFLAGS
  9752. ac_wine_try_cflags_saved_cc=$CC
  9753. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9754. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
  9755. CC="$CROSSCC"
  9756. ac_exeext=".exe"
  9757. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9758. /* end confdefs.h. */
  9759. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9760. _ACEOF
  9761. if ac_fn_c_try_link "$LINENO"; then :
  9762. ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
  9763. else
  9764. ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
  9765. fi
  9766. rm -f core conftest.err conftest.$ac_objext \
  9767. conftest$ac_exeext conftest.$ac_ext
  9768. CFLAGS=$ac_wine_try_cflags_saved
  9769. CC=$ac_wine_try_cflags_saved_cc
  9770. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9771. fi
  9772. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
  9773. $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
  9774. if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
  9775. DELAYLOADFLAG="-Wl,-delayload,"
  9776. fi
  9777. if test "x$enable_werror" = "xyes"
  9778. then
  9779. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
  9780. $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
  9781. if ${ac_cv_crosscflags__Werror+:} false; then :
  9782. $as_echo_n "(cached) " >&6
  9783. else
  9784. ac_wine_try_cflags_saved=$CFLAGS
  9785. ac_wine_try_cflags_saved_cc=$CC
  9786. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9787. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
  9788. CC="$CROSSCC"
  9789. ac_exeext=".exe"
  9790. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9791. /* end confdefs.h. */
  9792. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9793. _ACEOF
  9794. if ac_fn_c_try_link "$LINENO"; then :
  9795. ac_cv_crosscflags__Werror=yes
  9796. else
  9797. ac_cv_crosscflags__Werror=no
  9798. fi
  9799. rm -f core conftest.err conftest.$ac_objext \
  9800. conftest$ac_exeext conftest.$ac_ext
  9801. CFLAGS=$ac_wine_try_cflags_saved
  9802. CC=$ac_wine_try_cflags_saved_cc
  9803. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9804. fi
  9805. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
  9806. $as_echo "$ac_cv_crosscflags__Werror" >&6; }
  9807. if test "x$ac_cv_crosscflags__Werror" = xyes; then :
  9808. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
  9809. fi
  9810. fi
  9811. CFLAGS=$saved_CFLAGS
  9812. CC="$ac_save_CC"
  9813. fi
  9814. fi
  9815. if test "x$CROSSTARGET" = "x"; then :
  9816. case "x$with_mingw" in
  9817. x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
  9818. xno) ;;
  9819. *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
  9820. This is an error since --with-mingw was requested." "$LINENO" 5 ;;
  9821. esac
  9822. fi
  9823. if test "$ac_cv_header_pthread_h" = "yes"
  9824. then
  9825. ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
  9826. if test "x$ac_cv_func_pthread_create" = xyes; then :
  9827. else
  9828. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  9829. $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
  9830. if ${ac_cv_lib_pthread_pthread_create+:} false; then :
  9831. $as_echo_n "(cached) " >&6
  9832. else
  9833. ac_check_lib_save_LIBS=$LIBS
  9834. LIBS="-lpthread $LIBS"
  9835. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9836. /* end confdefs.h. */
  9837. /* Override any GCC internal prototype to avoid an error.
  9838. Use char because int might match the return type of a GCC
  9839. builtin and then its argument prototype would still apply. */
  9840. #ifdef __cplusplus
  9841. extern "C"
  9842. #endif
  9843. char pthread_create ();
  9844. int
  9845. main ()
  9846. {
  9847. return pthread_create ();
  9848. ;
  9849. return 0;
  9850. }
  9851. _ACEOF
  9852. if ac_fn_c_try_link "$LINENO"; then :
  9853. ac_cv_lib_pthread_pthread_create=yes
  9854. else
  9855. ac_cv_lib_pthread_pthread_create=no
  9856. fi
  9857. rm -f core conftest.err conftest.$ac_objext \
  9858. conftest$ac_exeext conftest.$ac_ext
  9859. LIBS=$ac_check_lib_save_LIBS
  9860. fi
  9861. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  9862. $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
  9863. if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
  9864. PTHREAD_LIBS="-lpthread"
  9865. fi
  9866. fi
  9867. fi
  9868. if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
  9869. case "x$with_pthread" in
  9870. xno) ;;
  9871. *) as_fn_error $? "pthread ${notice_platform}development files not found.
  9872. Wine cannot support threads without libpthread.
  9873. Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
  9874. esac
  9875. fi
  9876. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  9877. $as_echo_n "checking for X... " >&6; }
  9878. # Check whether --with-x was given.
  9879. if test "${with_x+set}" = set; then :
  9880. withval=$with_x;
  9881. fi
  9882. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  9883. if test "x$with_x" = xno; then
  9884. # The user explicitly disabled X.
  9885. have_x=disabled
  9886. else
  9887. case $x_includes,$x_libraries in #(
  9888. *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  9889. *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
  9890. $as_echo_n "(cached) " >&6
  9891. else
  9892. # One or both of the vars are not set, and there is no cached value.
  9893. ac_x_includes=no ac_x_libraries=no
  9894. rm -f -r conftest.dir
  9895. if mkdir conftest.dir; then
  9896. cd conftest.dir
  9897. cat >Imakefile <<'_ACEOF'
  9898. incroot:
  9899. @echo incroot='${INCROOT}'
  9900. usrlibdir:
  9901. @echo usrlibdir='${USRLIBDIR}'
  9902. libdir:
  9903. @echo libdir='${LIBDIR}'
  9904. _ACEOF
  9905. if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  9906. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  9907. for ac_var in incroot usrlibdir libdir; do
  9908. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  9909. done
  9910. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  9911. for ac_extension in a so sl dylib la dll; do
  9912. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  9913. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  9914. ac_im_usrlibdir=$ac_im_libdir; break
  9915. fi
  9916. done
  9917. # Screen out bogus values from the imake configuration. They are
  9918. # bogus both because they are the default anyway, and because
  9919. # using them would break gcc on systems where it needs fixed includes.
  9920. case $ac_im_incroot in
  9921. /usr/include) ac_x_includes= ;;
  9922. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  9923. esac
  9924. case $ac_im_usrlibdir in
  9925. /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  9926. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  9927. esac
  9928. fi
  9929. cd ..
  9930. rm -f -r conftest.dir
  9931. fi
  9932. # Standard set of common directories for X headers.
  9933. # Check X11 before X11Rn because it is often a symlink to the current release.
  9934. ac_x_header_dirs='
  9935. /usr/X11/include
  9936. /usr/X11R7/include
  9937. /usr/X11R6/include
  9938. /usr/X11R5/include
  9939. /usr/X11R4/include
  9940. /usr/include/X11
  9941. /usr/include/X11R7
  9942. /usr/include/X11R6
  9943. /usr/include/X11R5
  9944. /usr/include/X11R4
  9945. /usr/local/X11/include
  9946. /usr/local/X11R7/include
  9947. /usr/local/X11R6/include
  9948. /usr/local/X11R5/include
  9949. /usr/local/X11R4/include
  9950. /usr/local/include/X11
  9951. /usr/local/include/X11R7
  9952. /usr/local/include/X11R6
  9953. /usr/local/include/X11R5
  9954. /usr/local/include/X11R4
  9955. /usr/X386/include
  9956. /usr/x386/include
  9957. /usr/XFree86/include/X11
  9958. /usr/include
  9959. /usr/local/include
  9960. /usr/unsupported/include
  9961. /usr/athena/include
  9962. /usr/local/x11r5/include
  9963. /usr/lpp/Xamples/include
  9964. /usr/openwin/include
  9965. /usr/openwin/share/include'
  9966. if test "$ac_x_includes" = no; then
  9967. # Guess where to find include files, by looking for Xlib.h.
  9968. # First, try using that file with no special directory specified.
  9969. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9970. /* end confdefs.h. */
  9971. #include <X11/Xlib.h>
  9972. _ACEOF
  9973. if ac_fn_c_try_cpp "$LINENO"; then :
  9974. # We can compile using X headers with no special include directory.
  9975. ac_x_includes=
  9976. else
  9977. for ac_dir in $ac_x_header_dirs; do
  9978. if test -r "$ac_dir/X11/Xlib.h"; then
  9979. ac_x_includes=$ac_dir
  9980. break
  9981. fi
  9982. done
  9983. fi
  9984. rm -f conftest.err conftest.i conftest.$ac_ext
  9985. fi # $ac_x_includes = no
  9986. if test "$ac_x_libraries" = no; then
  9987. # Check for the libraries.
  9988. # See if we find them without any special options.
  9989. # Don't add to $LIBS permanently.
  9990. ac_save_LIBS=$LIBS
  9991. LIBS="-lX11 $LIBS"
  9992. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9993. /* end confdefs.h. */
  9994. #include <X11/Xlib.h>
  9995. int
  9996. main ()
  9997. {
  9998. XrmInitialize ()
  9999. ;
  10000. return 0;
  10001. }
  10002. _ACEOF
  10003. if ac_fn_c_try_link "$LINENO"; then :
  10004. LIBS=$ac_save_LIBS
  10005. # We can link X programs with no special library path.
  10006. ac_x_libraries=
  10007. else
  10008. LIBS=$ac_save_LIBS
  10009. for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  10010. do
  10011. # Don't even attempt the hair of trying to link an X program!
  10012. for ac_extension in a so sl dylib la dll; do
  10013. if test -r "$ac_dir/libX11.$ac_extension"; then
  10014. ac_x_libraries=$ac_dir
  10015. break 2
  10016. fi
  10017. done
  10018. done
  10019. fi
  10020. rm -f core conftest.err conftest.$ac_objext \
  10021. conftest$ac_exeext conftest.$ac_ext
  10022. fi # $ac_x_libraries = no
  10023. case $ac_x_includes,$ac_x_libraries in #(
  10024. no,* | *,no | *\'*)
  10025. # Didn't find X, or a directory has "'" in its name.
  10026. ac_cv_have_x="have_x=no";; #(
  10027. *)
  10028. # Record where we found X for the cache.
  10029. ac_cv_have_x="have_x=yes\
  10030. ac_x_includes='$ac_x_includes'\
  10031. ac_x_libraries='$ac_x_libraries'"
  10032. esac
  10033. fi
  10034. ;; #(
  10035. *) have_x=yes;;
  10036. esac
  10037. eval "$ac_cv_have_x"
  10038. fi # $with_x != no
  10039. if test "$have_x" != yes; then
  10040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  10041. $as_echo "$have_x" >&6; }
  10042. no_x=yes
  10043. else
  10044. # If each of the values was on the command line, it overrides each guess.
  10045. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  10046. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  10047. # Update the cache value to reflect the command line values.
  10048. ac_cv_have_x="have_x=yes\
  10049. ac_x_includes='$x_includes'\
  10050. ac_x_libraries='$x_libraries'"
  10051. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  10052. $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  10053. fi
  10054. if test "$no_x" = yes; then
  10055. # Not all programs may use this symbol, but it does not hurt to define it.
  10056. $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
  10057. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  10058. else
  10059. if test -n "$x_includes"; then
  10060. X_CFLAGS="$X_CFLAGS -I$x_includes"
  10061. fi
  10062. # It would also be nice to do this for all -L options, not just this one.
  10063. if test -n "$x_libraries"; then
  10064. X_LIBS="$X_LIBS -L$x_libraries"
  10065. # For Solaris; some versions of Sun CC require a space after -R and
  10066. # others require no space. Words are not sufficient . . . .
  10067. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  10068. $as_echo_n "checking whether -R must be followed by a space... " >&6; }
  10069. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  10070. ac_xsave_c_werror_flag=$ac_c_werror_flag
  10071. ac_c_werror_flag=yes
  10072. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10073. /* end confdefs.h. */
  10074. int
  10075. main ()
  10076. {
  10077. ;
  10078. return 0;
  10079. }
  10080. _ACEOF
  10081. if ac_fn_c_try_link "$LINENO"; then :
  10082. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10083. $as_echo "no" >&6; }
  10084. X_LIBS="$X_LIBS -R$x_libraries"
  10085. else
  10086. LIBS="$ac_xsave_LIBS -R $x_libraries"
  10087. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10088. /* end confdefs.h. */
  10089. int
  10090. main ()
  10091. {
  10092. ;
  10093. return 0;
  10094. }
  10095. _ACEOF
  10096. if ac_fn_c_try_link "$LINENO"; then :
  10097. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10098. $as_echo "yes" >&6; }
  10099. X_LIBS="$X_LIBS -R $x_libraries"
  10100. else
  10101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  10102. $as_echo "neither works" >&6; }
  10103. fi
  10104. rm -f core conftest.err conftest.$ac_objext \
  10105. conftest$ac_exeext conftest.$ac_ext
  10106. fi
  10107. rm -f core conftest.err conftest.$ac_objext \
  10108. conftest$ac_exeext conftest.$ac_ext
  10109. ac_c_werror_flag=$ac_xsave_c_werror_flag
  10110. LIBS=$ac_xsave_LIBS
  10111. fi
  10112. # Check for system-dependent libraries X programs must link with.
  10113. # Do this before checking for the system-independent R6 libraries
  10114. # (-lICE), since we may need -lsocket or whatever for X linking.
  10115. if test "$ISC" = yes; then
  10116. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  10117. else
  10118. # Martyn Johnson says this is needed for Ultrix, if the X
  10119. # libraries were built with DECnet support. And Karl Berry says
  10120. # the Alpha needs dnet_stub (dnet does not exist).
  10121. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  10122. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10123. /* end confdefs.h. */
  10124. /* Override any GCC internal prototype to avoid an error.
  10125. Use char because int might match the return type of a GCC
  10126. builtin and then its argument prototype would still apply. */
  10127. #ifdef __cplusplus
  10128. extern "C"
  10129. #endif
  10130. char XOpenDisplay ();
  10131. int
  10132. main ()
  10133. {
  10134. return XOpenDisplay ();
  10135. ;
  10136. return 0;
  10137. }
  10138. _ACEOF
  10139. if ac_fn_c_try_link "$LINENO"; then :
  10140. else
  10141. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  10142. $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
  10143. if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
  10144. $as_echo_n "(cached) " >&6
  10145. else
  10146. ac_check_lib_save_LIBS=$LIBS
  10147. LIBS="-ldnet $LIBS"
  10148. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10149. /* end confdefs.h. */
  10150. /* Override any GCC internal prototype to avoid an error.
  10151. Use char because int might match the return type of a GCC
  10152. builtin and then its argument prototype would still apply. */
  10153. #ifdef __cplusplus
  10154. extern "C"
  10155. #endif
  10156. char dnet_ntoa ();
  10157. int
  10158. main ()
  10159. {
  10160. return dnet_ntoa ();
  10161. ;
  10162. return 0;
  10163. }
  10164. _ACEOF
  10165. if ac_fn_c_try_link "$LINENO"; then :
  10166. ac_cv_lib_dnet_dnet_ntoa=yes
  10167. else
  10168. ac_cv_lib_dnet_dnet_ntoa=no
  10169. fi
  10170. rm -f core conftest.err conftest.$ac_objext \
  10171. conftest$ac_exeext conftest.$ac_ext
  10172. LIBS=$ac_check_lib_save_LIBS
  10173. fi
  10174. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  10175. $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  10176. if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
  10177. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  10178. fi
  10179. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  10180. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  10181. $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  10182. if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
  10183. $as_echo_n "(cached) " >&6
  10184. else
  10185. ac_check_lib_save_LIBS=$LIBS
  10186. LIBS="-ldnet_stub $LIBS"
  10187. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10188. /* end confdefs.h. */
  10189. /* Override any GCC internal prototype to avoid an error.
  10190. Use char because int might match the return type of a GCC
  10191. builtin and then its argument prototype would still apply. */
  10192. #ifdef __cplusplus
  10193. extern "C"
  10194. #endif
  10195. char dnet_ntoa ();
  10196. int
  10197. main ()
  10198. {
  10199. return dnet_ntoa ();
  10200. ;
  10201. return 0;
  10202. }
  10203. _ACEOF
  10204. if ac_fn_c_try_link "$LINENO"; then :
  10205. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  10206. else
  10207. ac_cv_lib_dnet_stub_dnet_ntoa=no
  10208. fi
  10209. rm -f core conftest.err conftest.$ac_objext \
  10210. conftest$ac_exeext conftest.$ac_ext
  10211. LIBS=$ac_check_lib_save_LIBS
  10212. fi
  10213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  10214. $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  10215. if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
  10216. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  10217. fi
  10218. fi
  10219. fi
  10220. rm -f core conftest.err conftest.$ac_objext \
  10221. conftest$ac_exeext conftest.$ac_ext
  10222. LIBS="$ac_xsave_LIBS"
  10223. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  10224. # to get the SysV transport functions.
  10225. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  10226. # needs -lnsl.
  10227. # The nsl library prevents programs from opening the X display
  10228. # on Irix 5.2, according to T.E. Dickey.
  10229. # The functions gethostbyname, getservbyname, and inet_addr are
  10230. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  10231. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  10232. if test "x$ac_cv_func_gethostbyname" = xyes; then :
  10233. fi
  10234. if test $ac_cv_func_gethostbyname = no; then
  10235. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  10236. $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
  10237. if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
  10238. $as_echo_n "(cached) " >&6
  10239. else
  10240. ac_check_lib_save_LIBS=$LIBS
  10241. LIBS="-lnsl $LIBS"
  10242. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10243. /* end confdefs.h. */
  10244. /* Override any GCC internal prototype to avoid an error.
  10245. Use char because int might match the return type of a GCC
  10246. builtin and then its argument prototype would still apply. */
  10247. #ifdef __cplusplus
  10248. extern "C"
  10249. #endif
  10250. char gethostbyname ();
  10251. int
  10252. main ()
  10253. {
  10254. return gethostbyname ();
  10255. ;
  10256. return 0;
  10257. }
  10258. _ACEOF
  10259. if ac_fn_c_try_link "$LINENO"; then :
  10260. ac_cv_lib_nsl_gethostbyname=yes
  10261. else
  10262. ac_cv_lib_nsl_gethostbyname=no
  10263. fi
  10264. rm -f core conftest.err conftest.$ac_objext \
  10265. conftest$ac_exeext conftest.$ac_ext
  10266. LIBS=$ac_check_lib_save_LIBS
  10267. fi
  10268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  10269. $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
  10270. if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
  10271. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  10272. fi
  10273. if test $ac_cv_lib_nsl_gethostbyname = no; then
  10274. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  10275. $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
  10276. if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
  10277. $as_echo_n "(cached) " >&6
  10278. else
  10279. ac_check_lib_save_LIBS=$LIBS
  10280. LIBS="-lbsd $LIBS"
  10281. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10282. /* end confdefs.h. */
  10283. /* Override any GCC internal prototype to avoid an error.
  10284. Use char because int might match the return type of a GCC
  10285. builtin and then its argument prototype would still apply. */
  10286. #ifdef __cplusplus
  10287. extern "C"
  10288. #endif
  10289. char gethostbyname ();
  10290. int
  10291. main ()
  10292. {
  10293. return gethostbyname ();
  10294. ;
  10295. return 0;
  10296. }
  10297. _ACEOF
  10298. if ac_fn_c_try_link "$LINENO"; then :
  10299. ac_cv_lib_bsd_gethostbyname=yes
  10300. else
  10301. ac_cv_lib_bsd_gethostbyname=no
  10302. fi
  10303. rm -f core conftest.err conftest.$ac_objext \
  10304. conftest$ac_exeext conftest.$ac_ext
  10305. LIBS=$ac_check_lib_save_LIBS
  10306. fi
  10307. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  10308. $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
  10309. if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
  10310. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  10311. fi
  10312. fi
  10313. fi
  10314. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  10315. # socket/setsockopt and other routines are undefined under SCO ODT
  10316. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  10317. # on later versions), says Simon Leinen: it contains gethostby*
  10318. # variants that don't use the name server (or something). -lsocket
  10319. # must be given before -lnsl if both are needed. We assume that
  10320. # if connect needs -lnsl, so does gethostbyname.
  10321. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  10322. if test "x$ac_cv_func_connect" = xyes; then :
  10323. fi
  10324. if test $ac_cv_func_connect = no; then
  10325. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  10326. $as_echo_n "checking for connect in -lsocket... " >&6; }
  10327. if ${ac_cv_lib_socket_connect+:} false; then :
  10328. $as_echo_n "(cached) " >&6
  10329. else
  10330. ac_check_lib_save_LIBS=$LIBS
  10331. LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  10332. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10333. /* end confdefs.h. */
  10334. /* Override any GCC internal prototype to avoid an error.
  10335. Use char because int might match the return type of a GCC
  10336. builtin and then its argument prototype would still apply. */
  10337. #ifdef __cplusplus
  10338. extern "C"
  10339. #endif
  10340. char connect ();
  10341. int
  10342. main ()
  10343. {
  10344. return connect ();
  10345. ;
  10346. return 0;
  10347. }
  10348. _ACEOF
  10349. if ac_fn_c_try_link "$LINENO"; then :
  10350. ac_cv_lib_socket_connect=yes
  10351. else
  10352. ac_cv_lib_socket_connect=no
  10353. fi
  10354. rm -f core conftest.err conftest.$ac_objext \
  10355. conftest$ac_exeext conftest.$ac_ext
  10356. LIBS=$ac_check_lib_save_LIBS
  10357. fi
  10358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  10359. $as_echo "$ac_cv_lib_socket_connect" >&6; }
  10360. if test "x$ac_cv_lib_socket_connect" = xyes; then :
  10361. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  10362. fi
  10363. fi
  10364. # Guillermo Gomez says -lposix is necessary on A/UX.
  10365. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  10366. if test "x$ac_cv_func_remove" = xyes; then :
  10367. fi
  10368. if test $ac_cv_func_remove = no; then
  10369. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  10370. $as_echo_n "checking for remove in -lposix... " >&6; }
  10371. if ${ac_cv_lib_posix_remove+:} false; then :
  10372. $as_echo_n "(cached) " >&6
  10373. else
  10374. ac_check_lib_save_LIBS=$LIBS
  10375. LIBS="-lposix $LIBS"
  10376. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10377. /* end confdefs.h. */
  10378. /* Override any GCC internal prototype to avoid an error.
  10379. Use char because int might match the return type of a GCC
  10380. builtin and then its argument prototype would still apply. */
  10381. #ifdef __cplusplus
  10382. extern "C"
  10383. #endif
  10384. char remove ();
  10385. int
  10386. main ()
  10387. {
  10388. return remove ();
  10389. ;
  10390. return 0;
  10391. }
  10392. _ACEOF
  10393. if ac_fn_c_try_link "$LINENO"; then :
  10394. ac_cv_lib_posix_remove=yes
  10395. else
  10396. ac_cv_lib_posix_remove=no
  10397. fi
  10398. rm -f core conftest.err conftest.$ac_objext \
  10399. conftest$ac_exeext conftest.$ac_ext
  10400. LIBS=$ac_check_lib_save_LIBS
  10401. fi
  10402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  10403. $as_echo "$ac_cv_lib_posix_remove" >&6; }
  10404. if test "x$ac_cv_lib_posix_remove" = xyes; then :
  10405. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  10406. fi
  10407. fi
  10408. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  10409. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  10410. if test "x$ac_cv_func_shmat" = xyes; then :
  10411. fi
  10412. if test $ac_cv_func_shmat = no; then
  10413. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  10414. $as_echo_n "checking for shmat in -lipc... " >&6; }
  10415. if ${ac_cv_lib_ipc_shmat+:} false; then :
  10416. $as_echo_n "(cached) " >&6
  10417. else
  10418. ac_check_lib_save_LIBS=$LIBS
  10419. LIBS="-lipc $LIBS"
  10420. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10421. /* end confdefs.h. */
  10422. /* Override any GCC internal prototype to avoid an error.
  10423. Use char because int might match the return type of a GCC
  10424. builtin and then its argument prototype would still apply. */
  10425. #ifdef __cplusplus
  10426. extern "C"
  10427. #endif
  10428. char shmat ();
  10429. int
  10430. main ()
  10431. {
  10432. return shmat ();
  10433. ;
  10434. return 0;
  10435. }
  10436. _ACEOF
  10437. if ac_fn_c_try_link "$LINENO"; then :
  10438. ac_cv_lib_ipc_shmat=yes
  10439. else
  10440. ac_cv_lib_ipc_shmat=no
  10441. fi
  10442. rm -f core conftest.err conftest.$ac_objext \
  10443. conftest$ac_exeext conftest.$ac_ext
  10444. LIBS=$ac_check_lib_save_LIBS
  10445. fi
  10446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  10447. $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
  10448. if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
  10449. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  10450. fi
  10451. fi
  10452. fi
  10453. # Check for libraries that X11R6 Xt/Xaw programs need.
  10454. ac_save_LDFLAGS=$LDFLAGS
  10455. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  10456. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  10457. # check for ICE first), but we must link in the order -lSM -lICE or
  10458. # we get undefined symbols. So assume we have SM if we have ICE.
  10459. # These have to be linked with before -lX11, unlike the other
  10460. # libraries we check for below, so use a different variable.
  10461. # John Interrante, Karl Berry
  10462. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  10463. $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
  10464. if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
  10465. $as_echo_n "(cached) " >&6
  10466. else
  10467. ac_check_lib_save_LIBS=$LIBS
  10468. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  10469. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10470. /* end confdefs.h. */
  10471. /* Override any GCC internal prototype to avoid an error.
  10472. Use char because int might match the return type of a GCC
  10473. builtin and then its argument prototype would still apply. */
  10474. #ifdef __cplusplus
  10475. extern "C"
  10476. #endif
  10477. char IceConnectionNumber ();
  10478. int
  10479. main ()
  10480. {
  10481. return IceConnectionNumber ();
  10482. ;
  10483. return 0;
  10484. }
  10485. _ACEOF
  10486. if ac_fn_c_try_link "$LINENO"; then :
  10487. ac_cv_lib_ICE_IceConnectionNumber=yes
  10488. else
  10489. ac_cv_lib_ICE_IceConnectionNumber=no
  10490. fi
  10491. rm -f core conftest.err conftest.$ac_objext \
  10492. conftest$ac_exeext conftest.$ac_ext
  10493. LIBS=$ac_check_lib_save_LIBS
  10494. fi
  10495. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  10496. $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  10497. if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
  10498. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  10499. fi
  10500. LDFLAGS=$ac_save_LDFLAGS
  10501. fi
  10502. if test "$have_x" = "yes"
  10503. then
  10504. ac_save_CPPFLAGS="$CPPFLAGS"
  10505. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  10506. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
  10507. $as_echo_n "checking for -lX11... " >&6; }
  10508. if ${ac_cv_lib_soname_X11+:} false; then :
  10509. $as_echo_n "(cached) " >&6
  10510. else
  10511. ac_check_soname_save_LIBS=$LIBS
  10512. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  10513. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10514. /* end confdefs.h. */
  10515. /* Override any GCC internal prototype to avoid an error.
  10516. Use char because int might match the return type of a GCC
  10517. builtin and then its argument prototype would still apply. */
  10518. #ifdef __cplusplus
  10519. extern "C"
  10520. #endif
  10521. char XCreateWindow ();
  10522. int
  10523. main ()
  10524. {
  10525. return XCreateWindow ();
  10526. ;
  10527. return 0;
  10528. }
  10529. _ACEOF
  10530. if ac_fn_c_try_link "$LINENO"; then :
  10531. case "$LIBEXT" in
  10532. dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10533. 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'` ;;
  10534. *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10535. if ${ac_cv_lib_soname_X11:+false} :; then :
  10536. ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10537. fi ;;
  10538. esac
  10539. else
  10540. ac_cv_lib_soname_X11=
  10541. fi
  10542. rm -f core conftest.err conftest.$ac_objext \
  10543. conftest$ac_exeext conftest.$ac_ext
  10544. LIBS=$ac_check_soname_save_LIBS
  10545. fi
  10546. if ${ac_cv_lib_soname_X11:+false} :; then :
  10547. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10548. $as_echo "not found" >&6; }
  10549. else
  10550. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
  10551. $as_echo "$ac_cv_lib_soname_X11" >&6; }
  10552. cat >>confdefs.h <<_ACEOF
  10553. #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
  10554. _ACEOF
  10555. fi
  10556. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
  10557. $as_echo_n "checking for -lXext... " >&6; }
  10558. if ${ac_cv_lib_soname_Xext+:} false; then :
  10559. $as_echo_n "(cached) " >&6
  10560. else
  10561. ac_check_soname_save_LIBS=$LIBS
  10562. LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
  10563. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10564. /* end confdefs.h. */
  10565. /* Override any GCC internal prototype to avoid an error.
  10566. Use char because int might match the return type of a GCC
  10567. builtin and then its argument prototype would still apply. */
  10568. #ifdef __cplusplus
  10569. extern "C"
  10570. #endif
  10571. char XextCreateExtension ();
  10572. int
  10573. main ()
  10574. {
  10575. return XextCreateExtension ();
  10576. ;
  10577. return 0;
  10578. }
  10579. _ACEOF
  10580. if ac_fn_c_try_link "$LINENO"; then :
  10581. case "$LIBEXT" in
  10582. dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10583. 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'` ;;
  10584. *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10585. if ${ac_cv_lib_soname_Xext:+false} :; then :
  10586. ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10587. fi ;;
  10588. esac
  10589. else
  10590. ac_cv_lib_soname_Xext=
  10591. fi
  10592. rm -f core conftest.err conftest.$ac_objext \
  10593. conftest$ac_exeext conftest.$ac_ext
  10594. LIBS=$ac_check_soname_save_LIBS
  10595. fi
  10596. if ${ac_cv_lib_soname_Xext:+false} :; then :
  10597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10598. $as_echo "not found" >&6; }
  10599. else
  10600. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
  10601. $as_echo "$ac_cv_lib_soname_Xext" >&6; }
  10602. cat >>confdefs.h <<_ACEOF
  10603. #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
  10604. _ACEOF
  10605. X_LIBS="$X_LIBS -lXext"
  10606. fi
  10607. X_LIBS="$X_LIBS -lX11"
  10608. for ac_header in X11/Xlib.h \
  10609. X11/XKBlib.h \
  10610. X11/Xutil.h \
  10611. X11/Xcursor/Xcursor.h \
  10612. X11/extensions/shape.h \
  10613. X11/extensions/XInput.h \
  10614. X11/extensions/XInput2.h \
  10615. X11/extensions/XShm.h \
  10616. X11/extensions/Xcomposite.h \
  10617. X11/extensions/Xfixes.h \
  10618. X11/extensions/Xinerama.h \
  10619. X11/extensions/Xrandr.h \
  10620. X11/extensions/Xrender.h \
  10621. X11/extensions/xf86vmode.h \
  10622. X11/extensions/xf86vmproto.h
  10623. do :
  10624. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  10625. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
  10626. # include <X11/Xlib.h>
  10627. #endif
  10628. #ifdef HAVE_X11_XUTIL_H
  10629. # include <X11/Xutil.h>
  10630. #endif
  10631. "
  10632. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  10633. cat >>confdefs.h <<_ACEOF
  10634. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  10635. _ACEOF
  10636. fi
  10637. done
  10638. if test "$ac_cv_header_X11_XKBlib_h" = "yes"
  10639. then
  10640. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
  10641. $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
  10642. if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
  10643. $as_echo_n "(cached) " >&6
  10644. else
  10645. ac_check_lib_save_LIBS=$LIBS
  10646. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  10647. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10648. /* end confdefs.h. */
  10649. /* Override any GCC internal prototype to avoid an error.
  10650. Use char because int might match the return type of a GCC
  10651. builtin and then its argument prototype would still apply. */
  10652. #ifdef __cplusplus
  10653. extern "C"
  10654. #endif
  10655. char XkbQueryExtension ();
  10656. int
  10657. main ()
  10658. {
  10659. return XkbQueryExtension ();
  10660. ;
  10661. return 0;
  10662. }
  10663. _ACEOF
  10664. if ac_fn_c_try_link "$LINENO"; then :
  10665. ac_cv_lib_X11_XkbQueryExtension=yes
  10666. else
  10667. ac_cv_lib_X11_XkbQueryExtension=no
  10668. fi
  10669. rm -f core conftest.err conftest.$ac_objext \
  10670. conftest$ac_exeext conftest.$ac_ext
  10671. LIBS=$ac_check_lib_save_LIBS
  10672. fi
  10673. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
  10674. $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
  10675. if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
  10676. $as_echo "#define HAVE_XKB 1" >>confdefs.h
  10677. fi
  10678. fi
  10679. if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
  10680. then
  10681. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
  10682. $as_echo_n "checking for -lXcursor... " >&6; }
  10683. if ${ac_cv_lib_soname_Xcursor+:} false; then :
  10684. $as_echo_n "(cached) " >&6
  10685. else
  10686. ac_check_soname_save_LIBS=$LIBS
  10687. LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
  10688. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10689. /* end confdefs.h. */
  10690. /* Override any GCC internal prototype to avoid an error.
  10691. Use char because int might match the return type of a GCC
  10692. builtin and then its argument prototype would still apply. */
  10693. #ifdef __cplusplus
  10694. extern "C"
  10695. #endif
  10696. char XcursorImageLoadCursor ();
  10697. int
  10698. main ()
  10699. {
  10700. return XcursorImageLoadCursor ();
  10701. ;
  10702. return 0;
  10703. }
  10704. _ACEOF
  10705. if ac_fn_c_try_link "$LINENO"; then :
  10706. case "$LIBEXT" in
  10707. dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10708. 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'` ;;
  10709. *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10710. if ${ac_cv_lib_soname_Xcursor:+false} :; then :
  10711. ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10712. fi ;;
  10713. esac
  10714. else
  10715. ac_cv_lib_soname_Xcursor=
  10716. fi
  10717. rm -f core conftest.err conftest.$ac_objext \
  10718. conftest$ac_exeext conftest.$ac_ext
  10719. LIBS=$ac_check_soname_save_LIBS
  10720. fi
  10721. if ${ac_cv_lib_soname_Xcursor:+false} :; then :
  10722. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10723. $as_echo "not found" >&6; }
  10724. else
  10725. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
  10726. $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
  10727. cat >>confdefs.h <<_ACEOF
  10728. #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
  10729. _ACEOF
  10730. fi
  10731. fi
  10732. if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
  10733. case "x$with_xcursor" in
  10734. x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
  10735. xno) ;;
  10736. *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
  10737. This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
  10738. esac
  10739. fi
  10740. if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
  10741. then
  10742. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
  10743. $as_echo_n "checking for -lXi... " >&6; }
  10744. if ${ac_cv_lib_soname_Xi+:} false; then :
  10745. $as_echo_n "(cached) " >&6
  10746. else
  10747. ac_check_soname_save_LIBS=$LIBS
  10748. LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
  10749. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10750. /* end confdefs.h. */
  10751. /* Override any GCC internal prototype to avoid an error.
  10752. Use char because int might match the return type of a GCC
  10753. builtin and then its argument prototype would still apply. */
  10754. #ifdef __cplusplus
  10755. extern "C"
  10756. #endif
  10757. char XOpenDevice ();
  10758. int
  10759. main ()
  10760. {
  10761. return XOpenDevice ();
  10762. ;
  10763. return 0;
  10764. }
  10765. _ACEOF
  10766. if ac_fn_c_try_link "$LINENO"; then :
  10767. case "$LIBEXT" in
  10768. dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10769. 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'` ;;
  10770. *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10771. if ${ac_cv_lib_soname_Xi:+false} :; then :
  10772. ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10773. fi ;;
  10774. esac
  10775. else
  10776. ac_cv_lib_soname_Xi=
  10777. fi
  10778. rm -f core conftest.err conftest.$ac_objext \
  10779. conftest$ac_exeext conftest.$ac_ext
  10780. LIBS=$ac_check_soname_save_LIBS
  10781. fi
  10782. if ${ac_cv_lib_soname_Xi:+false} :; then :
  10783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10784. $as_echo "not found" >&6; }
  10785. else
  10786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
  10787. $as_echo "$ac_cv_lib_soname_Xi" >&6; }
  10788. cat >>confdefs.h <<_ACEOF
  10789. #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
  10790. _ACEOF
  10791. fi
  10792. fi
  10793. if test "x$ac_cv_lib_soname_Xi" = "x"; then :
  10794. case "x$with_xinput" in
  10795. x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
  10796. xno) ;;
  10797. *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
  10798. This is an error since --with-xinput was requested." "$LINENO" 5 ;;
  10799. esac
  10800. fi
  10801. if test "x$ac_cv_lib_soname_Xi" != x
  10802. then
  10803. if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
  10804. case "x$with_xinput2" in
  10805. x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
  10806. xno) ;;
  10807. *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
  10808. This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
  10809. esac
  10810. fi
  10811. fi
  10812. if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
  10813. then
  10814. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
  10815. $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
  10816. if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
  10817. $as_echo_n "(cached) " >&6
  10818. else
  10819. ac_check_lib_save_LIBS=$LIBS
  10820. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  10821. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10822. /* end confdefs.h. */
  10823. /* Override any GCC internal prototype to avoid an error.
  10824. Use char because int might match the return type of a GCC
  10825. builtin and then its argument prototype would still apply. */
  10826. #ifdef __cplusplus
  10827. extern "C"
  10828. #endif
  10829. char XShmQueryExtension ();
  10830. int
  10831. main ()
  10832. {
  10833. return XShmQueryExtension ();
  10834. ;
  10835. return 0;
  10836. }
  10837. _ACEOF
  10838. if ac_fn_c_try_link "$LINENO"; then :
  10839. ac_cv_lib_Xext_XShmQueryExtension=yes
  10840. else
  10841. ac_cv_lib_Xext_XShmQueryExtension=no
  10842. fi
  10843. rm -f core conftest.err conftest.$ac_objext \
  10844. conftest$ac_exeext conftest.$ac_ext
  10845. LIBS=$ac_check_lib_save_LIBS
  10846. fi
  10847. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
  10848. $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
  10849. if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
  10850. $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
  10851. fi
  10852. fi
  10853. if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
  10854. case "x$with_xshm" in
  10855. x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
  10856. xno) ;;
  10857. *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
  10858. This is an error since --with-xshm was requested." "$LINENO" 5 ;;
  10859. esac
  10860. fi
  10861. if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
  10862. then
  10863. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
  10864. $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
  10865. if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
  10866. $as_echo_n "(cached) " >&6
  10867. else
  10868. ac_check_lib_save_LIBS=$LIBS
  10869. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  10870. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10871. /* end confdefs.h. */
  10872. /* Override any GCC internal prototype to avoid an error.
  10873. Use char because int might match the return type of a GCC
  10874. builtin and then its argument prototype would still apply. */
  10875. #ifdef __cplusplus
  10876. extern "C"
  10877. #endif
  10878. char XShapeQueryExtension ();
  10879. int
  10880. main ()
  10881. {
  10882. return XShapeQueryExtension ();
  10883. ;
  10884. return 0;
  10885. }
  10886. _ACEOF
  10887. if ac_fn_c_try_link "$LINENO"; then :
  10888. ac_cv_lib_Xext_XShapeQueryExtension=yes
  10889. else
  10890. ac_cv_lib_Xext_XShapeQueryExtension=no
  10891. fi
  10892. rm -f core conftest.err conftest.$ac_objext \
  10893. conftest$ac_exeext conftest.$ac_ext
  10894. LIBS=$ac_check_lib_save_LIBS
  10895. fi
  10896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  10897. $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  10898. if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
  10899. $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
  10900. fi
  10901. fi
  10902. if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
  10903. case "x$with_xshape" in
  10904. x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
  10905. xno) ;;
  10906. *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
  10907. This is an error since --with-xshape was requested." "$LINENO" 5 ;;
  10908. esac
  10909. fi
  10910. if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
  10911. then
  10912. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
  10913. $as_echo_n "checking for -lXxf86vm... " >&6; }
  10914. if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
  10915. $as_echo_n "(cached) " >&6
  10916. else
  10917. ac_check_soname_save_LIBS=$LIBS
  10918. LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
  10919. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10920. /* end confdefs.h. */
  10921. /* Override any GCC internal prototype to avoid an error.
  10922. Use char because int might match the return type of a GCC
  10923. builtin and then its argument prototype would still apply. */
  10924. #ifdef __cplusplus
  10925. extern "C"
  10926. #endif
  10927. char XF86VidModeQueryExtension ();
  10928. int
  10929. main ()
  10930. {
  10931. return XF86VidModeQueryExtension ();
  10932. ;
  10933. return 0;
  10934. }
  10935. _ACEOF
  10936. if ac_fn_c_try_link "$LINENO"; then :
  10937. case "$LIBEXT" in
  10938. dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10939. 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'` ;;
  10940. *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10941. if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
  10942. ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10943. fi ;;
  10944. esac
  10945. else
  10946. ac_cv_lib_soname_Xxf86vm=
  10947. fi
  10948. rm -f core conftest.err conftest.$ac_objext \
  10949. conftest$ac_exeext conftest.$ac_ext
  10950. LIBS=$ac_check_soname_save_LIBS
  10951. fi
  10952. if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
  10953. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10954. $as_echo "not found" >&6; }
  10955. else
  10956. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
  10957. $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
  10958. cat >>confdefs.h <<_ACEOF
  10959. #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
  10960. _ACEOF
  10961. fi
  10962. fi
  10963. if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
  10964. case "x$with_xxf86vm" in
  10965. x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
  10966. xno) ;;
  10967. *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
  10968. This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
  10969. esac
  10970. fi
  10971. if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
  10972. then
  10973. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
  10974. $as_echo_n "checking for -lXrender... " >&6; }
  10975. if ${ac_cv_lib_soname_Xrender+:} false; then :
  10976. $as_echo_n "(cached) " >&6
  10977. else
  10978. ac_check_soname_save_LIBS=$LIBS
  10979. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  10980. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10981. /* end confdefs.h. */
  10982. /* Override any GCC internal prototype to avoid an error.
  10983. Use char because int might match the return type of a GCC
  10984. builtin and then its argument prototype would still apply. */
  10985. #ifdef __cplusplus
  10986. extern "C"
  10987. #endif
  10988. char XRenderQueryExtension ();
  10989. int
  10990. main ()
  10991. {
  10992. return XRenderQueryExtension ();
  10993. ;
  10994. return 0;
  10995. }
  10996. _ACEOF
  10997. if ac_fn_c_try_link "$LINENO"; then :
  10998. case "$LIBEXT" in
  10999. dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11000. 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'` ;;
  11001. *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11002. if ${ac_cv_lib_soname_Xrender:+false} :; then :
  11003. ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11004. fi ;;
  11005. esac
  11006. else
  11007. ac_cv_lib_soname_Xrender=
  11008. fi
  11009. rm -f core conftest.err conftest.$ac_objext \
  11010. conftest$ac_exeext conftest.$ac_ext
  11011. LIBS=$ac_check_soname_save_LIBS
  11012. fi
  11013. if ${ac_cv_lib_soname_Xrender:+false} :; then :
  11014. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11015. $as_echo "not found" >&6; }
  11016. else
  11017. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
  11018. $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
  11019. cat >>confdefs.h <<_ACEOF
  11020. #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
  11021. _ACEOF
  11022. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
  11023. $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
  11024. if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
  11025. $as_echo_n "(cached) " >&6
  11026. else
  11027. ac_check_lib_save_LIBS=$LIBS
  11028. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11030. /* end confdefs.h. */
  11031. /* Override any GCC internal prototype to avoid an error.
  11032. Use char because int might match the return type of a GCC
  11033. builtin and then its argument prototype would still apply. */
  11034. #ifdef __cplusplus
  11035. extern "C"
  11036. #endif
  11037. char XRenderSetPictureTransform ();
  11038. int
  11039. main ()
  11040. {
  11041. return XRenderSetPictureTransform ();
  11042. ;
  11043. return 0;
  11044. }
  11045. _ACEOF
  11046. if ac_fn_c_try_link "$LINENO"; then :
  11047. ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
  11048. else
  11049. ac_cv_lib_Xrender_XRenderSetPictureTransform=no
  11050. fi
  11051. rm -f core conftest.err conftest.$ac_objext \
  11052. conftest$ac_exeext conftest.$ac_ext
  11053. LIBS=$ac_check_lib_save_LIBS
  11054. fi
  11055. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
  11056. $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
  11057. if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
  11058. $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
  11059. fi
  11060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
  11061. $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
  11062. if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
  11063. $as_echo_n "(cached) " >&6
  11064. else
  11065. ac_check_lib_save_LIBS=$LIBS
  11066. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11067. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11068. /* end confdefs.h. */
  11069. /* Override any GCC internal prototype to avoid an error.
  11070. Use char because int might match the return type of a GCC
  11071. builtin and then its argument prototype would still apply. */
  11072. #ifdef __cplusplus
  11073. extern "C"
  11074. #endif
  11075. char XRenderCreateLinearGradient ();
  11076. int
  11077. main ()
  11078. {
  11079. return XRenderCreateLinearGradient ();
  11080. ;
  11081. return 0;
  11082. }
  11083. _ACEOF
  11084. if ac_fn_c_try_link "$LINENO"; then :
  11085. ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
  11086. else
  11087. ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
  11088. fi
  11089. rm -f core conftest.err conftest.$ac_objext \
  11090. conftest$ac_exeext conftest.$ac_ext
  11091. LIBS=$ac_check_lib_save_LIBS
  11092. fi
  11093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
  11094. $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
  11095. if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
  11096. $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
  11097. fi
  11098. fi
  11099. fi
  11100. if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
  11101. case "x$with_xrender" in
  11102. x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
  11103. xno) ;;
  11104. *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
  11105. This is an error since --with-xrender was requested." "$LINENO" 5 ;;
  11106. esac
  11107. fi
  11108. if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
  11109. then
  11110. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11111. /* end confdefs.h. */
  11112. #include <X11/Xlib.h>
  11113. #include <X11/extensions/Xrandr.h>
  11114. int
  11115. main ()
  11116. {
  11117. static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
  11118. ;
  11119. return 0;
  11120. }
  11121. _ACEOF
  11122. if ac_fn_c_try_compile "$LINENO"; then :
  11123. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
  11124. $as_echo_n "checking for -lXrandr... " >&6; }
  11125. if ${ac_cv_lib_soname_Xrandr+:} false; then :
  11126. $as_echo_n "(cached) " >&6
  11127. else
  11128. ac_check_soname_save_LIBS=$LIBS
  11129. LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
  11130. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11131. /* end confdefs.h. */
  11132. /* Override any GCC internal prototype to avoid an error.
  11133. Use char because int might match the return type of a GCC
  11134. builtin and then its argument prototype would still apply. */
  11135. #ifdef __cplusplus
  11136. extern "C"
  11137. #endif
  11138. char XRRQueryExtension ();
  11139. int
  11140. main ()
  11141. {
  11142. return XRRQueryExtension ();
  11143. ;
  11144. return 0;
  11145. }
  11146. _ACEOF
  11147. if ac_fn_c_try_link "$LINENO"; then :
  11148. case "$LIBEXT" in
  11149. dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11150. 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'` ;;
  11151. *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11152. if ${ac_cv_lib_soname_Xrandr:+false} :; then :
  11153. ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11154. fi ;;
  11155. esac
  11156. else
  11157. ac_cv_lib_soname_Xrandr=
  11158. fi
  11159. rm -f core conftest.err conftest.$ac_objext \
  11160. conftest$ac_exeext conftest.$ac_ext
  11161. LIBS=$ac_check_soname_save_LIBS
  11162. fi
  11163. if ${ac_cv_lib_soname_Xrandr:+false} :; then :
  11164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11165. $as_echo "not found" >&6; }
  11166. else
  11167. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
  11168. $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
  11169. cat >>confdefs.h <<_ACEOF
  11170. #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
  11171. _ACEOF
  11172. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11173. /* end confdefs.h. */
  11174. #include <X11/Xlib.h>
  11175. #include <X11/extensions/Xrandr.h>
  11176. int
  11177. main ()
  11178. {
  11179. static typeof(XRRGetScreenResources) *f; if (f) return 0;
  11180. ;
  11181. return 0;
  11182. }
  11183. _ACEOF
  11184. if ac_fn_c_try_compile "$LINENO"; then :
  11185. $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
  11186. fi
  11187. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11188. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11189. /* end confdefs.h. */
  11190. #include <X11/Xlib.h>
  11191. #include <X11/extensions/Xrandr.h>
  11192. int
  11193. main ()
  11194. {
  11195. static typeof(XRRGetProviderResources) *f; if (f) return 0;
  11196. ;
  11197. return 0;
  11198. }
  11199. _ACEOF
  11200. if ac_fn_c_try_compile "$LINENO"; then :
  11201. $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
  11202. else
  11203. as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
  11204. fi
  11205. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11206. fi
  11207. fi
  11208. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11209. fi
  11210. if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
  11211. case "x$with_xrandr" in
  11212. x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
  11213. xno) ;;
  11214. *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
  11215. This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
  11216. esac
  11217. fi
  11218. if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
  11219. then
  11220. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11221. /* end confdefs.h. */
  11222. #include <X11/Xlib.h>
  11223. #include <X11/extensions/Xfixes.h>
  11224. int
  11225. main ()
  11226. {
  11227. static typeof(XFixesQueryVersion) * func; if (func) return 0;
  11228. ;
  11229. return 0;
  11230. }
  11231. _ACEOF
  11232. if ac_fn_c_try_compile "$LINENO"; then :
  11233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
  11234. $as_echo_n "checking for -lXfixes... " >&6; }
  11235. if ${ac_cv_lib_soname_Xfixes+:} false; then :
  11236. $as_echo_n "(cached) " >&6
  11237. else
  11238. ac_check_soname_save_LIBS=$LIBS
  11239. LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
  11240. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11241. /* end confdefs.h. */
  11242. /* Override any GCC internal prototype to avoid an error.
  11243. Use char because int might match the return type of a GCC
  11244. builtin and then its argument prototype would still apply. */
  11245. #ifdef __cplusplus
  11246. extern "C"
  11247. #endif
  11248. char XFixesQueryVersion ();
  11249. int
  11250. main ()
  11251. {
  11252. return XFixesQueryVersion ();
  11253. ;
  11254. return 0;
  11255. }
  11256. _ACEOF
  11257. if ac_fn_c_try_link "$LINENO"; then :
  11258. case "$LIBEXT" in
  11259. dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11260. 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'` ;;
  11261. *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11262. if ${ac_cv_lib_soname_Xfixes:+false} :; then :
  11263. ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11264. fi ;;
  11265. esac
  11266. else
  11267. ac_cv_lib_soname_Xfixes=
  11268. fi
  11269. rm -f core conftest.err conftest.$ac_objext \
  11270. conftest$ac_exeext conftest.$ac_ext
  11271. LIBS=$ac_check_soname_save_LIBS
  11272. fi
  11273. if ${ac_cv_lib_soname_Xfixes:+false} :; then :
  11274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11275. $as_echo "not found" >&6; }
  11276. else
  11277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
  11278. $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
  11279. cat >>confdefs.h <<_ACEOF
  11280. #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
  11281. _ACEOF
  11282. fi
  11283. fi
  11284. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11285. fi
  11286. if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
  11287. case "x$with_xfixes" in
  11288. x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
  11289. xno) ;;
  11290. *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
  11291. This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
  11292. esac
  11293. fi
  11294. if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
  11295. then
  11296. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11297. /* end confdefs.h. */
  11298. #include <X11/Xlib.h>
  11299. #include <X11/extensions/Xinerama.h>
  11300. int
  11301. main ()
  11302. {
  11303. static typeof(XineramaQueryScreens) * func; if (func) return 0;
  11304. ;
  11305. return 0;
  11306. }
  11307. _ACEOF
  11308. if ac_fn_c_try_compile "$LINENO"; then :
  11309. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
  11310. $as_echo_n "checking for -lXinerama... " >&6; }
  11311. if ${ac_cv_lib_soname_Xinerama+:} false; then :
  11312. $as_echo_n "(cached) " >&6
  11313. else
  11314. ac_check_soname_save_LIBS=$LIBS
  11315. LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
  11316. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11317. /* end confdefs.h. */
  11318. /* Override any GCC internal prototype to avoid an error.
  11319. Use char because int might match the return type of a GCC
  11320. builtin and then its argument prototype would still apply. */
  11321. #ifdef __cplusplus
  11322. extern "C"
  11323. #endif
  11324. char XineramaQueryScreens ();
  11325. int
  11326. main ()
  11327. {
  11328. return XineramaQueryScreens ();
  11329. ;
  11330. return 0;
  11331. }
  11332. _ACEOF
  11333. if ac_fn_c_try_link "$LINENO"; then :
  11334. case "$LIBEXT" in
  11335. dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11336. 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'` ;;
  11337. *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11338. if ${ac_cv_lib_soname_Xinerama:+false} :; then :
  11339. ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11340. fi ;;
  11341. esac
  11342. else
  11343. ac_cv_lib_soname_Xinerama=
  11344. fi
  11345. rm -f core conftest.err conftest.$ac_objext \
  11346. conftest$ac_exeext conftest.$ac_ext
  11347. LIBS=$ac_check_soname_save_LIBS
  11348. fi
  11349. if ${ac_cv_lib_soname_Xinerama:+false} :; then :
  11350. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11351. $as_echo "not found" >&6; }
  11352. else
  11353. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
  11354. $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
  11355. cat >>confdefs.h <<_ACEOF
  11356. #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
  11357. _ACEOF
  11358. fi
  11359. fi
  11360. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11361. fi
  11362. if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
  11363. case "x$with_xinerama" in
  11364. x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
  11365. xno) ;;
  11366. *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
  11367. This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
  11368. esac
  11369. fi
  11370. if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
  11371. then
  11372. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
  11373. $as_echo_n "checking for -lXcomposite... " >&6; }
  11374. if ${ac_cv_lib_soname_Xcomposite+:} false; then :
  11375. $as_echo_n "(cached) " >&6
  11376. else
  11377. ac_check_soname_save_LIBS=$LIBS
  11378. LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
  11379. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11380. /* end confdefs.h. */
  11381. /* Override any GCC internal prototype to avoid an error.
  11382. Use char because int might match the return type of a GCC
  11383. builtin and then its argument prototype would still apply. */
  11384. #ifdef __cplusplus
  11385. extern "C"
  11386. #endif
  11387. char XCompositeRedirectWindow ();
  11388. int
  11389. main ()
  11390. {
  11391. return XCompositeRedirectWindow ();
  11392. ;
  11393. return 0;
  11394. }
  11395. _ACEOF
  11396. if ac_fn_c_try_link "$LINENO"; then :
  11397. case "$LIBEXT" in
  11398. dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11399. 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'` ;;
  11400. *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11401. if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
  11402. ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11403. fi ;;
  11404. esac
  11405. else
  11406. ac_cv_lib_soname_Xcomposite=
  11407. fi
  11408. rm -f core conftest.err conftest.$ac_objext \
  11409. conftest$ac_exeext conftest.$ac_ext
  11410. LIBS=$ac_check_soname_save_LIBS
  11411. fi
  11412. if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
  11413. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11414. $as_echo "not found" >&6; }
  11415. else
  11416. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
  11417. $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
  11418. cat >>confdefs.h <<_ACEOF
  11419. #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
  11420. _ACEOF
  11421. fi
  11422. fi
  11423. if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
  11424. case "x$with_xcomposite" in
  11425. x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
  11426. xno) ;;
  11427. *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
  11428. This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
  11429. esac
  11430. fi
  11431. ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
  11432. #include <X11/Xlib.h>
  11433. #endif
  11434. "
  11435. if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
  11436. cat >>confdefs.h <<_ACEOF
  11437. #define HAVE_XICCALLBACK_CALLBACK 1
  11438. _ACEOF
  11439. fi
  11440. ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
  11441. #include <X11/Xlib.h>
  11442. #endif
  11443. "
  11444. if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
  11445. cat >>confdefs.h <<_ACEOF
  11446. #define HAVE_XEVENT_XCOOKIE 1
  11447. _ACEOF
  11448. fi
  11449. opengl_msg=""
  11450. if test "x$with_opengl" != "xno"
  11451. then
  11452. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  11453. $as_echo_n "checking for -lGL... " >&6; }
  11454. if ${ac_cv_lib_soname_GL+:} false; then :
  11455. $as_echo_n "(cached) " >&6
  11456. else
  11457. ac_check_soname_save_LIBS=$LIBS
  11458. LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11459. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11460. /* end confdefs.h. */
  11461. /* Override any GCC internal prototype to avoid an error.
  11462. Use char because int might match the return type of a GCC
  11463. builtin and then its argument prototype would still apply. */
  11464. #ifdef __cplusplus
  11465. extern "C"
  11466. #endif
  11467. char glXCreateContext ();
  11468. int
  11469. main ()
  11470. {
  11471. return glXCreateContext ();
  11472. ;
  11473. return 0;
  11474. }
  11475. _ACEOF
  11476. if ac_fn_c_try_link "$LINENO"; then :
  11477. case "$LIBEXT" in
  11478. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11479. 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'` ;;
  11480. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11481. if ${ac_cv_lib_soname_GL:+false} :; then :
  11482. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11483. fi ;;
  11484. esac
  11485. else
  11486. ac_cv_lib_soname_GL=
  11487. fi
  11488. rm -f core conftest.err conftest.$ac_objext \
  11489. conftest$ac_exeext conftest.$ac_ext
  11490. LIBS=$ac_check_soname_save_LIBS
  11491. fi
  11492. if ${ac_cv_lib_soname_GL:+false} :; then :
  11493. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11494. $as_echo "not found" >&6; }
  11495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  11496. $as_echo_n "checking for -lGL... " >&6; }
  11497. if ${ac_cv_lib_soname_GL+:} false; then :
  11498. $as_echo_n "(cached) " >&6
  11499. else
  11500. ac_check_soname_save_LIBS=$LIBS
  11501. 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"
  11502. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11503. /* end confdefs.h. */
  11504. /* Override any GCC internal prototype to avoid an error.
  11505. Use char because int might match the return type of a GCC
  11506. builtin and then its argument prototype would still apply. */
  11507. #ifdef __cplusplus
  11508. extern "C"
  11509. #endif
  11510. char glXCreateContext ();
  11511. int
  11512. main ()
  11513. {
  11514. return glXCreateContext ();
  11515. ;
  11516. return 0;
  11517. }
  11518. _ACEOF
  11519. if ac_fn_c_try_link "$LINENO"; then :
  11520. case "$LIBEXT" in
  11521. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11522. 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'` ;;
  11523. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11524. if ${ac_cv_lib_soname_GL:+false} :; then :
  11525. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11526. fi ;;
  11527. esac
  11528. else
  11529. ac_cv_lib_soname_GL=
  11530. fi
  11531. rm -f core conftest.err conftest.$ac_objext \
  11532. conftest$ac_exeext conftest.$ac_ext
  11533. LIBS=$ac_check_soname_save_LIBS
  11534. fi
  11535. if ${ac_cv_lib_soname_GL:+false} :; then :
  11536. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11537. $as_echo "not found" >&6; }
  11538. if test -f /usr/X11R6/lib/libGL.a
  11539. then
  11540. opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
  11541. This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
  11542. else
  11543. opengl_msg="No OpenGL library found on this system."
  11544. fi
  11545. else
  11546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  11547. $as_echo "$ac_cv_lib_soname_GL" >&6; }
  11548. cat >>confdefs.h <<_ACEOF
  11549. #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
  11550. _ACEOF
  11551. 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"
  11552. fi
  11553. else
  11554. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  11555. $as_echo "$ac_cv_lib_soname_GL" >&6; }
  11556. cat >>confdefs.h <<_ACEOF
  11557. #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
  11558. _ACEOF
  11559. OPENGL_LIBS="-lGL"
  11560. fi
  11561. if test "x$with_glu" != "xno"
  11562. then
  11563. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
  11564. $as_echo_n "checking for -lGLU... " >&6; }
  11565. if ${ac_cv_lib_soname_GLU+:} false; then :
  11566. $as_echo_n "(cached) " >&6
  11567. else
  11568. ac_check_soname_save_LIBS=$LIBS
  11569. LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11570. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11571. /* end confdefs.h. */
  11572. /* Override any GCC internal prototype to avoid an error.
  11573. Use char because int might match the return type of a GCC
  11574. builtin and then its argument prototype would still apply. */
  11575. #ifdef __cplusplus
  11576. extern "C"
  11577. #endif
  11578. char gluLookAt ();
  11579. int
  11580. main ()
  11581. {
  11582. return gluLookAt ();
  11583. ;
  11584. return 0;
  11585. }
  11586. _ACEOF
  11587. if ac_fn_c_try_link "$LINENO"; then :
  11588. case "$LIBEXT" in
  11589. dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11590. 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'` ;;
  11591. *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11592. if ${ac_cv_lib_soname_GLU:+false} :; then :
  11593. ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11594. fi ;;
  11595. esac
  11596. else
  11597. ac_cv_lib_soname_GLU=
  11598. fi
  11599. rm -f core conftest.err conftest.$ac_objext \
  11600. conftest$ac_exeext conftest.$ac_ext
  11601. LIBS=$ac_check_soname_save_LIBS
  11602. fi
  11603. if ${ac_cv_lib_soname_GLU:+false} :; then :
  11604. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11605. $as_echo "not found" >&6; }
  11606. else
  11607. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
  11608. $as_echo "$ac_cv_lib_soname_GLU" >&6; }
  11609. cat >>confdefs.h <<_ACEOF
  11610. #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
  11611. _ACEOF
  11612. fi
  11613. if test "x$ac_cv_lib_soname_GLU" = "x"; then :
  11614. case "x$with_glu" in
  11615. x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
  11616. xno) ;;
  11617. *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
  11618. This is an error since --with-glu was requested." "$LINENO" 5 ;;
  11619. esac
  11620. fi
  11621. fi
  11622. if test "x$with_osmesa" != "xno"
  11623. then
  11624. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
  11625. $as_echo_n "checking for -lOSMesa... " >&6; }
  11626. if ${ac_cv_lib_soname_OSMesa+:} false; then :
  11627. $as_echo_n "(cached) " >&6
  11628. else
  11629. ac_check_soname_save_LIBS=$LIBS
  11630. LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11631. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11632. /* end confdefs.h. */
  11633. /* Override any GCC internal prototype to avoid an error.
  11634. Use char because int might match the return type of a GCC
  11635. builtin and then its argument prototype would still apply. */
  11636. #ifdef __cplusplus
  11637. extern "C"
  11638. #endif
  11639. char OSMesaGetProcAddress ();
  11640. int
  11641. main ()
  11642. {
  11643. return OSMesaGetProcAddress ();
  11644. ;
  11645. return 0;
  11646. }
  11647. _ACEOF
  11648. if ac_fn_c_try_link "$LINENO"; then :
  11649. case "$LIBEXT" in
  11650. dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11651. 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'` ;;
  11652. *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11653. if ${ac_cv_lib_soname_OSMesa:+false} :; then :
  11654. ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11655. fi ;;
  11656. esac
  11657. else
  11658. ac_cv_lib_soname_OSMesa=
  11659. fi
  11660. rm -f core conftest.err conftest.$ac_objext \
  11661. conftest$ac_exeext conftest.$ac_ext
  11662. LIBS=$ac_check_soname_save_LIBS
  11663. fi
  11664. if ${ac_cv_lib_soname_OSMesa:+false} :; then :
  11665. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11666. $as_echo "not found" >&6; }
  11667. else
  11668. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
  11669. $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
  11670. cat >>confdefs.h <<_ACEOF
  11671. #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
  11672. _ACEOF
  11673. fi
  11674. if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
  11675. case "x$with_osmesa" in
  11676. x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
  11677. xno) ;;
  11678. *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
  11679. This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
  11680. esac
  11681. fi
  11682. fi
  11683. fi
  11684. if test -n "$opengl_msg"; then :
  11685. case "x$with_opengl" in
  11686. x) as_fn_append wine_warnings "|$opengl_msg
  11687. OpenGL and Direct3D won't be supported." ;;
  11688. xno) ;;
  11689. *) as_fn_error $? "$opengl_msg
  11690. OpenGL and Direct3D won't be supported.
  11691. This is an error since --with-opengl was requested." "$LINENO" 5 ;;
  11692. esac
  11693. fi
  11694. CPPFLAGS="$ac_save_CPPFLAGS"
  11695. else
  11696. X_CFLAGS=""
  11697. X_LIBS=""
  11698. fi
  11699. if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
  11700. then
  11701. if test "x$X_LIBS" = "x"; then :
  11702. case "x$with_x" in
  11703. xno) ;;
  11704. *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
  11705. without X support, which probably isn't what you want. You will need
  11706. to install ${notice_platform}development packages of Xlib at the very least.
  11707. Use the --without-x option if you really want this." "$LINENO" 5 ;;
  11708. esac
  11709. enable_winex11_drv=${enable_winex11_drv:-no}
  11710. fi
  11711. else
  11712. if test "x$X_LIBS" = "x"; then :
  11713. case "x$with_x" in
  11714. x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
  11715. xno) ;;
  11716. *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
  11717. This is an error since --with-x was requested." "$LINENO" 5 ;;
  11718. esac
  11719. enable_winex11_drv=${enable_winex11_drv:-no}
  11720. fi
  11721. fi
  11722. if test "$ac_cv_header_CL_cl_h" = "yes"
  11723. then
  11724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
  11725. $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
  11726. if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
  11727. $as_echo_n "(cached) " >&6
  11728. else
  11729. ac_check_lib_save_LIBS=$LIBS
  11730. LIBS="-lOpenCL $LIBS"
  11731. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11732. /* end confdefs.h. */
  11733. /* Override any GCC internal prototype to avoid an error.
  11734. Use char because int might match the return type of a GCC
  11735. builtin and then its argument prototype would still apply. */
  11736. #ifdef __cplusplus
  11737. extern "C"
  11738. #endif
  11739. char clGetPlatformInfo ();
  11740. int
  11741. main ()
  11742. {
  11743. return clGetPlatformInfo ();
  11744. ;
  11745. return 0;
  11746. }
  11747. _ACEOF
  11748. if ac_fn_c_try_link "$LINENO"; then :
  11749. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  11750. else
  11751. ac_cv_lib_OpenCL_clGetPlatformInfo=no
  11752. fi
  11753. rm -f core conftest.err conftest.$ac_objext \
  11754. conftest$ac_exeext conftest.$ac_ext
  11755. LIBS=$ac_check_lib_save_LIBS
  11756. fi
  11757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
  11758. $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
  11759. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
  11760. OPENCL_LIBS="-lOpenCL"
  11761. fi
  11762. fi
  11763. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
  11764. case "x$with_opencl" in
  11765. x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
  11766. xno) ;;
  11767. *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
  11768. This is an error since --with-opencl was requested." "$LINENO" 5 ;;
  11769. esac
  11770. enable_opencl=${enable_opencl:-no}
  11771. fi
  11772. if test "$ac_cv_header_pcap_pcap_h" = "yes"
  11773. then
  11774. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
  11775. $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
  11776. if ${ac_cv_lib_pcap_pcap_create+:} false; then :
  11777. $as_echo_n "(cached) " >&6
  11778. else
  11779. ac_check_lib_save_LIBS=$LIBS
  11780. LIBS="-lpcap $LIBS"
  11781. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11782. /* end confdefs.h. */
  11783. /* Override any GCC internal prototype to avoid an error.
  11784. Use char because int might match the return type of a GCC
  11785. builtin and then its argument prototype would still apply. */
  11786. #ifdef __cplusplus
  11787. extern "C"
  11788. #endif
  11789. char pcap_create ();
  11790. int
  11791. main ()
  11792. {
  11793. return pcap_create ();
  11794. ;
  11795. return 0;
  11796. }
  11797. _ACEOF
  11798. if ac_fn_c_try_link "$LINENO"; then :
  11799. ac_cv_lib_pcap_pcap_create=yes
  11800. else
  11801. ac_cv_lib_pcap_pcap_create=no
  11802. fi
  11803. rm -f core conftest.err conftest.$ac_objext \
  11804. conftest$ac_exeext conftest.$ac_ext
  11805. LIBS=$ac_check_lib_save_LIBS
  11806. fi
  11807. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
  11808. $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
  11809. if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
  11810. PCAP_LIBS="-lpcap"
  11811. fi
  11812. fi
  11813. if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
  11814. case "x$with_pcap" in
  11815. x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
  11816. xno) ;;
  11817. *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
  11818. This is an error since --with-pcap was requested." "$LINENO" 5 ;;
  11819. esac
  11820. enable_wpcap=${enable_wpcap:-no}
  11821. fi
  11822. if test "x$with_xml" != "xno"
  11823. then
  11824. if ${XML2_CFLAGS:+false} :; then :
  11825. if ${PKG_CONFIG+:} false; then :
  11826. XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
  11827. fi
  11828. fi
  11829. test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
  11830. if ${XML2_LIBS:+false} :; then :
  11831. if ${PKG_CONFIG+:} false; then :
  11832. XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
  11833. fi
  11834. fi
  11835. test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
  11836. XML2_LIBS=${XML2_LIBS:-"-lxml2"}
  11837. $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
  11838. $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
  11839. ac_save_CPPFLAGS=$CPPFLAGS
  11840. CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
  11841. for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
  11842. do :
  11843. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11844. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  11845. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  11846. cat >>confdefs.h <<_ACEOF
  11847. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11848. _ACEOF
  11849. fi
  11850. done
  11851. 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"
  11852. then
  11853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
  11854. $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
  11855. if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
  11856. $as_echo_n "(cached) " >&6
  11857. else
  11858. ac_check_lib_save_LIBS=$LIBS
  11859. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11860. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11861. /* end confdefs.h. */
  11862. /* Override any GCC internal prototype to avoid an error.
  11863. Use char because int might match the return type of a GCC
  11864. builtin and then its argument prototype would still apply. */
  11865. #ifdef __cplusplus
  11866. extern "C"
  11867. #endif
  11868. char xmlParseMemory ();
  11869. int
  11870. main ()
  11871. {
  11872. return xmlParseMemory ();
  11873. ;
  11874. return 0;
  11875. }
  11876. _ACEOF
  11877. if ac_fn_c_try_link "$LINENO"; then :
  11878. ac_cv_lib_xml2_xmlParseMemory=yes
  11879. else
  11880. ac_cv_lib_xml2_xmlParseMemory=no
  11881. fi
  11882. rm -f core conftest.err conftest.$ac_objext \
  11883. conftest$ac_exeext conftest.$ac_ext
  11884. LIBS=$ac_check_lib_save_LIBS
  11885. fi
  11886. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
  11887. $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
  11888. if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
  11889. $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
  11890. else
  11891. XML2_LIBS=""
  11892. fi
  11893. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
  11894. $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
  11895. if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
  11896. $as_echo_n "(cached) " >&6
  11897. else
  11898. ac_check_lib_save_LIBS=$LIBS
  11899. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11900. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11901. /* end confdefs.h. */
  11902. /* Override any GCC internal prototype to avoid an error.
  11903. Use char because int might match the return type of a GCC
  11904. builtin and then its argument prototype would still apply. */
  11905. #ifdef __cplusplus
  11906. extern "C"
  11907. #endif
  11908. char xmlReadMemory ();
  11909. int
  11910. main ()
  11911. {
  11912. return xmlReadMemory ();
  11913. ;
  11914. return 0;
  11915. }
  11916. _ACEOF
  11917. if ac_fn_c_try_link "$LINENO"; then :
  11918. ac_cv_lib_xml2_xmlReadMemory=yes
  11919. else
  11920. ac_cv_lib_xml2_xmlReadMemory=no
  11921. fi
  11922. rm -f core conftest.err conftest.$ac_objext \
  11923. conftest$ac_exeext conftest.$ac_ext
  11924. LIBS=$ac_check_lib_save_LIBS
  11925. fi
  11926. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
  11927. $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
  11928. if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
  11929. $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
  11930. fi
  11931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
  11932. $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
  11933. if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
  11934. $as_echo_n "(cached) " >&6
  11935. else
  11936. ac_check_lib_save_LIBS=$LIBS
  11937. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11938. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11939. /* end confdefs.h. */
  11940. /* Override any GCC internal prototype to avoid an error.
  11941. Use char because int might match the return type of a GCC
  11942. builtin and then its argument prototype would still apply. */
  11943. #ifdef __cplusplus
  11944. extern "C"
  11945. #endif
  11946. char xmlNewDocPI ();
  11947. int
  11948. main ()
  11949. {
  11950. return xmlNewDocPI ();
  11951. ;
  11952. return 0;
  11953. }
  11954. _ACEOF
  11955. if ac_fn_c_try_link "$LINENO"; then :
  11956. ac_cv_lib_xml2_xmlNewDocPI=yes
  11957. else
  11958. ac_cv_lib_xml2_xmlNewDocPI=no
  11959. fi
  11960. rm -f core conftest.err conftest.$ac_objext \
  11961. conftest$ac_exeext conftest.$ac_ext
  11962. LIBS=$ac_check_lib_save_LIBS
  11963. fi
  11964. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
  11965. $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
  11966. if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
  11967. $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
  11968. fi
  11969. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
  11970. $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
  11971. if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
  11972. $as_echo_n "(cached) " >&6
  11973. else
  11974. ac_check_lib_save_LIBS=$LIBS
  11975. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11976. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11977. /* end confdefs.h. */
  11978. /* Override any GCC internal prototype to avoid an error.
  11979. Use char because int might match the return type of a GCC
  11980. builtin and then its argument prototype would still apply. */
  11981. #ifdef __cplusplus
  11982. extern "C"
  11983. #endif
  11984. char xmlSchemaSetParserStructuredErrors ();
  11985. int
  11986. main ()
  11987. {
  11988. return xmlSchemaSetParserStructuredErrors ();
  11989. ;
  11990. return 0;
  11991. }
  11992. _ACEOF
  11993. if ac_fn_c_try_link "$LINENO"; then :
  11994. ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
  11995. else
  11996. ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
  11997. fi
  11998. rm -f core conftest.err conftest.$ac_objext \
  11999. conftest$ac_exeext conftest.$ac_ext
  12000. LIBS=$ac_check_lib_save_LIBS
  12001. fi
  12002. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
  12003. $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
  12004. if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
  12005. $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
  12006. fi
  12007. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
  12008. $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
  12009. if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
  12010. $as_echo_n "(cached) " >&6
  12011. else
  12012. ac_check_lib_save_LIBS=$LIBS
  12013. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12014. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12015. /* end confdefs.h. */
  12016. /* Override any GCC internal prototype to avoid an error.
  12017. Use char because int might match the return type of a GCC
  12018. builtin and then its argument prototype would still apply. */
  12019. #ifdef __cplusplus
  12020. extern "C"
  12021. #endif
  12022. char xmlSchemaSetValidStructuredErrors ();
  12023. int
  12024. main ()
  12025. {
  12026. return xmlSchemaSetValidStructuredErrors ();
  12027. ;
  12028. return 0;
  12029. }
  12030. _ACEOF
  12031. if ac_fn_c_try_link "$LINENO"; then :
  12032. ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
  12033. else
  12034. ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
  12035. fi
  12036. rm -f core conftest.err conftest.$ac_objext \
  12037. conftest$ac_exeext conftest.$ac_ext
  12038. LIBS=$ac_check_lib_save_LIBS
  12039. fi
  12040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
  12041. $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
  12042. if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
  12043. $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
  12044. fi
  12045. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
  12046. $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
  12047. if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
  12048. $as_echo_n "(cached) " >&6
  12049. else
  12050. ac_check_lib_save_LIBS=$LIBS
  12051. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12052. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12053. /* end confdefs.h. */
  12054. /* Override any GCC internal prototype to avoid an error.
  12055. Use char because int might match the return type of a GCC
  12056. builtin and then its argument prototype would still apply. */
  12057. #ifdef __cplusplus
  12058. extern "C"
  12059. #endif
  12060. char xmlFirstElementChild ();
  12061. int
  12062. main ()
  12063. {
  12064. return xmlFirstElementChild ();
  12065. ;
  12066. return 0;
  12067. }
  12068. _ACEOF
  12069. if ac_fn_c_try_link "$LINENO"; then :
  12070. ac_cv_lib_xml2_xmlFirstElementChild=yes
  12071. else
  12072. ac_cv_lib_xml2_xmlFirstElementChild=no
  12073. fi
  12074. rm -f core conftest.err conftest.$ac_objext \
  12075. conftest$ac_exeext conftest.$ac_ext
  12076. LIBS=$ac_check_lib_save_LIBS
  12077. fi
  12078. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
  12079. $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
  12080. if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
  12081. $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
  12082. fi
  12083. ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
  12084. "
  12085. if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
  12086. $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
  12087. fi
  12088. else
  12089. XML2_CFLAGS=""
  12090. XML2_LIBS=""
  12091. fi
  12092. CPPFLAGS=$ac_save_CPPFLAGS
  12093. test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12094. test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12095. fi
  12096. if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
  12097. case "x$with_xml" in
  12098. x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
  12099. xno) ;;
  12100. *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
  12101. This is an error since --with-xml was requested." "$LINENO" 5 ;;
  12102. esac
  12103. fi
  12104. if test "x$with_xslt" != "xno"
  12105. then
  12106. if ${XSLT_CFLAGS:+false} :; then :
  12107. if ${PKG_CONFIG+:} false; then :
  12108. XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
  12109. fi
  12110. fi
  12111. test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
  12112. if ${XSLT_LIBS:+false} :; then :
  12113. if ${PKG_CONFIG+:} false; then :
  12114. XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
  12115. fi
  12116. fi
  12117. test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
  12118. XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
  12119. $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
  12120. $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
  12121. ac_save_CPPFLAGS=$CPPFLAGS
  12122. CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
  12123. for ac_header in libxslt/pattern.h libxslt/transform.h
  12124. do :
  12125. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12126. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
  12127. # include <libxslt/pattern.h>
  12128. #endif
  12129. "
  12130. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  12131. cat >>confdefs.h <<_ACEOF
  12132. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12133. _ACEOF
  12134. fi
  12135. done
  12136. if test "$ac_cv_header_libxslt_transform_h" = "yes"
  12137. then
  12138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
  12139. $as_echo_n "checking for -lxslt... " >&6; }
  12140. if ${ac_cv_lib_soname_xslt+:} false; then :
  12141. $as_echo_n "(cached) " >&6
  12142. else
  12143. ac_check_soname_save_LIBS=$LIBS
  12144. LIBS="-lxslt $XSLT_LIBS $LIBS"
  12145. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12146. /* end confdefs.h. */
  12147. /* Override any GCC internal prototype to avoid an error.
  12148. Use char because int might match the return type of a GCC
  12149. builtin and then its argument prototype would still apply. */
  12150. #ifdef __cplusplus
  12151. extern "C"
  12152. #endif
  12153. char xsltCompilePattern ();
  12154. int
  12155. main ()
  12156. {
  12157. return xsltCompilePattern ();
  12158. ;
  12159. return 0;
  12160. }
  12161. _ACEOF
  12162. if ac_fn_c_try_link "$LINENO"; then :
  12163. case "$LIBEXT" in
  12164. dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12165. 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'` ;;
  12166. *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12167. if ${ac_cv_lib_soname_xslt:+false} :; then :
  12168. ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12169. fi ;;
  12170. esac
  12171. else
  12172. ac_cv_lib_soname_xslt=
  12173. fi
  12174. rm -f core conftest.err conftest.$ac_objext \
  12175. conftest$ac_exeext conftest.$ac_ext
  12176. LIBS=$ac_check_soname_save_LIBS
  12177. fi
  12178. if ${ac_cv_lib_soname_xslt:+false} :; then :
  12179. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12180. $as_echo "not found" >&6; }
  12181. else
  12182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
  12183. $as_echo "$ac_cv_lib_soname_xslt" >&6; }
  12184. cat >>confdefs.h <<_ACEOF
  12185. #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
  12186. _ACEOF
  12187. fi
  12188. else
  12189. XSLT_CFLAGS=""
  12190. fi
  12191. CPPFLAGS=$ac_save_CPPFLAGS
  12192. test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12193. test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12194. fi
  12195. if test "x$ac_cv_lib_soname_xslt" = "x"; then :
  12196. case "x$with_xslt" in
  12197. x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
  12198. xno) ;;
  12199. *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
  12200. This is an error since --with-xslt was requested." "$LINENO" 5 ;;
  12201. esac
  12202. fi
  12203. if test "x$with_inotify" != "xno"
  12204. then
  12205. if ${INOTIFY_CFLAGS:+false} :; then :
  12206. if ${PKG_CONFIG+:} false; then :
  12207. INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
  12208. fi
  12209. fi
  12210. if ${INOTIFY_LIBS:+false} :; then :
  12211. if ${PKG_CONFIG+:} false; then :
  12212. INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
  12213. fi
  12214. fi
  12215. $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
  12216. $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
  12217. ac_save_CPPFLAGS=$CPPFLAGS
  12218. CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
  12219. for ac_header in sys/inotify.h
  12220. do :
  12221. ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
  12222. if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
  12223. cat >>confdefs.h <<_ACEOF
  12224. #define HAVE_SYS_INOTIFY_H 1
  12225. _ACEOF
  12226. fi
  12227. done
  12228. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
  12229. $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
  12230. if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
  12231. $as_echo_n "(cached) " >&6
  12232. else
  12233. ac_check_lib_save_LIBS=$LIBS
  12234. LIBS="-linotify $INOTIFY_LIBS $LIBS"
  12235. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12236. /* end confdefs.h. */
  12237. /* Override any GCC internal prototype to avoid an error.
  12238. Use char because int might match the return type of a GCC
  12239. builtin and then its argument prototype would still apply. */
  12240. #ifdef __cplusplus
  12241. extern "C"
  12242. #endif
  12243. char inotify_add_watch ();
  12244. int
  12245. main ()
  12246. {
  12247. return inotify_add_watch ();
  12248. ;
  12249. return 0;
  12250. }
  12251. _ACEOF
  12252. if ac_fn_c_try_link "$LINENO"; then :
  12253. ac_cv_lib_inotify_inotify_add_watch=yes
  12254. else
  12255. ac_cv_lib_inotify_inotify_add_watch=no
  12256. fi
  12257. rm -f core conftest.err conftest.$ac_objext \
  12258. conftest$ac_exeext conftest.$ac_ext
  12259. LIBS=$ac_check_lib_save_LIBS
  12260. fi
  12261. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
  12262. $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
  12263. if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
  12264. :
  12265. else
  12266. INOTIFY_LIBS=""
  12267. fi
  12268. CPPFLAGS=$ac_save_CPPFLAGS
  12269. test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12270. test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12271. fi
  12272. if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
  12273. case "x$with_inotify" in
  12274. x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
  12275. xno) ;;
  12276. *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
  12277. This is an error since --with-inotify was requested." "$LINENO" 5 ;;
  12278. esac
  12279. fi
  12280. if test "x$with_dbus" != "xno"
  12281. then
  12282. if ${DBUS_CFLAGS:+false} :; then :
  12283. if ${PKG_CONFIG+:} false; then :
  12284. DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
  12285. fi
  12286. fi
  12287. if ${DBUS_LIBS:+false} :; then :
  12288. if ${PKG_CONFIG+:} false; then :
  12289. DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
  12290. fi
  12291. fi
  12292. $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
  12293. $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
  12294. ac_save_CPPFLAGS=$CPPFLAGS
  12295. CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
  12296. ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
  12297. if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
  12298. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
  12299. $as_echo_n "checking for -ldbus-1... " >&6; }
  12300. if ${ac_cv_lib_soname_dbus_1+:} false; then :
  12301. $as_echo_n "(cached) " >&6
  12302. else
  12303. ac_check_soname_save_LIBS=$LIBS
  12304. LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
  12305. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12306. /* end confdefs.h. */
  12307. /* Override any GCC internal prototype to avoid an error.
  12308. Use char because int might match the return type of a GCC
  12309. builtin and then its argument prototype would still apply. */
  12310. #ifdef __cplusplus
  12311. extern "C"
  12312. #endif
  12313. char dbus_connection_close ();
  12314. int
  12315. main ()
  12316. {
  12317. return dbus_connection_close ();
  12318. ;
  12319. return 0;
  12320. }
  12321. _ACEOF
  12322. if ac_fn_c_try_link "$LINENO"; then :
  12323. case "$LIBEXT" in
  12324. dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12325. 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'` ;;
  12326. *) 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'`
  12327. if ${ac_cv_lib_soname_dbus_1:+false} :; then :
  12328. ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12329. fi ;;
  12330. esac
  12331. else
  12332. ac_cv_lib_soname_dbus_1=
  12333. fi
  12334. rm -f core conftest.err conftest.$ac_objext \
  12335. conftest$ac_exeext conftest.$ac_ext
  12336. LIBS=$ac_check_soname_save_LIBS
  12337. fi
  12338. if ${ac_cv_lib_soname_dbus_1:+false} :; then :
  12339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12340. $as_echo "not found" >&6; }
  12341. DBUS_CFLAGS=""
  12342. else
  12343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
  12344. $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
  12345. cat >>confdefs.h <<_ACEOF
  12346. #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
  12347. _ACEOF
  12348. fi
  12349. else
  12350. DBUS_CFLAGS=""
  12351. fi
  12352. CPPFLAGS=$ac_save_CPPFLAGS
  12353. test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12354. test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12355. fi
  12356. if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
  12357. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
  12358. case "x$with_dbus" in
  12359. x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
  12360. xno) ;;
  12361. *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
  12362. This is an error since --with-dbus was requested." "$LINENO" 5 ;;
  12363. esac
  12364. fi
  12365. if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
  12366. then
  12367. if ${HAL_CFLAGS:+false} :; then :
  12368. if ${PKG_CONFIG+:} false; then :
  12369. HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
  12370. fi
  12371. fi
  12372. if ${HAL_LIBS:+false} :; then :
  12373. if ${PKG_CONFIG+:} false; then :
  12374. HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
  12375. fi
  12376. fi
  12377. HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
  12378. $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
  12379. $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
  12380. ac_save_CPPFLAGS=$CPPFLAGS
  12381. CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
  12382. ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
  12383. if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
  12384. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
  12385. $as_echo_n "checking for -lhal... " >&6; }
  12386. if ${ac_cv_lib_soname_hal+:} false; then :
  12387. $as_echo_n "(cached) " >&6
  12388. else
  12389. ac_check_soname_save_LIBS=$LIBS
  12390. LIBS="-lhal $HAL_LIBS $LIBS"
  12391. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12392. /* end confdefs.h. */
  12393. /* Override any GCC internal prototype to avoid an error.
  12394. Use char because int might match the return type of a GCC
  12395. builtin and then its argument prototype would still apply. */
  12396. #ifdef __cplusplus
  12397. extern "C"
  12398. #endif
  12399. char libhal_ctx_new ();
  12400. int
  12401. main ()
  12402. {
  12403. return libhal_ctx_new ();
  12404. ;
  12405. return 0;
  12406. }
  12407. _ACEOF
  12408. if ac_fn_c_try_link "$LINENO"; then :
  12409. case "$LIBEXT" in
  12410. dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12411. 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'` ;;
  12412. *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12413. if ${ac_cv_lib_soname_hal:+false} :; then :
  12414. ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12415. fi ;;
  12416. esac
  12417. else
  12418. ac_cv_lib_soname_hal=
  12419. fi
  12420. rm -f core conftest.err conftest.$ac_objext \
  12421. conftest$ac_exeext conftest.$ac_ext
  12422. LIBS=$ac_check_soname_save_LIBS
  12423. fi
  12424. if ${ac_cv_lib_soname_hal:+false} :; then :
  12425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12426. $as_echo "not found" >&6; }
  12427. HAL_CFLAGS=""
  12428. else
  12429. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
  12430. $as_echo "$ac_cv_lib_soname_hal" >&6; }
  12431. cat >>confdefs.h <<_ACEOF
  12432. #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
  12433. _ACEOF
  12434. fi
  12435. else
  12436. HAL_CFLAGS=""
  12437. fi
  12438. CPPFLAGS=$ac_save_CPPFLAGS
  12439. test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12440. test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12441. if test "x$ac_cv_lib_soname_hal" = "x" -a \
  12442. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
  12443. case "x$with_hal" in
  12444. x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
  12445. xno) ;;
  12446. *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
  12447. This is an error since --with-hal was requested." "$LINENO" 5 ;;
  12448. esac
  12449. fi
  12450. fi
  12451. if test "x$with_gnutls" != "xno"
  12452. then
  12453. if ${GNUTLS_CFLAGS:+false} :; then :
  12454. if ${PKG_CONFIG+:} false; then :
  12455. GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
  12456. fi
  12457. fi
  12458. if ${GNUTLS_LIBS:+false} :; then :
  12459. if ${PKG_CONFIG+:} false; then :
  12460. GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
  12461. fi
  12462. fi
  12463. $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
  12464. $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
  12465. ac_save_CPPFLAGS=$CPPFLAGS
  12466. CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
  12467. ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
  12468. if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
  12469. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12470. /* end confdefs.h. */
  12471. #include <gnutls/gnutls.h>
  12472. #include <gnutls/crypto.h>
  12473. int
  12474. main ()
  12475. {
  12476. static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
  12477. ;
  12478. return 0;
  12479. }
  12480. _ACEOF
  12481. if ac_fn_c_try_compile "$LINENO"; then :
  12482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
  12483. $as_echo_n "checking for -lgnutls... " >&6; }
  12484. if ${ac_cv_lib_soname_gnutls+:} false; then :
  12485. $as_echo_n "(cached) " >&6
  12486. else
  12487. ac_check_soname_save_LIBS=$LIBS
  12488. LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
  12489. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12490. /* end confdefs.h. */
  12491. /* Override any GCC internal prototype to avoid an error.
  12492. Use char because int might match the return type of a GCC
  12493. builtin and then its argument prototype would still apply. */
  12494. #ifdef __cplusplus
  12495. extern "C"
  12496. #endif
  12497. char gnutls_global_init ();
  12498. int
  12499. main ()
  12500. {
  12501. return gnutls_global_init ();
  12502. ;
  12503. return 0;
  12504. }
  12505. _ACEOF
  12506. if ac_fn_c_try_link "$LINENO"; then :
  12507. case "$LIBEXT" in
  12508. dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12509. 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'` ;;
  12510. *) 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'`
  12511. if ${ac_cv_lib_soname_gnutls:+false} :; then :
  12512. 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'`
  12513. fi ;;
  12514. esac
  12515. else
  12516. ac_cv_lib_soname_gnutls=
  12517. fi
  12518. rm -f core conftest.err conftest.$ac_objext \
  12519. conftest$ac_exeext conftest.$ac_ext
  12520. LIBS=$ac_check_soname_save_LIBS
  12521. fi
  12522. if ${ac_cv_lib_soname_gnutls:+false} :; then :
  12523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12524. $as_echo "not found" >&6; }
  12525. GNUTLS_CFLAGS=""
  12526. else
  12527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
  12528. $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
  12529. cat >>confdefs.h <<_ACEOF
  12530. #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
  12531. _ACEOF
  12532. fi
  12533. ac_wine_check_funcs_save_LIBS="$LIBS"
  12534. LIBS="$LIBS $GNUTLS_LIBS"
  12535. for ac_func in gnutls_cipher_init
  12536. do :
  12537. ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
  12538. if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
  12539. cat >>confdefs.h <<_ACEOF
  12540. #define HAVE_GNUTLS_CIPHER_INIT 1
  12541. _ACEOF
  12542. else
  12543. as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
  12544. fi
  12545. done
  12546. LIBS="$ac_wine_check_funcs_save_LIBS"
  12547. fi
  12548. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12549. else
  12550. GNUTLS_CFLAGS=""
  12551. fi
  12552. CPPFLAGS=$ac_save_CPPFLAGS
  12553. test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12554. test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12555. fi
  12556. if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
  12557. case "x$with_gnutls" in
  12558. x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
  12559. xno) ;;
  12560. *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
  12561. This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
  12562. esac
  12563. fi
  12564. CURSES_LIBS=""
  12565. if test "$ac_cv_header_ncurses_h" = "yes"
  12566. then
  12567. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
  12568. $as_echo_n "checking for -lncurses... " >&6; }
  12569. if ${ac_cv_lib_soname_ncurses+:} false; then :
  12570. $as_echo_n "(cached) " >&6
  12571. else
  12572. ac_check_soname_save_LIBS=$LIBS
  12573. LIBS="-lncurses $LIBS"
  12574. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12575. /* end confdefs.h. */
  12576. /* Override any GCC internal prototype to avoid an error.
  12577. Use char because int might match the return type of a GCC
  12578. builtin and then its argument prototype would still apply. */
  12579. #ifdef __cplusplus
  12580. extern "C"
  12581. #endif
  12582. char waddch ();
  12583. int
  12584. main ()
  12585. {
  12586. return waddch ();
  12587. ;
  12588. return 0;
  12589. }
  12590. _ACEOF
  12591. if ac_fn_c_try_link "$LINENO"; then :
  12592. case "$LIBEXT" in
  12593. dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12594. dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12595. *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12596. if ${ac_cv_lib_soname_ncurses:+false} :; then :
  12597. ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12598. fi ;;
  12599. esac
  12600. else
  12601. ac_cv_lib_soname_ncurses=
  12602. fi
  12603. rm -f core conftest.err conftest.$ac_objext \
  12604. conftest$ac_exeext conftest.$ac_ext
  12605. LIBS=$ac_check_soname_save_LIBS
  12606. fi
  12607. if ${ac_cv_lib_soname_ncurses:+false} :; then :
  12608. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12609. $as_echo "not found" >&6; }
  12610. else
  12611. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
  12612. $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
  12613. cat >>confdefs.h <<_ACEOF
  12614. #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
  12615. _ACEOF
  12616. CURSES_LIBS="-lncurses"
  12617. fi
  12618. elif test "$ac_cv_header_curses_h" = "yes"
  12619. then
  12620. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
  12621. $as_echo_n "checking for -lcurses... " >&6; }
  12622. if ${ac_cv_lib_soname_curses+:} false; then :
  12623. $as_echo_n "(cached) " >&6
  12624. else
  12625. ac_check_soname_save_LIBS=$LIBS
  12626. LIBS="-lcurses $LIBS"
  12627. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12628. /* end confdefs.h. */
  12629. /* Override any GCC internal prototype to avoid an error.
  12630. Use char because int might match the return type of a GCC
  12631. builtin and then its argument prototype would still apply. */
  12632. #ifdef __cplusplus
  12633. extern "C"
  12634. #endif
  12635. char waddch ();
  12636. int
  12637. main ()
  12638. {
  12639. return waddch ();
  12640. ;
  12641. return 0;
  12642. }
  12643. _ACEOF
  12644. if ac_fn_c_try_link "$LINENO"; then :
  12645. case "$LIBEXT" in
  12646. dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12647. dylib) ac_cv_lib_soname_curses=`$OTOOL -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12648. *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12649. if ${ac_cv_lib_soname_curses:+false} :; then :
  12650. ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12651. fi ;;
  12652. esac
  12653. else
  12654. ac_cv_lib_soname_curses=
  12655. fi
  12656. rm -f core conftest.err conftest.$ac_objext \
  12657. conftest$ac_exeext conftest.$ac_ext
  12658. LIBS=$ac_check_soname_save_LIBS
  12659. fi
  12660. if ${ac_cv_lib_soname_curses:+false} :; then :
  12661. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12662. $as_echo "not found" >&6; }
  12663. else
  12664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
  12665. $as_echo "$ac_cv_lib_soname_curses" >&6; }
  12666. cat >>confdefs.h <<_ACEOF
  12667. #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
  12668. _ACEOF
  12669. CURSES_LIBS="-lcurses"
  12670. fi
  12671. fi
  12672. ac_save_LIBS="$LIBS"
  12673. LIBS="$LIBS $CURSES_LIBS"
  12674. for ac_func in mousemask
  12675. do :
  12676. ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
  12677. if test "x$ac_cv_func_mousemask" = xyes; then :
  12678. cat >>confdefs.h <<_ACEOF
  12679. #define HAVE_MOUSEMASK 1
  12680. _ACEOF
  12681. fi
  12682. done
  12683. LIBS="$ac_save_LIBS"
  12684. if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
  12685. case "x$with_curses" in
  12686. x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
  12687. xno) ;;
  12688. *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
  12689. This is an error since --with-curses was requested." "$LINENO" 5 ;;
  12690. esac
  12691. fi
  12692. if test "x$with_sane" != "xno"
  12693. then
  12694. if ${SANE_CFLAGS:+false} :; then :
  12695. if ${PKG_CONFIG+:} false; then :
  12696. SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
  12697. fi
  12698. fi
  12699. test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
  12700. if ${SANE_LIBS:+false} :; then :
  12701. if ${PKG_CONFIG+:} false; then :
  12702. SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
  12703. fi
  12704. fi
  12705. test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
  12706. $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
  12707. $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
  12708. ac_save_CPPFLAGS=$CPPFLAGS
  12709. CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
  12710. ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
  12711. if test "x$ac_cv_header_sane_sane_h" = xyes; then :
  12712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
  12713. $as_echo_n "checking for -lsane... " >&6; }
  12714. if ${ac_cv_lib_soname_sane+:} false; then :
  12715. $as_echo_n "(cached) " >&6
  12716. else
  12717. ac_check_soname_save_LIBS=$LIBS
  12718. LIBS="-lsane $SANE_LIBS $LIBS"
  12719. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12720. /* end confdefs.h. */
  12721. /* Override any GCC internal prototype to avoid an error.
  12722. Use char because int might match the return type of a GCC
  12723. builtin and then its argument prototype would still apply. */
  12724. #ifdef __cplusplus
  12725. extern "C"
  12726. #endif
  12727. char sane_init ();
  12728. int
  12729. main ()
  12730. {
  12731. return sane_init ();
  12732. ;
  12733. return 0;
  12734. }
  12735. _ACEOF
  12736. if ac_fn_c_try_link "$LINENO"; then :
  12737. case "$LIBEXT" in
  12738. dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12739. 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'` ;;
  12740. *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12741. if ${ac_cv_lib_soname_sane:+false} :; then :
  12742. ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12743. fi ;;
  12744. esac
  12745. else
  12746. ac_cv_lib_soname_sane=
  12747. fi
  12748. rm -f core conftest.err conftest.$ac_objext \
  12749. conftest$ac_exeext conftest.$ac_ext
  12750. LIBS=$ac_check_soname_save_LIBS
  12751. fi
  12752. if ${ac_cv_lib_soname_sane:+false} :; then :
  12753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12754. $as_echo "not found" >&6; }
  12755. SANE_CFLAGS=""
  12756. else
  12757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
  12758. $as_echo "$ac_cv_lib_soname_sane" >&6; }
  12759. cat >>confdefs.h <<_ACEOF
  12760. #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
  12761. _ACEOF
  12762. fi
  12763. else
  12764. SANE_CFLAGS=""
  12765. fi
  12766. CPPFLAGS=$ac_save_CPPFLAGS
  12767. test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12768. test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12769. fi
  12770. if test "x$ac_cv_lib_soname_sane" = "x"; then :
  12771. case "x$with_sane" in
  12772. x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
  12773. xno) ;;
  12774. *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
  12775. This is an error since --with-sane was requested." "$LINENO" 5 ;;
  12776. esac
  12777. fi
  12778. if test "x$with_usb" != "xno"
  12779. then
  12780. if ${USB_CFLAGS:+false} :; then :
  12781. if ${PKG_CONFIG+:} false; then :
  12782. USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
  12783. fi
  12784. fi
  12785. if ${USB_LIBS:+false} :; then :
  12786. if ${PKG_CONFIG+:} false; then :
  12787. USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
  12788. fi
  12789. fi
  12790. USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
  12791. $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
  12792. $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
  12793. ac_save_CPPFLAGS=$CPPFLAGS
  12794. CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
  12795. ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
  12796. if test "x$ac_cv_header_libusb_h" = xyes; then :
  12797. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
  12798. $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
  12799. if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
  12800. $as_echo_n "(cached) " >&6
  12801. else
  12802. ac_check_lib_save_LIBS=$LIBS
  12803. LIBS="-lusb-1.0 $USB_LIBS $LIBS"
  12804. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12805. /* end confdefs.h. */
  12806. /* Override any GCC internal prototype to avoid an error.
  12807. Use char because int might match the return type of a GCC
  12808. builtin and then its argument prototype would still apply. */
  12809. #ifdef __cplusplus
  12810. extern "C"
  12811. #endif
  12812. char libusb_interrupt_event_handler ();
  12813. int
  12814. main ()
  12815. {
  12816. return libusb_interrupt_event_handler ();
  12817. ;
  12818. return 0;
  12819. }
  12820. _ACEOF
  12821. if ac_fn_c_try_link "$LINENO"; then :
  12822. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
  12823. else
  12824. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
  12825. fi
  12826. rm -f core conftest.err conftest.$ac_objext \
  12827. conftest$ac_exeext conftest.$ac_ext
  12828. LIBS=$ac_check_lib_save_LIBS
  12829. fi
  12830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
  12831. $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
  12832. if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
  12833. :
  12834. else
  12835. USB_LIBS=""
  12836. fi
  12837. else
  12838. USB_LIBS=""
  12839. fi
  12840. CPPFLAGS=$ac_save_CPPFLAGS
  12841. test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12842. test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12843. fi
  12844. if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
  12845. case "x$with_usb" in
  12846. x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
  12847. xno) ;;
  12848. *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
  12849. This is an error since --with-usb was requested." "$LINENO" 5 ;;
  12850. esac
  12851. enable_wineusb_sys=${enable_wineusb_sys:-no}
  12852. fi
  12853. if test "x$with_v4l2" != "xno"
  12854. then
  12855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
  12856. $as_echo_n "checking for -lv4l2... " >&6; }
  12857. if ${ac_cv_lib_soname_v4l2+:} false; then :
  12858. $as_echo_n "(cached) " >&6
  12859. else
  12860. ac_check_soname_save_LIBS=$LIBS
  12861. LIBS="-lv4l2 $LIBS"
  12862. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12863. /* end confdefs.h. */
  12864. /* Override any GCC internal prototype to avoid an error.
  12865. Use char because int might match the return type of a GCC
  12866. builtin and then its argument prototype would still apply. */
  12867. #ifdef __cplusplus
  12868. extern "C"
  12869. #endif
  12870. char v4l2_open ();
  12871. int
  12872. main ()
  12873. {
  12874. return v4l2_open ();
  12875. ;
  12876. return 0;
  12877. }
  12878. _ACEOF
  12879. if ac_fn_c_try_link "$LINENO"; then :
  12880. case "$LIBEXT" in
  12881. dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12882. 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'` ;;
  12883. *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12884. if ${ac_cv_lib_soname_v4l2:+false} :; then :
  12885. ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12886. fi ;;
  12887. esac
  12888. else
  12889. ac_cv_lib_soname_v4l2=
  12890. fi
  12891. rm -f core conftest.err conftest.$ac_objext \
  12892. conftest$ac_exeext conftest.$ac_ext
  12893. LIBS=$ac_check_soname_save_LIBS
  12894. fi
  12895. if ${ac_cv_lib_soname_v4l2:+false} :; then :
  12896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12897. $as_echo "not found" >&6; }
  12898. else
  12899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
  12900. $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
  12901. cat >>confdefs.h <<_ACEOF
  12902. #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
  12903. _ACEOF
  12904. fi
  12905. fi
  12906. if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
  12907. case "x$with_v4l2" in
  12908. x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
  12909. xno) ;;
  12910. *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
  12911. This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
  12912. esac
  12913. fi
  12914. if test "x$with_gphoto" != "xno"
  12915. then
  12916. if ${GPHOTO2_CFLAGS:+false} :; then :
  12917. if ${PKG_CONFIG+:} false; then :
  12918. GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
  12919. fi
  12920. fi
  12921. test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
  12922. if ${GPHOTO2_LIBS:+false} :; then :
  12923. if ${PKG_CONFIG+:} false; then :
  12924. GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
  12925. fi
  12926. fi
  12927. test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
  12928. GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
  12929. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
  12930. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
  12931. ac_save_CPPFLAGS=$CPPFLAGS
  12932. CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
  12933. ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
  12934. if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
  12935. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
  12936. $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
  12937. if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
  12938. $as_echo_n "(cached) " >&6
  12939. else
  12940. ac_check_lib_save_LIBS=$LIBS
  12941. LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
  12942. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12943. /* end confdefs.h. */
  12944. /* Override any GCC internal prototype to avoid an error.
  12945. Use char because int might match the return type of a GCC
  12946. builtin and then its argument prototype would still apply. */
  12947. #ifdef __cplusplus
  12948. extern "C"
  12949. #endif
  12950. char gp_camera_new ();
  12951. int
  12952. main ()
  12953. {
  12954. return gp_camera_new ();
  12955. ;
  12956. return 0;
  12957. }
  12958. _ACEOF
  12959. if ac_fn_c_try_link "$LINENO"; then :
  12960. ac_cv_lib_gphoto2_gp_camera_new=yes
  12961. else
  12962. ac_cv_lib_gphoto2_gp_camera_new=no
  12963. fi
  12964. rm -f core conftest.err conftest.$ac_objext \
  12965. conftest$ac_exeext conftest.$ac_ext
  12966. LIBS=$ac_check_lib_save_LIBS
  12967. fi
  12968. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
  12969. $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
  12970. if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
  12971. $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
  12972. else
  12973. GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
  12974. fi
  12975. else
  12976. GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
  12977. fi
  12978. CPPFLAGS=$ac_save_CPPFLAGS
  12979. test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12980. test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12981. if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
  12982. if ${PKG_CONFIG+:} false; then :
  12983. GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
  12984. fi
  12985. fi
  12986. test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
  12987. if ${GPHOTO2_PORT_LIBS:+false} :; then :
  12988. if ${PKG_CONFIG+:} false; then :
  12989. GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
  12990. fi
  12991. fi
  12992. test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
  12993. GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
  12994. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
  12995. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
  12996. ac_save_CPPFLAGS=$CPPFLAGS
  12997. CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
  12998. ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
  12999. if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
  13000. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
  13001. $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
  13002. if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
  13003. $as_echo_n "(cached) " >&6
  13004. else
  13005. ac_check_lib_save_LIBS=$LIBS
  13006. LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
  13007. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13008. /* end confdefs.h. */
  13009. /* Override any GCC internal prototype to avoid an error.
  13010. Use char because int might match the return type of a GCC
  13011. builtin and then its argument prototype would still apply. */
  13012. #ifdef __cplusplus
  13013. extern "C"
  13014. #endif
  13015. char gp_port_info_list_new ();
  13016. int
  13017. main ()
  13018. {
  13019. return gp_port_info_list_new ();
  13020. ;
  13021. return 0;
  13022. }
  13023. _ACEOF
  13024. if ac_fn_c_try_link "$LINENO"; then :
  13025. ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
  13026. else
  13027. ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
  13028. fi
  13029. rm -f core conftest.err conftest.$ac_objext \
  13030. conftest$ac_exeext conftest.$ac_ext
  13031. LIBS=$ac_check_lib_save_LIBS
  13032. fi
  13033. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
  13034. $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
  13035. if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
  13036. $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
  13037. else
  13038. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  13039. fi
  13040. else
  13041. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  13042. fi
  13043. CPPFLAGS=$ac_save_CPPFLAGS
  13044. test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13045. test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13046. fi
  13047. if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
  13048. case "x$with_gphoto" in
  13049. x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
  13050. xno) ;;
  13051. *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
  13052. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  13053. esac
  13054. fi
  13055. if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
  13056. case "x$with_gphoto" in
  13057. x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
  13058. xno) ;;
  13059. *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
  13060. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  13061. esac
  13062. fi
  13063. if test "$ac_cv_header_resolv_h" = "yes"
  13064. then
  13065. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
  13066. $as_echo_n "checking for resolver library... " >&6; }
  13067. if ${ac_cv_have_resolv+:} false; then :
  13068. $as_echo_n "(cached) " >&6
  13069. else
  13070. ac_save_LIBS="$LIBS"
  13071. for lib in '' -lresolv
  13072. do
  13073. LIBS="$lib $ac_save_LIBS"
  13074. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13075. /* end confdefs.h. */
  13076. #ifdef HAVE_NETINET_IN_H
  13077. #include <netinet/in.h>
  13078. #endif
  13079. #include <resolv.h>
  13080. int
  13081. main ()
  13082. {
  13083. if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
  13084. ;
  13085. return 0;
  13086. }
  13087. _ACEOF
  13088. if ac_fn_c_try_link "$LINENO"; then :
  13089. ac_cv_have_resolv=${lib:-"none required"}
  13090. else
  13091. ac_cv_have_resolv="not found"
  13092. fi
  13093. rm -f core conftest.err conftest.$ac_objext \
  13094. conftest$ac_exeext conftest.$ac_ext
  13095. test "x$ac_cv_have_resolv" = "xnot found" || break
  13096. done
  13097. LIBS="$ac_save_LIBS"
  13098. fi
  13099. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
  13100. $as_echo "$ac_cv_have_resolv" >&6; }
  13101. case "$ac_cv_have_resolv" in
  13102. "not found") ;;
  13103. "none required")
  13104. $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
  13105. ;;
  13106. *)
  13107. $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
  13108. RESOLV_LIBS=$ac_cv_have_resolv
  13109. ;;
  13110. esac
  13111. if test "x$ac_cv_have_resolv" != "xnot found"
  13112. then
  13113. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
  13114. $as_echo_n "checking for res_getservers... " >&6; }
  13115. if ${ac_cv_have_res_getservers+:} false; then :
  13116. $as_echo_n "(cached) " >&6
  13117. else
  13118. ac_save_LIBS="$LIBS"
  13119. LIBS="$RESOLV_LIBS $LIBS"
  13120. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13121. /* end confdefs.h. */
  13122. #include <resolv.h>
  13123. int
  13124. main ()
  13125. {
  13126. res_getservers(NULL, NULL, 0);
  13127. ;
  13128. return 0;
  13129. }
  13130. _ACEOF
  13131. if ac_fn_c_try_link "$LINENO"; then :
  13132. ac_cv_have_res_getservers=yes
  13133. else
  13134. ac_cv_have_res_getservers=no
  13135. fi
  13136. rm -f core conftest.err conftest.$ac_objext \
  13137. conftest$ac_exeext conftest.$ac_ext
  13138. LIBS="$ac_save_LIBS"
  13139. fi
  13140. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
  13141. $as_echo "$ac_cv_have_res_getservers" >&6; }
  13142. if test "$ac_cv_have_res_getservers" = "yes"
  13143. then
  13144. $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
  13145. fi
  13146. fi
  13147. fi
  13148. if test "x$with_cms" != "xno"
  13149. then
  13150. if ${LCMS2_CFLAGS:+false} :; then :
  13151. if ${PKG_CONFIG+:} false; then :
  13152. LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
  13153. fi
  13154. fi
  13155. if ${LCMS2_LIBS:+false} :; then :
  13156. if ${PKG_CONFIG+:} false; then :
  13157. LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
  13158. fi
  13159. fi
  13160. LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
  13161. $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
  13162. $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
  13163. ac_save_CPPFLAGS=$CPPFLAGS
  13164. CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
  13165. for ac_header in lcms2.h
  13166. do :
  13167. ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
  13168. if test "x$ac_cv_header_lcms2_h" = xyes; then :
  13169. cat >>confdefs.h <<_ACEOF
  13170. #define HAVE_LCMS2_H 1
  13171. _ACEOF
  13172. fi
  13173. done
  13174. if test "$ac_cv_header_lcms2_h" = "yes"
  13175. then
  13176. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
  13177. $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
  13178. if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
  13179. $as_echo_n "(cached) " >&6
  13180. else
  13181. ac_check_lib_save_LIBS=$LIBS
  13182. LIBS="-llcms2 $LCMS2_LIBS $LIBS"
  13183. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13184. /* end confdefs.h. */
  13185. /* Override any GCC internal prototype to avoid an error.
  13186. Use char because int might match the return type of a GCC
  13187. builtin and then its argument prototype would still apply. */
  13188. #ifdef __cplusplus
  13189. extern "C"
  13190. #endif
  13191. char cmsOpenProfileFromFile ();
  13192. int
  13193. main ()
  13194. {
  13195. return cmsOpenProfileFromFile ();
  13196. ;
  13197. return 0;
  13198. }
  13199. _ACEOF
  13200. if ac_fn_c_try_link "$LINENO"; then :
  13201. ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
  13202. else
  13203. ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
  13204. fi
  13205. rm -f core conftest.err conftest.$ac_objext \
  13206. conftest$ac_exeext conftest.$ac_ext
  13207. LIBS=$ac_check_lib_save_LIBS
  13208. fi
  13209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
  13210. $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
  13211. if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
  13212. $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
  13213. else
  13214. LCMS2_LIBS=""
  13215. fi
  13216. else
  13217. LCMS2_CFLAGS=""
  13218. LCMS2_LIBS=""
  13219. fi
  13220. CPPFLAGS=$ac_save_CPPFLAGS
  13221. test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13222. test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13223. fi
  13224. if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
  13225. case "x$with_cms" in
  13226. x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
  13227. xno) ;;
  13228. *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
  13229. This is an error since --with-cms was requested." "$LINENO" 5 ;;
  13230. esac
  13231. fi
  13232. if test "x$with_freetype" != "xno"
  13233. then
  13234. if ${FREETYPE_CFLAGS:+false} :; then :
  13235. if ${PKG_CONFIG+:} false; then :
  13236. FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
  13237. fi
  13238. fi
  13239. test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
  13240. if ${FREETYPE_LIBS:+false} :; then :
  13241. if ${PKG_CONFIG+:} false; then :
  13242. FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
  13243. fi
  13244. fi
  13245. test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
  13246. FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
  13247. $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
  13248. $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
  13249. ac_save_CPPFLAGS=$CPPFLAGS
  13250. CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
  13251. for ac_header in ft2build.h
  13252. do :
  13253. ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
  13254. if test "x$ac_cv_header_ft2build_h" = xyes; then :
  13255. cat >>confdefs.h <<_ACEOF
  13256. #define HAVE_FT2BUILD_H 1
  13257. _ACEOF
  13258. fi
  13259. done
  13260. if test "$ac_cv_header_ft2build_h" = "yes"
  13261. then
  13262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
  13263. $as_echo_n "checking for -lfreetype... " >&6; }
  13264. if ${ac_cv_lib_soname_freetype+:} false; then :
  13265. $as_echo_n "(cached) " >&6
  13266. else
  13267. ac_check_soname_save_LIBS=$LIBS
  13268. LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
  13269. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13270. /* end confdefs.h. */
  13271. /* Override any GCC internal prototype to avoid an error.
  13272. Use char because int might match the return type of a GCC
  13273. builtin and then its argument prototype would still apply. */
  13274. #ifdef __cplusplus
  13275. extern "C"
  13276. #endif
  13277. char FT_Init_FreeType ();
  13278. int
  13279. main ()
  13280. {
  13281. return FT_Init_FreeType ();
  13282. ;
  13283. return 0;
  13284. }
  13285. _ACEOF
  13286. if ac_fn_c_try_link "$LINENO"; then :
  13287. case "$LIBEXT" in
  13288. dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13289. 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'` ;;
  13290. *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13291. if ${ac_cv_lib_soname_freetype:+false} :; then :
  13292. ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13293. fi ;;
  13294. esac
  13295. else
  13296. ac_cv_lib_soname_freetype=
  13297. fi
  13298. rm -f core conftest.err conftest.$ac_objext \
  13299. conftest$ac_exeext conftest.$ac_ext
  13300. LIBS=$ac_check_soname_save_LIBS
  13301. fi
  13302. if ${ac_cv_lib_soname_freetype:+false} :; then :
  13303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13304. $as_echo "not found" >&6; }
  13305. FREETYPE_LIBS=""
  13306. else
  13307. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
  13308. $as_echo "$ac_cv_lib_soname_freetype" >&6; }
  13309. cat >>confdefs.h <<_ACEOF
  13310. #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
  13311. _ACEOF
  13312. $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
  13313. ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
  13314. #include FT_MODULE_H
  13315. "
  13316. if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
  13317. cat >>confdefs.h <<_ACEOF
  13318. #define HAVE_FT_TRUETYPEENGINETYPE 1
  13319. _ACEOF
  13320. fi
  13321. fi
  13322. else
  13323. FREETYPE_CFLAGS=""
  13324. FREETYPE_LIBS=""
  13325. fi
  13326. CPPFLAGS=$ac_save_CPPFLAGS
  13327. test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13328. test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13329. fi
  13330. if test "x$ac_cv_lib_soname_freetype" = x; then :
  13331. case "x$with_freetype" in
  13332. xno) ;;
  13333. *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
  13334. Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
  13335. esac
  13336. enable_fonts=${enable_fonts:-no}
  13337. fi
  13338. ac_wine_check_funcs_save_LIBS="$LIBS"
  13339. LIBS="$LIBS $PTHREAD_LIBS"
  13340. for ac_func in \
  13341. pthread_getthreadid_np
  13342. do :
  13343. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13344. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13345. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13346. cat >>confdefs.h <<_ACEOF
  13347. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13348. _ACEOF
  13349. fi
  13350. done
  13351. LIBS="$ac_wine_check_funcs_save_LIBS"
  13352. if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
  13353. then
  13354. if test "$ac_cv_header_gettext_po_h" = "yes"
  13355. then
  13356. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
  13357. $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
  13358. if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
  13359. $as_echo_n "(cached) " >&6
  13360. else
  13361. ac_check_lib_save_LIBS=$LIBS
  13362. LIBS="-lgettextpo $LIBS"
  13363. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13364. /* end confdefs.h. */
  13365. /* Override any GCC internal prototype to avoid an error.
  13366. Use char because int might match the return type of a GCC
  13367. builtin and then its argument prototype would still apply. */
  13368. #ifdef __cplusplus
  13369. extern "C"
  13370. #endif
  13371. char po_message_msgctxt ();
  13372. int
  13373. main ()
  13374. {
  13375. return po_message_msgctxt ();
  13376. ;
  13377. return 0;
  13378. }
  13379. _ACEOF
  13380. if ac_fn_c_try_link "$LINENO"; then :
  13381. ac_cv_lib_gettextpo_po_message_msgctxt=yes
  13382. else
  13383. ac_cv_lib_gettextpo_po_message_msgctxt=no
  13384. fi
  13385. rm -f core conftest.err conftest.$ac_objext \
  13386. conftest$ac_exeext conftest.$ac_ext
  13387. LIBS=$ac_check_lib_save_LIBS
  13388. fi
  13389. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
  13390. $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
  13391. if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
  13392. $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
  13393. GETTEXTPO_LIBS="-lgettextpo"
  13394. fi
  13395. fi
  13396. if test "x$GETTEXTPO_LIBS" = "x"; then :
  13397. case "x$with_gettextpo" in
  13398. x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
  13399. xno) ;;
  13400. *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
  13401. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  13402. esac
  13403. fi
  13404. if test "$srcdir" != .; then :
  13405. case "x$with_gettextpo" in
  13406. x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
  13407. xno) ;;
  13408. *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
  13409. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  13410. esac
  13411. fi
  13412. fi
  13413. if test "x$with_pulse" != "xno";
  13414. then
  13415. if ${PULSE_CFLAGS:+false} :; then :
  13416. if ${PKG_CONFIG+:} false; then :
  13417. PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
  13418. fi
  13419. fi
  13420. if ${PULSE_LIBS:+false} :; then :
  13421. if ${PKG_CONFIG+:} false; then :
  13422. PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
  13423. fi
  13424. fi
  13425. $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
  13426. $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
  13427. ac_save_CPPFLAGS=$CPPFLAGS
  13428. CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
  13429. for ac_header in pulse/pulseaudio.h
  13430. do :
  13431. ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
  13432. if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
  13433. cat >>confdefs.h <<_ACEOF
  13434. #define HAVE_PULSE_PULSEAUDIO_H 1
  13435. _ACEOF
  13436. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
  13437. $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
  13438. if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
  13439. $as_echo_n "(cached) " >&6
  13440. else
  13441. ac_check_lib_save_LIBS=$LIBS
  13442. LIBS="-lpulse $PULSE_LIBS $LIBS"
  13443. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13444. /* end confdefs.h. */
  13445. /* Override any GCC internal prototype to avoid an error.
  13446. Use char because int might match the return type of a GCC
  13447. builtin and then its argument prototype would still apply. */
  13448. #ifdef __cplusplus
  13449. extern "C"
  13450. #endif
  13451. char pa_stream_is_corked ();
  13452. int
  13453. main ()
  13454. {
  13455. return pa_stream_is_corked ();
  13456. ;
  13457. return 0;
  13458. }
  13459. _ACEOF
  13460. if ac_fn_c_try_link "$LINENO"; then :
  13461. ac_cv_lib_pulse_pa_stream_is_corked=yes
  13462. else
  13463. ac_cv_lib_pulse_pa_stream_is_corked=no
  13464. fi
  13465. rm -f core conftest.err conftest.$ac_objext \
  13466. conftest$ac_exeext conftest.$ac_ext
  13467. LIBS=$ac_check_lib_save_LIBS
  13468. fi
  13469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
  13470. $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
  13471. if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
  13472. :
  13473. else
  13474. PULSE_LIBS=""
  13475. fi
  13476. else
  13477. PULSE_LIBS=""
  13478. fi
  13479. done
  13480. CPPFLAGS=$ac_save_CPPFLAGS
  13481. test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13482. test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13483. fi
  13484. if test -z "$PULSE_LIBS"; then :
  13485. case "x$with_pulse" in
  13486. x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
  13487. xno) ;;
  13488. *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
  13489. This is an error since --with-pulse was requested." "$LINENO" 5 ;;
  13490. esac
  13491. enable_winepulse_drv=${enable_winepulse_drv:-no}
  13492. fi
  13493. if test "x$with_gstreamer" != "xno"
  13494. then
  13495. if ${GSTREAMER_CFLAGS:+false} :; then :
  13496. if ${PKG_CONFIG+:} false; then :
  13497. GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  13498. fi
  13499. fi
  13500. if ${GSTREAMER_LIBS:+false} :; then :
  13501. if ${PKG_CONFIG+:} false; then :
  13502. GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  13503. fi
  13504. fi
  13505. $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
  13506. $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
  13507. ac_save_CPPFLAGS=$CPPFLAGS
  13508. CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
  13509. ac_gst_incl=""
  13510. for i in $GSTREAMER_CFLAGS
  13511. do
  13512. case "$i" in
  13513. -I*) ac_gst_incl="$ac_gst_incl $i";;
  13514. esac
  13515. done
  13516. GSTREAMER_CFLAGS=$ac_gst_incl
  13517. CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
  13518. ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
  13519. if test "x$ac_cv_header_gst_gst_h" = xyes; then :
  13520. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
  13521. $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
  13522. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13523. /* end confdefs.h. */
  13524. #include <gst/gst.h>
  13525. int
  13526. main ()
  13527. {
  13528. static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
  13529. ;
  13530. return 0;
  13531. }
  13532. _ACEOF
  13533. if ac_fn_c_try_compile "$LINENO"; then :
  13534. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13535. $as_echo "yes" >&6; }
  13536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
  13537. $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
  13538. if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
  13539. $as_echo_n "(cached) " >&6
  13540. else
  13541. ac_check_lib_save_LIBS=$LIBS
  13542. LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
  13543. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13544. /* end confdefs.h. */
  13545. /* Override any GCC internal prototype to avoid an error.
  13546. Use char because int might match the return type of a GCC
  13547. builtin and then its argument prototype would still apply. */
  13548. #ifdef __cplusplus
  13549. extern "C"
  13550. #endif
  13551. char gst_pad_new ();
  13552. int
  13553. main ()
  13554. {
  13555. return gst_pad_new ();
  13556. ;
  13557. return 0;
  13558. }
  13559. _ACEOF
  13560. if ac_fn_c_try_link "$LINENO"; then :
  13561. ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
  13562. else
  13563. ac_cv_lib_gstreamer_1_0_gst_pad_new=no
  13564. fi
  13565. rm -f core conftest.err conftest.$ac_objext \
  13566. conftest$ac_exeext conftest.$ac_ext
  13567. LIBS=$ac_check_lib_save_LIBS
  13568. fi
  13569. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
  13570. $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
  13571. if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
  13572. :
  13573. fi
  13574. else
  13575. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13576. $as_echo "no" >&6; }
  13577. ac_glib2_broken=yes
  13578. as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
  13579. fi
  13580. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13581. fi
  13582. CPPFLAGS=$ac_save_CPPFLAGS
  13583. test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13584. test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13585. fi
  13586. 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 :
  13587. case "x$with_gstreamer" in
  13588. x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
  13589. xno) ;;
  13590. *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
  13591. This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
  13592. esac
  13593. fi
  13594. test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
  13595. ALSA_LIBS=""
  13596. if test "x$with_alsa" != "xno"
  13597. then
  13598. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
  13599. $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
  13600. if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
  13601. $as_echo_n "(cached) " >&6
  13602. else
  13603. ac_check_lib_save_LIBS=$LIBS
  13604. LIBS="-lasound $LIBS"
  13605. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13606. /* end confdefs.h. */
  13607. /* Override any GCC internal prototype to avoid an error.
  13608. Use char because int might match the return type of a GCC
  13609. builtin and then its argument prototype would still apply. */
  13610. #ifdef __cplusplus
  13611. extern "C"
  13612. #endif
  13613. char snd_pcm_hw_params_get_access_mask ();
  13614. int
  13615. main ()
  13616. {
  13617. return snd_pcm_hw_params_get_access_mask ();
  13618. ;
  13619. return 0;
  13620. }
  13621. _ACEOF
  13622. if ac_fn_c_try_link "$LINENO"; then :
  13623. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
  13624. else
  13625. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
  13626. fi
  13627. rm -f core conftest.err conftest.$ac_objext \
  13628. conftest$ac_exeext conftest.$ac_ext
  13629. LIBS=$ac_check_lib_save_LIBS
  13630. fi
  13631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
  13632. $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
  13633. if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
  13634. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13635. /* end confdefs.h. */
  13636. #include <alsa/asoundlib.h>
  13637. int
  13638. main ()
  13639. {
  13640. snd_pcm_hw_params_get_access_mask(NULL, NULL)
  13641. ;
  13642. return 0;
  13643. }
  13644. _ACEOF
  13645. if ac_fn_c_try_compile "$LINENO"; then :
  13646. ALSA_LIBS="-lasound"
  13647. fi
  13648. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13649. fi
  13650. fi
  13651. test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
  13652. if test "x$with_oss" != xno
  13653. then
  13654. ac_save_CPPFLAGS="$CPPFLAGS"
  13655. if test -f /etc/oss.conf
  13656. then
  13657. . /etc/oss.conf
  13658. fi
  13659. ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
  13660. CPPFLAGS="$CPPFLAGS $ac_oss_incl"
  13661. ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
  13662. if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
  13663. ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
  13664. "
  13665. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
  13666. cat >>confdefs.h <<_ACEOF
  13667. #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
  13668. _ACEOF
  13669. OSS4_CFLAGS="$ac_oss_incl"
  13670. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
  13671. $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
  13672. if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
  13673. $as_echo_n "(cached) " >&6
  13674. else
  13675. ac_check_lib_save_LIBS=$LIBS
  13676. LIBS="-lossaudio $LIBS"
  13677. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13678. /* end confdefs.h. */
  13679. /* Override any GCC internal prototype to avoid an error.
  13680. Use char because int might match the return type of a GCC
  13681. builtin and then its argument prototype would still apply. */
  13682. #ifdef __cplusplus
  13683. extern "C"
  13684. #endif
  13685. char _oss_ioctl ();
  13686. int
  13687. main ()
  13688. {
  13689. return _oss_ioctl ();
  13690. ;
  13691. return 0;
  13692. }
  13693. _ACEOF
  13694. if ac_fn_c_try_link "$LINENO"; then :
  13695. ac_cv_lib_ossaudio__oss_ioctl=yes
  13696. else
  13697. ac_cv_lib_ossaudio__oss_ioctl=no
  13698. fi
  13699. rm -f core conftest.err conftest.$ac_objext \
  13700. conftest$ac_exeext conftest.$ac_ext
  13701. LIBS=$ac_check_lib_save_LIBS
  13702. fi
  13703. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  13704. $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
  13705. if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
  13706. OSS4_LIBS="-lossaudio"
  13707. fi
  13708. fi
  13709. fi
  13710. CPPFLAGS="$ac_save_CPPFLAGS"
  13711. fi
  13712. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
  13713. case "x$with_oss" in
  13714. x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
  13715. xno) ;;
  13716. *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
  13717. This is an error since --with-oss was requested." "$LINENO" 5 ;;
  13718. esac
  13719. enable_wineoss_drv=${enable_wineoss_drv:-no}
  13720. fi
  13721. if test "x$with_udev" != "xno"
  13722. then
  13723. if ${UDEV_CFLAGS:+false} :; then :
  13724. if ${PKG_CONFIG+:} false; then :
  13725. UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
  13726. fi
  13727. fi
  13728. if ${UDEV_LIBS:+false} :; then :
  13729. if ${PKG_CONFIG+:} false; then :
  13730. UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
  13731. fi
  13732. fi
  13733. UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
  13734. $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
  13735. $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
  13736. ac_save_CPPFLAGS=$CPPFLAGS
  13737. CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
  13738. for ac_header in libudev.h
  13739. do :
  13740. ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
  13741. if test "x$ac_cv_header_libudev_h" = xyes; then :
  13742. cat >>confdefs.h <<_ACEOF
  13743. #define HAVE_LIBUDEV_H 1
  13744. _ACEOF
  13745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
  13746. $as_echo_n "checking for udev_new in -ludev... " >&6; }
  13747. if ${ac_cv_lib_udev_udev_new+:} false; then :
  13748. $as_echo_n "(cached) " >&6
  13749. else
  13750. ac_check_lib_save_LIBS=$LIBS
  13751. LIBS="-ludev $UDEV_LIBS $LIBS"
  13752. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13753. /* end confdefs.h. */
  13754. /* Override any GCC internal prototype to avoid an error.
  13755. Use char because int might match the return type of a GCC
  13756. builtin and then its argument prototype would still apply. */
  13757. #ifdef __cplusplus
  13758. extern "C"
  13759. #endif
  13760. char udev_new ();
  13761. int
  13762. main ()
  13763. {
  13764. return udev_new ();
  13765. ;
  13766. return 0;
  13767. }
  13768. _ACEOF
  13769. if ac_fn_c_try_link "$LINENO"; then :
  13770. ac_cv_lib_udev_udev_new=yes
  13771. else
  13772. ac_cv_lib_udev_udev_new=no
  13773. fi
  13774. rm -f core conftest.err conftest.$ac_objext \
  13775. conftest$ac_exeext conftest.$ac_ext
  13776. LIBS=$ac_check_lib_save_LIBS
  13777. fi
  13778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
  13779. $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
  13780. if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
  13781. $as_echo "#define HAVE_UDEV 1" >>confdefs.h
  13782. else
  13783. UDEV_LIBS=""
  13784. fi
  13785. else
  13786. UDEV_LIBS=""
  13787. fi
  13788. done
  13789. CPPFLAGS=$ac_save_CPPFLAGS
  13790. test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13791. test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13792. fi
  13793. if test "x$UDEV_LIBS" = "x"; then :
  13794. case "x$with_udev" in
  13795. x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
  13796. xno) ;;
  13797. *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
  13798. This is an error since --with-udev was requested." "$LINENO" 5 ;;
  13799. esac
  13800. fi
  13801. if test "x$with_unwind" != xno
  13802. then
  13803. if ${UNWIND_CFLAGS:+false} :; then :
  13804. if ${PKG_CONFIG+:} false; then :
  13805. UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
  13806. fi
  13807. fi
  13808. if ${UNWIND_LIBS:+false} :; then :
  13809. if ${PKG_CONFIG+:} false; then :
  13810. UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
  13811. fi
  13812. fi
  13813. UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
  13814. $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
  13815. $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
  13816. ac_save_CPPFLAGS=$CPPFLAGS
  13817. CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
  13818. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
  13819. $as_echo_n "checking for unw_step... " >&6; }
  13820. if ${wine_cv_have_unw_step+:} false; then :
  13821. $as_echo_n "(cached) " >&6
  13822. else
  13823. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13824. /* end confdefs.h. */
  13825. #define UNW_LOCAL_ONLY
  13826. #include <libunwind.h>
  13827. int
  13828. main ()
  13829. {
  13830. unw_cursor_t cursor; unw_step( &cursor );
  13831. ;
  13832. return 0;
  13833. }
  13834. _ACEOF
  13835. if ac_fn_c_try_link "$LINENO"; then :
  13836. wine_cv_have_unw_step="yes"
  13837. else
  13838. wine_cv_have_unw_step="no"
  13839. fi
  13840. rm -f core conftest.err conftest.$ac_objext \
  13841. conftest$ac_exeext conftest.$ac_ext
  13842. fi
  13843. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
  13844. $as_echo "$wine_cv_have_unw_step" >&6; }
  13845. if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
  13846. then
  13847. save_libs=$LIBS
  13848. LIBS="$UNWIND_LIBS $LIBS"
  13849. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
  13850. $as_echo_n "checking for unw_step in libunwind... " >&6; }
  13851. if ${wine_cv_have_libunwind_unw_step+:} false; then :
  13852. $as_echo_n "(cached) " >&6
  13853. else
  13854. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13855. /* end confdefs.h. */
  13856. #define UNW_LOCAL_ONLY
  13857. #include <libunwind.h>
  13858. int
  13859. main ()
  13860. {
  13861. unw_cursor_t cursor; unw_step( &cursor );
  13862. ;
  13863. return 0;
  13864. }
  13865. _ACEOF
  13866. if ac_fn_c_try_link "$LINENO"; then :
  13867. wine_cv_have_libunwind_unw_step="yes"
  13868. else
  13869. wine_cv_have_libunwind_unw_step="no"
  13870. fi
  13871. rm -f core conftest.err conftest.$ac_objext \
  13872. conftest$ac_exeext conftest.$ac_ext
  13873. fi
  13874. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
  13875. $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
  13876. LIBS=$save_libs
  13877. fi
  13878. test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
  13879. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
  13880. then
  13881. $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
  13882. fi
  13883. CPPFLAGS=$ac_save_CPPFLAGS
  13884. test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13885. test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13886. fi
  13887. case $host in
  13888. aarch64*|*-darwin*)
  13889. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
  13890. case "x$with_unwind" in
  13891. x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
  13892. xno) ;;
  13893. *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
  13894. This is an error since --with-unwind was requested." "$LINENO" 5 ;;
  13895. esac
  13896. fi ;;
  13897. esac
  13898. if test "x$with_sdl" != "xno"
  13899. then
  13900. if ${SDL2_CFLAGS:+false} :; then :
  13901. if ${PKG_CONFIG+:} false; then :
  13902. SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
  13903. fi
  13904. fi
  13905. if ${SDL2_LIBS:+false} :; then :
  13906. if ${PKG_CONFIG+:} false; then :
  13907. SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
  13908. fi
  13909. fi
  13910. SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
  13911. $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
  13912. $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
  13913. ac_save_CPPFLAGS=$CPPFLAGS
  13914. CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
  13915. for ac_header in SDL2/SDL.h
  13916. do :
  13917. ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
  13918. if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
  13919. cat >>confdefs.h <<_ACEOF
  13920. #define HAVE_SDL2_SDL_H 1
  13921. _ACEOF
  13922. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
  13923. $as_echo_n "checking for -lSDL2... " >&6; }
  13924. if ${ac_cv_lib_soname_SDL2+:} false; then :
  13925. $as_echo_n "(cached) " >&6
  13926. else
  13927. ac_check_soname_save_LIBS=$LIBS
  13928. LIBS="-lSDL2 $SDL2_LIBS $LIBS"
  13929. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13930. /* end confdefs.h. */
  13931. /* Override any GCC internal prototype to avoid an error.
  13932. Use char because int might match the return type of a GCC
  13933. builtin and then its argument prototype would still apply. */
  13934. #ifdef __cplusplus
  13935. extern "C"
  13936. #endif
  13937. char SDL_Init ();
  13938. int
  13939. main ()
  13940. {
  13941. return SDL_Init ();
  13942. ;
  13943. return 0;
  13944. }
  13945. _ACEOF
  13946. if ac_fn_c_try_link "$LINENO"; then :
  13947. case "$LIBEXT" in
  13948. dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13949. 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'` ;;
  13950. *) 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'`
  13951. if ${ac_cv_lib_soname_SDL2:+false} :; then :
  13952. ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13953. fi ;;
  13954. esac
  13955. else
  13956. ac_cv_lib_soname_SDL2=
  13957. fi
  13958. rm -f core conftest.err conftest.$ac_objext \
  13959. conftest$ac_exeext conftest.$ac_ext
  13960. LIBS=$ac_check_soname_save_LIBS
  13961. fi
  13962. if ${ac_cv_lib_soname_SDL2:+false} :; then :
  13963. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13964. $as_echo "not found" >&6; }
  13965. else
  13966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
  13967. $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
  13968. cat >>confdefs.h <<_ACEOF
  13969. #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
  13970. _ACEOF
  13971. fi
  13972. fi
  13973. done
  13974. CPPFLAGS=$ac_save_CPPFLAGS
  13975. test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13976. test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13977. fi
  13978. if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
  13979. case "x$with_sdl" in
  13980. x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
  13981. xno) ;;
  13982. *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
  13983. This is an error since --with-sdl was requested." "$LINENO" 5 ;;
  13984. esac
  13985. fi
  13986. if test "x$with_faudio" != "xno"
  13987. then
  13988. if ${FAUDIO_CFLAGS:+false} :; then :
  13989. if ${PKG_CONFIG+:} false; then :
  13990. FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
  13991. fi
  13992. fi
  13993. if ${FAUDIO_LIBS:+false} :; then :
  13994. if ${PKG_CONFIG+:} false; then :
  13995. FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
  13996. fi
  13997. fi
  13998. FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
  13999. $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
  14000. $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
  14001. ac_save_CPPFLAGS=$CPPFLAGS
  14002. CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
  14003. for ac_header in FAudio.h
  14004. do :
  14005. ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
  14006. if test "x$ac_cv_header_FAudio_h" = xyes; then :
  14007. cat >>confdefs.h <<_ACEOF
  14008. #define HAVE_FAUDIO_H 1
  14009. _ACEOF
  14010. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
  14011. $as_echo_n "checking for -lFAudio... " >&6; }
  14012. if ${ac_cv_lib_soname_FAudio+:} false; then :
  14013. $as_echo_n "(cached) " >&6
  14014. else
  14015. ac_check_soname_save_LIBS=$LIBS
  14016. LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
  14017. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14018. /* end confdefs.h. */
  14019. /* Override any GCC internal prototype to avoid an error.
  14020. Use char because int might match the return type of a GCC
  14021. builtin and then its argument prototype would still apply. */
  14022. #ifdef __cplusplus
  14023. extern "C"
  14024. #endif
  14025. char FAudioCreate ();
  14026. int
  14027. main ()
  14028. {
  14029. return FAudioCreate ();
  14030. ;
  14031. return 0;
  14032. }
  14033. _ACEOF
  14034. if ac_fn_c_try_link "$LINENO"; then :
  14035. case "$LIBEXT" in
  14036. dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14037. 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'` ;;
  14038. *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14039. if ${ac_cv_lib_soname_FAudio:+false} :; then :
  14040. ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14041. fi ;;
  14042. esac
  14043. else
  14044. ac_cv_lib_soname_FAudio=
  14045. fi
  14046. rm -f core conftest.err conftest.$ac_objext \
  14047. conftest$ac_exeext conftest.$ac_ext
  14048. LIBS=$ac_check_soname_save_LIBS
  14049. fi
  14050. if ${ac_cv_lib_soname_FAudio:+false} :; then :
  14051. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14052. $as_echo "not found" >&6; }
  14053. else
  14054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
  14055. $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
  14056. cat >>confdefs.h <<_ACEOF
  14057. #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
  14058. _ACEOF
  14059. fi
  14060. fi
  14061. done
  14062. ac_wine_check_funcs_save_LIBS="$LIBS"
  14063. LIBS="$LIBS $FAUDIO_LIBS"
  14064. for ac_func in FAudio_CommitOperationSet \
  14065. F3DAudioInitialize8 \
  14066. FAudioLinkedVersion
  14067. do :
  14068. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  14069. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  14070. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  14071. cat >>confdefs.h <<_ACEOF
  14072. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  14073. _ACEOF
  14074. fi
  14075. done
  14076. LIBS="$ac_wine_check_funcs_save_LIBS"
  14077. CPPFLAGS=$ac_save_CPPFLAGS
  14078. test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14079. test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14080. fi
  14081. if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
  14082. case "x$with_faudio" in
  14083. x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
  14084. xno) ;;
  14085. *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
  14086. This is an error since --with-faudio was requested." "$LINENO" 5 ;;
  14087. esac
  14088. fi
  14089. if test "x$with_capi" != "xno"
  14090. then
  14091. if ${CAPI20_CFLAGS:+false} :; then :
  14092. if ${PKG_CONFIG+:} false; then :
  14093. CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
  14094. fi
  14095. fi
  14096. if ${CAPI20_LIBS:+false} :; then :
  14097. if ${PKG_CONFIG+:} false; then :
  14098. CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
  14099. fi
  14100. fi
  14101. $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
  14102. $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
  14103. ac_save_CPPFLAGS=$CPPFLAGS
  14104. CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
  14105. for ac_header in capi20.h linux/capi.h
  14106. do :
  14107. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14108. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
  14109. "
  14110. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14111. cat >>confdefs.h <<_ACEOF
  14112. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14113. _ACEOF
  14114. fi
  14115. done
  14116. if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
  14117. then
  14118. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
  14119. $as_echo_n "checking for -lcapi20... " >&6; }
  14120. if ${ac_cv_lib_soname_capi20+:} false; then :
  14121. $as_echo_n "(cached) " >&6
  14122. else
  14123. ac_check_soname_save_LIBS=$LIBS
  14124. LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
  14125. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14126. /* end confdefs.h. */
  14127. /* Override any GCC internal prototype to avoid an error.
  14128. Use char because int might match the return type of a GCC
  14129. builtin and then its argument prototype would still apply. */
  14130. #ifdef __cplusplus
  14131. extern "C"
  14132. #endif
  14133. char capi20_register ();
  14134. int
  14135. main ()
  14136. {
  14137. return capi20_register ();
  14138. ;
  14139. return 0;
  14140. }
  14141. _ACEOF
  14142. if ac_fn_c_try_link "$LINENO"; then :
  14143. case "$LIBEXT" in
  14144. dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14145. 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'` ;;
  14146. *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14147. if ${ac_cv_lib_soname_capi20:+false} :; then :
  14148. ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14149. fi ;;
  14150. esac
  14151. else
  14152. ac_cv_lib_soname_capi20=
  14153. fi
  14154. rm -f core conftest.err conftest.$ac_objext \
  14155. conftest$ac_exeext conftest.$ac_ext
  14156. LIBS=$ac_check_soname_save_LIBS
  14157. fi
  14158. if ${ac_cv_lib_soname_capi20:+false} :; then :
  14159. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14160. $as_echo "not found" >&6; }
  14161. else
  14162. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
  14163. $as_echo "$ac_cv_lib_soname_capi20" >&6; }
  14164. cat >>confdefs.h <<_ACEOF
  14165. #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
  14166. _ACEOF
  14167. fi
  14168. fi
  14169. CPPFLAGS=$ac_save_CPPFLAGS
  14170. test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14171. test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14172. fi
  14173. if test "x$ac_cv_lib_soname_capi20" = "x"; then :
  14174. case "x$with_capi" in
  14175. x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
  14176. xno) ;;
  14177. *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
  14178. This is an error since --with-capi was requested." "$LINENO" 5 ;;
  14179. esac
  14180. fi
  14181. if test "x$with_cups" != "xno"
  14182. then
  14183. if ${CUPS_CFLAGS:+false} :; then :
  14184. if ${PKG_CONFIG+:} false; then :
  14185. CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
  14186. fi
  14187. fi
  14188. test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
  14189. if ${CUPS_LIBS:+false} :; then :
  14190. if ${PKG_CONFIG+:} false; then :
  14191. CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
  14192. fi
  14193. fi
  14194. test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
  14195. CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
  14196. $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
  14197. $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
  14198. ac_save_CPPFLAGS=$CPPFLAGS
  14199. CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
  14200. for ac_header in cups/cups.h cups/ppd.h
  14201. do :
  14202. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14203. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  14204. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14205. cat >>confdefs.h <<_ACEOF
  14206. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14207. _ACEOF
  14208. fi
  14209. done
  14210. if test "$ac_cv_header_cups_cups_h" = "yes"
  14211. then
  14212. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
  14213. $as_echo_n "checking for -lcups... " >&6; }
  14214. if ${ac_cv_lib_soname_cups+:} false; then :
  14215. $as_echo_n "(cached) " >&6
  14216. else
  14217. ac_check_soname_save_LIBS=$LIBS
  14218. LIBS="-lcups $CUPS_LIBS $LIBS"
  14219. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14220. /* end confdefs.h. */
  14221. /* Override any GCC internal prototype to avoid an error.
  14222. Use char because int might match the return type of a GCC
  14223. builtin and then its argument prototype would still apply. */
  14224. #ifdef __cplusplus
  14225. extern "C"
  14226. #endif
  14227. char cupsGetDefault ();
  14228. int
  14229. main ()
  14230. {
  14231. return cupsGetDefault ();
  14232. ;
  14233. return 0;
  14234. }
  14235. _ACEOF
  14236. if ac_fn_c_try_link "$LINENO"; then :
  14237. case "$LIBEXT" in
  14238. dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14239. 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'` ;;
  14240. *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14241. if ${ac_cv_lib_soname_cups:+false} :; then :
  14242. ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14243. fi ;;
  14244. esac
  14245. else
  14246. ac_cv_lib_soname_cups=
  14247. fi
  14248. rm -f core conftest.err conftest.$ac_objext \
  14249. conftest$ac_exeext conftest.$ac_ext
  14250. LIBS=$ac_check_soname_save_LIBS
  14251. fi
  14252. if ${ac_cv_lib_soname_cups:+false} :; then :
  14253. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14254. $as_echo "not found" >&6; }
  14255. CUPS_LIBS=""
  14256. else
  14257. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
  14258. $as_echo "$ac_cv_lib_soname_cups" >&6; }
  14259. cat >>confdefs.h <<_ACEOF
  14260. #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
  14261. _ACEOF
  14262. fi
  14263. else
  14264. CUPS_CFLAGS=""
  14265. CUPS_LIBS=""
  14266. fi
  14267. CPPFLAGS=$ac_save_CPPFLAGS
  14268. test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14269. test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14270. fi
  14271. if test "x$ac_cv_lib_soname_cups" = "x"; then :
  14272. case "x$with_cups" in
  14273. x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
  14274. xno) ;;
  14275. *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
  14276. This is an error since --with-cups was requested." "$LINENO" 5 ;;
  14277. esac
  14278. fi
  14279. if test "x$with_fontconfig" != "xno"
  14280. then
  14281. if ${FONTCONFIG_CFLAGS:+false} :; then :
  14282. if ${PKG_CONFIG+:} false; then :
  14283. FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
  14284. fi
  14285. fi
  14286. test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
  14287. if ${FONTCONFIG_LIBS:+false} :; then :
  14288. if ${PKG_CONFIG+:} false; then :
  14289. FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
  14290. fi
  14291. fi
  14292. test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
  14293. $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
  14294. $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
  14295. ac_save_CPPFLAGS=$CPPFLAGS
  14296. CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
  14297. for ac_header in fontconfig/fontconfig.h
  14298. do :
  14299. ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
  14300. if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
  14301. cat >>confdefs.h <<_ACEOF
  14302. #define HAVE_FONTCONFIG_FONTCONFIG_H 1
  14303. _ACEOF
  14304. fi
  14305. done
  14306. if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
  14307. then
  14308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
  14309. $as_echo_n "checking for -lfontconfig... " >&6; }
  14310. if ${ac_cv_lib_soname_fontconfig+:} false; then :
  14311. $as_echo_n "(cached) " >&6
  14312. else
  14313. ac_check_soname_save_LIBS=$LIBS
  14314. LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
  14315. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14316. /* end confdefs.h. */
  14317. /* Override any GCC internal prototype to avoid an error.
  14318. Use char because int might match the return type of a GCC
  14319. builtin and then its argument prototype would still apply. */
  14320. #ifdef __cplusplus
  14321. extern "C"
  14322. #endif
  14323. char FcInit ();
  14324. int
  14325. main ()
  14326. {
  14327. return FcInit ();
  14328. ;
  14329. return 0;
  14330. }
  14331. _ACEOF
  14332. if ac_fn_c_try_link "$LINENO"; then :
  14333. case "$LIBEXT" in
  14334. dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14335. 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'` ;;
  14336. *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14337. if ${ac_cv_lib_soname_fontconfig:+false} :; then :
  14338. ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14339. fi ;;
  14340. esac
  14341. else
  14342. ac_cv_lib_soname_fontconfig=
  14343. fi
  14344. rm -f core conftest.err conftest.$ac_objext \
  14345. conftest$ac_exeext conftest.$ac_ext
  14346. LIBS=$ac_check_soname_save_LIBS
  14347. fi
  14348. if ${ac_cv_lib_soname_fontconfig:+false} :; then :
  14349. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14350. $as_echo "not found" >&6; }
  14351. FONTCONFIG_CFLAGS=""
  14352. else
  14353. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
  14354. $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
  14355. cat >>confdefs.h <<_ACEOF
  14356. #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
  14357. _ACEOF
  14358. fi
  14359. else
  14360. FONTCONFIG_CFLAGS=""
  14361. fi
  14362. CPPFLAGS=$ac_save_CPPFLAGS
  14363. test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14364. test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14365. fi
  14366. if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
  14367. case "x$with_fontconfig" in
  14368. x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
  14369. xno) ;;
  14370. *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
  14371. This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
  14372. esac
  14373. fi
  14374. if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
  14375. then
  14376. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
  14377. $as_echo_n "checking for -lgsm... " >&6; }
  14378. if ${ac_cv_lib_soname_gsm+:} false; then :
  14379. $as_echo_n "(cached) " >&6
  14380. else
  14381. ac_check_soname_save_LIBS=$LIBS
  14382. LIBS="-lgsm $LIBS"
  14383. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14384. /* end confdefs.h. */
  14385. /* Override any GCC internal prototype to avoid an error.
  14386. Use char because int might match the return type of a GCC
  14387. builtin and then its argument prototype would still apply. */
  14388. #ifdef __cplusplus
  14389. extern "C"
  14390. #endif
  14391. char gsm_create ();
  14392. int
  14393. main ()
  14394. {
  14395. return gsm_create ();
  14396. ;
  14397. return 0;
  14398. }
  14399. _ACEOF
  14400. if ac_fn_c_try_link "$LINENO"; then :
  14401. case "$LIBEXT" in
  14402. dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14403. 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'` ;;
  14404. *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14405. if ${ac_cv_lib_soname_gsm:+false} :; then :
  14406. ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14407. fi ;;
  14408. esac
  14409. else
  14410. ac_cv_lib_soname_gsm=
  14411. fi
  14412. rm -f core conftest.err conftest.$ac_objext \
  14413. conftest$ac_exeext conftest.$ac_ext
  14414. LIBS=$ac_check_soname_save_LIBS
  14415. fi
  14416. if ${ac_cv_lib_soname_gsm:+false} :; then :
  14417. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14418. $as_echo "not found" >&6; }
  14419. else
  14420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
  14421. $as_echo "$ac_cv_lib_soname_gsm" >&6; }
  14422. cat >>confdefs.h <<_ACEOF
  14423. #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
  14424. _ACEOF
  14425. fi
  14426. fi
  14427. if test "x$ac_cv_lib_soname_gsm" = "x"; then :
  14428. case "x$with_gsm" in
  14429. x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
  14430. xno) ;;
  14431. *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
  14432. This is an error since --with-gsm was requested." "$LINENO" 5 ;;
  14433. esac
  14434. fi
  14435. if test "x$with_krb5" != "xno"
  14436. then
  14437. if ${KRB5_CFLAGS:+false} :; then :
  14438. if ${PKG_CONFIG+:} false; then :
  14439. KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
  14440. fi
  14441. fi
  14442. test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
  14443. if ${KRB5_LIBS:+false} :; then :
  14444. if ${PKG_CONFIG+:} false; then :
  14445. KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
  14446. fi
  14447. fi
  14448. test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
  14449. $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
  14450. $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
  14451. ac_save_CPPFLAGS=$CPPFLAGS
  14452. CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
  14453. for ac_header in krb5/krb5.h
  14454. do :
  14455. ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
  14456. if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
  14457. cat >>confdefs.h <<_ACEOF
  14458. #define HAVE_KRB5_KRB5_H 1
  14459. _ACEOF
  14460. fi
  14461. done
  14462. if test "$ac_cv_header_krb5_krb5_h" = "yes"
  14463. then
  14464. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
  14465. $as_echo_n "checking for -lkrb5... " >&6; }
  14466. if ${ac_cv_lib_soname_krb5+:} false; then :
  14467. $as_echo_n "(cached) " >&6
  14468. else
  14469. ac_check_soname_save_LIBS=$LIBS
  14470. LIBS="-lkrb5 $KRB5_LIBS $LIBS"
  14471. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14472. /* end confdefs.h. */
  14473. /* Override any GCC internal prototype to avoid an error.
  14474. Use char because int might match the return type of a GCC
  14475. builtin and then its argument prototype would still apply. */
  14476. #ifdef __cplusplus
  14477. extern "C"
  14478. #endif
  14479. char krb5_is_config_principal ();
  14480. int
  14481. main ()
  14482. {
  14483. return krb5_is_config_principal ();
  14484. ;
  14485. return 0;
  14486. }
  14487. _ACEOF
  14488. if ac_fn_c_try_link "$LINENO"; then :
  14489. case "$LIBEXT" in
  14490. dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14491. 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'` ;;
  14492. *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14493. if ${ac_cv_lib_soname_krb5:+false} :; then :
  14494. ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14495. fi ;;
  14496. esac
  14497. else
  14498. ac_cv_lib_soname_krb5=
  14499. fi
  14500. rm -f core conftest.err conftest.$ac_objext \
  14501. conftest$ac_exeext conftest.$ac_ext
  14502. LIBS=$ac_check_soname_save_LIBS
  14503. fi
  14504. if ${ac_cv_lib_soname_krb5:+false} :; then :
  14505. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14506. $as_echo "not found" >&6; }
  14507. KRB5_CFLAGS=""
  14508. else
  14509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
  14510. $as_echo "$ac_cv_lib_soname_krb5" >&6; }
  14511. cat >>confdefs.h <<_ACEOF
  14512. #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
  14513. _ACEOF
  14514. fi
  14515. else
  14516. KRB5_CFLAGS=""
  14517. fi
  14518. CPPFLAGS=$ac_save_CPPFLAGS
  14519. test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14520. test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14521. fi
  14522. if test "x$ac_cv_lib_soname_krb5" = "x"; then :
  14523. case "x$with_krb5" in
  14524. x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
  14525. xno) ;;
  14526. *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
  14527. This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
  14528. esac
  14529. fi
  14530. test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
  14531. if test "x$with_gssapi" != "xno"
  14532. then
  14533. if ${GSSAPI_CFLAGS:+false} :; then :
  14534. if ${PKG_CONFIG+:} false; then :
  14535. GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
  14536. fi
  14537. fi
  14538. test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
  14539. if ${GSSAPI_LIBS:+false} :; then :
  14540. if ${PKG_CONFIG+:} false; then :
  14541. GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
  14542. fi
  14543. fi
  14544. test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
  14545. $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
  14546. $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
  14547. ac_save_CPPFLAGS=$CPPFLAGS
  14548. CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
  14549. for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
  14550. do :
  14551. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14552. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  14553. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14554. cat >>confdefs.h <<_ACEOF
  14555. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14556. _ACEOF
  14557. fi
  14558. done
  14559. if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
  14560. then
  14561. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
  14562. $as_echo_n "checking for -lgssapi_krb5... " >&6; }
  14563. if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
  14564. $as_echo_n "(cached) " >&6
  14565. else
  14566. ac_check_soname_save_LIBS=$LIBS
  14567. LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
  14568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14569. /* end confdefs.h. */
  14570. /* Override any GCC internal prototype to avoid an error.
  14571. Use char because int might match the return type of a GCC
  14572. builtin and then its argument prototype would still apply. */
  14573. #ifdef __cplusplus
  14574. extern "C"
  14575. #endif
  14576. char gss_init_sec_context ();
  14577. int
  14578. main ()
  14579. {
  14580. return gss_init_sec_context ();
  14581. ;
  14582. return 0;
  14583. }
  14584. _ACEOF
  14585. if ac_fn_c_try_link "$LINENO"; then :
  14586. case "$LIBEXT" in
  14587. dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14588. 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'` ;;
  14589. *) 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'`
  14590. if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
  14591. ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14592. fi ;;
  14593. esac
  14594. else
  14595. ac_cv_lib_soname_gssapi_krb5=
  14596. fi
  14597. rm -f core conftest.err conftest.$ac_objext \
  14598. conftest$ac_exeext conftest.$ac_ext
  14599. LIBS=$ac_check_soname_save_LIBS
  14600. fi
  14601. if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
  14602. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14603. $as_echo "not found" >&6; }
  14604. GSSAPI_CFLAGS=""
  14605. else
  14606. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
  14607. $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
  14608. cat >>confdefs.h <<_ACEOF
  14609. #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
  14610. _ACEOF
  14611. fi
  14612. else
  14613. GSSAPI_CFLAGS=""
  14614. fi
  14615. CPPFLAGS=$ac_save_CPPFLAGS
  14616. test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14617. test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14618. fi
  14619. if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
  14620. case "x$with_gssapi" in
  14621. x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
  14622. xno) ;;
  14623. *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
  14624. This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
  14625. esac
  14626. fi
  14627. if test "x$with_jpeg" != "xno"
  14628. then
  14629. if ${JPEG_CFLAGS:+false} :; then :
  14630. if ${PKG_CONFIG+:} false; then :
  14631. JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
  14632. fi
  14633. fi
  14634. if ${JPEG_LIBS:+false} :; then :
  14635. if ${PKG_CONFIG+:} false; then :
  14636. JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
  14637. fi
  14638. fi
  14639. $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
  14640. $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
  14641. ac_save_CPPFLAGS=$CPPFLAGS
  14642. CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
  14643. for ac_header in jpeglib.h
  14644. do :
  14645. ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
  14646. if test "x$ac_cv_header_jpeglib_h" = xyes; then :
  14647. cat >>confdefs.h <<_ACEOF
  14648. #define HAVE_JPEGLIB_H 1
  14649. _ACEOF
  14650. fi
  14651. done
  14652. if test "$ac_cv_header_jpeglib_h" = "yes"
  14653. then
  14654. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
  14655. $as_echo_n "checking for -ljpeg... " >&6; }
  14656. if ${ac_cv_lib_soname_jpeg+:} false; then :
  14657. $as_echo_n "(cached) " >&6
  14658. else
  14659. ac_check_soname_save_LIBS=$LIBS
  14660. LIBS="-ljpeg $JPEG_LIBS $LIBS"
  14661. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14662. /* end confdefs.h. */
  14663. /* Override any GCC internal prototype to avoid an error.
  14664. Use char because int might match the return type of a GCC
  14665. builtin and then its argument prototype would still apply. */
  14666. #ifdef __cplusplus
  14667. extern "C"
  14668. #endif
  14669. char jpeg_start_decompress ();
  14670. int
  14671. main ()
  14672. {
  14673. return jpeg_start_decompress ();
  14674. ;
  14675. return 0;
  14676. }
  14677. _ACEOF
  14678. if ac_fn_c_try_link "$LINENO"; then :
  14679. case "$LIBEXT" in
  14680. dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14681. 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'` ;;
  14682. *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14683. if ${ac_cv_lib_soname_jpeg:+false} :; then :
  14684. ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14685. fi ;;
  14686. esac
  14687. else
  14688. ac_cv_lib_soname_jpeg=
  14689. fi
  14690. rm -f core conftest.err conftest.$ac_objext \
  14691. conftest$ac_exeext conftest.$ac_ext
  14692. LIBS=$ac_check_soname_save_LIBS
  14693. fi
  14694. if ${ac_cv_lib_soname_jpeg:+false} :; then :
  14695. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14696. $as_echo "not found" >&6; }
  14697. JPEG_CFLAGS=""
  14698. else
  14699. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
  14700. $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
  14701. cat >>confdefs.h <<_ACEOF
  14702. #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
  14703. _ACEOF
  14704. fi
  14705. else
  14706. JPEG_CFLAGS=""
  14707. fi
  14708. CPPFLAGS=$ac_save_CPPFLAGS
  14709. test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14710. test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14711. fi
  14712. if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
  14713. case "x$with_jpeg" in
  14714. x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
  14715. xno) ;;
  14716. *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
  14717. This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
  14718. esac
  14719. fi
  14720. if test "x$with_png" != "xno"
  14721. then
  14722. if ${PNG_CFLAGS:+false} :; then :
  14723. if ${PKG_CONFIG+:} false; then :
  14724. PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
  14725. fi
  14726. fi
  14727. test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
  14728. if ${PNG_LIBS:+false} :; then :
  14729. if ${PKG_CONFIG+:} false; then :
  14730. PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
  14731. fi
  14732. fi
  14733. test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
  14734. $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
  14735. $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
  14736. ac_save_CPPFLAGS=$CPPFLAGS
  14737. CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
  14738. for ac_header in png.h
  14739. do :
  14740. ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
  14741. if test "x$ac_cv_header_png_h" = xyes; then :
  14742. cat >>confdefs.h <<_ACEOF
  14743. #define HAVE_PNG_H 1
  14744. _ACEOF
  14745. fi
  14746. done
  14747. if test "$ac_cv_header_png_h" = "yes"
  14748. then
  14749. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
  14750. $as_echo_n "checking for -lpng... " >&6; }
  14751. if ${ac_cv_lib_soname_png+:} false; then :
  14752. $as_echo_n "(cached) " >&6
  14753. else
  14754. ac_check_soname_save_LIBS=$LIBS
  14755. LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
  14756. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14757. /* end confdefs.h. */
  14758. /* Override any GCC internal prototype to avoid an error.
  14759. Use char because int might match the return type of a GCC
  14760. builtin and then its argument prototype would still apply. */
  14761. #ifdef __cplusplus
  14762. extern "C"
  14763. #endif
  14764. char png_create_read_struct ();
  14765. int
  14766. main ()
  14767. {
  14768. return png_create_read_struct ();
  14769. ;
  14770. return 0;
  14771. }
  14772. _ACEOF
  14773. if ac_fn_c_try_link "$LINENO"; then :
  14774. case "$LIBEXT" in
  14775. dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14776. 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'` ;;
  14777. *) 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'`
  14778. if ${ac_cv_lib_soname_png:+false} :; then :
  14779. ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14780. fi ;;
  14781. esac
  14782. else
  14783. ac_cv_lib_soname_png=
  14784. fi
  14785. rm -f core conftest.err conftest.$ac_objext \
  14786. conftest$ac_exeext conftest.$ac_ext
  14787. LIBS=$ac_check_soname_save_LIBS
  14788. fi
  14789. if ${ac_cv_lib_soname_png:+false} :; then :
  14790. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14791. $as_echo "not found" >&6; }
  14792. PNG_CFLAGS=""
  14793. else
  14794. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
  14795. $as_echo "$ac_cv_lib_soname_png" >&6; }
  14796. cat >>confdefs.h <<_ACEOF
  14797. #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
  14798. _ACEOF
  14799. fi
  14800. else
  14801. PNG_CFLAGS=""
  14802. fi
  14803. CPPFLAGS=$ac_save_CPPFLAGS
  14804. test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14805. test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14806. fi
  14807. if test "x$ac_cv_lib_soname_png" = "x"; then :
  14808. case "x$with_png" in
  14809. x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
  14810. xno) ;;
  14811. *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
  14812. This is an error since --with-png was requested." "$LINENO" 5 ;;
  14813. esac
  14814. fi
  14815. if test "x$with_tiff" != "xno"
  14816. then
  14817. if ${TIFF_CFLAGS:+false} :; then :
  14818. if ${PKG_CONFIG+:} false; then :
  14819. TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
  14820. fi
  14821. fi
  14822. if ${TIFF_LIBS:+false} :; then :
  14823. if ${PKG_CONFIG+:} false; then :
  14824. TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
  14825. fi
  14826. fi
  14827. $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
  14828. $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
  14829. ac_save_CPPFLAGS=$CPPFLAGS
  14830. CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
  14831. for ac_header in tiffio.h
  14832. do :
  14833. ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
  14834. if test "x$ac_cv_header_tiffio_h" = xyes; then :
  14835. cat >>confdefs.h <<_ACEOF
  14836. #define HAVE_TIFFIO_H 1
  14837. _ACEOF
  14838. fi
  14839. done
  14840. if test "$ac_cv_header_tiffio_h" = "yes"
  14841. then
  14842. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
  14843. $as_echo_n "checking for -ltiff... " >&6; }
  14844. if ${ac_cv_lib_soname_tiff+:} false; then :
  14845. $as_echo_n "(cached) " >&6
  14846. else
  14847. ac_check_soname_save_LIBS=$LIBS
  14848. LIBS="-ltiff $TIFF_LIBS $LIBS"
  14849. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14850. /* end confdefs.h. */
  14851. /* Override any GCC internal prototype to avoid an error.
  14852. Use char because int might match the return type of a GCC
  14853. builtin and then its argument prototype would still apply. */
  14854. #ifdef __cplusplus
  14855. extern "C"
  14856. #endif
  14857. char TIFFClientOpen ();
  14858. int
  14859. main ()
  14860. {
  14861. return TIFFClientOpen ();
  14862. ;
  14863. return 0;
  14864. }
  14865. _ACEOF
  14866. if ac_fn_c_try_link "$LINENO"; then :
  14867. case "$LIBEXT" in
  14868. dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14869. 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'` ;;
  14870. *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14871. if ${ac_cv_lib_soname_tiff:+false} :; then :
  14872. ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14873. fi ;;
  14874. esac
  14875. else
  14876. ac_cv_lib_soname_tiff=
  14877. fi
  14878. rm -f core conftest.err conftest.$ac_objext \
  14879. conftest$ac_exeext conftest.$ac_ext
  14880. LIBS=$ac_check_soname_save_LIBS
  14881. fi
  14882. if ${ac_cv_lib_soname_tiff:+false} :; then :
  14883. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14884. $as_echo "not found" >&6; }
  14885. else
  14886. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
  14887. $as_echo "$ac_cv_lib_soname_tiff" >&6; }
  14888. cat >>confdefs.h <<_ACEOF
  14889. #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
  14890. _ACEOF
  14891. fi
  14892. fi
  14893. CPPFLAGS=$ac_save_CPPFLAGS
  14894. test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14895. test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14896. fi
  14897. if test "x$ac_cv_lib_soname_tiff" = "x"; then :
  14898. case "x$with_tiff" in
  14899. x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
  14900. xno) ;;
  14901. *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
  14902. This is an error since --with-tiff was requested." "$LINENO" 5 ;;
  14903. esac
  14904. fi
  14905. if test "x$with_mpg123" != "xno"
  14906. then
  14907. if ${MPG123_CFLAGS:+false} :; then :
  14908. if ${PKG_CONFIG+:} false; then :
  14909. MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
  14910. fi
  14911. fi
  14912. if ${MPG123_LIBS:+false} :; then :
  14913. if ${PKG_CONFIG+:} false; then :
  14914. MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
  14915. fi
  14916. fi
  14917. MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
  14918. $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
  14919. $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
  14920. ac_save_CPPFLAGS=$CPPFLAGS
  14921. CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
  14922. for ac_header in mpg123.h
  14923. do :
  14924. ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
  14925. if test "x$ac_cv_header_mpg123_h" = xyes; then :
  14926. cat >>confdefs.h <<_ACEOF
  14927. #define HAVE_MPG123_H 1
  14928. _ACEOF
  14929. fi
  14930. done
  14931. if test "$ac_cv_header_mpg123_h" = "yes"
  14932. then
  14933. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
  14934. $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
  14935. if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
  14936. $as_echo_n "(cached) " >&6
  14937. else
  14938. ac_check_lib_save_LIBS=$LIBS
  14939. LIBS="-lmpg123 $MPG123_LIBS $LIBS"
  14940. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14941. /* end confdefs.h. */
  14942. /* Override any GCC internal prototype to avoid an error.
  14943. Use char because int might match the return type of a GCC
  14944. builtin and then its argument prototype would still apply. */
  14945. #ifdef __cplusplus
  14946. extern "C"
  14947. #endif
  14948. char mpg123_feed ();
  14949. int
  14950. main ()
  14951. {
  14952. return mpg123_feed ();
  14953. ;
  14954. return 0;
  14955. }
  14956. _ACEOF
  14957. if ac_fn_c_try_link "$LINENO"; then :
  14958. ac_cv_lib_mpg123_mpg123_feed=yes
  14959. else
  14960. ac_cv_lib_mpg123_mpg123_feed=no
  14961. fi
  14962. rm -f core conftest.err conftest.$ac_objext \
  14963. conftest$ac_exeext conftest.$ac_ext
  14964. LIBS=$ac_check_lib_save_LIBS
  14965. fi
  14966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
  14967. $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
  14968. if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
  14969. :
  14970. else
  14971. MPG123_LIBS=""
  14972. fi
  14973. else
  14974. MPG123_CFLAGS=""
  14975. MPG123_LIBS=""
  14976. fi
  14977. CPPFLAGS=$ac_save_CPPFLAGS
  14978. test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14979. test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14980. fi
  14981. if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
  14982. case "x$with_mpg123" in
  14983. x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
  14984. xno) ;;
  14985. *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
  14986. This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
  14987. esac
  14988. enable_l3codeca_acm=${enable_l3codeca_acm:-no}
  14989. fi
  14990. test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
  14991. if test "$ac_cv_header_AL_al_h" = "yes"
  14992. then
  14993. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
  14994. $as_echo_n "checking for -lopenal... " >&6; }
  14995. if ${ac_cv_lib_soname_openal+:} false; then :
  14996. $as_echo_n "(cached) " >&6
  14997. else
  14998. ac_check_soname_save_LIBS=$LIBS
  14999. LIBS="-lopenal $LIBS"
  15000. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15001. /* end confdefs.h. */
  15002. /* Override any GCC internal prototype to avoid an error.
  15003. Use char because int might match the return type of a GCC
  15004. builtin and then its argument prototype would still apply. */
  15005. #ifdef __cplusplus
  15006. extern "C"
  15007. #endif
  15008. char alGetSource3i ();
  15009. int
  15010. main ()
  15011. {
  15012. return alGetSource3i ();
  15013. ;
  15014. return 0;
  15015. }
  15016. _ACEOF
  15017. if ac_fn_c_try_link "$LINENO"; then :
  15018. case "$LIBEXT" in
  15019. dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15020. 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'` ;;
  15021. *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15022. if ${ac_cv_lib_soname_openal:+false} :; then :
  15023. ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15024. fi ;;
  15025. esac
  15026. else
  15027. ac_cv_lib_soname_openal=
  15028. fi
  15029. rm -f core conftest.err conftest.$ac_objext \
  15030. conftest$ac_exeext conftest.$ac_ext
  15031. LIBS=$ac_check_soname_save_LIBS
  15032. fi
  15033. if ${ac_cv_lib_soname_openal:+false} :; then :
  15034. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15035. $as_echo "not found" >&6; }
  15036. else
  15037. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
  15038. $as_echo "$ac_cv_lib_soname_openal" >&6; }
  15039. cat >>confdefs.h <<_ACEOF
  15040. #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
  15041. _ACEOF
  15042. OPENAL_LIBS="-lopenal"
  15043. ac_cv_lib_openal=yes
  15044. cat >>confdefs.h <<_ACEOF
  15045. #define HAVE_OPENAL 1
  15046. _ACEOF
  15047. fi
  15048. fi
  15049. if test "x$ac_cv_lib_openal" != xyes; then :
  15050. case "x$with_openal" in
  15051. x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
  15052. xno) ;;
  15053. *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
  15054. This is an error since --with-openal was requested." "$LINENO" 5 ;;
  15055. esac
  15056. enable_openal32=${enable_openal32:-no}
  15057. fi
  15058. if test "x$ac_cv_lib_soname_FAudio" = "x"
  15059. then
  15060. enable_x3daudio1_0=${enable_x3daudio1_0:-no}
  15061. enable_x3daudio1_1=${enable_x3daudio1_1:-no}
  15062. enable_x3daudio1_2=${enable_x3daudio1_2:-no}
  15063. enable_x3daudio1_3=${enable_x3daudio1_3:-no}
  15064. enable_x3daudio1_4=${enable_x3daudio1_4:-no}
  15065. enable_x3daudio1_5=${enable_x3daudio1_5:-no}
  15066. enable_x3daudio1_6=${enable_x3daudio1_6:-no}
  15067. enable_x3daudio1_7=${enable_x3daudio1_7:-no}
  15068. enable_xapofx1_1=${enable_xapofx1_1:-no}
  15069. enable_xapofx1_2=${enable_xapofx1_2:-no}
  15070. enable_xapofx1_3=${enable_xapofx1_3:-no}
  15071. enable_xapofx1_4=${enable_xapofx1_4:-no}
  15072. enable_xapofx1_5=${enable_xapofx1_5:-no}
  15073. enable_xaudio2_0=${enable_xaudio2_0:-no}
  15074. enable_xaudio2_1=${enable_xaudio2_1:-no}
  15075. enable_xaudio2_2=${enable_xaudio2_2:-no}
  15076. enable_xaudio2_3=${enable_xaudio2_3:-no}
  15077. enable_xaudio2_4=${enable_xaudio2_4:-no}
  15078. enable_xaudio2_5=${enable_xaudio2_5:-no}
  15079. enable_xaudio2_6=${enable_xaudio2_6:-no}
  15080. enable_xaudio2_7=${enable_xaudio2_7:-no}
  15081. enable_xaudio2_8=${enable_xaudio2_8:-no}
  15082. enable_xaudio2_9=${enable_xaudio2_9:-no}
  15083. fi
  15084. if test "$ac_cv_header_kstat_h" = "yes"
  15085. then
  15086. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
  15087. $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
  15088. if ${ac_cv_lib_kstat_kstat_open+:} false; then :
  15089. $as_echo_n "(cached) " >&6
  15090. else
  15091. ac_check_lib_save_LIBS=$LIBS
  15092. LIBS="-lkstat $LIBS"
  15093. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15094. /* end confdefs.h. */
  15095. /* Override any GCC internal prototype to avoid an error.
  15096. Use char because int might match the return type of a GCC
  15097. builtin and then its argument prototype would still apply. */
  15098. #ifdef __cplusplus
  15099. extern "C"
  15100. #endif
  15101. char kstat_open ();
  15102. int
  15103. main ()
  15104. {
  15105. return kstat_open ();
  15106. ;
  15107. return 0;
  15108. }
  15109. _ACEOF
  15110. if ac_fn_c_try_link "$LINENO"; then :
  15111. ac_cv_lib_kstat_kstat_open=yes
  15112. else
  15113. ac_cv_lib_kstat_kstat_open=no
  15114. fi
  15115. rm -f core conftest.err conftest.$ac_objext \
  15116. conftest$ac_exeext conftest.$ac_ext
  15117. LIBS=$ac_check_lib_save_LIBS
  15118. fi
  15119. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
  15120. $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
  15121. if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
  15122. $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
  15123. KSTAT_LIBS="-lkstat"
  15124. fi
  15125. fi
  15126. if test "$ac_cv_header_libprocstat_h" = "yes"
  15127. then
  15128. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
  15129. $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
  15130. if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
  15131. $as_echo_n "(cached) " >&6
  15132. else
  15133. ac_check_lib_save_LIBS=$LIBS
  15134. LIBS="-lprocstat $LIBS"
  15135. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15136. /* end confdefs.h. */
  15137. /* Override any GCC internal prototype to avoid an error.
  15138. Use char because int might match the return type of a GCC
  15139. builtin and then its argument prototype would still apply. */
  15140. #ifdef __cplusplus
  15141. extern "C"
  15142. #endif
  15143. char procstat_open_sysctl ();
  15144. int
  15145. main ()
  15146. {
  15147. return procstat_open_sysctl ();
  15148. ;
  15149. return 0;
  15150. }
  15151. _ACEOF
  15152. if ac_fn_c_try_link "$LINENO"; then :
  15153. ac_cv_lib_procstat_procstat_open_sysctl=yes
  15154. else
  15155. ac_cv_lib_procstat_procstat_open_sysctl=no
  15156. fi
  15157. rm -f core conftest.err conftest.$ac_objext \
  15158. conftest$ac_exeext conftest.$ac_ext
  15159. LIBS=$ac_check_lib_save_LIBS
  15160. fi
  15161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
  15162. $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
  15163. if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
  15164. $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
  15165. PROCSTAT_LIBS="-lprocstat"
  15166. fi
  15167. fi
  15168. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
  15169. $as_echo_n "checking for -lodbc... " >&6; }
  15170. if ${ac_cv_lib_soname_odbc+:} false; then :
  15171. $as_echo_n "(cached) " >&6
  15172. else
  15173. ac_check_soname_save_LIBS=$LIBS
  15174. LIBS="-lodbc $LIBS"
  15175. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15176. /* end confdefs.h. */
  15177. /* Override any GCC internal prototype to avoid an error.
  15178. Use char because int might match the return type of a GCC
  15179. builtin and then its argument prototype would still apply. */
  15180. #ifdef __cplusplus
  15181. extern "C"
  15182. #endif
  15183. char SQLConnect ();
  15184. int
  15185. main ()
  15186. {
  15187. return SQLConnect ();
  15188. ;
  15189. return 0;
  15190. }
  15191. _ACEOF
  15192. if ac_fn_c_try_link "$LINENO"; then :
  15193. case "$LIBEXT" in
  15194. dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15195. 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'` ;;
  15196. *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15197. if ${ac_cv_lib_soname_odbc:+false} :; then :
  15198. ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15199. fi ;;
  15200. esac
  15201. else
  15202. ac_cv_lib_soname_odbc=
  15203. fi
  15204. rm -f core conftest.err conftest.$ac_objext \
  15205. conftest$ac_exeext conftest.$ac_ext
  15206. LIBS=$ac_check_soname_save_LIBS
  15207. fi
  15208. if ${ac_cv_lib_soname_odbc:+false} :; then :
  15209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15210. $as_echo "not found" >&6; }
  15211. cat >>confdefs.h <<_ACEOF
  15212. #define SONAME_LIBODBC "libodbc.$LIBEXT"
  15213. _ACEOF
  15214. else
  15215. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
  15216. $as_echo "$ac_cv_lib_soname_odbc" >&6; }
  15217. cat >>confdefs.h <<_ACEOF
  15218. #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
  15219. _ACEOF
  15220. fi
  15221. if test "x$with_netapi" != "xno"
  15222. then
  15223. if ${NETAPI_CFLAGS:+false} :; then :
  15224. if ${PKG_CONFIG+:} false; then :
  15225. NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
  15226. fi
  15227. fi
  15228. if ${NETAPI_LIBS:+false} :; then :
  15229. if ${PKG_CONFIG+:} false; then :
  15230. NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
  15231. fi
  15232. fi
  15233. $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
  15234. $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
  15235. ac_save_CPPFLAGS=$CPPFLAGS
  15236. CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
  15237. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
  15238. $as_echo_n "checking for -lnetapi... " >&6; }
  15239. if ${ac_cv_lib_soname_netapi+:} false; then :
  15240. $as_echo_n "(cached) " >&6
  15241. else
  15242. ac_check_soname_save_LIBS=$LIBS
  15243. LIBS="-lnetapi $NETAPI_LIBS $LIBS"
  15244. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15245. /* end confdefs.h. */
  15246. /* Override any GCC internal prototype to avoid an error.
  15247. Use char because int might match the return type of a GCC
  15248. builtin and then its argument prototype would still apply. */
  15249. #ifdef __cplusplus
  15250. extern "C"
  15251. #endif
  15252. char libnetapi_init ();
  15253. int
  15254. main ()
  15255. {
  15256. return libnetapi_init ();
  15257. ;
  15258. return 0;
  15259. }
  15260. _ACEOF
  15261. if ac_fn_c_try_link "$LINENO"; then :
  15262. case "$LIBEXT" in
  15263. dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15264. 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'` ;;
  15265. *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15266. if ${ac_cv_lib_soname_netapi:+false} :; then :
  15267. ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15268. fi ;;
  15269. esac
  15270. else
  15271. ac_cv_lib_soname_netapi=
  15272. fi
  15273. rm -f core conftest.err conftest.$ac_objext \
  15274. conftest$ac_exeext conftest.$ac_ext
  15275. LIBS=$ac_check_soname_save_LIBS
  15276. fi
  15277. if ${ac_cv_lib_soname_netapi:+false} :; then :
  15278. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15279. $as_echo "not found" >&6; }
  15280. cat >>confdefs.h <<_ACEOF
  15281. #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
  15282. _ACEOF
  15283. else
  15284. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
  15285. $as_echo "$ac_cv_lib_soname_netapi" >&6; }
  15286. cat >>confdefs.h <<_ACEOF
  15287. #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
  15288. _ACEOF
  15289. fi
  15290. CPPFLAGS=$ac_save_CPPFLAGS
  15291. test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15292. test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15293. fi
  15294. if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
  15295. "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
  15296. then
  15297. as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
  15298. fi
  15299. if test "x$with_vulkan" != "xno"
  15300. then
  15301. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
  15302. $as_echo_n "checking for -lvulkan... " >&6; }
  15303. if ${ac_cv_lib_soname_vulkan+:} false; then :
  15304. $as_echo_n "(cached) " >&6
  15305. else
  15306. ac_check_soname_save_LIBS=$LIBS
  15307. LIBS="-lvulkan $LIBS"
  15308. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15309. /* end confdefs.h. */
  15310. /* Override any GCC internal prototype to avoid an error.
  15311. Use char because int might match the return type of a GCC
  15312. builtin and then its argument prototype would still apply. */
  15313. #ifdef __cplusplus
  15314. extern "C"
  15315. #endif
  15316. char vkGetInstanceProcAddr ();
  15317. int
  15318. main ()
  15319. {
  15320. return vkGetInstanceProcAddr ();
  15321. ;
  15322. return 0;
  15323. }
  15324. _ACEOF
  15325. if ac_fn_c_try_link "$LINENO"; then :
  15326. case "$LIBEXT" in
  15327. dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15328. 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'` ;;
  15329. *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15330. if ${ac_cv_lib_soname_vulkan:+false} :; then :
  15331. ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15332. fi ;;
  15333. esac
  15334. else
  15335. ac_cv_lib_soname_vulkan=
  15336. fi
  15337. rm -f core conftest.err conftest.$ac_objext \
  15338. conftest$ac_exeext conftest.$ac_ext
  15339. LIBS=$ac_check_soname_save_LIBS
  15340. fi
  15341. if ${ac_cv_lib_soname_vulkan:+false} :; then :
  15342. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15343. $as_echo "not found" >&6; }
  15344. else
  15345. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
  15346. $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
  15347. cat >>confdefs.h <<_ACEOF
  15348. #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
  15349. _ACEOF
  15350. fi
  15351. if test "x$ac_cv_lib_soname_vulkan" = "x"
  15352. then
  15353. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
  15354. $as_echo_n "checking for -lMoltenVK... " >&6; }
  15355. if ${ac_cv_lib_soname_MoltenVK+:} false; then :
  15356. $as_echo_n "(cached) " >&6
  15357. else
  15358. ac_check_soname_save_LIBS=$LIBS
  15359. LIBS="-lMoltenVK $LIBS"
  15360. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15361. /* end confdefs.h. */
  15362. /* Override any GCC internal prototype to avoid an error.
  15363. Use char because int might match the return type of a GCC
  15364. builtin and then its argument prototype would still apply. */
  15365. #ifdef __cplusplus
  15366. extern "C"
  15367. #endif
  15368. char vkGetInstanceProcAddr ();
  15369. int
  15370. main ()
  15371. {
  15372. return vkGetInstanceProcAddr ();
  15373. ;
  15374. return 0;
  15375. }
  15376. _ACEOF
  15377. if ac_fn_c_try_link "$LINENO"; then :
  15378. case "$LIBEXT" in
  15379. dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15380. 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'` ;;
  15381. *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15382. if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
  15383. ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15384. fi ;;
  15385. esac
  15386. else
  15387. ac_cv_lib_soname_MoltenVK=
  15388. fi
  15389. rm -f core conftest.err conftest.$ac_objext \
  15390. conftest$ac_exeext conftest.$ac_ext
  15391. LIBS=$ac_check_soname_save_LIBS
  15392. fi
  15393. if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
  15394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15395. $as_echo "not found" >&6; }
  15396. else
  15397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
  15398. $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
  15399. cat >>confdefs.h <<_ACEOF
  15400. #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
  15401. _ACEOF
  15402. fi
  15403. fi
  15404. fi
  15405. if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
  15406. case "x$with_vulkan" in
  15407. x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
  15408. xno) ;;
  15409. *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
  15410. This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
  15411. esac
  15412. fi
  15413. if test "x$with_vkd3d" != "xno"
  15414. then
  15415. if ${VKD3D_CFLAGS:+false} :; then :
  15416. if ${PKG_CONFIG+:} false; then :
  15417. VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
  15418. fi
  15419. fi
  15420. if ${VKD3D_LIBS:+false} :; then :
  15421. if ${PKG_CONFIG+:} false; then :
  15422. VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
  15423. fi
  15424. fi
  15425. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
  15426. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
  15427. ac_save_CPPFLAGS=$CPPFLAGS
  15428. CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
  15429. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
  15430. $as_echo_n "checking for -lvkd3d... " >&6; }
  15431. if ${ac_cv_lib_soname_vkd3d+:} false; then :
  15432. $as_echo_n "(cached) " >&6
  15433. else
  15434. ac_check_soname_save_LIBS=$LIBS
  15435. LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
  15436. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15437. /* end confdefs.h. */
  15438. /* Override any GCC internal prototype to avoid an error.
  15439. Use char because int might match the return type of a GCC
  15440. builtin and then its argument prototype would still apply. */
  15441. #ifdef __cplusplus
  15442. extern "C"
  15443. #endif
  15444. char vkd3d_get_dxgi_format ();
  15445. int
  15446. main ()
  15447. {
  15448. return vkd3d_get_dxgi_format ();
  15449. ;
  15450. return 0;
  15451. }
  15452. _ACEOF
  15453. if ac_fn_c_try_link "$LINENO"; then :
  15454. case "$LIBEXT" in
  15455. dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15456. 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'` ;;
  15457. *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15458. if ${ac_cv_lib_soname_vkd3d:+false} :; then :
  15459. ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15460. fi ;;
  15461. esac
  15462. else
  15463. ac_cv_lib_soname_vkd3d=
  15464. fi
  15465. rm -f core conftest.err conftest.$ac_objext \
  15466. conftest$ac_exeext conftest.$ac_ext
  15467. LIBS=$ac_check_soname_save_LIBS
  15468. fi
  15469. if ${ac_cv_lib_soname_vkd3d:+false} :; then :
  15470. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15471. $as_echo "not found" >&6; }
  15472. else
  15473. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
  15474. $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
  15475. cat >>confdefs.h <<_ACEOF
  15476. #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
  15477. _ACEOF
  15478. fi
  15479. CPPFLAGS=$ac_save_CPPFLAGS
  15480. test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15481. test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15482. fi
  15483. if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
  15484. case "x$with_vkd3d" in
  15485. x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
  15486. xno) ;;
  15487. *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
  15488. This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
  15489. esac
  15490. fi
  15491. test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
  15492. EXTRACFLAGS=""
  15493. if test "x${GCC}" = "xyes"
  15494. then
  15495. EXTRACFLAGS="-Wall -pipe"
  15496. saved_CFLAGS=$CFLAGS
  15497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
  15498. $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
  15499. if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
  15500. $as_echo_n "(cached) " >&6
  15501. else
  15502. ac_wine_try_cflags_saved=$CFLAGS
  15503. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  15504. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15505. /* end confdefs.h. */
  15506. int main(int argc, char **argv) { return 0; }
  15507. _ACEOF
  15508. if ac_fn_c_try_link "$LINENO"; then :
  15509. ac_cv_cflags__Werror_unknown_warning_option=yes
  15510. else
  15511. ac_cv_cflags__Werror_unknown_warning_option=no
  15512. fi
  15513. rm -f core conftest.err conftest.$ac_objext \
  15514. conftest$ac_exeext conftest.$ac_ext
  15515. CFLAGS=$ac_wine_try_cflags_saved
  15516. fi
  15517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
  15518. $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
  15519. if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
  15520. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  15521. fi
  15522. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
  15523. $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
  15524. if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
  15525. $as_echo_n "(cached) " >&6
  15526. else
  15527. ac_wine_try_cflags_saved=$CFLAGS
  15528. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  15529. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15530. /* end confdefs.h. */
  15531. int main(int argc, char **argv) { return 0; }
  15532. _ACEOF
  15533. if ac_fn_c_try_link "$LINENO"; then :
  15534. ac_cv_cflags__Werror_unused_command_line_argument=yes
  15535. else
  15536. ac_cv_cflags__Werror_unused_command_line_argument=no
  15537. fi
  15538. rm -f core conftest.err conftest.$ac_objext \
  15539. conftest$ac_exeext conftest.$ac_ext
  15540. CFLAGS=$ac_wine_try_cflags_saved
  15541. fi
  15542. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
  15543. $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
  15544. if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
  15545. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  15546. fi
  15547. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
  15548. $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
  15549. if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
  15550. $as_echo_n "(cached) " >&6
  15551. else
  15552. ac_wine_try_cflags_saved=$CFLAGS
  15553. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  15554. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15555. /* end confdefs.h. */
  15556. int main(int argc, char **argv) { return 0; }
  15557. _ACEOF
  15558. if ac_fn_c_try_link "$LINENO"; then :
  15559. ac_cv_cflags__Werror_ignored_optimization_argument=yes
  15560. else
  15561. ac_cv_cflags__Werror_ignored_optimization_argument=no
  15562. fi
  15563. rm -f core conftest.err conftest.$ac_objext \
  15564. conftest$ac_exeext conftest.$ac_ext
  15565. CFLAGS=$ac_wine_try_cflags_saved
  15566. fi
  15567. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
  15568. $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
  15569. if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
  15570. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  15571. fi
  15572. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
  15573. $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
  15574. if ${ac_cv_cflags__fcf_protection_none+:} false; then :
  15575. $as_echo_n "(cached) " >&6
  15576. else
  15577. ac_wine_try_cflags_saved=$CFLAGS
  15578. CFLAGS="$CFLAGS -fcf-protection=none"
  15579. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15580. /* end confdefs.h. */
  15581. int main(int argc, char **argv) { return 0; }
  15582. _ACEOF
  15583. if ac_fn_c_try_link "$LINENO"; then :
  15584. ac_cv_cflags__fcf_protection_none=yes
  15585. else
  15586. ac_cv_cflags__fcf_protection_none=no
  15587. fi
  15588. rm -f core conftest.err conftest.$ac_objext \
  15589. conftest$ac_exeext conftest.$ac_ext
  15590. CFLAGS=$ac_wine_try_cflags_saved
  15591. fi
  15592. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
  15593. $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
  15594. if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
  15595. EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
  15596. fi
  15597. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
  15598. $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
  15599. if ${ac_cv_cflags__fno_stack_protector+:} false; then :
  15600. $as_echo_n "(cached) " >&6
  15601. else
  15602. ac_wine_try_cflags_saved=$CFLAGS
  15603. CFLAGS="$CFLAGS -fno-stack-protector"
  15604. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15605. /* end confdefs.h. */
  15606. int main(int argc, char **argv) { return 0; }
  15607. _ACEOF
  15608. if ac_fn_c_try_link "$LINENO"; then :
  15609. ac_cv_cflags__fno_stack_protector=yes
  15610. else
  15611. ac_cv_cflags__fno_stack_protector=no
  15612. fi
  15613. rm -f core conftest.err conftest.$ac_objext \
  15614. conftest$ac_exeext conftest.$ac_ext
  15615. CFLAGS=$ac_wine_try_cflags_saved
  15616. fi
  15617. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
  15618. $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
  15619. if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
  15620. EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
  15621. fi
  15622. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
  15623. $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
  15624. if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
  15625. $as_echo_n "(cached) " >&6
  15626. else
  15627. ac_wine_try_cflags_saved=$CFLAGS
  15628. CFLAGS="$CFLAGS -fno-strict-aliasing"
  15629. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15630. /* end confdefs.h. */
  15631. int main(int argc, char **argv) { return 0; }
  15632. _ACEOF
  15633. if ac_fn_c_try_link "$LINENO"; then :
  15634. ac_cv_cflags__fno_strict_aliasing=yes
  15635. else
  15636. ac_cv_cflags__fno_strict_aliasing=no
  15637. fi
  15638. rm -f core conftest.err conftest.$ac_objext \
  15639. conftest$ac_exeext conftest.$ac_ext
  15640. CFLAGS=$ac_wine_try_cflags_saved
  15641. fi
  15642. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
  15643. $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
  15644. if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
  15645. EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
  15646. fi
  15647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
  15648. $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
  15649. if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
  15650. $as_echo_n "(cached) " >&6
  15651. else
  15652. ac_wine_try_cflags_saved=$CFLAGS
  15653. CFLAGS="$CFLAGS -fexcess-precision=standard"
  15654. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15655. /* end confdefs.h. */
  15656. int main(int argc, char **argv) { return 0; }
  15657. _ACEOF
  15658. if ac_fn_c_try_link "$LINENO"; then :
  15659. ac_cv_cflags__fexcess_precision_standard=yes
  15660. else
  15661. ac_cv_cflags__fexcess_precision_standard=no
  15662. fi
  15663. rm -f core conftest.err conftest.$ac_objext \
  15664. conftest$ac_exeext conftest.$ac_ext
  15665. CFLAGS=$ac_wine_try_cflags_saved
  15666. fi
  15667. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
  15668. $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
  15669. if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
  15670. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  15671. fi
  15672. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
  15673. $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
  15674. if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
  15675. $as_echo_n "(cached) " >&6
  15676. else
  15677. ac_wine_try_cflags_saved=$CFLAGS
  15678. CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  15679. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15680. /* end confdefs.h. */
  15681. int main(int argc, char **argv) { return 0; }
  15682. _ACEOF
  15683. if ac_fn_c_try_link "$LINENO"; then :
  15684. ac_cv_cflags__Wdeclaration_after_statement=yes
  15685. else
  15686. ac_cv_cflags__Wdeclaration_after_statement=no
  15687. fi
  15688. rm -f core conftest.err conftest.$ac_objext \
  15689. conftest$ac_exeext conftest.$ac_ext
  15690. CFLAGS=$ac_wine_try_cflags_saved
  15691. fi
  15692. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
  15693. $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
  15694. if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
  15695. EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
  15696. fi
  15697. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
  15698. $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
  15699. if ${ac_cv_cflags__Wempty_body+:} false; then :
  15700. $as_echo_n "(cached) " >&6
  15701. else
  15702. ac_wine_try_cflags_saved=$CFLAGS
  15703. CFLAGS="$CFLAGS -Wempty-body"
  15704. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15705. /* end confdefs.h. */
  15706. int main(int argc, char **argv) { return 0; }
  15707. _ACEOF
  15708. if ac_fn_c_try_link "$LINENO"; then :
  15709. ac_cv_cflags__Wempty_body=yes
  15710. else
  15711. ac_cv_cflags__Wempty_body=no
  15712. fi
  15713. rm -f core conftest.err conftest.$ac_objext \
  15714. conftest$ac_exeext conftest.$ac_ext
  15715. CFLAGS=$ac_wine_try_cflags_saved
  15716. fi
  15717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
  15718. $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
  15719. if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
  15720. EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
  15721. fi
  15722. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
  15723. $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
  15724. if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
  15725. $as_echo_n "(cached) " >&6
  15726. else
  15727. ac_wine_try_cflags_saved=$CFLAGS
  15728. CFLAGS="$CFLAGS -Wignored-qualifiers"
  15729. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15730. /* end confdefs.h. */
  15731. int main(int argc, char **argv) { return 0; }
  15732. _ACEOF
  15733. if ac_fn_c_try_link "$LINENO"; then :
  15734. ac_cv_cflags__Wignored_qualifiers=yes
  15735. else
  15736. ac_cv_cflags__Wignored_qualifiers=no
  15737. fi
  15738. rm -f core conftest.err conftest.$ac_objext \
  15739. conftest$ac_exeext conftest.$ac_ext
  15740. CFLAGS=$ac_wine_try_cflags_saved
  15741. fi
  15742. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
  15743. $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
  15744. if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
  15745. EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
  15746. fi
  15747. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
  15748. $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
  15749. if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
  15750. $as_echo_n "(cached) " >&6
  15751. else
  15752. ac_wine_try_cflags_saved=$CFLAGS
  15753. CFLAGS="$CFLAGS -Wpacked-not-aligned"
  15754. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15755. /* end confdefs.h. */
  15756. int main(int argc, char **argv) { return 0; }
  15757. _ACEOF
  15758. if ac_fn_c_try_link "$LINENO"; then :
  15759. ac_cv_cflags__Wpacked_not_aligned=yes
  15760. else
  15761. ac_cv_cflags__Wpacked_not_aligned=no
  15762. fi
  15763. rm -f core conftest.err conftest.$ac_objext \
  15764. conftest$ac_exeext conftest.$ac_ext
  15765. CFLAGS=$ac_wine_try_cflags_saved
  15766. fi
  15767. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
  15768. $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
  15769. if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
  15770. EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
  15771. fi
  15772. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
  15773. $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
  15774. if ${ac_cv_cflags__Wpragma_pack+:} false; then :
  15775. $as_echo_n "(cached) " >&6
  15776. else
  15777. ac_wine_try_cflags_saved=$CFLAGS
  15778. CFLAGS="$CFLAGS -Wpragma-pack"
  15779. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15780. /* end confdefs.h. */
  15781. int main(int argc, char **argv) { return 0; }
  15782. _ACEOF
  15783. if ac_fn_c_try_link "$LINENO"; then :
  15784. ac_cv_cflags__Wpragma_pack=yes
  15785. else
  15786. ac_cv_cflags__Wpragma_pack=no
  15787. fi
  15788. rm -f core conftest.err conftest.$ac_objext \
  15789. conftest$ac_exeext conftest.$ac_ext
  15790. CFLAGS=$ac_wine_try_cflags_saved
  15791. fi
  15792. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
  15793. $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
  15794. if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
  15795. EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
  15796. fi
  15797. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
  15798. $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
  15799. if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
  15800. $as_echo_n "(cached) " >&6
  15801. else
  15802. ac_wine_try_cflags_saved=$CFLAGS
  15803. CFLAGS="$CFLAGS -Wshift-overflow=2"
  15804. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15805. /* end confdefs.h. */
  15806. int main(int argc, char **argv) { return 0; }
  15807. _ACEOF
  15808. if ac_fn_c_try_link "$LINENO"; then :
  15809. ac_cv_cflags__Wshift_overflow_2=yes
  15810. else
  15811. ac_cv_cflags__Wshift_overflow_2=no
  15812. fi
  15813. rm -f core conftest.err conftest.$ac_objext \
  15814. conftest$ac_exeext conftest.$ac_ext
  15815. CFLAGS=$ac_wine_try_cflags_saved
  15816. fi
  15817. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
  15818. $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
  15819. if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
  15820. EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
  15821. fi
  15822. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
  15823. $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
  15824. if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
  15825. $as_echo_n "(cached) " >&6
  15826. else
  15827. ac_wine_try_cflags_saved=$CFLAGS
  15828. CFLAGS="$CFLAGS -Wstrict-prototypes"
  15829. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15830. /* end confdefs.h. */
  15831. int main(int argc, char **argv) { return 0; }
  15832. _ACEOF
  15833. if ac_fn_c_try_link "$LINENO"; then :
  15834. ac_cv_cflags__Wstrict_prototypes=yes
  15835. else
  15836. ac_cv_cflags__Wstrict_prototypes=no
  15837. fi
  15838. rm -f core conftest.err conftest.$ac_objext \
  15839. conftest$ac_exeext conftest.$ac_ext
  15840. CFLAGS=$ac_wine_try_cflags_saved
  15841. fi
  15842. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
  15843. $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
  15844. if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
  15845. EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
  15846. fi
  15847. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
  15848. $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
  15849. if ${ac_cv_cflags__Wtype_limits+:} false; then :
  15850. $as_echo_n "(cached) " >&6
  15851. else
  15852. ac_wine_try_cflags_saved=$CFLAGS
  15853. CFLAGS="$CFLAGS -Wtype-limits"
  15854. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15855. /* end confdefs.h. */
  15856. int main(int argc, char **argv) { return 0; }
  15857. _ACEOF
  15858. if ac_fn_c_try_link "$LINENO"; then :
  15859. ac_cv_cflags__Wtype_limits=yes
  15860. else
  15861. ac_cv_cflags__Wtype_limits=no
  15862. fi
  15863. rm -f core conftest.err conftest.$ac_objext \
  15864. conftest$ac_exeext conftest.$ac_ext
  15865. CFLAGS=$ac_wine_try_cflags_saved
  15866. fi
  15867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
  15868. $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
  15869. if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
  15870. EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
  15871. fi
  15872. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
  15873. $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
  15874. if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
  15875. $as_echo_n "(cached) " >&6
  15876. else
  15877. ac_wine_try_cflags_saved=$CFLAGS
  15878. CFLAGS="$CFLAGS -Wunused-but-set-parameter"
  15879. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15880. /* end confdefs.h. */
  15881. int main(int argc, char **argv) { return 0; }
  15882. _ACEOF
  15883. if ac_fn_c_try_link "$LINENO"; then :
  15884. ac_cv_cflags__Wunused_but_set_parameter=yes
  15885. else
  15886. ac_cv_cflags__Wunused_but_set_parameter=no
  15887. fi
  15888. rm -f core conftest.err conftest.$ac_objext \
  15889. conftest$ac_exeext conftest.$ac_ext
  15890. CFLAGS=$ac_wine_try_cflags_saved
  15891. fi
  15892. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
  15893. $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
  15894. if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
  15895. EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
  15896. fi
  15897. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
  15898. $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
  15899. if ${ac_cv_cflags__Wvla+:} false; then :
  15900. $as_echo_n "(cached) " >&6
  15901. else
  15902. ac_wine_try_cflags_saved=$CFLAGS
  15903. CFLAGS="$CFLAGS -Wvla"
  15904. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15905. /* end confdefs.h. */
  15906. int main(int argc, char **argv) { return 0; }
  15907. _ACEOF
  15908. if ac_fn_c_try_link "$LINENO"; then :
  15909. ac_cv_cflags__Wvla=yes
  15910. else
  15911. ac_cv_cflags__Wvla=no
  15912. fi
  15913. rm -f core conftest.err conftest.$ac_objext \
  15914. conftest$ac_exeext conftest.$ac_ext
  15915. CFLAGS=$ac_wine_try_cflags_saved
  15916. fi
  15917. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
  15918. $as_echo "$ac_cv_cflags__Wvla" >&6; }
  15919. if test "x$ac_cv_cflags__Wvla" = xyes; then :
  15920. EXTRACFLAGS="$EXTRACFLAGS -Wvla"
  15921. fi
  15922. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
  15923. $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
  15924. if ${ac_cv_cflags__Wwrite_strings+:} false; then :
  15925. $as_echo_n "(cached) " >&6
  15926. else
  15927. ac_wine_try_cflags_saved=$CFLAGS
  15928. CFLAGS="$CFLAGS -Wwrite-strings"
  15929. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15930. /* end confdefs.h. */
  15931. int main(int argc, char **argv) { return 0; }
  15932. _ACEOF
  15933. if ac_fn_c_try_link "$LINENO"; then :
  15934. ac_cv_cflags__Wwrite_strings=yes
  15935. else
  15936. ac_cv_cflags__Wwrite_strings=no
  15937. fi
  15938. rm -f core conftest.err conftest.$ac_objext \
  15939. conftest$ac_exeext conftest.$ac_ext
  15940. CFLAGS=$ac_wine_try_cflags_saved
  15941. fi
  15942. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
  15943. $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
  15944. if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
  15945. EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
  15946. fi
  15947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
  15948. $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
  15949. if ${ac_cv_cflags__Wpointer_arith+:} false; then :
  15950. $as_echo_n "(cached) " >&6
  15951. else
  15952. ac_wine_try_cflags_saved=$CFLAGS
  15953. CFLAGS="$CFLAGS -Wpointer-arith"
  15954. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15955. /* end confdefs.h. */
  15956. int main(int argc, char **argv) { return 0; }
  15957. _ACEOF
  15958. if ac_fn_c_try_link "$LINENO"; then :
  15959. ac_cv_cflags__Wpointer_arith=yes
  15960. else
  15961. ac_cv_cflags__Wpointer_arith=no
  15962. fi
  15963. rm -f core conftest.err conftest.$ac_objext \
  15964. conftest$ac_exeext conftest.$ac_ext
  15965. CFLAGS=$ac_wine_try_cflags_saved
  15966. fi
  15967. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
  15968. $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
  15969. if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
  15970. saved_string_h_CFLAGS=$CFLAGS
  15971. CFLAGS="$CFLAGS -Wpointer-arith -Werror"
  15972. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
  15973. $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
  15974. if ${ac_cv_c_string_h_warnings+:} false; then :
  15975. $as_echo_n "(cached) " >&6
  15976. else
  15977. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15978. /* end confdefs.h. */
  15979. #include <string.h>
  15980. int
  15981. main ()
  15982. {
  15983. ;
  15984. return 0;
  15985. }
  15986. _ACEOF
  15987. if ac_fn_c_try_compile "$LINENO"; then :
  15988. ac_cv_c_string_h_warnings=no
  15989. else
  15990. ac_cv_c_string_h_warnings=yes
  15991. fi
  15992. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15993. fi
  15994. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
  15995. $as_echo "$ac_cv_c_string_h_warnings" >&6; }
  15996. test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
  15997. CFLAGS=$saved_string_h_CFLAGS
  15998. fi
  15999. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
  16000. $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
  16001. if ${ac_cv_cflags__Wlogical_op+:} false; then :
  16002. $as_echo_n "(cached) " >&6
  16003. else
  16004. ac_wine_try_cflags_saved=$CFLAGS
  16005. CFLAGS="$CFLAGS -Wlogical-op"
  16006. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16007. /* end confdefs.h. */
  16008. int main(int argc, char **argv) { return 0; }
  16009. _ACEOF
  16010. if ac_fn_c_try_link "$LINENO"; then :
  16011. ac_cv_cflags__Wlogical_op=yes
  16012. else
  16013. ac_cv_cflags__Wlogical_op=no
  16014. fi
  16015. rm -f core conftest.err conftest.$ac_objext \
  16016. conftest$ac_exeext conftest.$ac_ext
  16017. CFLAGS=$ac_wine_try_cflags_saved
  16018. fi
  16019. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
  16020. $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
  16021. if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
  16022. saved_string_h_CFLAGS=$CFLAGS
  16023. CFLAGS="$CFLAGS -Wlogical-op -Werror"
  16024. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
  16025. $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
  16026. if ${ac_cv_c_logicalop_noisy+:} false; then :
  16027. $as_echo_n "(cached) " >&6
  16028. else
  16029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16030. /* end confdefs.h. */
  16031. #include <string.h>
  16032. char*f(const char *h,char n) {return strchr(h,n);}
  16033. int
  16034. main ()
  16035. {
  16036. ;
  16037. return 0;
  16038. }
  16039. _ACEOF
  16040. if ac_fn_c_try_compile "$LINENO"; then :
  16041. ac_cv_c_logicalop_noisy=no
  16042. else
  16043. ac_cv_c_logicalop_noisy=yes
  16044. fi
  16045. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16046. fi
  16047. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
  16048. $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
  16049. CFLAGS=$saved_string_h_CFLAGS
  16050. test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
  16051. fi
  16052. for ac_flag in $CFLAGS; do
  16053. case $ac_flag in
  16054. -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
  16055. $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
  16056. if ${ac_cv_cflags__gdwarf_2+:} false; then :
  16057. $as_echo_n "(cached) " >&6
  16058. else
  16059. ac_wine_try_cflags_saved=$CFLAGS
  16060. CFLAGS="$CFLAGS -gdwarf-2"
  16061. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16062. /* end confdefs.h. */
  16063. int main(int argc, char **argv) { return 0; }
  16064. _ACEOF
  16065. if ac_fn_c_try_link "$LINENO"; then :
  16066. ac_cv_cflags__gdwarf_2=yes
  16067. else
  16068. ac_cv_cflags__gdwarf_2=no
  16069. fi
  16070. rm -f core conftest.err conftest.$ac_objext \
  16071. conftest$ac_exeext conftest.$ac_ext
  16072. CFLAGS=$ac_wine_try_cflags_saved
  16073. fi
  16074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
  16075. $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
  16076. if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
  16077. EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
  16078. fi
  16079. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
  16080. $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
  16081. if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
  16082. $as_echo_n "(cached) " >&6
  16083. else
  16084. ac_wine_try_cflags_saved=$CFLAGS
  16085. CFLAGS="$CFLAGS -gstrict-dwarf"
  16086. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16087. /* end confdefs.h. */
  16088. int main(int argc, char **argv) { return 0; }
  16089. _ACEOF
  16090. if ac_fn_c_try_link "$LINENO"; then :
  16091. ac_cv_cflags__gstrict_dwarf=yes
  16092. else
  16093. ac_cv_cflags__gstrict_dwarf=no
  16094. fi
  16095. rm -f core conftest.err conftest.$ac_objext \
  16096. conftest$ac_exeext conftest.$ac_ext
  16097. CFLAGS=$ac_wine_try_cflags_saved
  16098. fi
  16099. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
  16100. $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
  16101. if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
  16102. EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
  16103. fi ;;
  16104. esac
  16105. done
  16106. MSVCRTFLAGS=""
  16107. case $host_os in
  16108. mingw32*) ;;
  16109. *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
  16110. $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
  16111. if ${ac_cv_cflags__fno_builtin+:} false; then :
  16112. $as_echo_n "(cached) " >&6
  16113. else
  16114. ac_wine_try_cflags_saved=$CFLAGS
  16115. CFLAGS="$CFLAGS -fno-builtin"
  16116. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16117. /* end confdefs.h. */
  16118. int main(int argc, char **argv) { return 0; }
  16119. _ACEOF
  16120. if ac_fn_c_try_link "$LINENO"; then :
  16121. ac_cv_cflags__fno_builtin=yes
  16122. else
  16123. ac_cv_cflags__fno_builtin=no
  16124. fi
  16125. rm -f core conftest.err conftest.$ac_objext \
  16126. conftest$ac_exeext conftest.$ac_ext
  16127. CFLAGS=$ac_wine_try_cflags_saved
  16128. fi
  16129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
  16130. $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
  16131. if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
  16132. MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
  16133. fi
  16134. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
  16135. $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
  16136. if ${ac_cv_cflags__fshort_wchar+:} false; then :
  16137. $as_echo_n "(cached) " >&6
  16138. else
  16139. ac_wine_try_cflags_saved=$CFLAGS
  16140. CFLAGS="$CFLAGS -fshort-wchar"
  16141. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16142. /* end confdefs.h. */
  16143. int main(int argc, char **argv) { return 0; }
  16144. _ACEOF
  16145. if ac_fn_c_try_link "$LINENO"; then :
  16146. ac_cv_cflags__fshort_wchar=yes
  16147. else
  16148. ac_cv_cflags__fshort_wchar=no
  16149. fi
  16150. rm -f core conftest.err conftest.$ac_objext \
  16151. conftest$ac_exeext conftest.$ac_ext
  16152. CFLAGS=$ac_wine_try_cflags_saved
  16153. fi
  16154. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
  16155. $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
  16156. if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
  16157. MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
  16158. fi ;;
  16159. esac
  16160. case $host_cpu in
  16161. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
  16162. $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
  16163. if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
  16164. $as_echo_n "(cached) " >&6
  16165. else
  16166. ac_wine_try_cflags_saved=$CFLAGS
  16167. CFLAGS="$CFLAGS -fno-omit-frame-pointer"
  16168. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16169. /* end confdefs.h. */
  16170. int main(int argc, char **argv) { return 0; }
  16171. _ACEOF
  16172. if ac_fn_c_try_link "$LINENO"; then :
  16173. ac_cv_cflags__fno_omit_frame_pointer=yes
  16174. else
  16175. ac_cv_cflags__fno_omit_frame_pointer=no
  16176. fi
  16177. rm -f core conftest.err conftest.$ac_objext \
  16178. conftest$ac_exeext conftest.$ac_ext
  16179. CFLAGS=$ac_wine_try_cflags_saved
  16180. fi
  16181. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
  16182. $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
  16183. if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
  16184. EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
  16185. fi ;;
  16186. *x86_64*)
  16187. case $host_os in
  16188. cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  16189. $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
  16190. if ${ac_cv_cflags__Wno_format+:} false; then :
  16191. $as_echo_n "(cached) " >&6
  16192. else
  16193. ac_wine_try_cflags_saved=$CFLAGS
  16194. CFLAGS="$CFLAGS -Wno-format"
  16195. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16196. /* end confdefs.h. */
  16197. int main(int argc, char **argv) { return 0; }
  16198. _ACEOF
  16199. if ac_fn_c_try_link "$LINENO"; then :
  16200. ac_cv_cflags__Wno_format=yes
  16201. else
  16202. ac_cv_cflags__Wno_format=no
  16203. fi
  16204. rm -f core conftest.err conftest.$ac_objext \
  16205. conftest$ac_exeext conftest.$ac_ext
  16206. CFLAGS=$ac_wine_try_cflags_saved
  16207. fi
  16208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  16209. $as_echo "$ac_cv_cflags__Wno_format" >&6; }
  16210. if test "x$ac_cv_cflags__Wno_format" = xyes; then :
  16211. EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
  16212. fi ;;
  16213. *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
  16214. $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
  16215. if ${ac_cv_cflags__mabi_ms+:} false; then :
  16216. $as_echo_n "(cached) " >&6
  16217. else
  16218. ac_wine_try_cflags_saved=$CFLAGS
  16219. CFLAGS="$CFLAGS -mabi=ms"
  16220. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16221. /* end confdefs.h. */
  16222. int main(int argc, char **argv) { return 0; }
  16223. _ACEOF
  16224. if ac_fn_c_try_link "$LINENO"; then :
  16225. ac_cv_cflags__mabi_ms=yes
  16226. else
  16227. ac_cv_cflags__mabi_ms=no
  16228. fi
  16229. rm -f core conftest.err conftest.$ac_objext \
  16230. conftest$ac_exeext conftest.$ac_ext
  16231. CFLAGS=$ac_wine_try_cflags_saved
  16232. fi
  16233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
  16234. $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
  16235. if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
  16236. MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
  16237. fi ;;
  16238. esac ;;
  16239. esac
  16240. CFLAGS=$saved_CFLAGS
  16241. if test "x$enable_werror" = "xyes"
  16242. then
  16243. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
  16244. $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
  16245. if ${ac_cv_cflags__Werror+:} false; then :
  16246. $as_echo_n "(cached) " >&6
  16247. else
  16248. ac_wine_try_cflags_saved=$CFLAGS
  16249. CFLAGS="$CFLAGS -Werror"
  16250. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16251. /* end confdefs.h. */
  16252. int main(int argc, char **argv) { return 0; }
  16253. _ACEOF
  16254. if ac_fn_c_try_link "$LINENO"; then :
  16255. ac_cv_cflags__Werror=yes
  16256. else
  16257. ac_cv_cflags__Werror=no
  16258. fi
  16259. rm -f core conftest.err conftest.$ac_objext \
  16260. conftest$ac_exeext conftest.$ac_ext
  16261. CFLAGS=$ac_wine_try_cflags_saved
  16262. fi
  16263. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
  16264. $as_echo "$ac_cv_cflags__Werror" >&6; }
  16265. if test "x$ac_cv_cflags__Werror" = xyes; then :
  16266. EXTRACFLAGS="$EXTRACFLAGS -Werror"
  16267. fi
  16268. fi
  16269. fi
  16270. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
  16271. $as_echo_n "checking for the need to disable Fortify... " >&6; }
  16272. if ${ac_cv_c_fortify_enabled+:} false; then :
  16273. $as_echo_n "(cached) " >&6
  16274. else
  16275. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16276. /* end confdefs.h. */
  16277. #include <string.h>
  16278. int
  16279. main ()
  16280. {
  16281. #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
  16282. #error Fortify enabled
  16283. #endif
  16284. ;
  16285. return 0;
  16286. }
  16287. _ACEOF
  16288. if ac_fn_c_try_compile "$LINENO"; then :
  16289. ac_cv_c_fortify_enabled=no
  16290. else
  16291. ac_cv_c_fortify_enabled=yes
  16292. fi
  16293. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16294. fi
  16295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
  16296. $as_echo "$ac_cv_c_fortify_enabled" >&6; }
  16297. if test "$ac_cv_c_fortify_enabled" = yes
  16298. then
  16299. CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
  16300. fi
  16301. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
  16302. $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
  16303. if ${ac_cv_c_cfi_support+:} false; then :
  16304. $as_echo_n "(cached) " >&6
  16305. else
  16306. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16307. /* end confdefs.h. */
  16308. asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
  16309. int
  16310. main ()
  16311. {
  16312. ;
  16313. return 0;
  16314. }
  16315. _ACEOF
  16316. if ac_fn_c_try_compile "$LINENO"; then :
  16317. ac_cv_c_cfi_support="yes"
  16318. else
  16319. ac_cv_c_cfi_support="no"
  16320. fi
  16321. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16322. fi
  16323. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
  16324. $as_echo "$ac_cv_c_cfi_support" >&6; }
  16325. if test "$ac_cv_c_cfi_support" = "yes"
  16326. then
  16327. LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
  16328. else
  16329. if test "x$enable_win64" = "xyes"
  16330. then
  16331. as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
  16332. fi
  16333. fi
  16334. case $build_os in
  16335. cygwin*|mingw32*) TOOLSEXT=".exe"
  16336. ;;
  16337. esac
  16338. case $host_os in
  16339. linux*)
  16340. case $host_cpu in
  16341. *i[3456789]86*|x86_64*|*aarch64*)
  16342. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  16343. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  16344. ;;
  16345. esac
  16346. ;;
  16347. esac
  16348. ac_save_CFLAGS="$CFLAGS"
  16349. CFLAGS="$CFLAGS $BUILTINFLAG"
  16350. for ac_func in \
  16351. __res_get_state \
  16352. __res_getservers \
  16353. _spawnvp \
  16354. epoll_create \
  16355. ffs \
  16356. finitef \
  16357. fnmatch \
  16358. fork \
  16359. fpclass \
  16360. fstatfs \
  16361. fstatvfs \
  16362. futimens \
  16363. futimes \
  16364. futimesat \
  16365. getattrlist \
  16366. getauxval \
  16367. getifaddrs \
  16368. getopt_long_only \
  16369. kqueue \
  16370. lstat \
  16371. mach_continuous_time \
  16372. pipe2 \
  16373. poll \
  16374. port_create \
  16375. prctl \
  16376. pread \
  16377. proc_pidinfo \
  16378. pwrite \
  16379. readdir \
  16380. readlink \
  16381. sched_yield \
  16382. select \
  16383. setproctitle \
  16384. setprogname \
  16385. settimeofday \
  16386. sigprocmask \
  16387. statfs \
  16388. statvfs \
  16389. strnlen \
  16390. strtold \
  16391. symlink \
  16392. sysinfo \
  16393. tcdrain \
  16394. thr_kill2 \
  16395. timegm \
  16396. usleep
  16397. do :
  16398. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16399. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16400. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16401. cat >>confdefs.h <<_ACEOF
  16402. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16403. _ACEOF
  16404. fi
  16405. done
  16406. CFLAGS="$ac_save_CFLAGS"
  16407. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  16408. $as_echo_n "checking for library containing dlopen... " >&6; }
  16409. if ${ac_cv_search_dlopen+:} false; then :
  16410. $as_echo_n "(cached) " >&6
  16411. else
  16412. ac_func_search_save_LIBS=$LIBS
  16413. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16414. /* end confdefs.h. */
  16415. /* Override any GCC internal prototype to avoid an error.
  16416. Use char because int might match the return type of a GCC
  16417. builtin and then its argument prototype would still apply. */
  16418. #ifdef __cplusplus
  16419. extern "C"
  16420. #endif
  16421. char dlopen ();
  16422. int
  16423. main ()
  16424. {
  16425. return dlopen ();
  16426. ;
  16427. return 0;
  16428. }
  16429. _ACEOF
  16430. for ac_lib in '' dl; do
  16431. if test -z "$ac_lib"; then
  16432. ac_res="none required"
  16433. else
  16434. ac_res=-l$ac_lib
  16435. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16436. fi
  16437. if ac_fn_c_try_link "$LINENO"; then :
  16438. ac_cv_search_dlopen=$ac_res
  16439. fi
  16440. rm -f core conftest.err conftest.$ac_objext \
  16441. conftest$ac_exeext
  16442. if ${ac_cv_search_dlopen+:} false; then :
  16443. break
  16444. fi
  16445. done
  16446. if ${ac_cv_search_dlopen+:} false; then :
  16447. else
  16448. ac_cv_search_dlopen=no
  16449. fi
  16450. rm conftest.$ac_ext
  16451. LIBS=$ac_func_search_save_LIBS
  16452. fi
  16453. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  16454. $as_echo "$ac_cv_search_dlopen" >&6; }
  16455. ac_res=$ac_cv_search_dlopen
  16456. if test "$ac_res" != no; then :
  16457. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16458. fi
  16459. ac_wine_check_funcs_save_LIBS="$LIBS"
  16460. LIBS="$LIBS $DL_LIBS"
  16461. for ac_func in dladdr dlinfo
  16462. do :
  16463. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16464. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16465. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16466. cat >>confdefs.h <<_ACEOF
  16467. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16468. _ACEOF
  16469. fi
  16470. done
  16471. LIBS="$ac_wine_check_funcs_save_LIBS"
  16472. if test "$ac_cv_func_poll" = no
  16473. then
  16474. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
  16475. $as_echo_n "checking for poll in -lpoll... " >&6; }
  16476. if ${ac_cv_lib_poll_poll+:} false; then :
  16477. $as_echo_n "(cached) " >&6
  16478. else
  16479. ac_check_lib_save_LIBS=$LIBS
  16480. LIBS="-lpoll $LIBS"
  16481. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16482. /* end confdefs.h. */
  16483. /* Override any GCC internal prototype to avoid an error.
  16484. Use char because int might match the return type of a GCC
  16485. builtin and then its argument prototype would still apply. */
  16486. #ifdef __cplusplus
  16487. extern "C"
  16488. #endif
  16489. char poll ();
  16490. int
  16491. main ()
  16492. {
  16493. return poll ();
  16494. ;
  16495. return 0;
  16496. }
  16497. _ACEOF
  16498. if ac_fn_c_try_link "$LINENO"; then :
  16499. ac_cv_lib_poll_poll=yes
  16500. else
  16501. ac_cv_lib_poll_poll=no
  16502. fi
  16503. rm -f core conftest.err conftest.$ac_objext \
  16504. conftest$ac_exeext conftest.$ac_ext
  16505. LIBS=$ac_check_lib_save_LIBS
  16506. fi
  16507. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
  16508. $as_echo "$ac_cv_lib_poll_poll" >&6; }
  16509. if test "x$ac_cv_lib_poll_poll" = xyes; then :
  16510. $as_echo "#define HAVE_POLL 1" >>confdefs.h
  16511. POLL_LIBS="-lpoll"
  16512. fi
  16513. fi
  16514. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
  16515. $as_echo_n "checking for library containing gethostbyname... " >&6; }
  16516. if ${ac_cv_search_gethostbyname+:} false; then :
  16517. $as_echo_n "(cached) " >&6
  16518. else
  16519. ac_func_search_save_LIBS=$LIBS
  16520. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16521. /* end confdefs.h. */
  16522. /* Override any GCC internal prototype to avoid an error.
  16523. Use char because int might match the return type of a GCC
  16524. builtin and then its argument prototype would still apply. */
  16525. #ifdef __cplusplus
  16526. extern "C"
  16527. #endif
  16528. char gethostbyname ();
  16529. int
  16530. main ()
  16531. {
  16532. return gethostbyname ();
  16533. ;
  16534. return 0;
  16535. }
  16536. _ACEOF
  16537. for ac_lib in '' nsl; do
  16538. if test -z "$ac_lib"; then
  16539. ac_res="none required"
  16540. else
  16541. ac_res=-l$ac_lib
  16542. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16543. fi
  16544. if ac_fn_c_try_link "$LINENO"; then :
  16545. ac_cv_search_gethostbyname=$ac_res
  16546. fi
  16547. rm -f core conftest.err conftest.$ac_objext \
  16548. conftest$ac_exeext
  16549. if ${ac_cv_search_gethostbyname+:} false; then :
  16550. break
  16551. fi
  16552. done
  16553. if ${ac_cv_search_gethostbyname+:} false; then :
  16554. else
  16555. ac_cv_search_gethostbyname=no
  16556. fi
  16557. rm conftest.$ac_ext
  16558. LIBS=$ac_func_search_save_LIBS
  16559. fi
  16560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
  16561. $as_echo "$ac_cv_search_gethostbyname" >&6; }
  16562. ac_res=$ac_cv_search_gethostbyname
  16563. if test "$ac_res" != no; then :
  16564. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16565. fi
  16566. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
  16567. $as_echo_n "checking for library containing connect... " >&6; }
  16568. if ${ac_cv_search_connect+:} false; then :
  16569. $as_echo_n "(cached) " >&6
  16570. else
  16571. ac_func_search_save_LIBS=$LIBS
  16572. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16573. /* end confdefs.h. */
  16574. /* Override any GCC internal prototype to avoid an error.
  16575. Use char because int might match the return type of a GCC
  16576. builtin and then its argument prototype would still apply. */
  16577. #ifdef __cplusplus
  16578. extern "C"
  16579. #endif
  16580. char connect ();
  16581. int
  16582. main ()
  16583. {
  16584. return connect ();
  16585. ;
  16586. return 0;
  16587. }
  16588. _ACEOF
  16589. for ac_lib in '' socket; do
  16590. if test -z "$ac_lib"; then
  16591. ac_res="none required"
  16592. else
  16593. ac_res=-l$ac_lib
  16594. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16595. fi
  16596. if ac_fn_c_try_link "$LINENO"; then :
  16597. ac_cv_search_connect=$ac_res
  16598. fi
  16599. rm -f core conftest.err conftest.$ac_objext \
  16600. conftest$ac_exeext
  16601. if ${ac_cv_search_connect+:} false; then :
  16602. break
  16603. fi
  16604. done
  16605. if ${ac_cv_search_connect+:} false; then :
  16606. else
  16607. ac_cv_search_connect=no
  16608. fi
  16609. rm conftest.$ac_ext
  16610. LIBS=$ac_func_search_save_LIBS
  16611. fi
  16612. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
  16613. $as_echo "$ac_cv_search_connect" >&6; }
  16614. ac_res=$ac_cv_search_connect
  16615. if test "$ac_res" != no; then :
  16616. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16617. fi
  16618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
  16619. $as_echo_n "checking for library containing inet_aton... " >&6; }
  16620. if ${ac_cv_search_inet_aton+:} false; then :
  16621. $as_echo_n "(cached) " >&6
  16622. else
  16623. ac_func_search_save_LIBS=$LIBS
  16624. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16625. /* end confdefs.h. */
  16626. /* Override any GCC internal prototype to avoid an error.
  16627. Use char because int might match the return type of a GCC
  16628. builtin and then its argument prototype would still apply. */
  16629. #ifdef __cplusplus
  16630. extern "C"
  16631. #endif
  16632. char inet_aton ();
  16633. int
  16634. main ()
  16635. {
  16636. return inet_aton ();
  16637. ;
  16638. return 0;
  16639. }
  16640. _ACEOF
  16641. for ac_lib in '' resolv; do
  16642. if test -z "$ac_lib"; then
  16643. ac_res="none required"
  16644. else
  16645. ac_res=-l$ac_lib
  16646. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16647. fi
  16648. if ac_fn_c_try_link "$LINENO"; then :
  16649. ac_cv_search_inet_aton=$ac_res
  16650. fi
  16651. rm -f core conftest.err conftest.$ac_objext \
  16652. conftest$ac_exeext
  16653. if ${ac_cv_search_inet_aton+:} false; then :
  16654. break
  16655. fi
  16656. done
  16657. if ${ac_cv_search_inet_aton+:} false; then :
  16658. else
  16659. ac_cv_search_inet_aton=no
  16660. fi
  16661. rm conftest.$ac_ext
  16662. LIBS=$ac_func_search_save_LIBS
  16663. fi
  16664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
  16665. $as_echo "$ac_cv_search_inet_aton" >&6; }
  16666. ac_res=$ac_cv_search_inet_aton
  16667. if test "$ac_res" != no; then :
  16668. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16669. fi
  16670. for ac_func in \
  16671. getaddrinfo \
  16672. getnameinfo \
  16673. getnetbyname \
  16674. getprotobyname \
  16675. getprotobynumber \
  16676. getservbyport \
  16677. inet_addr \
  16678. inet_network \
  16679. inet_ntop \
  16680. inet_pton \
  16681. do :
  16682. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16683. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16684. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16685. cat >>confdefs.h <<_ACEOF
  16686. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16687. _ACEOF
  16688. fi
  16689. done
  16690. case $host_os in
  16691. darwin*|macosx*) ;;
  16692. *) ac_save_LIBS=$LIBS
  16693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  16694. $as_echo_n "checking for library containing clock_gettime... " >&6; }
  16695. if ${ac_cv_search_clock_gettime+:} false; then :
  16696. $as_echo_n "(cached) " >&6
  16697. else
  16698. ac_func_search_save_LIBS=$LIBS
  16699. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16700. /* end confdefs.h. */
  16701. /* Override any GCC internal prototype to avoid an error.
  16702. Use char because int might match the return type of a GCC
  16703. builtin and then its argument prototype would still apply. */
  16704. #ifdef __cplusplus
  16705. extern "C"
  16706. #endif
  16707. char clock_gettime ();
  16708. int
  16709. main ()
  16710. {
  16711. return clock_gettime ();
  16712. ;
  16713. return 0;
  16714. }
  16715. _ACEOF
  16716. for ac_lib in '' rt; do
  16717. if test -z "$ac_lib"; then
  16718. ac_res="none required"
  16719. else
  16720. ac_res=-l$ac_lib
  16721. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16722. fi
  16723. if ac_fn_c_try_link "$LINENO"; then :
  16724. ac_cv_search_clock_gettime=$ac_res
  16725. fi
  16726. rm -f core conftest.err conftest.$ac_objext \
  16727. conftest$ac_exeext
  16728. if ${ac_cv_search_clock_gettime+:} false; then :
  16729. break
  16730. fi
  16731. done
  16732. if ${ac_cv_search_clock_gettime+:} false; then :
  16733. else
  16734. ac_cv_search_clock_gettime=no
  16735. fi
  16736. rm conftest.$ac_ext
  16737. LIBS=$ac_func_search_save_LIBS
  16738. fi
  16739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  16740. $as_echo "$ac_cv_search_clock_gettime" >&6; }
  16741. ac_res=$ac_cv_search_clock_gettime
  16742. if test "$ac_res" != no; then :
  16743. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16744. $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  16745. test "$ac_res" = "none required" || RT_LIBS="$ac_res"
  16746. fi
  16747. LIBS=$ac_save_LIBS
  16748. ;;
  16749. esac
  16750. if test "x$with_ldap" != "xno"
  16751. then
  16752. if ${LDAP_CFLAGS:+false} :; then :
  16753. if ${PKG_CONFIG+:} false; then :
  16754. LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
  16755. fi
  16756. fi
  16757. if ${LDAP_LIBS:+false} :; then :
  16758. if ${PKG_CONFIG+:} false; then :
  16759. LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
  16760. fi
  16761. fi
  16762. LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
  16763. $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
  16764. $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
  16765. ac_save_CPPFLAGS=$CPPFLAGS
  16766. CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
  16767. for ac_header in ldap.h lber.h
  16768. do :
  16769. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16770. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  16771. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16772. cat >>confdefs.h <<_ACEOF
  16773. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16774. _ACEOF
  16775. fi
  16776. done
  16777. if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
  16778. then
  16779. ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
  16780. "
  16781. if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
  16782. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
  16783. $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
  16784. if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
  16785. $as_echo_n "(cached) " >&6
  16786. else
  16787. ac_check_lib_save_LIBS=$LIBS
  16788. LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  16789. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16790. /* end confdefs.h. */
  16791. /* Override any GCC internal prototype to avoid an error.
  16792. Use char because int might match the return type of a GCC
  16793. builtin and then its argument prototype would still apply. */
  16794. #ifdef __cplusplus
  16795. extern "C"
  16796. #endif
  16797. char ldap_initialize ();
  16798. int
  16799. main ()
  16800. {
  16801. return ldap_initialize ();
  16802. ;
  16803. return 0;
  16804. }
  16805. _ACEOF
  16806. if ac_fn_c_try_link "$LINENO"; then :
  16807. ac_cv_lib_ldap_r_ldap_initialize=yes
  16808. else
  16809. ac_cv_lib_ldap_r_ldap_initialize=no
  16810. fi
  16811. rm -f core conftest.err conftest.$ac_objext \
  16812. conftest$ac_exeext conftest.$ac_ext
  16813. LIBS=$ac_check_lib_save_LIBS
  16814. fi
  16815. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
  16816. $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
  16817. if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
  16818. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
  16819. $as_echo_n "checking for ber_init in -llber... " >&6; }
  16820. if ${ac_cv_lib_lber_ber_init+:} false; then :
  16821. $as_echo_n "(cached) " >&6
  16822. else
  16823. ac_check_lib_save_LIBS=$LIBS
  16824. LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  16825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16826. /* end confdefs.h. */
  16827. /* Override any GCC internal prototype to avoid an error.
  16828. Use char because int might match the return type of a GCC
  16829. builtin and then its argument prototype would still apply. */
  16830. #ifdef __cplusplus
  16831. extern "C"
  16832. #endif
  16833. char ber_init ();
  16834. int
  16835. main ()
  16836. {
  16837. return ber_init ();
  16838. ;
  16839. return 0;
  16840. }
  16841. _ACEOF
  16842. if ac_fn_c_try_link "$LINENO"; then :
  16843. ac_cv_lib_lber_ber_init=yes
  16844. else
  16845. ac_cv_lib_lber_ber_init=no
  16846. fi
  16847. rm -f core conftest.err conftest.$ac_objext \
  16848. conftest$ac_exeext conftest.$ac_ext
  16849. LIBS=$ac_check_lib_save_LIBS
  16850. fi
  16851. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
  16852. $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
  16853. if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
  16854. $as_echo "#define HAVE_LDAP 1" >>confdefs.h
  16855. else
  16856. LDAP_LIBS=""
  16857. fi
  16858. else
  16859. LDAP_LIBS=""
  16860. fi
  16861. else
  16862. LDAP_LIBS=""
  16863. fi
  16864. ac_wine_check_funcs_save_LIBS="$LIBS"
  16865. LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
  16866. for ac_func in \
  16867. ldap_count_references \
  16868. ldap_first_reference \
  16869. ldap_next_reference \
  16870. ldap_parse_reference \
  16871. ldap_parse_sort_control \
  16872. ldap_parse_sortresponse_control \
  16873. ldap_parse_vlv_control \
  16874. ldap_parse_vlvresponse_control
  16875. do :
  16876. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16877. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16878. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16879. cat >>confdefs.h <<_ACEOF
  16880. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16881. _ACEOF
  16882. fi
  16883. done
  16884. LIBS="$ac_wine_check_funcs_save_LIBS"
  16885. else
  16886. LDAP_LIBS=""
  16887. fi
  16888. CPPFLAGS=$ac_save_CPPFLAGS
  16889. test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  16890. test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  16891. fi
  16892. if test "x$LDAP_LIBS" = "x"; then :
  16893. case "x$with_ldap" in
  16894. x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
  16895. xno) ;;
  16896. *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
  16897. This is an error since --with-ldap was requested." "$LINENO" 5 ;;
  16898. esac
  16899. fi
  16900. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
  16901. $as_echo_n "checking for sched_setaffinity... " >&6; }
  16902. if ${wine_cv_have_sched_setaffinity+:} false; then :
  16903. $as_echo_n "(cached) " >&6
  16904. else
  16905. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16906. /* end confdefs.h. */
  16907. #define _GNU_SOURCE
  16908. #include <sched.h>
  16909. int
  16910. main ()
  16911. {
  16912. sched_setaffinity(0, 0, 0);
  16913. ;
  16914. return 0;
  16915. }
  16916. _ACEOF
  16917. if ac_fn_c_try_link "$LINENO"; then :
  16918. wine_cv_have_sched_setaffinity=yes
  16919. else
  16920. wine_cv_have_sched_setaffinity=no
  16921. fi
  16922. rm -f core conftest.err conftest.$ac_objext \
  16923. conftest$ac_exeext conftest.$ac_ext
  16924. fi
  16925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
  16926. $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
  16927. if test "$wine_cv_have_sched_setaffinity" = "yes"
  16928. then
  16929. $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
  16930. fi
  16931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
  16932. $as_echo_n "checking for fallocate... " >&6; }
  16933. if ${wine_cv_have_fallocate+:} false; then :
  16934. $as_echo_n "(cached) " >&6
  16935. else
  16936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16937. /* end confdefs.h. */
  16938. #define _GNU_SOURCE
  16939. #include <fcntl.h>
  16940. int
  16941. main ()
  16942. {
  16943. fallocate(-1, 0, 0, 0);
  16944. ;
  16945. return 0;
  16946. }
  16947. _ACEOF
  16948. if ac_fn_c_try_link "$LINENO"; then :
  16949. wine_cv_have_fallocate=yes
  16950. else
  16951. wine_cv_have_fallocate=no
  16952. fi
  16953. rm -f core conftest.err conftest.$ac_objext \
  16954. conftest$ac_exeext conftest.$ac_ext
  16955. fi
  16956. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
  16957. $as_echo "$wine_cv_have_fallocate" >&6; }
  16958. if test "$wine_cv_have_fallocate" = "yes"
  16959. then
  16960. $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
  16961. fi
  16962. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  16963. $as_echo_n "checking for inline... " >&6; }
  16964. if ${ac_cv_c_inline+:} false; then :
  16965. $as_echo_n "(cached) " >&6
  16966. else
  16967. ac_cv_c_inline=no
  16968. for ac_kw in inline __inline__ __inline; do
  16969. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16970. /* end confdefs.h. */
  16971. #ifndef __cplusplus
  16972. typedef int foo_t;
  16973. static $ac_kw foo_t static_foo () {return 0; }
  16974. $ac_kw foo_t foo () {return 0; }
  16975. #endif
  16976. _ACEOF
  16977. if ac_fn_c_try_compile "$LINENO"; then :
  16978. ac_cv_c_inline=$ac_kw
  16979. fi
  16980. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16981. test "$ac_cv_c_inline" != no && break
  16982. done
  16983. fi
  16984. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  16985. $as_echo "$ac_cv_c_inline" >&6; }
  16986. case $ac_cv_c_inline in
  16987. inline | yes) ;;
  16988. *)
  16989. case $ac_cv_c_inline in
  16990. no) ac_val=;;
  16991. *) ac_val=$ac_cv_c_inline;;
  16992. esac
  16993. cat >>confdefs.h <<_ACEOF
  16994. #ifndef __cplusplus
  16995. #define inline $ac_val
  16996. #endif
  16997. _ACEOF
  16998. ;;
  16999. esac
  17000. ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
  17001. if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
  17002. cat >>confdefs.h <<_ACEOF
  17003. #define HAVE_FSBLKCNT_T 1
  17004. _ACEOF
  17005. fi
  17006. ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
  17007. if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
  17008. cat >>confdefs.h <<_ACEOF
  17009. #define HAVE_FSFILCNT_T 1
  17010. _ACEOF
  17011. fi
  17012. ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
  17013. #include <signal.h>
  17014. "
  17015. if test "x$ac_cv_type_sigset_t" = xyes; then :
  17016. cat >>confdefs.h <<_ACEOF
  17017. #define HAVE_SIGSET_T 1
  17018. _ACEOF
  17019. fi
  17020. ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
  17021. "
  17022. if test "x$ac_cv_type_request_sense" = xyes; then :
  17023. cat >>confdefs.h <<_ACEOF
  17024. #define HAVE_REQUEST_SENSE 1
  17025. _ACEOF
  17026. fi
  17027. ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
  17028. #ifdef HAVE_SYS_SOCKET_H
  17029. #include <sys/socket.h>
  17030. #endif
  17031. #ifdef HAVE_SYS_SOCKETVAR_H
  17032. #include <sys/socketvar.h>
  17033. #endif
  17034. #ifdef HAVE_NET_ROUTE_H
  17035. #include <net/route.h>
  17036. #endif
  17037. #ifdef HAVE_NETINET_IN_H
  17038. #include <netinet/in.h>
  17039. #endif
  17040. #ifdef HAVE_NETINET_IN_SYSTM_H
  17041. #include <netinet/in_systm.h>
  17042. #endif
  17043. #ifdef HAVE_NETINET_IP_H
  17044. #include <netinet/ip.h>
  17045. #endif
  17046. #ifdef HAVE_NETINET_IN_PCB_H
  17047. #include <netinet/in_pcb.h>
  17048. #endif
  17049. "
  17050. if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
  17051. cat >>confdefs.h <<_ACEOF
  17052. #define HAVE_STRUCT_XINPGEN 1
  17053. _ACEOF
  17054. fi
  17055. ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
  17056. #include <linux/input.h>
  17057. #endif
  17058. "
  17059. if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
  17060. cat >>confdefs.h <<_ACEOF
  17061. #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
  17062. _ACEOF
  17063. fi
  17064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
  17065. $as_echo_n "checking for if_nameindex... " >&6; }
  17066. if ${wine_cv_have_if_nameindex+:} false; then :
  17067. $as_echo_n "(cached) " >&6
  17068. else
  17069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17070. /* end confdefs.h. */
  17071. #ifdef HAVE_SYS_TYPES_H
  17072. #include <sys/types.h>
  17073. #endif
  17074. #ifdef HAVE_SYS_SOCKET_H
  17075. #include <sys/socket.h>
  17076. #endif
  17077. #ifdef HAVE_NET_IF_H
  17078. # include <net/if.h>
  17079. #endif
  17080. int
  17081. main ()
  17082. {
  17083. struct if_nameindex *p = if_nameindex(); return p->if_index;
  17084. ;
  17085. return 0;
  17086. }
  17087. _ACEOF
  17088. if ac_fn_c_try_link "$LINENO"; then :
  17089. wine_cv_have_if_nameindex=yes
  17090. else
  17091. wine_cv_have_if_nameindex=no
  17092. fi
  17093. rm -f core conftest.err conftest.$ac_objext \
  17094. conftest$ac_exeext conftest.$ac_ext
  17095. fi
  17096. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
  17097. $as_echo "$wine_cv_have_if_nameindex" >&6; }
  17098. if test "$wine_cv_have_if_nameindex" = "yes"
  17099. then
  17100. $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
  17101. fi
  17102. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
  17103. $as_echo_n "checking for sigaddset... " >&6; }
  17104. if ${wine_cv_have_sigaddset+:} false; then :
  17105. $as_echo_n "(cached) " >&6
  17106. else
  17107. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17108. /* end confdefs.h. */
  17109. #include <signal.h>
  17110. int
  17111. main ()
  17112. {
  17113. sigset_t set; sigaddset(&set,SIGTERM);
  17114. ;
  17115. return 0;
  17116. }
  17117. _ACEOF
  17118. if ac_fn_c_try_link "$LINENO"; then :
  17119. wine_cv_have_sigaddset=yes
  17120. else
  17121. wine_cv_have_sigaddset=no
  17122. fi
  17123. rm -f core conftest.err conftest.$ac_objext \
  17124. conftest$ac_exeext conftest.$ac_ext
  17125. fi
  17126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
  17127. $as_echo "$wine_cv_have_sigaddset" >&6; }
  17128. if test "$wine_cv_have_sigaddset" = "yes"
  17129. then
  17130. $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
  17131. fi
  17132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
  17133. $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
  17134. if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
  17135. $as_echo_n "(cached) " >&6
  17136. else
  17137. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17138. /* end confdefs.h. */
  17139. #include <netdb.h>
  17140. int
  17141. main ()
  17142. {
  17143. char *name=0;
  17144. struct hostent he;
  17145. struct hostent *result;
  17146. char *buf=0;
  17147. int bufsize=0;
  17148. int errnr;
  17149. char *addr=0;
  17150. int addrlen=0;
  17151. int addrtype=0;
  17152. gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
  17153. gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
  17154. ;
  17155. return 0;
  17156. }
  17157. _ACEOF
  17158. if ac_fn_c_try_link "$LINENO"; then :
  17159. wine_cv_linux_gethostbyname_r_6=yes
  17160. else
  17161. wine_cv_linux_gethostbyname_r_6=no
  17162. fi
  17163. rm -f core conftest.err conftest.$ac_objext \
  17164. conftest$ac_exeext conftest.$ac_ext
  17165. fi
  17166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
  17167. $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
  17168. if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
  17169. then
  17170. $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
  17171. fi
  17172. if test "$ac_cv_header_linux_joystick_h" = "yes"
  17173. then
  17174. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
  17175. $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
  17176. if ${wine_cv_linux_joystick_22_api+:} false; then :
  17177. $as_echo_n "(cached) " >&6
  17178. else
  17179. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17180. /* end confdefs.h. */
  17181. #include <sys/ioctl.h>
  17182. #include <sys/types.h>
  17183. #include <linux/joystick.h>
  17184. struct js_event blub;
  17185. #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
  17186. #error "no 2.2 header"
  17187. #endif
  17188. int
  17189. main ()
  17190. {
  17191. /*empty*/
  17192. ;
  17193. return 0;
  17194. }
  17195. _ACEOF
  17196. if ac_fn_c_try_compile "$LINENO"; then :
  17197. wine_cv_linux_joystick_22_api=yes
  17198. else
  17199. wine_cv_linux_joystick_22_api=no
  17200. fi
  17201. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17202. fi
  17203. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
  17204. $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
  17205. if test "$wine_cv_linux_joystick_22_api" = "yes"
  17206. then
  17207. $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
  17208. fi
  17209. fi
  17210. ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
  17211. #ifdef HAVE_SYS_PARAM_H
  17212. # include <sys/param.h>
  17213. #endif
  17214. #ifdef HAVE_SYS_MOUNT_H
  17215. # include <sys/mount.h>
  17216. #endif
  17217. #ifdef HAVE_SYS_VFS_H
  17218. # include <sys/vfs.h>
  17219. #endif
  17220. #ifdef HAVE_SYS_STATFS_H
  17221. # include <sys/statfs.h>
  17222. #endif
  17223. "
  17224. if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
  17225. cat >>confdefs.h <<_ACEOF
  17226. #define HAVE_STRUCT_STATFS_F_BFREE 1
  17227. _ACEOF
  17228. fi
  17229. ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
  17230. #ifdef HAVE_SYS_PARAM_H
  17231. # include <sys/param.h>
  17232. #endif
  17233. #ifdef HAVE_SYS_MOUNT_H
  17234. # include <sys/mount.h>
  17235. #endif
  17236. #ifdef HAVE_SYS_VFS_H
  17237. # include <sys/vfs.h>
  17238. #endif
  17239. #ifdef HAVE_SYS_STATFS_H
  17240. # include <sys/statfs.h>
  17241. #endif
  17242. "
  17243. if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
  17244. cat >>confdefs.h <<_ACEOF
  17245. #define HAVE_STRUCT_STATFS_F_BAVAIL 1
  17246. _ACEOF
  17247. fi
  17248. ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
  17249. #ifdef HAVE_SYS_PARAM_H
  17250. # include <sys/param.h>
  17251. #endif
  17252. #ifdef HAVE_SYS_MOUNT_H
  17253. # include <sys/mount.h>
  17254. #endif
  17255. #ifdef HAVE_SYS_VFS_H
  17256. # include <sys/vfs.h>
  17257. #endif
  17258. #ifdef HAVE_SYS_STATFS_H
  17259. # include <sys/statfs.h>
  17260. #endif
  17261. "
  17262. if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
  17263. cat >>confdefs.h <<_ACEOF
  17264. #define HAVE_STRUCT_STATFS_F_FRSIZE 1
  17265. _ACEOF
  17266. fi
  17267. ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
  17268. #ifdef HAVE_SYS_PARAM_H
  17269. # include <sys/param.h>
  17270. #endif
  17271. #ifdef HAVE_SYS_MOUNT_H
  17272. # include <sys/mount.h>
  17273. #endif
  17274. #ifdef HAVE_SYS_VFS_H
  17275. # include <sys/vfs.h>
  17276. #endif
  17277. #ifdef HAVE_SYS_STATFS_H
  17278. # include <sys/statfs.h>
  17279. #endif
  17280. "
  17281. if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
  17282. cat >>confdefs.h <<_ACEOF
  17283. #define HAVE_STRUCT_STATFS_F_FFREE 1
  17284. _ACEOF
  17285. fi
  17286. ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
  17287. #ifdef HAVE_SYS_PARAM_H
  17288. # include <sys/param.h>
  17289. #endif
  17290. #ifdef HAVE_SYS_MOUNT_H
  17291. # include <sys/mount.h>
  17292. #endif
  17293. #ifdef HAVE_SYS_VFS_H
  17294. # include <sys/vfs.h>
  17295. #endif
  17296. #ifdef HAVE_SYS_STATFS_H
  17297. # include <sys/statfs.h>
  17298. #endif
  17299. "
  17300. if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
  17301. cat >>confdefs.h <<_ACEOF
  17302. #define HAVE_STRUCT_STATFS_F_FAVAIL 1
  17303. _ACEOF
  17304. fi
  17305. ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
  17306. #ifdef HAVE_SYS_PARAM_H
  17307. # include <sys/param.h>
  17308. #endif
  17309. #ifdef HAVE_SYS_MOUNT_H
  17310. # include <sys/mount.h>
  17311. #endif
  17312. #ifdef HAVE_SYS_VFS_H
  17313. # include <sys/vfs.h>
  17314. #endif
  17315. #ifdef HAVE_SYS_STATFS_H
  17316. # include <sys/statfs.h>
  17317. #endif
  17318. "
  17319. if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
  17320. cat >>confdefs.h <<_ACEOF
  17321. #define HAVE_STRUCT_STATFS_F_NAMELEN 1
  17322. _ACEOF
  17323. fi
  17324. ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
  17325. #include <sys/statvfs.h>
  17326. #endif
  17327. "
  17328. if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
  17329. cat >>confdefs.h <<_ACEOF
  17330. #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
  17331. _ACEOF
  17332. fi
  17333. ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
  17334. #include <dirent.h>
  17335. #endif
  17336. "
  17337. if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
  17338. cat >>confdefs.h <<_ACEOF
  17339. #define HAVE_STRUCT_DIRENT_D_RECLEN 1
  17340. _ACEOF
  17341. fi
  17342. ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
  17343. #ifdef HAVE_SYS_SOCKET_H
  17344. # include <sys/socket.h>
  17345. #endif
  17346. #ifdef HAVE_SYS_UN_H
  17347. # include <sys/un.h>
  17348. #endif
  17349. "
  17350. if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
  17351. cat >>confdefs.h <<_ACEOF
  17352. #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
  17353. _ACEOF
  17354. fi
  17355. ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
  17356. #ifdef HAVE_SYS_SOCKET_H
  17357. # include <sys/socket.h>
  17358. #endif
  17359. #ifdef HAVE_SYS_UN_H
  17360. # include <sys/un.h>
  17361. #endif
  17362. "
  17363. if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
  17364. cat >>confdefs.h <<_ACEOF
  17365. #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
  17366. _ACEOF
  17367. fi
  17368. ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
  17369. #ifdef HAVE_SYS_SOCKET_H
  17370. # include <sys/socket.h>
  17371. #endif
  17372. #ifdef HAVE_SYS_UN_H
  17373. # include <sys/un.h>
  17374. #endif
  17375. "
  17376. if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
  17377. cat >>confdefs.h <<_ACEOF
  17378. #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
  17379. _ACEOF
  17380. fi
  17381. ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
  17382. #ifdef HAVE_SCSI_SG_H
  17383. #include <scsi/sg.h>
  17384. #endif
  17385. "
  17386. if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
  17387. cat >>confdefs.h <<_ACEOF
  17388. #define HAVE_SCSIREQ_T_CMD 1
  17389. _ACEOF
  17390. fi
  17391. 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>
  17392. #ifdef HAVE_SCSI_SG_H
  17393. #include <scsi/sg.h>
  17394. #endif
  17395. "
  17396. if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
  17397. cat >>confdefs.h <<_ACEOF
  17398. #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
  17399. _ACEOF
  17400. fi
  17401. ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
  17402. "
  17403. if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
  17404. cat >>confdefs.h <<_ACEOF
  17405. #define HAVE_SIGINFO_T_SI_FD 1
  17406. _ACEOF
  17407. fi
  17408. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
  17409. #ifdef HAVE_SYS_MTIO_H
  17410. #include <sys/mtio.h>
  17411. #endif
  17412. "
  17413. if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
  17414. cat >>confdefs.h <<_ACEOF
  17415. #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
  17416. _ACEOF
  17417. fi
  17418. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
  17419. #ifdef HAVE_SYS_MTIO_H
  17420. #include <sys/mtio.h>
  17421. #endif
  17422. "
  17423. if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
  17424. cat >>confdefs.h <<_ACEOF
  17425. #define HAVE_STRUCT_MTGET_MT_GSTAT 1
  17426. _ACEOF
  17427. fi
  17428. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
  17429. #ifdef HAVE_SYS_MTIO_H
  17430. #include <sys/mtio.h>
  17431. #endif
  17432. "
  17433. if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
  17434. cat >>confdefs.h <<_ACEOF
  17435. #define HAVE_STRUCT_MTGET_MT_BLKNO 1
  17436. _ACEOF
  17437. fi
  17438. ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
  17439. #include <getopt.h>
  17440. #endif
  17441. "
  17442. if test "x$ac_cv_member_struct_option_name" = xyes; then :
  17443. cat >>confdefs.h <<_ACEOF
  17444. #define HAVE_STRUCT_OPTION_NAME 1
  17445. _ACEOF
  17446. fi
  17447. ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
  17448. if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
  17449. cat >>confdefs.h <<_ACEOF
  17450. #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17451. _ACEOF
  17452. fi
  17453. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
  17454. if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
  17455. cat >>confdefs.h <<_ACEOF
  17456. #define HAVE_STRUCT_STAT_ST_MTIM 1
  17457. _ACEOF
  17458. fi
  17459. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
  17460. if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
  17461. cat >>confdefs.h <<_ACEOF
  17462. #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
  17463. _ACEOF
  17464. fi
  17465. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
  17466. if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
  17467. cat >>confdefs.h <<_ACEOF
  17468. #define HAVE_STRUCT_STAT_ST_CTIM 1
  17469. _ACEOF
  17470. fi
  17471. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
  17472. if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
  17473. cat >>confdefs.h <<_ACEOF
  17474. #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
  17475. _ACEOF
  17476. fi
  17477. ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
  17478. if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
  17479. cat >>confdefs.h <<_ACEOF
  17480. #define HAVE_STRUCT_STAT_ST_ATIM 1
  17481. _ACEOF
  17482. fi
  17483. ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
  17484. if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
  17485. cat >>confdefs.h <<_ACEOF
  17486. #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
  17487. _ACEOF
  17488. fi
  17489. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
  17490. if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
  17491. cat >>confdefs.h <<_ACEOF
  17492. #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
  17493. _ACEOF
  17494. fi
  17495. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
  17496. if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
  17497. cat >>confdefs.h <<_ACEOF
  17498. #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
  17499. _ACEOF
  17500. fi
  17501. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
  17502. if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
  17503. cat >>confdefs.h <<_ACEOF
  17504. #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
  17505. _ACEOF
  17506. fi
  17507. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
  17508. if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
  17509. cat >>confdefs.h <<_ACEOF
  17510. #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
  17511. _ACEOF
  17512. fi
  17513. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
  17514. if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
  17515. cat >>confdefs.h <<_ACEOF
  17516. #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
  17517. _ACEOF
  17518. fi
  17519. 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
  17520. #include <sys/types.h>
  17521. #endif
  17522. #ifdef HAVE_NETINET_IN_H
  17523. #include <netinet/in.h>
  17524. #endif
  17525. "
  17526. if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
  17527. cat >>confdefs.h <<_ACEOF
  17528. #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  17529. _ACEOF
  17530. fi
  17531. ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
  17532. #include <sys/types.h>
  17533. #endif
  17534. #ifdef HAVE_NETINET_IN_H
  17535. #include <netinet/in.h>
  17536. #endif
  17537. #ifdef HAVE_RESOLV_H
  17538. #include <resolv.h>
  17539. #endif
  17540. "
  17541. if test "x$ac_cv_type_struct___res_state" = xyes; then :
  17542. cat >>confdefs.h <<_ACEOF
  17543. #define HAVE_STRUCT___RES_STATE 1
  17544. _ACEOF
  17545. fi
  17546. 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
  17547. #include <resolv.h>
  17548. #endif
  17549. "
  17550. if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
  17551. cat >>confdefs.h <<_ACEOF
  17552. #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
  17553. _ACEOF
  17554. fi
  17555. ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
  17556. #include <sys/types.h>
  17557. #endif
  17558. #ifdef HAVE_NETINET_IN_H
  17559. # include <netinet/in.h>
  17560. #endif
  17561. #ifdef HAVE_ARPA_NAMESER_H
  17562. # include <arpa/nameser.h>
  17563. #endif
  17564. "
  17565. if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
  17566. cat >>confdefs.h <<_ACEOF
  17567. #define HAVE_NS_MSG__MSG_PTR 1
  17568. _ACEOF
  17569. fi
  17570. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
  17571. #include <sys/types.h>
  17572. #endif
  17573. #ifdef HAVE_NETINET_IN_H
  17574. #include <netinet/in.h>
  17575. #endif
  17576. #ifdef HAVE_NETINET_IP_H
  17577. #include <netinet/ip.h>
  17578. #endif
  17579. #ifdef HAVE_NETINET_IP_ICMP_H
  17580. #include <netinet/ip_icmp.h>
  17581. #endif
  17582. #ifdef HAVE_NETINET_ICMP_VAR_H
  17583. #include <netinet/icmp_var.h>
  17584. #endif
  17585. "
  17586. if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
  17587. cat >>confdefs.h <<_ACEOF
  17588. #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
  17589. _ACEOF
  17590. fi
  17591. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
  17592. #include <sys/types.h>
  17593. #endif
  17594. #ifdef HAVE_ALIAS_H
  17595. #include <alias.h>
  17596. #endif
  17597. #ifdef HAVE_SYS_SOCKET_H
  17598. #include <sys/socket.h>
  17599. #endif
  17600. #ifdef HAVE_SYS_SOCKETVAR_H
  17601. #include <sys/socketvar.h>
  17602. #endif
  17603. #ifdef HAVE_SYS_TIMEOUT_H
  17604. #include <sys/timeout.h>
  17605. #endif
  17606. #ifdef HAVE_NETINET_IN_H
  17607. #include <netinet/in.h>
  17608. #endif
  17609. #ifdef HAVE_NETINET_IN_SYSTM_H
  17610. #include <netinet/in_systm.h>
  17611. #endif
  17612. #ifdef HAVE_NETINET_IP_H
  17613. #include <netinet/ip.h>
  17614. #endif
  17615. #ifdef HAVE_NETINET_IP_VAR_H
  17616. #include <netinet/ip_var.h>
  17617. #endif
  17618. #ifdef HAVE_NETINET_IP_ICMP_H
  17619. #include <netinet/ip_icmp.h>
  17620. #endif
  17621. #ifdef HAVE_NETINET_ICMP_VAR_H
  17622. #include <netinet/icmp_var.h>
  17623. #endif
  17624. "
  17625. if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
  17626. cat >>confdefs.h <<_ACEOF
  17627. #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
  17628. _ACEOF
  17629. fi
  17630. ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
  17631. #include <sys/types.h>
  17632. #endif
  17633. #ifdef HAVE_SYS_SOCKETVAR_H
  17634. #include <sys/socketvar.h>
  17635. #endif
  17636. #ifdef HAVE_NETINET_IN_H
  17637. #include <netinet/in.h>
  17638. #endif
  17639. #ifdef HAVE_NETINET_IP_VAR_H
  17640. #include <netinet/ip_var.h>
  17641. #endif
  17642. "
  17643. if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
  17644. cat >>confdefs.h <<_ACEOF
  17645. #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
  17646. _ACEOF
  17647. fi
  17648. 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
  17649. #include <netinet/ip_var.h>
  17650. #endif
  17651. "
  17652. if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
  17653. cat >>confdefs.h <<_ACEOF
  17654. #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
  17655. _ACEOF
  17656. fi
  17657. ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
  17658. #include <sys/types.h>
  17659. #endif
  17660. #ifdef HAVE_SYS_SOCKETVAR_H
  17661. #include <sys/socketvar.h>
  17662. #endif
  17663. #ifdef HAVE_NETINET_IN_H
  17664. #include <netinet/in.h>
  17665. #endif
  17666. #ifdef HAVE_NETINET_TCP_H
  17667. #include <netinet/tcp.h>
  17668. #endif
  17669. #ifdef HAVE_NETINET_TCP_VAR_H
  17670. #include <netinet/tcp_var.h>
  17671. #endif
  17672. "
  17673. if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
  17674. cat >>confdefs.h <<_ACEOF
  17675. #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
  17676. _ACEOF
  17677. fi
  17678. 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
  17679. #include <netinet/tcp_var.h>
  17680. #endif
  17681. "
  17682. if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
  17683. cat >>confdefs.h <<_ACEOF
  17684. #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
  17685. _ACEOF
  17686. fi
  17687. ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
  17688. #include <sys/types.h>
  17689. #endif
  17690. #ifdef HAVE_NETINET_IN_H
  17691. #include <netinet/in.h>
  17692. #endif
  17693. #ifdef HAVE_NETINET_IP_VAR_H
  17694. #include <netinet/ip_var.h>
  17695. #endif
  17696. #ifdef HAVE_NETINET_UDP_H
  17697. #include <netinet/udp.h>
  17698. #endif
  17699. #ifdef HAVE_NETINET_UDP_VAR_H
  17700. #include <netinet/udp_var.h>
  17701. #endif
  17702. "
  17703. if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
  17704. cat >>confdefs.h <<_ACEOF
  17705. #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
  17706. _ACEOF
  17707. fi
  17708. ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
  17709. #include <sys/types.h>
  17710. #endif
  17711. #ifdef HAVE_NET_IF_H
  17712. # include <net/if.h>
  17713. #endif
  17714. "
  17715. if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
  17716. cat >>confdefs.h <<_ACEOF
  17717. #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
  17718. _ACEOF
  17719. fi
  17720. ac_save_LIBS="$LIBS"
  17721. LIBS="$LIBS -lm"
  17722. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
  17723. $as_echo_n "checking for isfinite... " >&6; }
  17724. if ${ac_cv_have_isfinite+:} false; then :
  17725. $as_echo_n "(cached) " >&6
  17726. else
  17727. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17728. /* end confdefs.h. */
  17729. #define _GNU_SOURCE
  17730. #include <math.h>
  17731. int
  17732. main ()
  17733. {
  17734. float f = 0.0; return isfinite(f)
  17735. ;
  17736. return 0;
  17737. }
  17738. _ACEOF
  17739. if ac_fn_c_try_link "$LINENO"; then :
  17740. ac_cv_have_isfinite="yes"
  17741. else
  17742. ac_cv_have_isfinite="no"
  17743. fi
  17744. rm -f core conftest.err conftest.$ac_objext \
  17745. conftest$ac_exeext conftest.$ac_ext
  17746. fi
  17747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
  17748. $as_echo "$ac_cv_have_isfinite" >&6; }
  17749. if test "$ac_cv_have_isfinite" = "yes"
  17750. then
  17751. $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
  17752. fi
  17753. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
  17754. $as_echo_n "checking for isinf... " >&6; }
  17755. if ${ac_cv_have_isinf+:} false; then :
  17756. $as_echo_n "(cached) " >&6
  17757. else
  17758. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17759. /* end confdefs.h. */
  17760. #include <math.h>
  17761. int
  17762. main ()
  17763. {
  17764. float f = 0.0; return isinf(f)
  17765. ;
  17766. return 0;
  17767. }
  17768. _ACEOF
  17769. if ac_fn_c_try_link "$LINENO"; then :
  17770. ac_cv_have_isinf="yes"
  17771. else
  17772. ac_cv_have_isinf="no"
  17773. fi
  17774. rm -f core conftest.err conftest.$ac_objext \
  17775. conftest$ac_exeext conftest.$ac_ext
  17776. fi
  17777. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
  17778. $as_echo "$ac_cv_have_isinf" >&6; }
  17779. if test "$ac_cv_have_isinf" = "yes"
  17780. then
  17781. $as_echo "#define HAVE_ISINF 1" >>confdefs.h
  17782. fi
  17783. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
  17784. $as_echo_n "checking for isnan... " >&6; }
  17785. if ${ac_cv_have_isnan+:} false; then :
  17786. $as_echo_n "(cached) " >&6
  17787. else
  17788. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17789. /* end confdefs.h. */
  17790. #include <math.h>
  17791. int
  17792. main ()
  17793. {
  17794. float f = 0.0; return isnan(f)
  17795. ;
  17796. return 0;
  17797. }
  17798. _ACEOF
  17799. if ac_fn_c_try_link "$LINENO"; then :
  17800. ac_cv_have_isnan="yes"
  17801. else
  17802. ac_cv_have_isnan="no"
  17803. fi
  17804. rm -f core conftest.err conftest.$ac_objext \
  17805. conftest$ac_exeext conftest.$ac_ext
  17806. fi
  17807. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
  17808. $as_echo "$ac_cv_have_isnan" >&6; }
  17809. if test "$ac_cv_have_isnan" = "yes"
  17810. then
  17811. $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
  17812. fi
  17813. for ac_func in \
  17814. acosh \
  17815. acoshf \
  17816. asinh \
  17817. asinhf \
  17818. atanh \
  17819. atanhf \
  17820. cbrt \
  17821. cbrtf \
  17822. erf \
  17823. erfc \
  17824. erfcf \
  17825. erff \
  17826. exp2 \
  17827. exp2f \
  17828. expm1 \
  17829. expm1f \
  17830. fma \
  17831. fmaf \
  17832. ilogb \
  17833. ilogbf \
  17834. j0 \
  17835. j1 \
  17836. jn \
  17837. lgamma \
  17838. lgammaf \
  17839. llrint \
  17840. llrintf \
  17841. llround \
  17842. llroundf \
  17843. log1p \
  17844. log1pf \
  17845. log2 \
  17846. log2f \
  17847. lrint \
  17848. lrintf \
  17849. lround \
  17850. lroundf \
  17851. nearbyint \
  17852. nearbyintf \
  17853. nexttoward \
  17854. nexttowardf \
  17855. remainder \
  17856. remainderf \
  17857. remquo \
  17858. remquof \
  17859. rint \
  17860. rintf \
  17861. round \
  17862. roundf \
  17863. tgamma \
  17864. tgammaf \
  17865. trunc \
  17866. truncf \
  17867. y0 \
  17868. y1 \
  17869. yn
  17870. do :
  17871. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  17872. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  17873. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  17874. cat >>confdefs.h <<_ACEOF
  17875. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  17876. _ACEOF
  17877. fi
  17878. done
  17879. LIBS="$ac_save_LIBS"
  17880. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
  17881. $as_echo_n "checking for __builtin_popcount... " >&6; }
  17882. if ${ac_cv_have___builtin_popcount+:} false; then :
  17883. $as_echo_n "(cached) " >&6
  17884. else
  17885. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17886. /* end confdefs.h. */
  17887. int
  17888. main ()
  17889. {
  17890. return __builtin_popcount(1)
  17891. ;
  17892. return 0;
  17893. }
  17894. _ACEOF
  17895. if ac_fn_c_try_link "$LINENO"; then :
  17896. ac_cv_have___builtin_popcount="yes"
  17897. else
  17898. ac_cv_have___builtin_popcount="no"
  17899. fi
  17900. rm -f core conftest.err conftest.$ac_objext \
  17901. conftest$ac_exeext conftest.$ac_ext
  17902. fi
  17903. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
  17904. $as_echo "$ac_cv_have___builtin_popcount" >&6; }
  17905. if test "$ac_cv_have___builtin_popcount" = "yes"
  17906. then
  17907. $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
  17908. fi
  17909. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
  17910. $as_echo_n "checking for __clear_cache... " >&6; }
  17911. if ${ac_cv_have___clear_cache+:} false; then :
  17912. $as_echo_n "(cached) " >&6
  17913. else
  17914. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17915. /* end confdefs.h. */
  17916. int
  17917. main ()
  17918. {
  17919. __clear_cache((void*)0, (void*)0); return 0;
  17920. ;
  17921. return 0;
  17922. }
  17923. _ACEOF
  17924. if ac_fn_c_try_link "$LINENO"; then :
  17925. ac_cv_have___clear_cache="yes"
  17926. else
  17927. ac_cv_have___clear_cache="no"
  17928. fi
  17929. rm -f core conftest.err conftest.$ac_objext \
  17930. conftest$ac_exeext conftest.$ac_ext
  17931. fi
  17932. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
  17933. $as_echo "$ac_cv_have___clear_cache" >&6; }
  17934. if test "$ac_cv_have___clear_cache" = "yes"
  17935. then
  17936. $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
  17937. fi
  17938. case $host_cpu in
  17939. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
  17940. $as_echo_n "checking whether we need to define __i386__... " >&6; }
  17941. if ${ac_cv_cpp_def___i386__+:} false; then :
  17942. $as_echo_n "(cached) " >&6
  17943. else
  17944. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17945. /* end confdefs.h. */
  17946. #ifndef __i386__
  17947. yes
  17948. #endif
  17949. _ACEOF
  17950. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17951. $EGREP "yes" >/dev/null 2>&1; then :
  17952. ac_cv_cpp_def___i386__=yes
  17953. else
  17954. ac_cv_cpp_def___i386__=no
  17955. fi
  17956. rm -f conftest*
  17957. fi
  17958. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
  17959. $as_echo "$ac_cv_cpp_def___i386__" >&6; }
  17960. if test "x$ac_cv_cpp_def___i386__" = xyes; then :
  17961. CFLAGS="$CFLAGS -D__i386__"
  17962. LINTFLAGS="$LINTFLAGS -D__i386__"
  17963. fi ;;
  17964. *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
  17965. $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
  17966. if ${ac_cv_cpp_def___x86_64__+:} false; then :
  17967. $as_echo_n "(cached) " >&6
  17968. else
  17969. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17970. /* end confdefs.h. */
  17971. #ifndef __x86_64__
  17972. yes
  17973. #endif
  17974. _ACEOF
  17975. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17976. $EGREP "yes" >/dev/null 2>&1; then :
  17977. ac_cv_cpp_def___x86_64__=yes
  17978. else
  17979. ac_cv_cpp_def___x86_64__=no
  17980. fi
  17981. rm -f conftest*
  17982. fi
  17983. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
  17984. $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
  17985. if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
  17986. CFLAGS="$CFLAGS -D__x86_64__"
  17987. LINTFLAGS="$LINTFLAGS -D__x86_64__"
  17988. fi ;;
  17989. *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
  17990. $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
  17991. if ${ac_cv_cpp_def___sparc64__+:} false; then :
  17992. $as_echo_n "(cached) " >&6
  17993. else
  17994. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17995. /* end confdefs.h. */
  17996. #ifndef __sparc64__
  17997. yes
  17998. #endif
  17999. _ACEOF
  18000. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18001. $EGREP "yes" >/dev/null 2>&1; then :
  18002. ac_cv_cpp_def___sparc64__=yes
  18003. else
  18004. ac_cv_cpp_def___sparc64__=no
  18005. fi
  18006. rm -f conftest*
  18007. fi
  18008. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
  18009. $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
  18010. if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
  18011. CFLAGS="$CFLAGS -D__sparc64__"
  18012. LINTFLAGS="$LINTFLAGS -D__sparc64__"
  18013. fi ;;
  18014. *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
  18015. $as_echo_n "checking whether we need to define __sparc__... " >&6; }
  18016. if ${ac_cv_cpp_def___sparc__+:} false; then :
  18017. $as_echo_n "(cached) " >&6
  18018. else
  18019. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18020. /* end confdefs.h. */
  18021. #ifndef __sparc__
  18022. yes
  18023. #endif
  18024. _ACEOF
  18025. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18026. $EGREP "yes" >/dev/null 2>&1; then :
  18027. ac_cv_cpp_def___sparc__=yes
  18028. else
  18029. ac_cv_cpp_def___sparc__=no
  18030. fi
  18031. rm -f conftest*
  18032. fi
  18033. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
  18034. $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
  18035. if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
  18036. CFLAGS="$CFLAGS -D__sparc__"
  18037. LINTFLAGS="$LINTFLAGS -D__sparc__"
  18038. fi ;;
  18039. *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
  18040. $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
  18041. if ${ac_cv_cpp_def___powerpc64__+:} false; then :
  18042. $as_echo_n "(cached) " >&6
  18043. else
  18044. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18045. /* end confdefs.h. */
  18046. #ifndef __powerpc64__
  18047. yes
  18048. #endif
  18049. _ACEOF
  18050. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18051. $EGREP "yes" >/dev/null 2>&1; then :
  18052. ac_cv_cpp_def___powerpc64__=yes
  18053. else
  18054. ac_cv_cpp_def___powerpc64__=no
  18055. fi
  18056. rm -f conftest*
  18057. fi
  18058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
  18059. $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
  18060. if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
  18061. CFLAGS="$CFLAGS -D__powerpc64__"
  18062. LINTFLAGS="$LINTFLAGS -D__powerpc64__"
  18063. fi ;;
  18064. *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
  18065. $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
  18066. if ${ac_cv_cpp_def___powerpc__+:} false; then :
  18067. $as_echo_n "(cached) " >&6
  18068. else
  18069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18070. /* end confdefs.h. */
  18071. #ifndef __powerpc__
  18072. yes
  18073. #endif
  18074. _ACEOF
  18075. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18076. $EGREP "yes" >/dev/null 2>&1; then :
  18077. ac_cv_cpp_def___powerpc__=yes
  18078. else
  18079. ac_cv_cpp_def___powerpc__=no
  18080. fi
  18081. rm -f conftest*
  18082. fi
  18083. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
  18084. $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
  18085. if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
  18086. CFLAGS="$CFLAGS -D__powerpc__"
  18087. LINTFLAGS="$LINTFLAGS -D__powerpc__"
  18088. fi ;;
  18089. *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
  18090. $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
  18091. if ${ac_cv_cpp_def___aarch64__+:} false; then :
  18092. $as_echo_n "(cached) " >&6
  18093. else
  18094. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18095. /* end confdefs.h. */
  18096. #ifndef __aarch64__
  18097. yes
  18098. #endif
  18099. _ACEOF
  18100. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18101. $EGREP "yes" >/dev/null 2>&1; then :
  18102. ac_cv_cpp_def___aarch64__=yes
  18103. else
  18104. ac_cv_cpp_def___aarch64__=no
  18105. fi
  18106. rm -f conftest*
  18107. fi
  18108. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
  18109. $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
  18110. if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
  18111. CFLAGS="$CFLAGS -D__aarch64__"
  18112. LINTFLAGS="$LINTFLAGS -D__aarch64__"
  18113. fi ;;
  18114. *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
  18115. $as_echo_n "checking whether we need to define __arm__... " >&6; }
  18116. if ${ac_cv_cpp_def___arm__+:} false; then :
  18117. $as_echo_n "(cached) " >&6
  18118. else
  18119. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18120. /* end confdefs.h. */
  18121. #ifndef __arm__
  18122. yes
  18123. #endif
  18124. _ACEOF
  18125. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18126. $EGREP "yes" >/dev/null 2>&1; then :
  18127. ac_cv_cpp_def___arm__=yes
  18128. else
  18129. ac_cv_cpp_def___arm__=no
  18130. fi
  18131. rm -f conftest*
  18132. fi
  18133. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
  18134. $as_echo "$ac_cv_cpp_def___arm__" >&6; }
  18135. if test "x$ac_cv_cpp_def___arm__" = xyes; then :
  18136. CFLAGS="$CFLAGS -D__arm__"
  18137. LINTFLAGS="$LINTFLAGS -D__arm__"
  18138. fi ;;
  18139. esac
  18140. case $host_vendor in
  18141. *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
  18142. $as_echo_n "checking whether we need to define __sun__... " >&6; }
  18143. if ${ac_cv_cpp_def___sun__+:} false; then :
  18144. $as_echo_n "(cached) " >&6
  18145. else
  18146. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18147. /* end confdefs.h. */
  18148. #ifndef __sun__
  18149. yes
  18150. #endif
  18151. _ACEOF
  18152. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18153. $EGREP "yes" >/dev/null 2>&1; then :
  18154. ac_cv_cpp_def___sun__=yes
  18155. else
  18156. ac_cv_cpp_def___sun__=no
  18157. fi
  18158. rm -f conftest*
  18159. fi
  18160. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
  18161. $as_echo "$ac_cv_cpp_def___sun__" >&6; }
  18162. if test "x$ac_cv_cpp_def___sun__" = xyes; then :
  18163. CFLAGS="$CFLAGS -D__sun__"
  18164. LINTFLAGS="$LINTFLAGS -D__sun__"
  18165. fi ;;
  18166. esac
  18167. ac_config_commands="$ac_config_commands include/stamp-h"
  18168. $as_echo_n "creating Makefile rules..." >&6
  18169. ALL_VARS_RULES="I386_LIBS = $I386_LIBS
  18170. OPENGL_LIBS = $OPENGL_LIBS
  18171. COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
  18172. IOKIT_LIBS = $IOKIT_LIBS
  18173. FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
  18174. APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
  18175. CORESERVICES_LIBS = $CORESERVICES_LIBS
  18176. APPKIT_LIBS = $APPKIT_LIBS
  18177. SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
  18178. DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
  18179. SECURITY_LIBS = $SECURITY_LIBS
  18180. COREAUDIO_LIBS = $COREAUDIO_LIBS
  18181. OPENAL_LIBS = $OPENAL_LIBS
  18182. OPENCL_LIBS = $OPENCL_LIBS
  18183. QUICKTIME_LIBS = $QUICKTIME_LIBS
  18184. CARBON_LIBS = $CARBON_LIBS
  18185. METAL_LIBS = $METAL_LIBS
  18186. PTHREAD_LIBS = $PTHREAD_LIBS
  18187. X_CFLAGS = $X_CFLAGS
  18188. X_PRE_LIBS = $X_PRE_LIBS
  18189. X_LIBS = $X_LIBS
  18190. X_EXTRA_LIBS = $X_EXTRA_LIBS
  18191. PCAP_LIBS = $PCAP_LIBS
  18192. XML2_CFLAGS = $XML2_CFLAGS
  18193. XML2_LIBS = $XML2_LIBS
  18194. XSLT_CFLAGS = $XSLT_CFLAGS
  18195. XSLT_LIBS = $XSLT_LIBS
  18196. INOTIFY_CFLAGS = $INOTIFY_CFLAGS
  18197. INOTIFY_LIBS = $INOTIFY_LIBS
  18198. DBUS_CFLAGS = $DBUS_CFLAGS
  18199. DBUS_LIBS = $DBUS_LIBS
  18200. HAL_CFLAGS = $HAL_CFLAGS
  18201. HAL_LIBS = $HAL_LIBS
  18202. GNUTLS_CFLAGS = $GNUTLS_CFLAGS
  18203. GNUTLS_LIBS = $GNUTLS_LIBS
  18204. SANE_CFLAGS = $SANE_CFLAGS
  18205. SANE_LIBS = $SANE_LIBS
  18206. USB_CFLAGS = $USB_CFLAGS
  18207. USB_LIBS = $USB_LIBS
  18208. GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
  18209. GPHOTO2_LIBS = $GPHOTO2_LIBS
  18210. GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
  18211. GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
  18212. RESOLV_LIBS = $RESOLV_LIBS
  18213. LCMS2_CFLAGS = $LCMS2_CFLAGS
  18214. LCMS2_LIBS = $LCMS2_LIBS
  18215. FREETYPE_CFLAGS = $FREETYPE_CFLAGS
  18216. FREETYPE_LIBS = $FREETYPE_LIBS
  18217. GETTEXTPO_LIBS = $GETTEXTPO_LIBS
  18218. PULSE_CFLAGS = $PULSE_CFLAGS
  18219. PULSE_LIBS = $PULSE_LIBS
  18220. GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
  18221. GSTREAMER_LIBS = $GSTREAMER_LIBS
  18222. ALSA_LIBS = $ALSA_LIBS
  18223. OSS4_CFLAGS = $OSS4_CFLAGS
  18224. OSS4_LIBS = $OSS4_LIBS
  18225. UDEV_CFLAGS = $UDEV_CFLAGS
  18226. UDEV_LIBS = $UDEV_LIBS
  18227. UNWIND_CFLAGS = $UNWIND_CFLAGS
  18228. UNWIND_LIBS = $UNWIND_LIBS
  18229. SDL2_CFLAGS = $SDL2_CFLAGS
  18230. SDL2_LIBS = $SDL2_LIBS
  18231. FAUDIO_CFLAGS = $FAUDIO_CFLAGS
  18232. FAUDIO_LIBS = $FAUDIO_LIBS
  18233. CAPI20_CFLAGS = $CAPI20_CFLAGS
  18234. CAPI20_LIBS = $CAPI20_LIBS
  18235. CUPS_CFLAGS = $CUPS_CFLAGS
  18236. CUPS_LIBS = $CUPS_LIBS
  18237. FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
  18238. FONTCONFIG_LIBS = $FONTCONFIG_LIBS
  18239. KRB5_CFLAGS = $KRB5_CFLAGS
  18240. KRB5_LIBS = $KRB5_LIBS
  18241. GSSAPI_CFLAGS = $GSSAPI_CFLAGS
  18242. GSSAPI_LIBS = $GSSAPI_LIBS
  18243. JPEG_CFLAGS = $JPEG_CFLAGS
  18244. JPEG_LIBS = $JPEG_LIBS
  18245. PNG_CFLAGS = $PNG_CFLAGS
  18246. PNG_LIBS = $PNG_LIBS
  18247. TIFF_CFLAGS = $TIFF_CFLAGS
  18248. TIFF_LIBS = $TIFF_LIBS
  18249. MPG123_CFLAGS = $MPG123_CFLAGS
  18250. MPG123_LIBS = $MPG123_LIBS
  18251. KSTAT_LIBS = $KSTAT_LIBS
  18252. PROCSTAT_LIBS = $PROCSTAT_LIBS
  18253. NETAPI_CFLAGS = $NETAPI_CFLAGS
  18254. NETAPI_LIBS = $NETAPI_LIBS
  18255. VKD3D_CFLAGS = $VKD3D_CFLAGS
  18256. VKD3D_LIBS = $VKD3D_LIBS
  18257. EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
  18258. POLL_LIBS = $POLL_LIBS
  18259. RT_LIBS = $RT_LIBS
  18260. LDAP_CFLAGS = $LDAP_CFLAGS
  18261. LDAP_LIBS = $LDAP_LIBS
  18262. "
  18263. wine_fn_append_rule "
  18264. # Rules automatically generated by configure
  18265. .INIT: Makefile
  18266. .MAKEFILEDEPS:
  18267. all: Makefile
  18268. Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
  18269. @./config.status Make.tmp Makefile
  18270. depend: \$(MAKEDEP) dummy
  18271. \$(MAKEDEP)"
  18272. ac_config_links="$ac_config_links wine:tools/winewrapper"
  18273. wine_fn_config_symlink wine
  18274. if test "x$enable_win64" != xno -o -n "$with_wine64"; then
  18275. ac_config_links="$ac_config_links wine64:tools/winewrapper"
  18276. wine_fn_config_symlink wine64
  18277. fi
  18278. wine_fn_config_makefile dlls/acledit enable_acledit
  18279. wine_fn_config_makefile dlls/aclui enable_aclui
  18280. wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
  18281. wine_fn_config_makefile dlls/activeds enable_activeds
  18282. wine_fn_config_makefile dlls/activeds/tests enable_tests
  18283. wine_fn_config_makefile dlls/actxprxy enable_actxprxy
  18284. wine_fn_config_makefile dlls/adsiid enable_adsiid
  18285. wine_fn_config_makefile dlls/adsldp enable_adsldp
  18286. wine_fn_config_makefile dlls/adsldp/tests enable_tests
  18287. wine_fn_config_makefile dlls/adsldpc enable_adsldpc
  18288. wine_fn_config_makefile dlls/advapi32 enable_advapi32
  18289. wine_fn_config_makefile dlls/advapi32/tests enable_tests
  18290. wine_fn_config_makefile dlls/advpack enable_advpack
  18291. wine_fn_config_makefile dlls/advpack/tests enable_tests
  18292. wine_fn_config_makefile dlls/amsi enable_amsi
  18293. wine_fn_config_makefile dlls/amstream enable_amstream
  18294. wine_fn_config_makefile dlls/amstream/tests enable_tests
  18295. wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
  18296. wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
  18297. wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
  18298. wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
  18299. wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
  18300. wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
  18301. wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
  18302. wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
  18303. wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
  18304. wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
  18305. wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
  18306. wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
  18307. wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
  18308. wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
  18309. wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
  18310. wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
  18311. wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
  18312. wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
  18313. wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
  18314. wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
  18315. wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
  18316. wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
  18317. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
  18318. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
  18319. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
  18320. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
  18321. wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
  18322. wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
  18323. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
  18324. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
  18325. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
  18326. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
  18327. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
  18328. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
  18329. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
  18330. wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
  18331. wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
  18332. wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
  18333. wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
  18334. wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
  18335. wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
  18336. wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
  18337. wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
  18338. wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
  18339. wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
  18340. wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
  18341. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
  18342. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
  18343. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
  18344. wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
  18345. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
  18346. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
  18347. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
  18348. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
  18349. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
  18350. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
  18351. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
  18352. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
  18353. wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
  18354. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
  18355. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
  18356. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
  18357. wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
  18358. wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
  18359. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
  18360. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
  18361. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
  18362. wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
  18363. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
  18364. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
  18365. wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
  18366. wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
  18367. wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
  18368. wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
  18369. wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
  18370. wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
  18371. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
  18372. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
  18373. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
  18374. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
  18375. wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
  18376. wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
  18377. wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
  18378. wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
  18379. wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
  18380. wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
  18381. wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
  18382. wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
  18383. wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
  18384. wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
  18385. wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
  18386. wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
  18387. wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
  18388. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
  18389. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
  18390. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
  18391. wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
  18392. wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
  18393. wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
  18394. wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
  18395. wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
  18396. wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
  18397. wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
  18398. wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
  18399. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
  18400. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
  18401. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
  18402. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
  18403. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
  18404. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
  18405. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
  18406. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
  18407. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
  18408. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
  18409. wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
  18410. wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
  18411. wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
  18412. wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
  18413. wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
  18414. wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
  18415. wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
  18416. wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
  18417. wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
  18418. wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
  18419. wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
  18420. wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
  18421. wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
  18422. wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
  18423. wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
  18424. wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
  18425. wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
  18426. wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
  18427. wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
  18428. wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
  18429. wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
  18430. wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
  18431. wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
  18432. wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
  18433. wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
  18434. wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
  18435. wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
  18436. wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
  18437. wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
  18438. wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
  18439. wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
  18440. wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
  18441. wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
  18442. wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
  18443. wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
  18444. wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
  18445. wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
  18446. wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
  18447. wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
  18448. wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
  18449. wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
  18450. wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
  18451. wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
  18452. wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
  18453. wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
  18454. wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
  18455. wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
  18456. wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
  18457. wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
  18458. wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
  18459. wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
  18460. wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
  18461. wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
  18462. wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
  18463. wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
  18464. wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
  18465. wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
  18466. wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
  18467. wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
  18468. wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
  18469. wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
  18470. wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
  18471. wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
  18472. wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
  18473. wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
  18474. wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
  18475. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
  18476. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
  18477. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
  18478. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
  18479. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
  18480. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
  18481. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
  18482. wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
  18483. wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
  18484. wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
  18485. wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
  18486. wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
  18487. wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
  18488. wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
  18489. wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
  18490. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
  18491. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
  18492. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
  18493. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
  18494. wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
  18495. wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
  18496. wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
  18497. wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
  18498. wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
  18499. wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
  18500. wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
  18501. wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
  18502. wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
  18503. wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
  18504. wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
  18505. wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
  18506. wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
  18507. wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
  18508. wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
  18509. wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
  18510. wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
  18511. wine_fn_config_makefile dlls/apphelp enable_apphelp
  18512. wine_fn_config_makefile dlls/apphelp/tests enable_tests
  18513. wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
  18514. wine_fn_config_makefile dlls/atl enable_atl
  18515. wine_fn_config_makefile dlls/atl/tests enable_tests
  18516. wine_fn_config_makefile dlls/atl100 enable_atl100
  18517. wine_fn_config_makefile dlls/atl100/tests enable_tests
  18518. wine_fn_config_makefile dlls/atl110 enable_atl110
  18519. wine_fn_config_makefile dlls/atl80 enable_atl80
  18520. wine_fn_config_makefile dlls/atl80/tests enable_tests
  18521. wine_fn_config_makefile dlls/atl90 enable_atl90
  18522. wine_fn_config_makefile dlls/atlthunk enable_atlthunk
  18523. wine_fn_config_makefile dlls/atlthunk/tests enable_tests
  18524. wine_fn_config_makefile dlls/atmlib enable_atmlib
  18525. wine_fn_config_makefile dlls/authz enable_authz
  18526. wine_fn_config_makefile dlls/avicap32 enable_avicap32
  18527. wine_fn_config_makefile dlls/avifil32 enable_avifil32
  18528. wine_fn_config_makefile dlls/avifil32/tests enable_tests
  18529. wine_fn_config_makefile dlls/avifile.dll16 enable_win16
  18530. wine_fn_config_makefile dlls/avrt enable_avrt
  18531. wine_fn_config_makefile dlls/bcrypt enable_bcrypt
  18532. wine_fn_config_makefile dlls/bcrypt/tests enable_tests
  18533. wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
  18534. wine_fn_config_makefile dlls/browseui enable_browseui
  18535. wine_fn_config_makefile dlls/browseui/tests enable_tests
  18536. wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
  18537. wine_fn_config_makefile dlls/cabinet enable_cabinet
  18538. wine_fn_config_makefile dlls/cabinet/tests enable_tests
  18539. wine_fn_config_makefile dlls/capi2032 enable_capi2032
  18540. wine_fn_config_makefile dlls/cards enable_cards
  18541. wine_fn_config_makefile dlls/cdosys enable_cdosys
  18542. wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
  18543. wine_fn_config_makefile dlls/clusapi enable_clusapi
  18544. wine_fn_config_makefile dlls/combase enable_combase
  18545. wine_fn_config_makefile dlls/combase/tests enable_tests
  18546. wine_fn_config_makefile dlls/comcat enable_comcat
  18547. wine_fn_config_makefile dlls/comcat/tests enable_tests
  18548. wine_fn_config_makefile dlls/comctl32 enable_comctl32
  18549. wine_fn_config_makefile dlls/comctl32/tests enable_tests
  18550. wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
  18551. wine_fn_config_makefile dlls/comdlg32/tests enable_tests
  18552. wine_fn_config_makefile dlls/comm.drv16 enable_win16
  18553. wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
  18554. wine_fn_config_makefile dlls/compobj.dll16 enable_win16
  18555. wine_fn_config_makefile dlls/compstui enable_compstui
  18556. wine_fn_config_makefile dlls/comsvcs enable_comsvcs
  18557. wine_fn_config_makefile dlls/comsvcs/tests enable_tests
  18558. wine_fn_config_makefile dlls/concrt140 enable_concrt140
  18559. wine_fn_config_makefile dlls/connect enable_connect
  18560. wine_fn_config_makefile dlls/credui enable_credui
  18561. wine_fn_config_makefile dlls/credui/tests enable_tests
  18562. wine_fn_config_makefile dlls/crtdll enable_crtdll
  18563. wine_fn_config_makefile dlls/crypt32 enable_crypt32
  18564. wine_fn_config_makefile dlls/crypt32/tests enable_tests
  18565. wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
  18566. wine_fn_config_makefile dlls/cryptdll enable_cryptdll
  18567. wine_fn_config_makefile dlls/cryptext enable_cryptext
  18568. wine_fn_config_makefile dlls/cryptnet enable_cryptnet
  18569. wine_fn_config_makefile dlls/cryptnet/tests enable_tests
  18570. wine_fn_config_makefile dlls/cryptui enable_cryptui
  18571. wine_fn_config_makefile dlls/cryptui/tests enable_tests
  18572. wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
  18573. wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
  18574. wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
  18575. wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
  18576. wine_fn_config_makefile dlls/d2d1 enable_d2d1
  18577. wine_fn_config_makefile dlls/d2d1/tests enable_tests
  18578. wine_fn_config_makefile dlls/d3d10 enable_d3d10
  18579. wine_fn_config_makefile dlls/d3d10/tests enable_tests
  18580. wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
  18581. wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
  18582. wine_fn_config_makefile dlls/d3d10core enable_d3d10core
  18583. wine_fn_config_makefile dlls/d3d10core/tests enable_tests
  18584. wine_fn_config_makefile dlls/d3d11 enable_d3d11
  18585. wine_fn_config_makefile dlls/d3d11/tests enable_tests
  18586. wine_fn_config_makefile dlls/d3d12 enable_d3d12
  18587. wine_fn_config_makefile dlls/d3d12/tests enable_tests
  18588. wine_fn_config_makefile dlls/d3d8 enable_d3d8
  18589. wine_fn_config_makefile dlls/d3d8/tests enable_tests
  18590. wine_fn_config_makefile dlls/d3d9 enable_d3d9
  18591. wine_fn_config_makefile dlls/d3d9/tests enable_tests
  18592. wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
  18593. wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
  18594. wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
  18595. wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
  18596. wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
  18597. wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
  18598. wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
  18599. wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
  18600. wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
  18601. wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
  18602. wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
  18603. wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
  18604. wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
  18605. wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
  18606. wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
  18607. wine_fn_config_makefile dlls/d3dim enable_d3dim
  18608. wine_fn_config_makefile dlls/d3drm enable_d3drm
  18609. wine_fn_config_makefile dlls/d3drm/tests enable_tests
  18610. wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
  18611. wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
  18612. wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
  18613. wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
  18614. wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
  18615. wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
  18616. wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
  18617. wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
  18618. wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
  18619. wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
  18620. wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
  18621. wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
  18622. wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
  18623. wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
  18624. wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
  18625. wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
  18626. wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
  18627. wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
  18628. wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
  18629. wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
  18630. wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
  18631. wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
  18632. wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
  18633. wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
  18634. wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
  18635. wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
  18636. wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
  18637. wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
  18638. wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
  18639. wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
  18640. wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
  18641. wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
  18642. wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
  18643. wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
  18644. wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
  18645. wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
  18646. wine_fn_config_makefile dlls/d3dxof enable_d3dxof
  18647. wine_fn_config_makefile dlls/d3dxof/tests enable_tests
  18648. wine_fn_config_makefile dlls/davclnt enable_davclnt
  18649. wine_fn_config_makefile dlls/dbgeng enable_dbgeng
  18650. wine_fn_config_makefile dlls/dbgeng/tests enable_tests
  18651. wine_fn_config_makefile dlls/dbghelp enable_dbghelp
  18652. wine_fn_config_makefile dlls/dbghelp/tests enable_tests
  18653. wine_fn_config_makefile dlls/dciman32 enable_dciman32
  18654. wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
  18655. wine_fn_config_makefile dlls/ddraw enable_ddraw
  18656. wine_fn_config_makefile dlls/ddraw/tests enable_tests
  18657. wine_fn_config_makefile dlls/ddrawex enable_ddrawex
  18658. wine_fn_config_makefile dlls/ddrawex/tests enable_tests
  18659. wine_fn_config_makefile dlls/devenum enable_devenum
  18660. wine_fn_config_makefile dlls/devenum/tests enable_tests
  18661. wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
  18662. wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
  18663. wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
  18664. wine_fn_config_makefile dlls/difxapi enable_difxapi
  18665. wine_fn_config_makefile dlls/dinput enable_dinput
  18666. wine_fn_config_makefile dlls/dinput/tests enable_tests
  18667. wine_fn_config_makefile dlls/dinput8 enable_dinput8
  18668. wine_fn_config_makefile dlls/dinput8/tests enable_tests
  18669. wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
  18670. wine_fn_config_makefile dlls/dispex enable_dispex
  18671. wine_fn_config_makefile dlls/dispex/tests enable_tests
  18672. wine_fn_config_makefile dlls/display.drv16 enable_win16
  18673. wine_fn_config_makefile dlls/dmband enable_dmband
  18674. wine_fn_config_makefile dlls/dmband/tests enable_tests
  18675. wine_fn_config_makefile dlls/dmcompos enable_dmcompos
  18676. wine_fn_config_makefile dlls/dmcompos/tests enable_tests
  18677. wine_fn_config_makefile dlls/dmime enable_dmime
  18678. wine_fn_config_makefile dlls/dmime/tests enable_tests
  18679. wine_fn_config_makefile dlls/dmloader enable_dmloader
  18680. wine_fn_config_makefile dlls/dmloader/tests enable_tests
  18681. wine_fn_config_makefile dlls/dmoguids enable_dmoguids
  18682. wine_fn_config_makefile dlls/dmscript enable_dmscript
  18683. wine_fn_config_makefile dlls/dmscript/tests enable_tests
  18684. wine_fn_config_makefile dlls/dmstyle enable_dmstyle
  18685. wine_fn_config_makefile dlls/dmstyle/tests enable_tests
  18686. wine_fn_config_makefile dlls/dmsynth enable_dmsynth
  18687. wine_fn_config_makefile dlls/dmsynth/tests enable_tests
  18688. wine_fn_config_makefile dlls/dmusic enable_dmusic
  18689. wine_fn_config_makefile dlls/dmusic/tests enable_tests
  18690. wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
  18691. wine_fn_config_makefile dlls/dnsapi enable_dnsapi
  18692. wine_fn_config_makefile dlls/dnsapi/tests enable_tests
  18693. wine_fn_config_makefile dlls/dplay enable_dplay
  18694. wine_fn_config_makefile dlls/dplayx enable_dplayx
  18695. wine_fn_config_makefile dlls/dplayx/tests enable_tests
  18696. wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
  18697. wine_fn_config_makefile dlls/dpnet enable_dpnet
  18698. wine_fn_config_makefile dlls/dpnet/tests enable_tests
  18699. wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
  18700. wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
  18701. wine_fn_config_makefile dlls/dpvoice enable_dpvoice
  18702. wine_fn_config_makefile dlls/dpvoice/tests enable_tests
  18703. wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
  18704. wine_fn_config_makefile dlls/drmclien enable_drmclien
  18705. wine_fn_config_makefile dlls/dsdmo enable_dsdmo
  18706. wine_fn_config_makefile dlls/dsound enable_dsound
  18707. wine_fn_config_makefile dlls/dsound/tests enable_tests
  18708. wine_fn_config_makefile dlls/dsquery enable_dsquery
  18709. wine_fn_config_makefile dlls/dssenh enable_dssenh
  18710. wine_fn_config_makefile dlls/dssenh/tests enable_tests
  18711. wine_fn_config_makefile dlls/dsuiext enable_dsuiext
  18712. wine_fn_config_makefile dlls/dswave enable_dswave
  18713. wine_fn_config_makefile dlls/dswave/tests enable_tests
  18714. wine_fn_config_makefile dlls/dwmapi enable_dwmapi
  18715. wine_fn_config_makefile dlls/dwrite enable_dwrite
  18716. wine_fn_config_makefile dlls/dwrite/tests enable_tests
  18717. wine_fn_config_makefile dlls/dx8vb enable_dx8vb
  18718. wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
  18719. wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
  18720. wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
  18721. wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
  18722. wine_fn_config_makefile dlls/dxgi enable_dxgi
  18723. wine_fn_config_makefile dlls/dxgi/tests enable_tests
  18724. wine_fn_config_makefile dlls/dxguid enable_dxguid
  18725. wine_fn_config_makefile dlls/dxva2 enable_dxva2
  18726. wine_fn_config_makefile dlls/esent enable_esent
  18727. wine_fn_config_makefile dlls/evr enable_evr
  18728. wine_fn_config_makefile dlls/evr/tests enable_tests
  18729. wine_fn_config_makefile dlls/explorerframe enable_explorerframe
  18730. wine_fn_config_makefile dlls/explorerframe/tests enable_tests
  18731. wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
  18732. wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
  18733. wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
  18734. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
  18735. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
  18736. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
  18737. wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
  18738. wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
  18739. wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
  18740. wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
  18741. wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
  18742. wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
  18743. wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
  18744. wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
  18745. wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
  18746. wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
  18747. wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
  18748. wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
  18749. wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
  18750. wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
  18751. wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
  18752. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
  18753. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
  18754. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
  18755. wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
  18756. wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
  18757. wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
  18758. wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
  18759. wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
  18760. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
  18761. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
  18762. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
  18763. wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
  18764. wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
  18765. wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
  18766. wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
  18767. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
  18768. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
  18769. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
  18770. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
  18771. 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
  18772. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
  18773. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
  18774. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
  18775. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
  18776. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
  18777. wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
  18778. wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
  18779. wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
  18780. wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
  18781. wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
  18782. wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
  18783. wine_fn_config_makefile dlls/faultrep enable_faultrep
  18784. wine_fn_config_makefile dlls/faultrep/tests enable_tests
  18785. wine_fn_config_makefile dlls/feclient enable_feclient
  18786. wine_fn_config_makefile dlls/fltlib enable_fltlib
  18787. wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
  18788. wine_fn_config_makefile dlls/fntcache enable_fntcache
  18789. wine_fn_config_makefile dlls/fontsub enable_fontsub
  18790. wine_fn_config_makefile dlls/fusion enable_fusion
  18791. wine_fn_config_makefile dlls/fusion/tests enable_tests
  18792. wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
  18793. wine_fn_config_makefile dlls/gameux enable_gameux
  18794. wine_fn_config_makefile dlls/gameux/tests enable_tests
  18795. wine_fn_config_makefile dlls/gdi.exe16 enable_win16
  18796. wine_fn_config_makefile dlls/gdi32 enable_gdi32
  18797. wine_fn_config_makefile dlls/gdi32/tests enable_tests
  18798. wine_fn_config_makefile dlls/gdiplus enable_gdiplus
  18799. wine_fn_config_makefile dlls/gdiplus/tests enable_tests
  18800. wine_fn_config_makefile dlls/glu32 enable_glu32
  18801. wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
  18802. wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
  18803. wine_fn_config_makefile dlls/hal enable_hal
  18804. wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
  18805. wine_fn_config_makefile dlls/hid enable_hid
  18806. wine_fn_config_makefile dlls/hid/tests enable_tests
  18807. wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
  18808. wine_fn_config_makefile dlls/hlink enable_hlink
  18809. wine_fn_config_makefile dlls/hlink/tests enable_tests
  18810. wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
  18811. wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
  18812. wine_fn_config_makefile dlls/http.sys enable_http_sys
  18813. wine_fn_config_makefile dlls/httpapi enable_httpapi
  18814. wine_fn_config_makefile dlls/httpapi/tests enable_tests
  18815. wine_fn_config_makefile dlls/iccvid enable_iccvid
  18816. wine_fn_config_makefile dlls/icmp enable_icmp
  18817. wine_fn_config_makefile dlls/ieframe enable_ieframe
  18818. wine_fn_config_makefile dlls/ieframe/tests enable_tests
  18819. wine_fn_config_makefile dlls/ieproxy enable_ieproxy
  18820. wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
  18821. wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
  18822. wine_fn_config_makefile dlls/imagehlp enable_imagehlp
  18823. wine_fn_config_makefile dlls/imagehlp/tests enable_tests
  18824. wine_fn_config_makefile dlls/imm.dll16 enable_win16
  18825. wine_fn_config_makefile dlls/imm32 enable_imm32
  18826. wine_fn_config_makefile dlls/imm32/tests enable_tests
  18827. wine_fn_config_makefile dlls/inetcomm enable_inetcomm
  18828. wine_fn_config_makefile dlls/inetcomm/tests enable_tests
  18829. wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
  18830. wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
  18831. wine_fn_config_makefile dlls/inetmib1/tests enable_tests
  18832. wine_fn_config_makefile dlls/infosoft enable_infosoft
  18833. wine_fn_config_makefile dlls/infosoft/tests enable_tests
  18834. wine_fn_config_makefile dlls/initpki enable_initpki
  18835. wine_fn_config_makefile dlls/inkobj enable_inkobj
  18836. wine_fn_config_makefile dlls/inseng enable_inseng
  18837. wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
  18838. wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
  18839. wine_fn_config_makefile dlls/iprop enable_iprop
  18840. wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
  18841. wine_fn_config_makefile dlls/itircl enable_itircl
  18842. wine_fn_config_makefile dlls/itss enable_itss
  18843. wine_fn_config_makefile dlls/itss/tests enable_tests
  18844. wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
  18845. wine_fn_config_makefile dlls/jscript enable_jscript
  18846. wine_fn_config_makefile dlls/jscript/tests enable_tests
  18847. wine_fn_config_makefile dlls/jsproxy enable_jsproxy
  18848. wine_fn_config_makefile dlls/jsproxy/tests enable_tests
  18849. wine_fn_config_makefile dlls/kerberos enable_kerberos
  18850. wine_fn_config_makefile dlls/kernel32 enable_kernel32
  18851. wine_fn_config_makefile dlls/kernel32/tests enable_tests
  18852. wine_fn_config_makefile dlls/kernelbase enable_kernelbase
  18853. wine_fn_config_makefile dlls/kernelbase/tests enable_tests
  18854. wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
  18855. wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
  18856. wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
  18857. wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
  18858. wine_fn_config_makefile dlls/ksuser enable_ksuser
  18859. wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
  18860. wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
  18861. wine_fn_config_makefile dlls/loadperf enable_loadperf
  18862. wine_fn_config_makefile dlls/localspl enable_localspl
  18863. wine_fn_config_makefile dlls/localspl/tests enable_tests
  18864. wine_fn_config_makefile dlls/localui enable_localui
  18865. wine_fn_config_makefile dlls/localui/tests enable_tests
  18866. wine_fn_config_makefile dlls/lz32 enable_lz32
  18867. wine_fn_config_makefile dlls/lz32/tests enable_tests
  18868. wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
  18869. wine_fn_config_makefile dlls/mapi32 enable_mapi32
  18870. wine_fn_config_makefile dlls/mapi32/tests enable_tests
  18871. wine_fn_config_makefile dlls/mapistub enable_mapistub
  18872. wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
  18873. wine_fn_config_makefile dlls/mcicda enable_mcicda
  18874. wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
  18875. wine_fn_config_makefile dlls/mciseq enable_mciseq
  18876. wine_fn_config_makefile dlls/mciwave enable_mciwave
  18877. wine_fn_config_makefile dlls/mf enable_mf
  18878. wine_fn_config_makefile dlls/mf/tests enable_tests
  18879. wine_fn_config_makefile dlls/mf3216 enable_mf3216
  18880. wine_fn_config_makefile dlls/mferror enable_mferror
  18881. wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
  18882. wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
  18883. wine_fn_config_makefile dlls/mfplat enable_mfplat
  18884. wine_fn_config_makefile dlls/mfplat/tests enable_tests
  18885. wine_fn_config_makefile dlls/mfplay enable_mfplay
  18886. wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
  18887. wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
  18888. wine_fn_config_makefile dlls/mfuuid enable_mfuuid
  18889. wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
  18890. wine_fn_config_makefile dlls/midimap enable_midimap
  18891. wine_fn_config_makefile dlls/mlang enable_mlang
  18892. wine_fn_config_makefile dlls/mlang/tests enable_tests
  18893. wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
  18894. wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
  18895. wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
  18896. wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
  18897. wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
  18898. wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
  18899. wine_fn_config_makefile dlls/monodebg.vxd enable_win16
  18900. wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
  18901. wine_fn_config_makefile dlls/mouse.drv16 enable_win16
  18902. wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
  18903. wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
  18904. wine_fn_config_makefile dlls/mpr enable_mpr
  18905. wine_fn_config_makefile dlls/mpr/tests enable_tests
  18906. wine_fn_config_makefile dlls/mprapi enable_mprapi
  18907. wine_fn_config_makefile dlls/msacm.dll16 enable_win16
  18908. wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
  18909. wine_fn_config_makefile dlls/msacm32 enable_msacm32
  18910. wine_fn_config_makefile dlls/msacm32/tests enable_tests
  18911. wine_fn_config_makefile dlls/msado15 enable_msado15
  18912. wine_fn_config_makefile dlls/msado15/tests enable_tests
  18913. wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
  18914. wine_fn_config_makefile dlls/msasn1 enable_msasn1
  18915. wine_fn_config_makefile dlls/msasn1/tests enable_tests
  18916. wine_fn_config_makefile dlls/mscat32 enable_mscat32
  18917. wine_fn_config_makefile dlls/mscms enable_mscms
  18918. wine_fn_config_makefile dlls/mscms/tests enable_tests
  18919. wine_fn_config_makefile dlls/mscoree enable_mscoree
  18920. wine_fn_config_makefile dlls/mscoree/tests enable_tests
  18921. wine_fn_config_makefile dlls/mscorwks enable_mscorwks
  18922. wine_fn_config_makefile dlls/msctf enable_msctf
  18923. wine_fn_config_makefile dlls/msctf/tests enable_tests
  18924. wine_fn_config_makefile dlls/msctfp enable_msctfp
  18925. wine_fn_config_makefile dlls/msdaps enable_msdaps
  18926. wine_fn_config_makefile dlls/msdelta enable_msdelta
  18927. wine_fn_config_makefile dlls/msdmo enable_msdmo
  18928. wine_fn_config_makefile dlls/msdmo/tests enable_tests
  18929. wine_fn_config_makefile dlls/msdrm enable_msdrm
  18930. wine_fn_config_makefile dlls/msftedit enable_msftedit
  18931. wine_fn_config_makefile dlls/msftedit/tests enable_tests
  18932. wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
  18933. wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
  18934. wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
  18935. wine_fn_config_makefile dlls/mshtml enable_mshtml
  18936. wine_fn_config_makefile dlls/mshtml/tests enable_tests
  18937. wine_fn_config_makefile dlls/msi enable_msi
  18938. wine_fn_config_makefile dlls/msi/tests enable_tests
  18939. wine_fn_config_makefile dlls/msident enable_msident
  18940. wine_fn_config_makefile dlls/msimg32 enable_msimg32
  18941. wine_fn_config_makefile dlls/msimsg enable_msimsg
  18942. wine_fn_config_makefile dlls/msimtf enable_msimtf
  18943. wine_fn_config_makefile dlls/msisip enable_msisip
  18944. wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
  18945. wine_fn_config_makefile dlls/msls31 enable_msls31
  18946. wine_fn_config_makefile dlls/msnet32 enable_msnet32
  18947. wine_fn_config_makefile dlls/mspatcha enable_mspatcha
  18948. wine_fn_config_makefile dlls/mspatcha/tests enable_tests
  18949. wine_fn_config_makefile dlls/msports enable_msports
  18950. wine_fn_config_makefile dlls/msrle32 enable_msrle32
  18951. wine_fn_config_makefile dlls/msrle32/tests enable_tests
  18952. wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
  18953. wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
  18954. wine_fn_config_makefile dlls/mssign32 enable_mssign32
  18955. wine_fn_config_makefile dlls/mssip32 enable_mssip32
  18956. wine_fn_config_makefile dlls/mstask enable_mstask
  18957. wine_fn_config_makefile dlls/mstask/tests enable_tests
  18958. wine_fn_config_makefile dlls/msvcirt enable_msvcirt
  18959. wine_fn_config_makefile dlls/msvcirt/tests enable_tests
  18960. wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
  18961. wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
  18962. wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
  18963. wine_fn_config_makefile dlls/msvcp100/tests enable_tests
  18964. wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
  18965. wine_fn_config_makefile dlls/msvcp110/tests enable_tests
  18966. wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
  18967. wine_fn_config_makefile dlls/msvcp120/tests enable_tests
  18968. wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
  18969. wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
  18970. wine_fn_config_makefile dlls/msvcp140/tests enable_tests
  18971. wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
  18972. wine_fn_config_makefile dlls/msvcp60/tests enable_tests
  18973. wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
  18974. wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
  18975. wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
  18976. wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
  18977. wine_fn_config_makefile dlls/msvcp90/tests enable_tests
  18978. wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
  18979. wine_fn_config_makefile dlls/msvcr100/tests enable_tests
  18980. wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
  18981. wine_fn_config_makefile dlls/msvcr110/tests enable_tests
  18982. wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
  18983. wine_fn_config_makefile dlls/msvcr120/tests enable_tests
  18984. wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
  18985. wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
  18986. wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
  18987. wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
  18988. wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
  18989. wine_fn_config_makefile dlls/msvcr90/tests enable_tests
  18990. wine_fn_config_makefile dlls/msvcrt enable_msvcrt
  18991. wine_fn_config_makefile dlls/msvcrt/tests enable_tests
  18992. wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
  18993. wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
  18994. wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
  18995. wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
  18996. wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
  18997. wine_fn_config_makefile dlls/msvfw32/tests enable_tests
  18998. wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
  18999. wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
  19000. wine_fn_config_makefile dlls/mswsock enable_mswsock
  19001. wine_fn_config_makefile dlls/msxml enable_msxml
  19002. wine_fn_config_makefile dlls/msxml2 enable_msxml2
  19003. wine_fn_config_makefile dlls/msxml3 enable_msxml3
  19004. wine_fn_config_makefile dlls/msxml3/tests enable_tests
  19005. wine_fn_config_makefile dlls/msxml4 enable_msxml4
  19006. wine_fn_config_makefile dlls/msxml6 enable_msxml6
  19007. wine_fn_config_makefile dlls/mtxdm enable_mtxdm
  19008. wine_fn_config_makefile dlls/ncrypt enable_ncrypt
  19009. wine_fn_config_makefile dlls/nddeapi enable_nddeapi
  19010. wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
  19011. wine_fn_config_makefile dlls/netapi32 enable_netapi32
  19012. wine_fn_config_makefile dlls/netapi32/tests enable_tests
  19013. wine_fn_config_makefile dlls/netcfgx enable_netcfgx
  19014. wine_fn_config_makefile dlls/netcfgx/tests enable_tests
  19015. wine_fn_config_makefile dlls/netprofm enable_netprofm
  19016. wine_fn_config_makefile dlls/netprofm/tests enable_tests
  19017. wine_fn_config_makefile dlls/newdev enable_newdev
  19018. wine_fn_config_makefile dlls/ninput enable_ninput
  19019. wine_fn_config_makefile dlls/ninput/tests enable_tests
  19020. wine_fn_config_makefile dlls/normaliz enable_normaliz
  19021. wine_fn_config_makefile dlls/npmshtml enable_npmshtml
  19022. wine_fn_config_makefile dlls/npptools enable_npptools
  19023. wine_fn_config_makefile dlls/ntdll enable_ntdll
  19024. wine_fn_config_makefile dlls/ntdll/tests enable_tests
  19025. wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
  19026. wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
  19027. wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
  19028. wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
  19029. wine_fn_config_makefile dlls/ntprint enable_ntprint
  19030. wine_fn_config_makefile dlls/ntprint/tests enable_tests
  19031. wine_fn_config_makefile dlls/objsel enable_objsel
  19032. wine_fn_config_makefile dlls/odbc32 enable_odbc32
  19033. wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
  19034. wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
  19035. wine_fn_config_makefile dlls/odbccp32/tests enable_tests
  19036. wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
  19037. wine_fn_config_makefile dlls/ole2.dll16 enable_win16
  19038. wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
  19039. wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
  19040. wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
  19041. wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
  19042. wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
  19043. wine_fn_config_makefile dlls/ole32 enable_ole32
  19044. wine_fn_config_makefile dlls/ole32/tests enable_tests
  19045. wine_fn_config_makefile dlls/oleacc enable_oleacc
  19046. wine_fn_config_makefile dlls/oleacc/tests enable_tests
  19047. wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
  19048. wine_fn_config_makefile dlls/oleaut32/tests enable_tests
  19049. wine_fn_config_makefile dlls/olecli.dll16 enable_win16
  19050. wine_fn_config_makefile dlls/olecli32 enable_olecli32
  19051. wine_fn_config_makefile dlls/oledb32 enable_oledb32
  19052. wine_fn_config_makefile dlls/oledb32/tests enable_tests
  19053. wine_fn_config_makefile dlls/oledlg enable_oledlg
  19054. wine_fn_config_makefile dlls/oledlg/tests enable_tests
  19055. wine_fn_config_makefile dlls/olepro32 enable_olepro32
  19056. wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
  19057. wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
  19058. wine_fn_config_makefile dlls/olethk32 enable_olethk32
  19059. wine_fn_config_makefile dlls/opcservices enable_opcservices
  19060. wine_fn_config_makefile dlls/opcservices/tests enable_tests
  19061. wine_fn_config_makefile dlls/openal32 enable_openal32
  19062. wine_fn_config_makefile dlls/opencl enable_opencl
  19063. wine_fn_config_makefile dlls/opengl32 enable_opengl32
  19064. wine_fn_config_makefile dlls/opengl32/tests enable_tests
  19065. wine_fn_config_makefile dlls/packager enable_packager
  19066. wine_fn_config_makefile dlls/packager/tests enable_tests
  19067. wine_fn_config_makefile dlls/pdh enable_pdh
  19068. wine_fn_config_makefile dlls/pdh/tests enable_tests
  19069. wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
  19070. wine_fn_config_makefile dlls/pidgen enable_pidgen
  19071. wine_fn_config_makefile dlls/powrprof enable_powrprof
  19072. wine_fn_config_makefile dlls/printui enable_printui
  19073. wine_fn_config_makefile dlls/prntvpt enable_prntvpt
  19074. wine_fn_config_makefile dlls/propsys enable_propsys
  19075. wine_fn_config_makefile dlls/propsys/tests enable_tests
  19076. wine_fn_config_makefile dlls/psapi enable_psapi
  19077. wine_fn_config_makefile dlls/psapi/tests enable_tests
  19078. wine_fn_config_makefile dlls/pstorec enable_pstorec
  19079. wine_fn_config_makefile dlls/pstorec/tests enable_tests
  19080. wine_fn_config_makefile dlls/qasf enable_qasf
  19081. wine_fn_config_makefile dlls/qasf/tests enable_tests
  19082. wine_fn_config_makefile dlls/qcap enable_qcap
  19083. wine_fn_config_makefile dlls/qcap/tests enable_tests
  19084. wine_fn_config_makefile dlls/qdvd enable_qdvd
  19085. wine_fn_config_makefile dlls/qedit enable_qedit
  19086. wine_fn_config_makefile dlls/qedit/tests enable_tests
  19087. wine_fn_config_makefile dlls/qmgr enable_qmgr
  19088. wine_fn_config_makefile dlls/qmgr/tests enable_tests
  19089. wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
  19090. wine_fn_config_makefile dlls/quartz enable_quartz
  19091. wine_fn_config_makefile dlls/quartz/tests enable_tests
  19092. wine_fn_config_makefile dlls/query enable_query
  19093. wine_fn_config_makefile dlls/qwave enable_qwave
  19094. wine_fn_config_makefile dlls/qwave/tests enable_tests
  19095. wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
  19096. wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
  19097. wine_fn_config_makefile dlls/rasapi32/tests enable_tests
  19098. wine_fn_config_makefile dlls/rasdlg enable_rasdlg
  19099. wine_fn_config_makefile dlls/regapi enable_regapi
  19100. wine_fn_config_makefile dlls/resutils enable_resutils
  19101. wine_fn_config_makefile dlls/riched20 enable_riched20
  19102. wine_fn_config_makefile dlls/riched20/tests enable_tests
  19103. wine_fn_config_makefile dlls/riched32 enable_riched32
  19104. wine_fn_config_makefile dlls/riched32/tests enable_tests
  19105. wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
  19106. wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
  19107. wine_fn_config_makefile dlls/rsabase enable_rsabase
  19108. wine_fn_config_makefile dlls/rsaenh enable_rsaenh
  19109. wine_fn_config_makefile dlls/rsaenh/tests enable_tests
  19110. wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
  19111. wine_fn_config_makefile dlls/rtutils enable_rtutils
  19112. wine_fn_config_makefile dlls/rtworkq enable_rtworkq
  19113. wine_fn_config_makefile dlls/rtworkq/tests enable_tests
  19114. wine_fn_config_makefile dlls/samlib enable_samlib
  19115. wine_fn_config_makefile dlls/sane.ds enable_sane_ds
  19116. wine_fn_config_makefile dlls/sapi enable_sapi
  19117. wine_fn_config_makefile dlls/sapi/tests enable_tests
  19118. wine_fn_config_makefile dlls/sas enable_sas
  19119. wine_fn_config_makefile dlls/scarddlg enable_scarddlg
  19120. wine_fn_config_makefile dlls/sccbase enable_sccbase
  19121. wine_fn_config_makefile dlls/schannel enable_schannel
  19122. wine_fn_config_makefile dlls/schannel/tests enable_tests
  19123. wine_fn_config_makefile dlls/schedsvc enable_schedsvc
  19124. wine_fn_config_makefile dlls/schedsvc/tests enable_tests
  19125. wine_fn_config_makefile dlls/scrobj enable_scrobj
  19126. wine_fn_config_makefile dlls/scrobj/tests enable_tests
  19127. wine_fn_config_makefile dlls/scrrun enable_scrrun
  19128. wine_fn_config_makefile dlls/scrrun/tests enable_tests
  19129. wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
  19130. wine_fn_config_makefile dlls/sechost enable_sechost
  19131. wine_fn_config_makefile dlls/secur32 enable_secur32
  19132. wine_fn_config_makefile dlls/secur32/tests enable_tests
  19133. wine_fn_config_makefile dlls/security enable_security
  19134. wine_fn_config_makefile dlls/sensapi enable_sensapi
  19135. wine_fn_config_makefile dlls/serialui enable_serialui
  19136. wine_fn_config_makefile dlls/serialui/tests enable_tests
  19137. wine_fn_config_makefile dlls/setupapi enable_setupapi
  19138. wine_fn_config_makefile dlls/setupapi/tests enable_tests
  19139. wine_fn_config_makefile dlls/setupx.dll16 enable_win16
  19140. wine_fn_config_makefile dlls/sfc enable_sfc
  19141. wine_fn_config_makefile dlls/sfc_os enable_sfc_os
  19142. wine_fn_config_makefile dlls/shcore enable_shcore
  19143. wine_fn_config_makefile dlls/shcore/tests enable_tests
  19144. wine_fn_config_makefile dlls/shdoclc enable_shdoclc
  19145. wine_fn_config_makefile dlls/shdocvw enable_shdocvw
  19146. wine_fn_config_makefile dlls/shdocvw/tests enable_tests
  19147. wine_fn_config_makefile dlls/shell.dll16 enable_win16
  19148. wine_fn_config_makefile dlls/shell32 enable_shell32
  19149. wine_fn_config_makefile dlls/shell32/tests enable_tests
  19150. wine_fn_config_makefile dlls/shfolder enable_shfolder
  19151. wine_fn_config_makefile dlls/shlwapi enable_shlwapi
  19152. wine_fn_config_makefile dlls/shlwapi/tests enable_tests
  19153. wine_fn_config_makefile dlls/slbcsp enable_slbcsp
  19154. wine_fn_config_makefile dlls/slc enable_slc
  19155. wine_fn_config_makefile dlls/slc/tests enable_tests
  19156. wine_fn_config_makefile dlls/snmpapi enable_snmpapi
  19157. wine_fn_config_makefile dlls/snmpapi/tests enable_tests
  19158. wine_fn_config_makefile dlls/softpub enable_softpub
  19159. wine_fn_config_makefile dlls/sound.drv16 enable_win16
  19160. wine_fn_config_makefile dlls/spoolss enable_spoolss
  19161. wine_fn_config_makefile dlls/spoolss/tests enable_tests
  19162. wine_fn_config_makefile dlls/srclient enable_srclient
  19163. wine_fn_config_makefile dlls/sspicli enable_sspicli
  19164. wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
  19165. wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
  19166. wine_fn_config_makefile dlls/sti enable_sti
  19167. wine_fn_config_makefile dlls/sti/tests enable_tests
  19168. wine_fn_config_makefile dlls/storage.dll16 enable_win16
  19169. wine_fn_config_makefile dlls/stress.dll16 enable_win16
  19170. wine_fn_config_makefile dlls/strmbase enable_strmbase
  19171. wine_fn_config_makefile dlls/strmdll enable_strmdll
  19172. wine_fn_config_makefile dlls/strmiids enable_strmiids
  19173. wine_fn_config_makefile dlls/svrapi enable_svrapi
  19174. wine_fn_config_makefile dlls/sxs enable_sxs
  19175. wine_fn_config_makefile dlls/sxs/tests enable_tests
  19176. wine_fn_config_makefile dlls/system.drv16 enable_win16
  19177. wine_fn_config_makefile dlls/t2embed enable_t2embed
  19178. wine_fn_config_makefile dlls/t2embed/tests enable_tests
  19179. wine_fn_config_makefile dlls/tapi32 enable_tapi32
  19180. wine_fn_config_makefile dlls/tapi32/tests enable_tests
  19181. wine_fn_config_makefile dlls/taskschd enable_taskschd
  19182. wine_fn_config_makefile dlls/taskschd/tests enable_tests
  19183. wine_fn_config_makefile dlls/tdh enable_tdh
  19184. wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
  19185. wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
  19186. wine_fn_config_makefile dlls/traffic enable_traffic
  19187. wine_fn_config_makefile dlls/twain.dll16 enable_win16
  19188. wine_fn_config_makefile dlls/twain_32 enable_twain_32
  19189. wine_fn_config_makefile dlls/twain_32/tests enable_tests
  19190. wine_fn_config_makefile dlls/typelib.dll16 enable_win16
  19191. wine_fn_config_makefile dlls/tzres enable_tzres
  19192. wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
  19193. wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
  19194. wine_fn_config_makefile dlls/uianimation enable_uianimation
  19195. wine_fn_config_makefile dlls/uianimation/tests enable_tests
  19196. wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
  19197. wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
  19198. wine_fn_config_makefile dlls/uiribbon enable_uiribbon
  19199. wine_fn_config_makefile dlls/unicows enable_unicows
  19200. wine_fn_config_makefile dlls/updspapi enable_updspapi
  19201. wine_fn_config_makefile dlls/url enable_url
  19202. wine_fn_config_makefile dlls/urlmon enable_urlmon
  19203. wine_fn_config_makefile dlls/urlmon/tests enable_tests
  19204. wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
  19205. wine_fn_config_makefile dlls/user.exe16 enable_win16
  19206. wine_fn_config_makefile dlls/user32 enable_user32
  19207. wine_fn_config_makefile dlls/user32/tests enable_tests
  19208. wine_fn_config_makefile dlls/userenv enable_userenv
  19209. wine_fn_config_makefile dlls/userenv/tests enable_tests
  19210. wine_fn_config_makefile dlls/usp10 enable_usp10
  19211. wine_fn_config_makefile dlls/usp10/tests enable_tests
  19212. wine_fn_config_makefile dlls/utildll enable_utildll
  19213. wine_fn_config_makefile dlls/uuid enable_uuid
  19214. wine_fn_config_makefile dlls/uxtheme enable_uxtheme
  19215. wine_fn_config_makefile dlls/uxtheme/tests enable_tests
  19216. wine_fn_config_makefile dlls/vbscript enable_vbscript
  19217. wine_fn_config_makefile dlls/vbscript/tests enable_tests
  19218. wine_fn_config_makefile dlls/vcomp enable_vcomp
  19219. wine_fn_config_makefile dlls/vcomp/tests enable_tests
  19220. wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
  19221. wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
  19222. wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
  19223. wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
  19224. wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
  19225. wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
  19226. wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
  19227. wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
  19228. wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
  19229. wine_fn_config_makefile dlls/ver.dll16 enable_win16
  19230. wine_fn_config_makefile dlls/version enable_version
  19231. wine_fn_config_makefile dlls/version/tests enable_tests
  19232. wine_fn_config_makefile dlls/vga enable_vga
  19233. wine_fn_config_makefile dlls/virtdisk enable_virtdisk
  19234. wine_fn_config_makefile dlls/virtdisk/tests enable_tests
  19235. wine_fn_config_makefile dlls/vmm.vxd enable_win16
  19236. wine_fn_config_makefile dlls/vnbt.vxd enable_win16
  19237. wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
  19238. wine_fn_config_makefile dlls/vssapi enable_vssapi
  19239. wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
  19240. wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
  19241. wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
  19242. wine_fn_config_makefile dlls/vwin32.vxd enable_win16
  19243. wine_fn_config_makefile dlls/w32skrnl enable_win16
  19244. wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
  19245. wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
  19246. wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
  19247. wine_fn_config_makefile dlls/wbemprox enable_wbemprox
  19248. wine_fn_config_makefile dlls/wbemprox/tests enable_tests
  19249. wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
  19250. wine_fn_config_makefile dlls/wdscore enable_wdscore
  19251. wine_fn_config_makefile dlls/webservices enable_webservices
  19252. wine_fn_config_makefile dlls/webservices/tests enable_tests
  19253. wine_fn_config_makefile dlls/wer enable_wer
  19254. wine_fn_config_makefile dlls/wer/tests enable_tests
  19255. wine_fn_config_makefile dlls/wevtapi enable_wevtapi
  19256. wine_fn_config_makefile dlls/wiaservc enable_wiaservc
  19257. wine_fn_config_makefile dlls/wiaservc/tests enable_tests
  19258. wine_fn_config_makefile dlls/wimgapi enable_wimgapi
  19259. wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
  19260. wine_fn_config_makefile dlls/win87em.dll16 enable_win16
  19261. wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
  19262. wine_fn_config_makefile dlls/windebug.dll16 enable_win16
  19263. wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
  19264. wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
  19265. wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
  19266. wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
  19267. wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
  19268. wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
  19269. wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
  19270. wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
  19271. wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
  19272. wine_fn_config_makefile dlls/wined3d enable_wined3d
  19273. wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
  19274. wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
  19275. wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
  19276. wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
  19277. wine_fn_config_makefile dlls/winemapi enable_winemapi
  19278. wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
  19279. wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
  19280. wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
  19281. wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
  19282. wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
  19283. wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
  19284. wine_fn_config_makefile dlls/winevulkan enable_winevulkan
  19285. wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
  19286. wine_fn_config_makefile dlls/wing.dll16 enable_win16
  19287. wine_fn_config_makefile dlls/wing32 enable_wing32
  19288. wine_fn_config_makefile dlls/winhttp enable_winhttp
  19289. wine_fn_config_makefile dlls/winhttp/tests enable_tests
  19290. wine_fn_config_makefile dlls/wininet enable_wininet
  19291. wine_fn_config_makefile dlls/wininet/tests enable_tests
  19292. wine_fn_config_makefile dlls/winmm enable_winmm
  19293. wine_fn_config_makefile dlls/winmm/tests enable_tests
  19294. wine_fn_config_makefile dlls/winnls.dll16 enable_win16
  19295. wine_fn_config_makefile dlls/winnls32 enable_winnls32
  19296. wine_fn_config_makefile dlls/winscard enable_winscard
  19297. wine_fn_config_makefile dlls/winsock.dll16 enable_win16
  19298. wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
  19299. wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
  19300. wine_fn_config_makefile dlls/winsta enable_winsta
  19301. wine_fn_config_makefile dlls/wintab.dll16 enable_win16
  19302. wine_fn_config_makefile dlls/wintab32 enable_wintab32
  19303. wine_fn_config_makefile dlls/wintab32/tests enable_tests
  19304. wine_fn_config_makefile dlls/wintrust enable_wintrust
  19305. wine_fn_config_makefile dlls/wintrust/tests enable_tests
  19306. wine_fn_config_makefile dlls/winusb enable_winusb
  19307. wine_fn_config_makefile dlls/wlanapi enable_wlanapi
  19308. wine_fn_config_makefile dlls/wlanapi/tests enable_tests
  19309. wine_fn_config_makefile dlls/wlanui enable_wlanui
  19310. wine_fn_config_makefile dlls/wldap32 enable_wldap32
  19311. wine_fn_config_makefile dlls/wldap32/tests enable_tests
  19312. wine_fn_config_makefile dlls/wmasf enable_wmasf
  19313. wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
  19314. wine_fn_config_makefile dlls/wmi enable_wmi
  19315. wine_fn_config_makefile dlls/wmiutils enable_wmiutils
  19316. wine_fn_config_makefile dlls/wmiutils/tests enable_tests
  19317. wine_fn_config_makefile dlls/wmp enable_wmp
  19318. wine_fn_config_makefile dlls/wmp/tests enable_tests
  19319. wine_fn_config_makefile dlls/wmphoto enable_wmphoto
  19320. wine_fn_config_makefile dlls/wmvcore enable_wmvcore
  19321. wine_fn_config_makefile dlls/wmvcore/tests enable_tests
  19322. wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
  19323. wine_fn_config_makefile dlls/wow32 enable_win16
  19324. wine_fn_config_makefile dlls/wpc enable_wpc
  19325. wine_fn_config_makefile dlls/wpc/tests enable_tests
  19326. wine_fn_config_makefile dlls/wpcap enable_wpcap
  19327. wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
  19328. wine_fn_config_makefile dlls/ws2_32/tests enable_tests
  19329. wine_fn_config_makefile dlls/wsdapi enable_wsdapi
  19330. wine_fn_config_makefile dlls/wsdapi/tests enable_tests
  19331. wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
  19332. wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
  19333. wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
  19334. wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
  19335. wine_fn_config_makefile dlls/wsock32 enable_wsock32
  19336. wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
  19337. wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
  19338. wine_fn_config_makefile dlls/wuapi enable_wuapi
  19339. wine_fn_config_makefile dlls/wuaueng enable_wuaueng
  19340. wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
  19341. wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
  19342. wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
  19343. wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
  19344. wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
  19345. wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
  19346. wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
  19347. wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
  19348. wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
  19349. wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
  19350. wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
  19351. wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
  19352. wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
  19353. wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
  19354. wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
  19355. wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
  19356. wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
  19357. wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
  19358. wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
  19359. wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
  19360. wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
  19361. wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
  19362. wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
  19363. wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
  19364. wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
  19365. wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
  19366. wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
  19367. wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
  19368. wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
  19369. wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
  19370. wine_fn_config_makefile dlls/xmllite enable_xmllite
  19371. wine_fn_config_makefile dlls/xmllite/tests enable_tests
  19372. wine_fn_config_makefile dlls/xolehlp enable_xolehlp
  19373. wine_fn_config_makefile dlls/xpsprint enable_xpsprint
  19374. wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
  19375. wine_fn_config_makefile fonts enable_fonts
  19376. wine_fn_config_makefile include enable_include
  19377. wine_fn_config_makefile libs/port enable_port
  19378. wine_fn_config_makefile libs/wine enable_wine
  19379. wine_fn_config_makefile libs/wpp enable_wpp
  19380. wine_fn_config_makefile loader enable_loader
  19381. wine_fn_config_makefile nls enable_nls
  19382. wine_fn_config_makefile po enable_po
  19383. wine_fn_config_makefile programs/arp enable_arp
  19384. wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
  19385. wine_fn_config_makefile programs/attrib enable_attrib
  19386. wine_fn_config_makefile programs/cabarc enable_cabarc
  19387. wine_fn_config_makefile programs/cacls enable_cacls
  19388. wine_fn_config_makefile programs/chcp.com enable_chcp_com
  19389. wine_fn_config_makefile programs/clock enable_clock
  19390. wine_fn_config_makefile programs/cmd enable_cmd
  19391. wine_fn_config_makefile programs/cmd/tests enable_tests
  19392. wine_fn_config_makefile programs/conhost enable_conhost
  19393. wine_fn_config_makefile programs/control enable_control
  19394. wine_fn_config_makefile programs/cscript enable_cscript
  19395. wine_fn_config_makefile programs/dism enable_dism
  19396. wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
  19397. wine_fn_config_makefile programs/dxdiag enable_dxdiag
  19398. wine_fn_config_makefile programs/eject enable_eject
  19399. wine_fn_config_makefile programs/expand enable_expand
  19400. wine_fn_config_makefile programs/explorer enable_explorer
  19401. wine_fn_config_makefile programs/extrac32 enable_extrac32
  19402. wine_fn_config_makefile programs/fc enable_fc
  19403. wine_fn_config_makefile programs/find enable_find
  19404. wine_fn_config_makefile programs/find/tests enable_tests
  19405. wine_fn_config_makefile programs/findstr enable_findstr
  19406. wine_fn_config_makefile programs/fsutil enable_fsutil
  19407. wine_fn_config_makefile programs/hh enable_hh
  19408. wine_fn_config_makefile programs/hostname enable_hostname
  19409. wine_fn_config_makefile programs/icacls enable_icacls
  19410. wine_fn_config_makefile programs/icinfo enable_icinfo
  19411. wine_fn_config_makefile programs/iexplore enable_iexplore
  19412. wine_fn_config_makefile programs/ipconfig enable_ipconfig
  19413. wine_fn_config_makefile programs/lodctr enable_lodctr
  19414. wine_fn_config_makefile programs/mofcomp enable_mofcomp
  19415. wine_fn_config_makefile programs/mshta enable_mshta
  19416. wine_fn_config_makefile programs/msidb enable_msidb
  19417. wine_fn_config_makefile programs/msiexec enable_msiexec
  19418. wine_fn_config_makefile programs/msinfo32 enable_msinfo32
  19419. wine_fn_config_makefile programs/net enable_net
  19420. wine_fn_config_makefile programs/netsh enable_netsh
  19421. wine_fn_config_makefile programs/netstat enable_netstat
  19422. wine_fn_config_makefile programs/ngen enable_ngen
  19423. wine_fn_config_makefile programs/notepad enable_notepad
  19424. wine_fn_config_makefile programs/oleview enable_oleview
  19425. wine_fn_config_makefile programs/ping enable_ping
  19426. wine_fn_config_makefile programs/plugplay enable_plugplay
  19427. wine_fn_config_makefile programs/powershell enable_powershell
  19428. wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
  19429. wine_fn_config_makefile programs/progman enable_progman
  19430. wine_fn_config_makefile programs/reg enable_reg
  19431. wine_fn_config_makefile programs/reg/tests enable_tests
  19432. wine_fn_config_makefile programs/regasm enable_regasm
  19433. wine_fn_config_makefile programs/regedit enable_regedit
  19434. wine_fn_config_makefile programs/regedit/tests enable_tests
  19435. wine_fn_config_makefile programs/regini enable_regini
  19436. wine_fn_config_makefile programs/regsvcs enable_regsvcs
  19437. wine_fn_config_makefile programs/regsvr32 enable_regsvr32
  19438. wine_fn_config_makefile programs/rpcss enable_rpcss
  19439. wine_fn_config_makefile programs/rundll.exe16 enable_win16
  19440. wine_fn_config_makefile programs/rundll32 enable_rundll32
  19441. wine_fn_config_makefile programs/sc enable_sc
  19442. wine_fn_config_makefile programs/schtasks enable_schtasks
  19443. wine_fn_config_makefile programs/schtasks/tests enable_tests
  19444. wine_fn_config_makefile programs/sdbinst enable_sdbinst
  19445. wine_fn_config_makefile programs/secedit enable_secedit
  19446. wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
  19447. wine_fn_config_makefile programs/services enable_services
  19448. wine_fn_config_makefile programs/services/tests enable_tests
  19449. wine_fn_config_makefile programs/shutdown enable_shutdown
  19450. wine_fn_config_makefile programs/spoolsv enable_spoolsv
  19451. wine_fn_config_makefile programs/start enable_start
  19452. wine_fn_config_makefile programs/subst enable_subst
  19453. wine_fn_config_makefile programs/svchost enable_svchost
  19454. wine_fn_config_makefile programs/systeminfo enable_systeminfo
  19455. wine_fn_config_makefile programs/taskkill enable_taskkill
  19456. wine_fn_config_makefile programs/tasklist enable_tasklist
  19457. wine_fn_config_makefile programs/taskmgr enable_taskmgr
  19458. wine_fn_config_makefile programs/termsv enable_termsv
  19459. wine_fn_config_makefile programs/uninstaller enable_uninstaller
  19460. wine_fn_config_makefile programs/unlodctr enable_unlodctr
  19461. wine_fn_config_makefile programs/view enable_view
  19462. wine_fn_config_makefile programs/wevtutil enable_wevtutil
  19463. wine_fn_config_makefile programs/whoami enable_whoami
  19464. wine_fn_config_makefile programs/wineboot enable_wineboot
  19465. wine_fn_config_makefile programs/winebrowser enable_winebrowser
  19466. wine_fn_config_makefile programs/winecfg enable_winecfg
  19467. wine_fn_config_makefile programs/wineconsole enable_wineconsole
  19468. wine_fn_config_makefile programs/winedbg enable_winedbg
  19469. wine_fn_config_makefile programs/winedevice enable_winedevice
  19470. wine_fn_config_makefile programs/winefile enable_winefile
  19471. wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
  19472. wine_fn_config_makefile programs/winemine enable_winemine
  19473. wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
  19474. wine_fn_config_makefile programs/winepath enable_winepath
  19475. wine_fn_config_makefile programs/winetest enable_winetest
  19476. wine_fn_config_makefile programs/winevdm enable_win16
  19477. wine_fn_config_makefile programs/winhelp.exe16 enable_win16
  19478. wine_fn_config_makefile programs/winhlp32 enable_winhlp32
  19479. wine_fn_config_makefile programs/winmgmt enable_winmgmt
  19480. wine_fn_config_makefile programs/winoldap.mod16 enable_win16
  19481. wine_fn_config_makefile programs/winver enable_winver
  19482. wine_fn_config_makefile programs/wmic enable_wmic
  19483. wine_fn_config_makefile programs/wmplayer enable_wmplayer
  19484. wine_fn_config_makefile programs/wordpad enable_wordpad
  19485. wine_fn_config_makefile programs/write enable_write
  19486. wine_fn_config_makefile programs/wscript enable_wscript
  19487. wine_fn_config_makefile programs/wscript/tests enable_tests
  19488. wine_fn_config_makefile programs/wuauserv enable_wuauserv
  19489. wine_fn_config_makefile programs/wusa enable_wusa
  19490. wine_fn_config_makefile programs/xcopy enable_xcopy
  19491. wine_fn_config_makefile programs/xcopy/tests enable_tests
  19492. wine_fn_config_makefile server enable_server
  19493. test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
  19494. test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
  19495. test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
  19496. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
  19497. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
  19498. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
  19499. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
  19500. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
  19501. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
  19502. wine_fn_append_file CONFIGURE_TARGETS "TAGS"
  19503. wine_fn_append_file CONFIGURE_TARGETS "tags"
  19504. wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
  19505. wine_fn_append_file CONFIGURE_TARGETS "config.log"
  19506. wine_fn_append_file CONFIGURE_TARGETS "config.status"
  19507. wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
  19508. wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
  19509. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
  19510. if test "x$enable_tools" != xno
  19511. then
  19512. wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
  19513. ac_config_commands="$ac_config_commands tools/makedep"
  19514. fi
  19515. ac_config_commands="$ac_config_commands Makefile"
  19516. ac_config_files="$ac_config_files Make.tmp:Makefile.in"
  19517. if test "x$enable_maintainer_mode" = xyes
  19518. then
  19519. wine_fn_append_rule "configure: configure.ac aclocal.m4
  19520. autoconf --warnings=all
  19521. include/config.h.in: include/stamp-h.in
  19522. include/stamp-h.in: configure.ac aclocal.m4
  19523. autoheader --warnings=all
  19524. @echo timestamp > \$@"
  19525. fi
  19526. if test "x$enable_tools" != xno
  19527. then
  19528. wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
  19529. @./config.status tools/makedep
  19530. Makefile: tools/makedep$ac_exeext
  19531. fonts: tools/sfnt2fon
  19532. include: tools tools/widl"
  19533. else
  19534. wine_fn_append_rule "\$(MAKEDEP):
  19535. @echo \"You need to run make in $TOOLSDIR first\" && false"
  19536. fi
  19537. if test -n "$with_wine64"
  19538. then
  19539. case "$with_wine64" in
  19540. /*) reldir="" ;;
  19541. *) reldir="../" ;;
  19542. esac
  19543. rm -f fonts server 2>/dev/null
  19544. wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
  19545. loader/wine64 loader/wine64-preloader:
  19546. rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
  19547. $with_wine64/loader/wine:
  19548. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
  19549. $with_wine64/loader/wine-preloader:
  19550. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
  19551. clean::
  19552. rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
  19553. else
  19554. TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
  19555. TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
  19556. fonts \
  19557. loader/wine.inf \
  19558. loader/winebus.inf \
  19559. loader/winehid.inf \
  19560. loader/wineusb.inf \
  19561. nls \
  19562. programs/msidb/msidb \
  19563. programs/msiexec/msiexec \
  19564. programs/notepad/notepad \
  19565. programs/regedit/regedit \
  19566. programs/regsvr32/regsvr32 \
  19567. programs/wineboot/wineboot \
  19568. programs/winecfg/winecfg \
  19569. programs/wineconsole/wineconsole \
  19570. programs/winedbg/winedbg \
  19571. programs/winefile/winefile \
  19572. programs/winemine/winemine \
  19573. programs/winepath/winepath \
  19574. server/wineserver"
  19575. case $host_os in
  19576. cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
  19577. *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
  19578. esac
  19579. fi
  19580. $as_echo " done" >&6
  19581. cat >confcache <<\_ACEOF
  19582. # This file is a shell script that caches the results of configure
  19583. # tests run on this system so they can be shared between configure
  19584. # scripts and configure runs, see configure's option --config-cache.
  19585. # It is not useful on other systems. If it contains results you don't
  19586. # want to keep, you may remove or edit it.
  19587. #
  19588. # config.status only pays attention to the cache file if you give it
  19589. # the --recheck option to rerun configure.
  19590. #
  19591. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  19592. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  19593. # following values.
  19594. _ACEOF
  19595. # The following way of writing the cache mishandles newlines in values,
  19596. # but we know of no workaround that is simple, portable, and efficient.
  19597. # So, we kill variables containing newlines.
  19598. # Ultrix sh set writes to stderr and can't be redirected directly,
  19599. # and sets the high bit in the cache file unless we assign to the vars.
  19600. (
  19601. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  19602. eval ac_val=\$$ac_var
  19603. case $ac_val in #(
  19604. *${as_nl}*)
  19605. case $ac_var in #(
  19606. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  19607. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  19608. esac
  19609. case $ac_var in #(
  19610. _ | IFS | as_nl) ;; #(
  19611. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  19612. *) { eval $ac_var=; unset $ac_var;} ;;
  19613. esac ;;
  19614. esac
  19615. done
  19616. (set) 2>&1 |
  19617. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  19618. *${as_nl}ac_space=\ *)
  19619. # `set' does not quote correctly, so add quotes: double-quote
  19620. # substitution turns \\\\ into \\, and sed turns \\ into \.
  19621. sed -n \
  19622. "s/'/'\\\\''/g;
  19623. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  19624. ;; #(
  19625. *)
  19626. # `set' quotes correctly as required by POSIX, so do not add quotes.
  19627. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  19628. ;;
  19629. esac |
  19630. sort
  19631. ) |
  19632. sed '
  19633. /^ac_cv_env_/b end
  19634. t clear
  19635. :clear
  19636. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  19637. t end
  19638. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  19639. :end' >>confcache
  19640. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  19641. if test -w "$cache_file"; then
  19642. if test "x$cache_file" != "x/dev/null"; then
  19643. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  19644. $as_echo "$as_me: updating cache $cache_file" >&6;}
  19645. if test ! -f "$cache_file" || test -h "$cache_file"; then
  19646. cat confcache >"$cache_file"
  19647. else
  19648. case $cache_file in #(
  19649. */* | ?:*)
  19650. mv -f confcache "$cache_file"$$ &&
  19651. mv -f "$cache_file"$$ "$cache_file" ;; #(
  19652. *)
  19653. mv -f confcache "$cache_file" ;;
  19654. esac
  19655. fi
  19656. fi
  19657. else
  19658. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  19659. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  19660. fi
  19661. fi
  19662. rm -f confcache
  19663. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  19664. # Let make expand exec_prefix.
  19665. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  19666. DEFS=-DHAVE_CONFIG_H
  19667. ac_libobjs=
  19668. ac_ltlibobjs=
  19669. U=
  19670. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  19671. # 1. Remove the extension, and $U if already installed.
  19672. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  19673. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  19674. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  19675. # will be set to the directory where LIBOBJS objects are built.
  19676. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  19677. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  19678. done
  19679. LIBOBJS=$ac_libobjs
  19680. LTLIBOBJS=$ac_ltlibobjs
  19681. : "${CONFIG_STATUS=./config.status}"
  19682. ac_write_fail=0
  19683. ac_clean_files_save=$ac_clean_files
  19684. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  19685. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  19686. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  19687. as_write_fail=0
  19688. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  19689. #! $SHELL
  19690. # Generated by $as_me.
  19691. # Run this file to recreate the current configuration.
  19692. # Compiler output produced by configure, useful for debugging
  19693. # configure, is in config.log if it exists.
  19694. debug=false
  19695. ac_cs_recheck=false
  19696. ac_cs_silent=false
  19697. SHELL=\${CONFIG_SHELL-$SHELL}
  19698. export SHELL
  19699. _ASEOF
  19700. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  19701. ## -------------------- ##
  19702. ## M4sh Initialization. ##
  19703. ## -------------------- ##
  19704. # Be more Bourne compatible
  19705. DUALCASE=1; export DUALCASE # for MKS sh
  19706. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19707. emulate sh
  19708. NULLCMD=:
  19709. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  19710. # is contrary to our usage. Disable this feature.
  19711. alias -g '${1+"$@"}'='"$@"'
  19712. setopt NO_GLOB_SUBST
  19713. else
  19714. case `(set -o) 2>/dev/null` in #(
  19715. *posix*) :
  19716. set -o posix ;; #(
  19717. *) :
  19718. ;;
  19719. esac
  19720. fi
  19721. as_nl='
  19722. '
  19723. export as_nl
  19724. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  19725. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  19726. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  19727. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  19728. # Prefer a ksh shell builtin over an external printf program on Solaris,
  19729. # but without wasting forks for bash or zsh.
  19730. if test -z "$BASH_VERSION$ZSH_VERSION" \
  19731. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  19732. as_echo='print -r --'
  19733. as_echo_n='print -rn --'
  19734. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  19735. as_echo='printf %s\n'
  19736. as_echo_n='printf %s'
  19737. else
  19738. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  19739. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  19740. as_echo_n='/usr/ucb/echo -n'
  19741. else
  19742. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  19743. as_echo_n_body='eval
  19744. arg=$1;
  19745. case $arg in #(
  19746. *"$as_nl"*)
  19747. expr "X$arg" : "X\\(.*\\)$as_nl";
  19748. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  19749. esac;
  19750. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  19751. '
  19752. export as_echo_n_body
  19753. as_echo_n='sh -c $as_echo_n_body as_echo'
  19754. fi
  19755. export as_echo_body
  19756. as_echo='sh -c $as_echo_body as_echo'
  19757. fi
  19758. # The user is always right.
  19759. if test "${PATH_SEPARATOR+set}" != set; then
  19760. PATH_SEPARATOR=:
  19761. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  19762. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  19763. PATH_SEPARATOR=';'
  19764. }
  19765. fi
  19766. # IFS
  19767. # We need space, tab and new line, in precisely that order. Quoting is
  19768. # there to prevent editors from complaining about space-tab.
  19769. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  19770. # splitting by setting IFS to empty value.)
  19771. IFS=" "" $as_nl"
  19772. # Find who we are. Look in the path if we contain no directory separator.
  19773. as_myself=
  19774. case $0 in #((
  19775. *[\\/]* ) as_myself=$0 ;;
  19776. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19777. for as_dir in $PATH
  19778. do
  19779. IFS=$as_save_IFS
  19780. test -z "$as_dir" && as_dir=.
  19781. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  19782. done
  19783. IFS=$as_save_IFS
  19784. ;;
  19785. esac
  19786. # We did not find ourselves, most probably we were run as `sh COMMAND'
  19787. # in which case we are not to be found in the path.
  19788. if test "x$as_myself" = x; then
  19789. as_myself=$0
  19790. fi
  19791. if test ! -f "$as_myself"; then
  19792. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  19793. exit 1
  19794. fi
  19795. # Unset variables that we do not need and which cause bugs (e.g. in
  19796. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  19797. # suppresses any "Segmentation fault" message there. '((' could
  19798. # trigger a bug in pdksh 5.2.14.
  19799. for as_var in BASH_ENV ENV MAIL MAILPATH
  19800. do eval test x\${$as_var+set} = xset \
  19801. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  19802. done
  19803. PS1='$ '
  19804. PS2='> '
  19805. PS4='+ '
  19806. # NLS nuisances.
  19807. LC_ALL=C
  19808. export LC_ALL
  19809. LANGUAGE=C
  19810. export LANGUAGE
  19811. # CDPATH.
  19812. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  19813. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  19814. # ----------------------------------------
  19815. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  19816. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  19817. # script with STATUS, using 1 if that was 0.
  19818. as_fn_error ()
  19819. {
  19820. as_status=$1; test $as_status -eq 0 && as_status=1
  19821. if test "$4"; then
  19822. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  19823. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  19824. fi
  19825. $as_echo "$as_me: error: $2" >&2
  19826. as_fn_exit $as_status
  19827. } # as_fn_error
  19828. # as_fn_set_status STATUS
  19829. # -----------------------
  19830. # Set $? to STATUS, without forking.
  19831. as_fn_set_status ()
  19832. {
  19833. return $1
  19834. } # as_fn_set_status
  19835. # as_fn_exit STATUS
  19836. # -----------------
  19837. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  19838. as_fn_exit ()
  19839. {
  19840. set +e
  19841. as_fn_set_status $1
  19842. exit $1
  19843. } # as_fn_exit
  19844. # as_fn_unset VAR
  19845. # ---------------
  19846. # Portably unset VAR.
  19847. as_fn_unset ()
  19848. {
  19849. { eval $1=; unset $1;}
  19850. }
  19851. as_unset=as_fn_unset
  19852. # as_fn_append VAR VALUE
  19853. # ----------------------
  19854. # Append the text in VALUE to the end of the definition contained in VAR. Take
  19855. # advantage of any shell optimizations that allow amortized linear growth over
  19856. # repeated appends, instead of the typical quadratic growth present in naive
  19857. # implementations.
  19858. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  19859. eval 'as_fn_append ()
  19860. {
  19861. eval $1+=\$2
  19862. }'
  19863. else
  19864. as_fn_append ()
  19865. {
  19866. eval $1=\$$1\$2
  19867. }
  19868. fi # as_fn_append
  19869. # as_fn_arith ARG...
  19870. # ------------------
  19871. # Perform arithmetic evaluation on the ARGs, and store the result in the
  19872. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  19873. # must be portable across $(()) and expr.
  19874. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  19875. eval 'as_fn_arith ()
  19876. {
  19877. as_val=$(( $* ))
  19878. }'
  19879. else
  19880. as_fn_arith ()
  19881. {
  19882. as_val=`expr "$@" || test $? -eq 1`
  19883. }
  19884. fi # as_fn_arith
  19885. if expr a : '\(a\)' >/dev/null 2>&1 &&
  19886. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  19887. as_expr=expr
  19888. else
  19889. as_expr=false
  19890. fi
  19891. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  19892. as_basename=basename
  19893. else
  19894. as_basename=false
  19895. fi
  19896. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  19897. as_dirname=dirname
  19898. else
  19899. as_dirname=false
  19900. fi
  19901. as_me=`$as_basename -- "$0" ||
  19902. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  19903. X"$0" : 'X\(//\)$' \| \
  19904. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  19905. $as_echo X/"$0" |
  19906. sed '/^.*\/\([^/][^/]*\)\/*$/{
  19907. s//\1/
  19908. q
  19909. }
  19910. /^X\/\(\/\/\)$/{
  19911. s//\1/
  19912. q
  19913. }
  19914. /^X\/\(\/\).*/{
  19915. s//\1/
  19916. q
  19917. }
  19918. s/.*/./; q'`
  19919. # Avoid depending upon Character Ranges.
  19920. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  19921. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  19922. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  19923. as_cr_digits='0123456789'
  19924. as_cr_alnum=$as_cr_Letters$as_cr_digits
  19925. ECHO_C= ECHO_N= ECHO_T=
  19926. case `echo -n x` in #(((((
  19927. -n*)
  19928. case `echo 'xy\c'` in
  19929. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  19930. xy) ECHO_C='\c';;
  19931. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  19932. ECHO_T=' ';;
  19933. esac;;
  19934. *)
  19935. ECHO_N='-n';;
  19936. esac
  19937. rm -f conf$$ conf$$.exe conf$$.file
  19938. if test -d conf$$.dir; then
  19939. rm -f conf$$.dir/conf$$.file
  19940. else
  19941. rm -f conf$$.dir
  19942. mkdir conf$$.dir 2>/dev/null
  19943. fi
  19944. if (echo >conf$$.file) 2>/dev/null; then
  19945. if ln -s conf$$.file conf$$ 2>/dev/null; then
  19946. as_ln_s='ln -s'
  19947. # ... but there are two gotchas:
  19948. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  19949. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  19950. # In both cases, we have to default to `cp -pR'.
  19951. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  19952. as_ln_s='cp -pR'
  19953. elif ln conf$$.file conf$$ 2>/dev/null; then
  19954. as_ln_s=ln
  19955. else
  19956. as_ln_s='cp -pR'
  19957. fi
  19958. else
  19959. as_ln_s='cp -pR'
  19960. fi
  19961. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  19962. rmdir conf$$.dir 2>/dev/null
  19963. # as_fn_mkdir_p
  19964. # -------------
  19965. # Create "$as_dir" as a directory, including parents if necessary.
  19966. as_fn_mkdir_p ()
  19967. {
  19968. case $as_dir in #(
  19969. -*) as_dir=./$as_dir;;
  19970. esac
  19971. test -d "$as_dir" || eval $as_mkdir_p || {
  19972. as_dirs=
  19973. while :; do
  19974. case $as_dir in #(
  19975. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  19976. *) as_qdir=$as_dir;;
  19977. esac
  19978. as_dirs="'$as_qdir' $as_dirs"
  19979. as_dir=`$as_dirname -- "$as_dir" ||
  19980. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  19981. X"$as_dir" : 'X\(//\)[^/]' \| \
  19982. X"$as_dir" : 'X\(//\)$' \| \
  19983. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  19984. $as_echo X"$as_dir" |
  19985. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  19986. s//\1/
  19987. q
  19988. }
  19989. /^X\(\/\/\)[^/].*/{
  19990. s//\1/
  19991. q
  19992. }
  19993. /^X\(\/\/\)$/{
  19994. s//\1/
  19995. q
  19996. }
  19997. /^X\(\/\).*/{
  19998. s//\1/
  19999. q
  20000. }
  20001. s/.*/./; q'`
  20002. test -d "$as_dir" && break
  20003. done
  20004. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20005. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  20006. } # as_fn_mkdir_p
  20007. if mkdir -p . 2>/dev/null; then
  20008. as_mkdir_p='mkdir -p "$as_dir"'
  20009. else
  20010. test -d ./-p && rmdir ./-p
  20011. as_mkdir_p=false
  20012. fi
  20013. # as_fn_executable_p FILE
  20014. # -----------------------
  20015. # Test if FILE is an executable regular file.
  20016. as_fn_executable_p ()
  20017. {
  20018. test -f "$1" && test -x "$1"
  20019. } # as_fn_executable_p
  20020. as_test_x='test -x'
  20021. as_executable_p=as_fn_executable_p
  20022. # Sed expression to map a string onto a valid CPP name.
  20023. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  20024. # Sed expression to map a string onto a valid variable name.
  20025. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  20026. exec 6>&1
  20027. ## ----------------------------------- ##
  20028. ## Main body of $CONFIG_STATUS script. ##
  20029. ## ----------------------------------- ##
  20030. _ASEOF
  20031. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  20032. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20033. # Save the log message, to keep $0 and so on meaningful, and to
  20034. # report actual input values of CONFIG_FILES etc. instead of their
  20035. # values after options handling.
  20036. ac_log="
  20037. This file was extended by Wine $as_me 5.7, which was
  20038. generated by GNU Autoconf 2.69. Invocation command line was
  20039. CONFIG_FILES = $CONFIG_FILES
  20040. CONFIG_HEADERS = $CONFIG_HEADERS
  20041. CONFIG_LINKS = $CONFIG_LINKS
  20042. CONFIG_COMMANDS = $CONFIG_COMMANDS
  20043. $ $0 $@
  20044. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  20045. "
  20046. _ACEOF
  20047. case $ac_config_files in *"
  20048. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  20049. esac
  20050. case $ac_config_headers in *"
  20051. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  20052. esac
  20053. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20054. # Files that config.status was made for.
  20055. config_files="$ac_config_files"
  20056. config_headers="$ac_config_headers"
  20057. config_links="$ac_config_links"
  20058. config_commands="$ac_config_commands"
  20059. _ACEOF
  20060. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20061. ac_cs_usage="\
  20062. \`$as_me' instantiates files and other configuration actions
  20063. from templates according to the current configuration. Unless the files
  20064. and actions are specified as TAGs, all are instantiated by default.
  20065. Usage: $0 [OPTION]... [TAG]...
  20066. -h, --help print this help, then exit
  20067. -V, --version print version number and configuration settings, then exit
  20068. --config print configuration, then exit
  20069. -q, --quiet, --silent
  20070. do not print progress messages
  20071. -d, --debug don't remove temporary files
  20072. --recheck update $as_me by reconfiguring in the same conditions
  20073. --file=FILE[:TEMPLATE]
  20074. instantiate the configuration file FILE
  20075. --header=FILE[:TEMPLATE]
  20076. instantiate the configuration header FILE
  20077. Configuration files:
  20078. $config_files
  20079. Configuration headers:
  20080. $config_headers
  20081. Configuration links:
  20082. $config_links
  20083. Configuration commands:
  20084. $config_commands
  20085. Report bugs to <wine-devel@winehq.org>.
  20086. Wine home page: <https://www.winehq.org>."
  20087. _ACEOF
  20088. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20089. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  20090. ac_cs_version="\\
  20091. Wine config.status 5.7
  20092. configured by $0, generated by GNU Autoconf 2.69,
  20093. with options \\"\$ac_cs_config\\"
  20094. Copyright (C) 2012 Free Software Foundation, Inc.
  20095. This config.status script is free software; the Free Software Foundation
  20096. gives unlimited permission to copy, distribute and modify it."
  20097. ac_pwd='$ac_pwd'
  20098. srcdir='$srcdir'
  20099. test -n "\$AWK" || AWK=awk
  20100. _ACEOF
  20101. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20102. # The default lists apply if the user does not specify any file.
  20103. ac_need_defaults=:
  20104. while test $# != 0
  20105. do
  20106. case $1 in
  20107. --*=?*)
  20108. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20109. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  20110. ac_shift=:
  20111. ;;
  20112. --*=)
  20113. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20114. ac_optarg=
  20115. ac_shift=:
  20116. ;;
  20117. *)
  20118. ac_option=$1
  20119. ac_optarg=$2
  20120. ac_shift=shift
  20121. ;;
  20122. esac
  20123. case $ac_option in
  20124. # Handling of the options.
  20125. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  20126. ac_cs_recheck=: ;;
  20127. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  20128. $as_echo "$ac_cs_version"; exit ;;
  20129. --config | --confi | --conf | --con | --co | --c )
  20130. $as_echo "$ac_cs_config"; exit ;;
  20131. --debug | --debu | --deb | --de | --d | -d )
  20132. debug=: ;;
  20133. --file | --fil | --fi | --f )
  20134. $ac_shift
  20135. case $ac_optarg in
  20136. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  20137. '') as_fn_error $? "missing file argument" ;;
  20138. esac
  20139. as_fn_append CONFIG_FILES " '$ac_optarg'"
  20140. ac_need_defaults=false;;
  20141. --header | --heade | --head | --hea )
  20142. $ac_shift
  20143. case $ac_optarg in
  20144. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  20145. esac
  20146. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  20147. ac_need_defaults=false;;
  20148. --he | --h)
  20149. # Conflict between --help and --header
  20150. as_fn_error $? "ambiguous option: \`$1'
  20151. Try \`$0 --help' for more information.";;
  20152. --help | --hel | -h )
  20153. $as_echo "$ac_cs_usage"; exit ;;
  20154. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  20155. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  20156. ac_cs_silent=: ;;
  20157. # This is an error.
  20158. -*) as_fn_error $? "unrecognized option: \`$1'
  20159. Try \`$0 --help' for more information." ;;
  20160. *) as_fn_append ac_config_targets " $1"
  20161. ac_need_defaults=false ;;
  20162. esac
  20163. shift
  20164. done
  20165. ac_configure_extra_args=
  20166. if $ac_cs_silent; then
  20167. exec 6>/dev/null
  20168. ac_configure_extra_args="$ac_configure_extra_args --silent"
  20169. fi
  20170. _ACEOF
  20171. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20172. if \$ac_cs_recheck; then
  20173. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  20174. shift
  20175. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  20176. CONFIG_SHELL='$SHELL'
  20177. export CONFIG_SHELL
  20178. exec "\$@"
  20179. fi
  20180. _ACEOF
  20181. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20182. exec 5>>config.log
  20183. {
  20184. echo
  20185. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  20186. ## Running $as_me. ##
  20187. _ASBOX
  20188. $as_echo "$ac_log"
  20189. } >&5
  20190. _ACEOF
  20191. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20192. #
  20193. # INIT-COMMANDS
  20194. #
  20195. wine_fn_output_makedep ()
  20196. {
  20197. as_dir=tools; as_fn_mkdir_p
  20198. $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
  20199. }
  20200. wine_fn_output_makefile ()
  20201. {
  20202. cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
  20203. `cat $wine_rules_file`
  20204. _WINE_EOF
  20205. as_fn_error $? "could not create Makefile" "$LINENO" 5
  20206. }
  20207. _ACEOF
  20208. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20209. # Handling of arguments.
  20210. for ac_config_target in $ac_config_targets
  20211. do
  20212. case $ac_config_target in
  20213. "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  20214. "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
  20215. "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
  20216. "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
  20217. "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
  20218. "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
  20219. "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
  20220. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  20221. esac
  20222. done
  20223. # If the user did not use the arguments to specify the items to instantiate,
  20224. # then the envvar interface is used. Set only those that are not.
  20225. # We use the long form for the default assignment because of an extremely
  20226. # bizarre bug on SunOS 4.1.3.
  20227. if $ac_need_defaults; then
  20228. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  20229. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  20230. test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
  20231. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  20232. fi
  20233. # Have a temporary directory for convenience. Make it in the build tree
  20234. # simply because there is no reason against having it here, and in addition,
  20235. # creating and moving files from /tmp can sometimes cause problems.
  20236. # Hook for its removal unless debugging.
  20237. # Note that there is a small window in which the directory will not be cleaned:
  20238. # after its creation but before its name has been assigned to `$tmp'.
  20239. $debug ||
  20240. {
  20241. tmp= ac_tmp=
  20242. trap 'exit_status=$?
  20243. : "${ac_tmp:=$tmp}"
  20244. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  20245. ' 0
  20246. trap 'as_fn_exit 1' 1 2 13 15
  20247. }
  20248. # Create a (secure) tmp directory for tmp files.
  20249. {
  20250. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  20251. test -d "$tmp"
  20252. } ||
  20253. {
  20254. tmp=./conf$$-$RANDOM
  20255. (umask 077 && mkdir "$tmp")
  20256. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  20257. ac_tmp=$tmp
  20258. # Set up the scripts for CONFIG_FILES section.
  20259. # No need to generate them if there are no CONFIG_FILES.
  20260. # This happens for instance with `./config.status config.h'.
  20261. if test -n "$CONFIG_FILES"; then
  20262. ac_cr=`echo X | tr X '\015'`
  20263. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  20264. # But we know of no other shell where ac_cr would be empty at this
  20265. # point, so we can use a bashism as a fallback.
  20266. if test "x$ac_cr" = x; then
  20267. eval ac_cr=\$\'\\r\'
  20268. fi
  20269. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  20270. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  20271. ac_cs_awk_cr='\\r'
  20272. else
  20273. ac_cs_awk_cr=$ac_cr
  20274. fi
  20275. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  20276. _ACEOF
  20277. {
  20278. echo "cat >conf$$subs.awk <<_ACEOF" &&
  20279. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  20280. echo "_ACEOF"
  20281. } >conf$$subs.sh ||
  20282. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20283. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  20284. ac_delim='%!_!# '
  20285. for ac_last_try in false false false false false :; do
  20286. . ./conf$$subs.sh ||
  20287. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20288. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  20289. if test $ac_delim_n = $ac_delim_num; then
  20290. break
  20291. elif $ac_last_try; then
  20292. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20293. else
  20294. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20295. fi
  20296. done
  20297. rm -f conf$$subs.sh
  20298. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20299. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  20300. _ACEOF
  20301. sed -n '
  20302. h
  20303. s/^/S["/; s/!.*/"]=/
  20304. p
  20305. g
  20306. s/^[^!]*!//
  20307. :repl
  20308. t repl
  20309. s/'"$ac_delim"'$//
  20310. t delim
  20311. :nl
  20312. h
  20313. s/\(.\{148\}\)..*/\1/
  20314. t more1
  20315. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  20316. p
  20317. n
  20318. b repl
  20319. :more1
  20320. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20321. p
  20322. g
  20323. s/.\{148\}//
  20324. t nl
  20325. :delim
  20326. h
  20327. s/\(.\{148\}\)..*/\1/
  20328. t more2
  20329. s/["\\]/\\&/g; s/^/"/; s/$/"/
  20330. p
  20331. b
  20332. :more2
  20333. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20334. p
  20335. g
  20336. s/.\{148\}//
  20337. t delim
  20338. ' <conf$$subs.awk | sed '
  20339. /^[^""]/{
  20340. N
  20341. s/\n//
  20342. }
  20343. ' >>$CONFIG_STATUS || ac_write_fail=1
  20344. rm -f conf$$subs.awk
  20345. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20346. _ACAWK
  20347. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  20348. for (key in S) S_is_set[key] = 1
  20349. FS = ""
  20350. }
  20351. {
  20352. line = $ 0
  20353. nfields = split(line, field, "@")
  20354. substed = 0
  20355. len = length(field[1])
  20356. for (i = 2; i < nfields; i++) {
  20357. key = field[i]
  20358. keylen = length(key)
  20359. if (S_is_set[key]) {
  20360. value = S[key]
  20361. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  20362. len += length(value) + length(field[++i])
  20363. substed = 1
  20364. } else
  20365. len += 1 + keylen
  20366. }
  20367. print line
  20368. }
  20369. _ACAWK
  20370. _ACEOF
  20371. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20372. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  20373. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  20374. else
  20375. cat
  20376. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  20377. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  20378. _ACEOF
  20379. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  20380. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  20381. # trailing colons and then remove the whole line if VPATH becomes empty
  20382. # (actually we leave an empty line to preserve line numbers).
  20383. if test "x$srcdir" = x.; then
  20384. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  20385. h
  20386. s///
  20387. s/^/:/
  20388. s/[ ]*$/:/
  20389. s/:\$(srcdir):/:/g
  20390. s/:\${srcdir}:/:/g
  20391. s/:@srcdir@:/:/g
  20392. s/^:*//
  20393. s/:*$//
  20394. x
  20395. s/\(=[ ]*\).*/\1/
  20396. G
  20397. s/\n//
  20398. s/^[^=]*=[ ]*$//
  20399. }'
  20400. fi
  20401. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20402. fi # test -n "$CONFIG_FILES"
  20403. # Set up the scripts for CONFIG_HEADERS section.
  20404. # No need to generate them if there are no CONFIG_HEADERS.
  20405. # This happens for instance with `./config.status Makefile'.
  20406. if test -n "$CONFIG_HEADERS"; then
  20407. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  20408. BEGIN {
  20409. _ACEOF
  20410. # Transform confdefs.h into an awk script `defines.awk', embedded as
  20411. # here-document in config.status, that substitutes the proper values into
  20412. # config.h.in to produce config.h.
  20413. # Create a delimiter string that does not exist in confdefs.h, to ease
  20414. # handling of long lines.
  20415. ac_delim='%!_!# '
  20416. for ac_last_try in false false :; do
  20417. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  20418. if test -z "$ac_tt"; then
  20419. break
  20420. elif $ac_last_try; then
  20421. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  20422. else
  20423. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20424. fi
  20425. done
  20426. # For the awk script, D is an array of macro values keyed by name,
  20427. # likewise P contains macro parameters if any. Preserve backslash
  20428. # newline sequences.
  20429. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  20430. sed -n '
  20431. s/.\{148\}/&'"$ac_delim"'/g
  20432. t rset
  20433. :rset
  20434. s/^[ ]*#[ ]*define[ ][ ]*/ /
  20435. t def
  20436. d
  20437. :def
  20438. s/\\$//
  20439. t bsnl
  20440. s/["\\]/\\&/g
  20441. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20442. D["\1"]=" \3"/p
  20443. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  20444. d
  20445. :bsnl
  20446. s/["\\]/\\&/g
  20447. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20448. D["\1"]=" \3\\\\\\n"\\/p
  20449. t cont
  20450. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  20451. t cont
  20452. d
  20453. :cont
  20454. n
  20455. s/.\{148\}/&'"$ac_delim"'/g
  20456. t clear
  20457. :clear
  20458. s/\\$//
  20459. t bsnlc
  20460. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  20461. d
  20462. :bsnlc
  20463. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  20464. b cont
  20465. ' <confdefs.h | sed '
  20466. s/'"$ac_delim"'/"\\\
  20467. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  20468. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20469. for (key in D) D_is_set[key] = 1
  20470. FS = ""
  20471. }
  20472. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  20473. line = \$ 0
  20474. split(line, arg, " ")
  20475. if (arg[1] == "#") {
  20476. defundef = arg[2]
  20477. mac1 = arg[3]
  20478. } else {
  20479. defundef = substr(arg[1], 2)
  20480. mac1 = arg[2]
  20481. }
  20482. split(mac1, mac2, "(") #)
  20483. macro = mac2[1]
  20484. prefix = substr(line, 1, index(line, defundef) - 1)
  20485. if (D_is_set[macro]) {
  20486. # Preserve the white space surrounding the "#".
  20487. print prefix "define", macro P[macro] D[macro]
  20488. next
  20489. } else {
  20490. # Replace #undef with comments. This is necessary, for example,
  20491. # in the case of _POSIX_SOURCE, which is predefined and required
  20492. # on some systems where configure will not decide to define it.
  20493. if (defundef == "undef") {
  20494. print "/*", prefix defundef, macro, "*/"
  20495. next
  20496. }
  20497. }
  20498. }
  20499. { print }
  20500. _ACAWK
  20501. _ACEOF
  20502. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20503. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  20504. fi # test -n "$CONFIG_HEADERS"
  20505. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  20506. shift
  20507. for ac_tag
  20508. do
  20509. case $ac_tag in
  20510. :[FHLC]) ac_mode=$ac_tag; continue;;
  20511. esac
  20512. case $ac_mode$ac_tag in
  20513. :[FHL]*:*);;
  20514. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  20515. :[FH]-) ac_tag=-:-;;
  20516. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  20517. esac
  20518. ac_save_IFS=$IFS
  20519. IFS=:
  20520. set x $ac_tag
  20521. IFS=$ac_save_IFS
  20522. shift
  20523. ac_file=$1
  20524. shift
  20525. case $ac_mode in
  20526. :L) ac_source=$1;;
  20527. :[FH])
  20528. ac_file_inputs=
  20529. for ac_f
  20530. do
  20531. case $ac_f in
  20532. -) ac_f="$ac_tmp/stdin";;
  20533. *) # Look for the file first in the build tree, then in the source tree
  20534. # (if the path is not absolute). The absolute path cannot be DOS-style,
  20535. # because $ac_f cannot contain `:'.
  20536. test -f "$ac_f" ||
  20537. case $ac_f in
  20538. [\\/$]*) false;;
  20539. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  20540. esac ||
  20541. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  20542. esac
  20543. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  20544. as_fn_append ac_file_inputs " '$ac_f'"
  20545. done
  20546. # Let's still pretend it is `configure' which instantiates (i.e., don't
  20547. # use $as_me), people would be surprised to read:
  20548. # /* config.h. Generated by config.status. */
  20549. configure_input='Generated from '`
  20550. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  20551. `' by configure.'
  20552. if test x"$ac_file" != x-; then
  20553. configure_input="$ac_file. $configure_input"
  20554. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  20555. $as_echo "$as_me: creating $ac_file" >&6;}
  20556. fi
  20557. # Neutralize special characters interpreted by sed in replacement strings.
  20558. case $configure_input in #(
  20559. *\&* | *\|* | *\\* )
  20560. ac_sed_conf_input=`$as_echo "$configure_input" |
  20561. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  20562. *) ac_sed_conf_input=$configure_input;;
  20563. esac
  20564. case $ac_tag in
  20565. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  20566. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  20567. esac
  20568. ;;
  20569. esac
  20570. ac_dir=`$as_dirname -- "$ac_file" ||
  20571. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20572. X"$ac_file" : 'X\(//\)[^/]' \| \
  20573. X"$ac_file" : 'X\(//\)$' \| \
  20574. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  20575. $as_echo X"$ac_file" |
  20576. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20577. s//\1/
  20578. q
  20579. }
  20580. /^X\(\/\/\)[^/].*/{
  20581. s//\1/
  20582. q
  20583. }
  20584. /^X\(\/\/\)$/{
  20585. s//\1/
  20586. q
  20587. }
  20588. /^X\(\/\).*/{
  20589. s//\1/
  20590. q
  20591. }
  20592. s/.*/./; q'`
  20593. as_dir="$ac_dir"; as_fn_mkdir_p
  20594. ac_builddir=.
  20595. case "$ac_dir" in
  20596. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20597. *)
  20598. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  20599. # A ".." for each directory in $ac_dir_suffix.
  20600. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  20601. case $ac_top_builddir_sub in
  20602. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20603. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  20604. esac ;;
  20605. esac
  20606. ac_abs_top_builddir=$ac_pwd
  20607. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  20608. # for backward compatibility:
  20609. ac_top_builddir=$ac_top_build_prefix
  20610. case $srcdir in
  20611. .) # We are building in place.
  20612. ac_srcdir=.
  20613. ac_top_srcdir=$ac_top_builddir_sub
  20614. ac_abs_top_srcdir=$ac_pwd ;;
  20615. [\\/]* | ?:[\\/]* ) # Absolute name.
  20616. ac_srcdir=$srcdir$ac_dir_suffix;
  20617. ac_top_srcdir=$srcdir
  20618. ac_abs_top_srcdir=$srcdir ;;
  20619. *) # Relative name.
  20620. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  20621. ac_top_srcdir=$ac_top_build_prefix$srcdir
  20622. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  20623. esac
  20624. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  20625. case $ac_mode in
  20626. :F)
  20627. #
  20628. # CONFIG_FILE
  20629. #
  20630. _ACEOF
  20631. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20632. # If the template does not know about datarootdir, expand it.
  20633. # FIXME: This hack should be removed a few years after 2.60.
  20634. ac_datarootdir_hack=; ac_datarootdir_seen=
  20635. ac_sed_dataroot='
  20636. /datarootdir/ {
  20637. p
  20638. q
  20639. }
  20640. /@datadir@/p
  20641. /@docdir@/p
  20642. /@infodir@/p
  20643. /@localedir@/p
  20644. /@mandir@/p'
  20645. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  20646. *datarootdir*) ac_datarootdir_seen=yes;;
  20647. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  20648. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  20649. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  20650. _ACEOF
  20651. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20652. ac_datarootdir_hack='
  20653. s&@datadir@&$datadir&g
  20654. s&@docdir@&$docdir&g
  20655. s&@infodir@&$infodir&g
  20656. s&@localedir@&$localedir&g
  20657. s&@mandir@&$mandir&g
  20658. s&\\\${datarootdir}&$datarootdir&g' ;;
  20659. esac
  20660. _ACEOF
  20661. # Neutralize VPATH when `$srcdir' = `.'.
  20662. # Shell code in configure.ac might set extrasub.
  20663. # FIXME: do we really want to maintain this feature?
  20664. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20665. ac_sed_extra="$ac_vpsub
  20666. $extrasub
  20667. _ACEOF
  20668. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20669. :t
  20670. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  20671. s|@configure_input@|$ac_sed_conf_input|;t t
  20672. s&@top_builddir@&$ac_top_builddir_sub&;t t
  20673. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  20674. s&@srcdir@&$ac_srcdir&;t t
  20675. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  20676. s&@top_srcdir@&$ac_top_srcdir&;t t
  20677. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  20678. s&@builddir@&$ac_builddir&;t t
  20679. s&@abs_builddir@&$ac_abs_builddir&;t t
  20680. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  20681. $ac_datarootdir_hack
  20682. "
  20683. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  20684. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20685. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  20686. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  20687. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  20688. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  20689. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20690. which seems to be undefined. Please make sure it is defined" >&5
  20691. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20692. which seems to be undefined. Please make sure it is defined" >&2;}
  20693. rm -f "$ac_tmp/stdin"
  20694. case $ac_file in
  20695. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  20696. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  20697. esac \
  20698. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20699. ;;
  20700. :H)
  20701. #
  20702. # CONFIG_HEADER
  20703. #
  20704. if test x"$ac_file" != x-; then
  20705. {
  20706. $as_echo "/* $configure_input */" \
  20707. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  20708. } >"$ac_tmp/config.h" \
  20709. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20710. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  20711. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  20712. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  20713. else
  20714. rm -f "$ac_file"
  20715. mv "$ac_tmp/config.h" "$ac_file" \
  20716. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20717. fi
  20718. else
  20719. $as_echo "/* $configure_input */" \
  20720. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  20721. || as_fn_error $? "could not create -" "$LINENO" 5
  20722. fi
  20723. ;;
  20724. :L)
  20725. #
  20726. # CONFIG_LINK
  20727. #
  20728. if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  20729. :
  20730. else
  20731. # Prefer the file from the source tree if names are identical.
  20732. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  20733. ac_source=$srcdir/$ac_source
  20734. fi
  20735. { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  20736. $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
  20737. if test ! -r "$ac_source"; then
  20738. as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  20739. fi
  20740. rm -f "$ac_file"
  20741. # Try a relative symlink, then a hard link, then a copy.
  20742. case $ac_source in
  20743. [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  20744. *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  20745. esac
  20746. ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  20747. ln "$ac_source" "$ac_file" 2>/dev/null ||
  20748. cp -p "$ac_source" "$ac_file" ||
  20749. as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  20750. fi
  20751. ;;
  20752. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  20753. $as_echo "$as_me: executing $ac_file commands" >&6;}
  20754. ;;
  20755. esac
  20756. case $ac_file$ac_mode in
  20757. "include/stamp-h":C) echo timestamp > include/stamp-h ;;
  20758. "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
  20759. "Makefile":C) wine_fn_output_makefile Makefile ;;
  20760. esac
  20761. done # for ac_tag
  20762. as_fn_exit 0
  20763. _ACEOF
  20764. ac_clean_files=$ac_clean_files_save
  20765. test $ac_write_fail = 0 ||
  20766. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  20767. # configure is writing to config.log, and then calls config.status.
  20768. # config.status does its own redirection, appending to config.log.
  20769. # Unfortunately, on DOS this fails, as config.log is still kept open
  20770. # by configure, so config.status won't be able to write to it; its
  20771. # output is simply discarded. So we exec the FD to /dev/null,
  20772. # effectively closing config.log, so it can be properly (re)opened and
  20773. # appended to by config.status. When coming back to configure, we
  20774. # need to make the FD available again.
  20775. if test "$no_create" != yes; then
  20776. ac_cs_success=:
  20777. ac_config_status_args=
  20778. test "$silent" = yes &&
  20779. ac_config_status_args="$ac_config_status_args --quiet"
  20780. exec 5>/dev/null
  20781. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  20782. exec 5>>config.log
  20783. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  20784. # would make configure fail if this is the last instruction.
  20785. $ac_cs_success || as_fn_exit 1
  20786. fi
  20787. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  20788. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  20789. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  20790. fi
  20791. if test "$no_create" = "yes"
  20792. then
  20793. exit 0
  20794. fi
  20795. ac_save_IFS="$IFS"
  20796. if test "x$wine_notices" != x; then
  20797. echo >&6
  20798. IFS="|"
  20799. for msg in $wine_notices; do
  20800. IFS="$ac_save_IFS"
  20801. if ${msg:+false} :; then :
  20802. else
  20803. { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
  20804. $as_echo "$as_me: $msg" >&6;}
  20805. fi
  20806. done
  20807. fi
  20808. IFS="|"
  20809. for msg in $wine_warnings; do
  20810. IFS="$ac_save_IFS"
  20811. if ${msg:+false} :; then :
  20812. else
  20813. echo >&2
  20814. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
  20815. $as_echo "$as_me: WARNING: $msg" >&2;}
  20816. fi
  20817. done
  20818. IFS="$ac_save_IFS"
  20819. $as_echo "
  20820. $as_me: Finished. Do '${ac_make}' to compile Wine.
  20821. " >&6