configure 700 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.71 for Wine 7.6.
  4. #
  5. # Report bugs to <wine-devel@winehq.org>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
  9. # Inc.
  10. #
  11. #
  12. # This configure script is free software; the Free Software Foundation
  13. # gives unlimited permission to copy, distribute and modify it.
  14. ## -------------------- ##
  15. ## M4sh Initialization. ##
  16. ## -------------------- ##
  17. # Be more Bourne compatible
  18. DUALCASE=1; export DUALCASE # for MKS sh
  19. as_nop=:
  20. if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  21. then :
  22. emulate sh
  23. NULLCMD=:
  24. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  25. # is contrary to our usage. Disable this feature.
  26. alias -g '${1+"$@"}'='"$@"'
  27. setopt NO_GLOB_SUBST
  28. else $as_nop
  29. case `(set -o) 2>/dev/null` in #(
  30. *posix*) :
  31. set -o posix ;; #(
  32. *) :
  33. ;;
  34. esac
  35. fi
  36. # Reset variables that may have inherited troublesome values from
  37. # the environment.
  38. # IFS needs to be set, to space, tab, and newline, in precisely that order.
  39. # (If _AS_PATH_WALK were called with IFS unset, it would have the
  40. # side effect of setting IFS to empty, thus disabling word splitting.)
  41. # Quoting is to prevent editors from complaining about space-tab.
  42. as_nl='
  43. '
  44. export as_nl
  45. IFS=" "" $as_nl"
  46. PS1='$ '
  47. PS2='> '
  48. PS4='+ '
  49. # Ensure predictable behavior from utilities with locale-dependent output.
  50. LC_ALL=C
  51. export LC_ALL
  52. LANGUAGE=C
  53. export LANGUAGE
  54. # We cannot yet rely on "unset" to work, but we need these variables
  55. # to be unset--not just set to an empty or harmless value--now, to
  56. # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
  57. # also avoids known problems related to "unset" and subshell syntax
  58. # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  59. for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  60. do eval test \${$as_var+y} \
  61. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  62. done
  63. # Ensure that fds 0, 1, and 2 are open.
  64. if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  65. if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  66. if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
  67. # The user is always right.
  68. if ${PATH_SEPARATOR+false} :; then
  69. PATH_SEPARATOR=:
  70. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  71. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  72. PATH_SEPARATOR=';'
  73. }
  74. fi
  75. # Find who we are. Look in the path if we contain no directory separator.
  76. as_myself=
  77. case $0 in #((
  78. *[\\/]* ) as_myself=$0 ;;
  79. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  80. for as_dir in $PATH
  81. do
  82. IFS=$as_save_IFS
  83. case $as_dir in #(((
  84. '') as_dir=./ ;;
  85. */) ;;
  86. *) as_dir=$as_dir/ ;;
  87. esac
  88. test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  89. done
  90. IFS=$as_save_IFS
  91. ;;
  92. esac
  93. # We did not find ourselves, most probably we were run as `sh COMMAND'
  94. # in which case we are not to be found in the path.
  95. if test "x$as_myself" = x; then
  96. as_myself=$0
  97. fi
  98. if test ! -f "$as_myself"; then
  99. printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  100. exit 1
  101. fi
  102. # Use a proper internal environment variable to ensure we don't fall
  103. # into an infinite loop, continuously re-executing ourselves.
  104. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  105. _as_can_reexec=no; export _as_can_reexec;
  106. # We cannot yet assume a decent shell, so we have to provide a
  107. # neutralization value for shells without unset; and this also
  108. # works around shells that cannot unset nonexistent variables.
  109. # Preserve -v and -x to the replacement shell.
  110. BASH_ENV=/dev/null
  111. ENV=/dev/null
  112. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  113. case $- in # ((((
  114. *v*x* | *x*v* ) as_opts=-vx ;;
  115. *v* ) as_opts=-v ;;
  116. *x* ) as_opts=-x ;;
  117. * ) as_opts= ;;
  118. esac
  119. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  120. # Admittedly, this is quite paranoid, since all the known shells bail
  121. # out after a failed `exec'.
  122. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
  123. exit 255
  124. fi
  125. # We don't want this to propagate to other subprocesses.
  126. { _as_can_reexec=; unset _as_can_reexec;}
  127. if test "x$CONFIG_SHELL" = x; then
  128. as_bourne_compatible="as_nop=:
  129. if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  130. then :
  131. emulate sh
  132. NULLCMD=:
  133. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  134. # is contrary to our usage. Disable this feature.
  135. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  136. setopt NO_GLOB_SUBST
  137. else \$as_nop
  138. case \`(set -o) 2>/dev/null\` in #(
  139. *posix*) :
  140. set -o posix ;; #(
  141. *) :
  142. ;;
  143. esac
  144. fi
  145. "
  146. as_required="as_fn_return () { (exit \$1); }
  147. as_fn_success () { as_fn_return 0; }
  148. as_fn_failure () { as_fn_return 1; }
  149. as_fn_ret_success () { return 0; }
  150. as_fn_ret_failure () { return 1; }
  151. exitcode=0
  152. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  153. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  154. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  155. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  156. if ( set x; as_fn_ret_success y && test x = \"\$1\" )
  157. then :
  158. else \$as_nop
  159. exitcode=1; echo positional parameters were not saved.
  160. fi
  161. test x\$exitcode = x0 || exit 1
  162. blah=\$(echo \$(echo blah))
  163. test x\"\$blah\" = xblah || exit 1
  164. test -x / || exit 1"
  165. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  166. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  167. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  168. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  169. test \$(( 1 + 1 )) = 2 || exit 1"
  170. if (eval "$as_required") 2>/dev/null
  171. then :
  172. as_have_required=yes
  173. else $as_nop
  174. as_have_required=no
  175. fi
  176. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
  177. then :
  178. else $as_nop
  179. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  180. as_found=false
  181. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  182. do
  183. IFS=$as_save_IFS
  184. case $as_dir in #(((
  185. '') as_dir=./ ;;
  186. */) ;;
  187. *) as_dir=$as_dir/ ;;
  188. esac
  189. as_found=:
  190. case $as_dir in #(
  191. /*)
  192. for as_base in sh bash ksh sh5; do
  193. # Try only shells that exist, to save several forks.
  194. as_shell=$as_dir$as_base
  195. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  196. as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
  197. then :
  198. CONFIG_SHELL=$as_shell as_have_required=yes
  199. if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
  200. then :
  201. break 2
  202. fi
  203. fi
  204. done;;
  205. esac
  206. as_found=false
  207. done
  208. IFS=$as_save_IFS
  209. if $as_found
  210. then :
  211. else $as_nop
  212. if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  213. as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
  214. then :
  215. CONFIG_SHELL=$SHELL as_have_required=yes
  216. fi
  217. fi
  218. if test "x$CONFIG_SHELL" != x
  219. then :
  220. export CONFIG_SHELL
  221. # We cannot yet assume a decent shell, so we have to provide a
  222. # neutralization value for shells without unset; and this also
  223. # works around shells that cannot unset nonexistent variables.
  224. # Preserve -v and -x to the replacement shell.
  225. BASH_ENV=/dev/null
  226. ENV=/dev/null
  227. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  228. case $- in # ((((
  229. *v*x* | *x*v* ) as_opts=-vx ;;
  230. *v* ) as_opts=-v ;;
  231. *x* ) as_opts=-x ;;
  232. * ) as_opts= ;;
  233. esac
  234. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  235. # Admittedly, this is quite paranoid, since all the known shells bail
  236. # out after a failed `exec'.
  237. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
  238. exit 255
  239. fi
  240. if test x$as_have_required = xno
  241. then :
  242. printf "%s\n" "$0: This script requires a shell more modern than all"
  243. printf "%s\n" "$0: the shells that I found on your system."
  244. if test ${ZSH_VERSION+y} ; then
  245. printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  246. printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
  247. else
  248. printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
  249. $0: wine-devel@winehq.org about your system, including any
  250. $0: error possibly output before this message. Then install
  251. $0: a modern shell, or manually run the script under such a
  252. $0: shell if you do have one."
  253. fi
  254. exit 1
  255. fi
  256. fi
  257. fi
  258. SHELL=${CONFIG_SHELL-/bin/sh}
  259. export SHELL
  260. # Unset more variables known to interfere with behavior of common tools.
  261. CLICOLOR_FORCE= GREP_OPTIONS=
  262. unset CLICOLOR_FORCE GREP_OPTIONS
  263. ## --------------------- ##
  264. ## M4sh Shell Functions. ##
  265. ## --------------------- ##
  266. # as_fn_unset VAR
  267. # ---------------
  268. # Portably unset VAR.
  269. as_fn_unset ()
  270. {
  271. { eval $1=; unset $1;}
  272. }
  273. as_unset=as_fn_unset
  274. # as_fn_set_status STATUS
  275. # -----------------------
  276. # Set $? to STATUS, without forking.
  277. as_fn_set_status ()
  278. {
  279. return $1
  280. } # as_fn_set_status
  281. # as_fn_exit STATUS
  282. # -----------------
  283. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  284. as_fn_exit ()
  285. {
  286. set +e
  287. as_fn_set_status $1
  288. exit $1
  289. } # as_fn_exit
  290. # as_fn_nop
  291. # ---------
  292. # Do nothing but, unlike ":", preserve the value of $?.
  293. as_fn_nop ()
  294. {
  295. return $?
  296. }
  297. as_nop=as_fn_nop
  298. # as_fn_mkdir_p
  299. # -------------
  300. # Create "$as_dir" as a directory, including parents if necessary.
  301. as_fn_mkdir_p ()
  302. {
  303. case $as_dir in #(
  304. -*) as_dir=./$as_dir;;
  305. esac
  306. test -d "$as_dir" || eval $as_mkdir_p || {
  307. as_dirs=
  308. while :; do
  309. case $as_dir in #(
  310. *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  311. *) as_qdir=$as_dir;;
  312. esac
  313. as_dirs="'$as_qdir' $as_dirs"
  314. as_dir=`$as_dirname -- "$as_dir" ||
  315. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  316. X"$as_dir" : 'X\(//\)[^/]' \| \
  317. X"$as_dir" : 'X\(//\)$' \| \
  318. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  319. printf "%s\n" X"$as_dir" |
  320. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  321. s//\1/
  322. q
  323. }
  324. /^X\(\/\/\)[^/].*/{
  325. s//\1/
  326. q
  327. }
  328. /^X\(\/\/\)$/{
  329. s//\1/
  330. q
  331. }
  332. /^X\(\/\).*/{
  333. s//\1/
  334. q
  335. }
  336. s/.*/./; q'`
  337. test -d "$as_dir" && break
  338. done
  339. test -z "$as_dirs" || eval "mkdir $as_dirs"
  340. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  341. } # as_fn_mkdir_p
  342. # as_fn_executable_p FILE
  343. # -----------------------
  344. # Test if FILE is an executable regular file.
  345. as_fn_executable_p ()
  346. {
  347. test -f "$1" && test -x "$1"
  348. } # as_fn_executable_p
  349. # as_fn_append VAR VALUE
  350. # ----------------------
  351. # Append the text in VALUE to the end of the definition contained in VAR. Take
  352. # advantage of any shell optimizations that allow amortized linear growth over
  353. # repeated appends, instead of the typical quadratic growth present in naive
  354. # implementations.
  355. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  356. then :
  357. eval 'as_fn_append ()
  358. {
  359. eval $1+=\$2
  360. }'
  361. else $as_nop
  362. as_fn_append ()
  363. {
  364. eval $1=\$$1\$2
  365. }
  366. fi # as_fn_append
  367. # as_fn_arith ARG...
  368. # ------------------
  369. # Perform arithmetic evaluation on the ARGs, and store the result in the
  370. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  371. # must be portable across $(()) and expr.
  372. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  373. then :
  374. eval 'as_fn_arith ()
  375. {
  376. as_val=$(( $* ))
  377. }'
  378. else $as_nop
  379. as_fn_arith ()
  380. {
  381. as_val=`expr "$@" || test $? -eq 1`
  382. }
  383. fi # as_fn_arith
  384. # as_fn_nop
  385. # ---------
  386. # Do nothing but, unlike ":", preserve the value of $?.
  387. as_fn_nop ()
  388. {
  389. return $?
  390. }
  391. as_nop=as_fn_nop
  392. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  393. # ----------------------------------------
  394. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  395. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  396. # script with STATUS, using 1 if that was 0.
  397. as_fn_error ()
  398. {
  399. as_status=$1; test $as_status -eq 0 && as_status=1
  400. if test "$4"; then
  401. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  402. printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  403. fi
  404. printf "%s\n" "$as_me: error: $2" >&2
  405. as_fn_exit $as_status
  406. } # as_fn_error
  407. if expr a : '\(a\)' >/dev/null 2>&1 &&
  408. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  409. as_expr=expr
  410. else
  411. as_expr=false
  412. fi
  413. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  414. as_basename=basename
  415. else
  416. as_basename=false
  417. fi
  418. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  419. as_dirname=dirname
  420. else
  421. as_dirname=false
  422. fi
  423. as_me=`$as_basename -- "$0" ||
  424. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  425. X"$0" : 'X\(//\)$' \| \
  426. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  427. printf "%s\n" X/"$0" |
  428. sed '/^.*\/\([^/][^/]*\)\/*$/{
  429. s//\1/
  430. q
  431. }
  432. /^X\/\(\/\/\)$/{
  433. s//\1/
  434. q
  435. }
  436. /^X\/\(\/\).*/{
  437. s//\1/
  438. q
  439. }
  440. s/.*/./; q'`
  441. # Avoid depending upon Character Ranges.
  442. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  443. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  444. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  445. as_cr_digits='0123456789'
  446. as_cr_alnum=$as_cr_Letters$as_cr_digits
  447. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  448. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  449. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  450. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  451. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  452. sed -n '
  453. p
  454. /[$]LINENO/=
  455. ' <$as_myself |
  456. sed '
  457. s/[$]LINENO.*/&-/
  458. t lineno
  459. b
  460. :lineno
  461. N
  462. :loop
  463. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  464. t loop
  465. s/-\n.*//
  466. ' >$as_me.lineno &&
  467. chmod +x "$as_me.lineno" ||
  468. { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  469. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  470. # already done that, so ensure we don't try to do so again and fall
  471. # in an infinite loop. This has already happened in practice.
  472. _as_can_reexec=no; export _as_can_reexec
  473. # Don't try to exec as it changes $[0], causing all sort of problems
  474. # (the dirname of $[0] is not the place where we might find the
  475. # original and so on. Autoconf is especially sensitive to this).
  476. . "./$as_me.lineno"
  477. # Exit status is that of the last command.
  478. exit
  479. }
  480. # Determine whether it's possible to make 'echo' print without a newline.
  481. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  482. # for compatibility with existing Makefiles.
  483. ECHO_C= ECHO_N= ECHO_T=
  484. case `echo -n x` in #(((((
  485. -n*)
  486. case `echo 'xy\c'` in
  487. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  488. xy) ECHO_C='\c';;
  489. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  490. ECHO_T=' ';;
  491. esac;;
  492. *)
  493. ECHO_N='-n';;
  494. esac
  495. # For backward compatibility with old third-party macros, we provide
  496. # the shell variables $as_echo and $as_echo_n. New code should use
  497. # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  498. as_echo='printf %s\n'
  499. as_echo_n='printf %s'
  500. rm -f conf$$ conf$$.exe conf$$.file
  501. if test -d conf$$.dir; then
  502. rm -f conf$$.dir/conf$$.file
  503. else
  504. rm -f conf$$.dir
  505. mkdir conf$$.dir 2>/dev/null
  506. fi
  507. if (echo >conf$$.file) 2>/dev/null; then
  508. if ln -s conf$$.file conf$$ 2>/dev/null; then
  509. as_ln_s='ln -s'
  510. # ... but there are two gotchas:
  511. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  512. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  513. # In both cases, we have to default to `cp -pR'.
  514. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  515. as_ln_s='cp -pR'
  516. elif ln conf$$.file conf$$ 2>/dev/null; then
  517. as_ln_s=ln
  518. else
  519. as_ln_s='cp -pR'
  520. fi
  521. else
  522. as_ln_s='cp -pR'
  523. fi
  524. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  525. rmdir conf$$.dir 2>/dev/null
  526. if mkdir -p . 2>/dev/null; then
  527. as_mkdir_p='mkdir -p "$as_dir"'
  528. else
  529. test -d ./-p && rmdir ./-p
  530. as_mkdir_p=false
  531. fi
  532. as_test_x='test -x'
  533. as_executable_p=as_fn_executable_p
  534. # Sed expression to map a string onto a valid CPP name.
  535. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  536. # Sed expression to map a string onto a valid variable name.
  537. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  538. test -n "$DJDIR" || exec 7<&0 </dev/null
  539. exec 6>&1
  540. # Name of the host.
  541. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  542. # so uname gets run too.
  543. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  544. #
  545. # Initializations.
  546. #
  547. ac_default_prefix=/usr/local
  548. ac_clean_files=
  549. ac_config_libobj_dir=.
  550. LIBOBJS=
  551. cross_compiling=no
  552. subdirs=
  553. MFLAGS=
  554. MAKEFLAGS=
  555. # Identity of this package.
  556. PACKAGE_NAME='Wine'
  557. PACKAGE_TARNAME='wine'
  558. PACKAGE_VERSION='7.6'
  559. PACKAGE_STRING='Wine 7.6'
  560. PACKAGE_BUGREPORT='wine-devel@winehq.org'
  561. PACKAGE_URL='https://www.winehq.org'
  562. ac_unique_file="server/atom.c"
  563. # Factoring default headers for most tests.
  564. ac_includes_default="\
  565. #include <stddef.h>
  566. #ifdef HAVE_STDIO_H
  567. # include <stdio.h>
  568. #endif
  569. #ifdef HAVE_STDLIB_H
  570. # include <stdlib.h>
  571. #endif
  572. #ifdef HAVE_STRING_H
  573. # include <string.h>
  574. #endif
  575. #ifdef HAVE_INTTYPES_H
  576. # include <inttypes.h>
  577. #endif
  578. #ifdef HAVE_STDINT_H
  579. # include <stdint.h>
  580. #endif
  581. #ifdef HAVE_STRINGS_H
  582. # include <strings.h>
  583. #endif
  584. #ifdef HAVE_SYS_TYPES_H
  585. # include <sys/types.h>
  586. #endif
  587. #ifdef HAVE_SYS_STAT_H
  588. # include <sys/stat.h>
  589. #endif
  590. #ifdef HAVE_UNISTD_H
  591. # include <unistd.h>
  592. #endif"
  593. ac_header_c_list=
  594. ac_subst_vars='LTLIBOBJS
  595. LIBOBJS
  596. TAGSFLAGS
  597. LDAP_LIBS
  598. LDAP_CFLAGS
  599. RT_LIBS
  600. MSVCRTFLAGS
  601. NETAPI_LIBS
  602. NETAPI_CFLAGS
  603. PROCSTAT_LIBS
  604. GSSAPI_LIBS
  605. GSSAPI_CFLAGS
  606. KRB5_LIBS
  607. KRB5_CFLAGS
  608. FONTCONFIG_LIBS
  609. FONTCONFIG_CFLAGS
  610. CUPS_LIBS
  611. CUPS_CFLAGS
  612. CAPI20_LIBS
  613. CAPI20_CFLAGS
  614. SDL2_LIBS
  615. SDL2_CFLAGS
  616. UNWIND_LIBS
  617. UNWIND_CFLAGS
  618. UDEV_LIBS
  619. UDEV_CFLAGS
  620. OSS4_LIBS
  621. OSS4_CFLAGS
  622. ALSA_LIBS
  623. GSTREAMER_LIBS
  624. GSTREAMER_CFLAGS
  625. PULSE_LIBS
  626. PULSE_CFLAGS
  627. GETTEXTPO_LIBS
  628. FREETYPE_LIBS
  629. FREETYPE_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. DBUS_LIBS
  642. DBUS_CFLAGS
  643. INOTIFY_LIBS
  644. INOTIFY_CFLAGS
  645. PCAP_LIBS
  646. X_EXTRA_LIBS
  647. X_LIBS
  648. X_PRE_LIBS
  649. X_CFLAGS
  650. CPP
  651. XMKMF
  652. PTHREAD_LIBS
  653. ZLIB_PE_LIBS
  654. ZLIB_PE_CFLAGS
  655. XSLT_PE_LIBS
  656. XSLT_PE_CFLAGS
  657. XML2_PE_LIBS
  658. XML2_PE_CFLAGS
  659. VKD3D_PE_LIBS
  660. VKD3D_PE_CFLAGS
  661. TIFF_PE_LIBS
  662. TIFF_PE_CFLAGS
  663. PNG_PE_LIBS
  664. PNG_PE_CFLAGS
  665. MPG123_PE_LIBS
  666. MPG123_PE_CFLAGS
  667. LCMS2_PE_LIBS
  668. LCMS2_PE_CFLAGS
  669. JXR_PE_LIBS
  670. JXR_PE_CFLAGS
  671. JPEG_PE_LIBS
  672. JPEG_PE_CFLAGS
  673. GSM_PE_LIBS
  674. GSM_PE_CFLAGS
  675. FAUDIO_PE_LIBS
  676. FAUDIO_PE_CFLAGS
  677. MINGW_PKG_CONFIG
  678. EXCESS_PRECISION_CFLAGS
  679. CROSSDEBUG
  680. DELAYLOADFLAG
  681. CROSSLDFLAGS
  682. EXTRACROSSCFLAGS
  683. CROSSCFLAGS
  684. CROSSCC
  685. CROSSTARGET
  686. LIBWINE_DEPENDS
  687. PRELINK
  688. WINELOADER_DEPENDS
  689. LIBWINE_LDFLAGS
  690. LIBWINE_SHAREDLIB
  691. METAL_LIBS
  692. CARBON_LIBS
  693. OPENCL_LIBS
  694. OPENAL_LIBS
  695. COREAUDIO_LIBS
  696. SECURITY_LIBS
  697. DISKARBITRATION_LIBS
  698. SYSTEMCONFIGURATION_LIBS
  699. APPKIT_LIBS
  700. CORESERVICES_LIBS
  701. APPLICATIONSERVICES_LIBS
  702. IOKIT_LIBS
  703. COREFOUNDATION_LIBS
  704. ac_ct_OBJC
  705. OBJCFLAGS
  706. OBJC
  707. DLLTOOL
  708. WINELOADER_PROGRAMS
  709. CONFIGURE_TARGETS
  710. DISABLED_SUBDIRS
  711. SUBDIRS
  712. READELF
  713. OTOOL
  714. LDD
  715. WINEPRELOADER_LDFLAGS
  716. WINELOADER_LDFLAGS
  717. TOP_INSTALL_DEV
  718. TOP_INSTALL_LIB
  719. UNIXLDFLAGS
  720. UNIXDLLFLAGS
  721. EXTRACFLAGS
  722. LDEXECFLAGS
  723. LDDLLFLAGS
  724. DLLFLAGS
  725. OPENGL_LIBS
  726. I386_LIBS
  727. ICOTOOL
  728. CONVERT
  729. RSVG
  730. FONTFORGE
  731. PKG_CONFIG
  732. MSGFMT
  733. LDCONFIG
  734. EGREP
  735. GREP
  736. LN_S
  737. RANLIB
  738. STRIP
  739. ac_ct_AR
  740. AR
  741. BISON
  742. FLEX
  743. SED_CMD
  744. RUNTESTFLAGS
  745. MAKEDEP
  746. toolsdir
  747. toolsext
  748. TARGETFLAGS
  749. LD
  750. CPPBIN
  751. ac_ct_CXX
  752. CXXFLAGS
  753. CXX
  754. OBJEXT
  755. EXEEXT
  756. ac_ct_CC
  757. CPPFLAGS
  758. LDFLAGS
  759. CFLAGS
  760. CC
  761. SET_MAKE
  762. srcdir
  763. nlsdir
  764. fontdir
  765. dlldir
  766. host_os
  767. host_vendor
  768. host_cpu
  769. host
  770. build_os
  771. build_vendor
  772. build_cpu
  773. build
  774. system_dllpath
  775. target_alias
  776. host_alias
  777. build_alias
  778. LIBS
  779. ECHO_T
  780. ECHO_N
  781. ECHO_C
  782. DEFS
  783. mandir
  784. localedir
  785. libdir
  786. psdir
  787. pdfdir
  788. dvidir
  789. htmldir
  790. infodir
  791. docdir
  792. oldincludedir
  793. includedir
  794. runstatedir
  795. localstatedir
  796. sharedstatedir
  797. sysconfdir
  798. datadir
  799. datarootdir
  800. libexecdir
  801. sbindir
  802. bindir
  803. program_transform_name
  804. prefix
  805. exec_prefix
  806. PACKAGE_URL
  807. PACKAGE_BUGREPORT
  808. PACKAGE_STRING
  809. PACKAGE_VERSION
  810. PACKAGE_TARNAME
  811. PACKAGE_NAME
  812. PATH_SEPARATOR
  813. SHELL'
  814. ac_subst_files=''
  815. ac_user_opts='
  816. enable_option_checking
  817. enable_win16
  818. enable_win64
  819. enable_tests
  820. enable_build_id
  821. enable_maintainer_mode
  822. enable_silent_rules
  823. enable_werror
  824. with_alsa
  825. with_capi
  826. with_coreaudio
  827. with_cups
  828. with_dbus
  829. with_float_abi
  830. with_fontconfig
  831. with_freetype
  832. with_gettext
  833. with_gettextpo
  834. with_gphoto
  835. with_gnutls
  836. with_gssapi
  837. with_gstreamer
  838. with_inotify
  839. with_krb5
  840. with_ldap
  841. with_mingw
  842. with_netapi
  843. with_openal
  844. with_opencl
  845. with_opengl
  846. with_osmesa
  847. with_oss
  848. with_pcap
  849. with_pthread
  850. with_pulse
  851. with_sane
  852. with_sdl
  853. with_udev
  854. with_unwind
  855. with_usb
  856. with_v4l2
  857. with_vulkan
  858. with_xcomposite
  859. with_xcursor
  860. with_xfixes
  861. with_xinerama
  862. with_xinput
  863. with_xinput2
  864. with_xrandr
  865. with_xrender
  866. with_xshape
  867. with_xshm
  868. with_xxf86vm
  869. with_system_dllpath
  870. with_wine_tools
  871. with_wine64
  872. enable_largefile
  873. with_x
  874. enable_acledit
  875. enable_aclui
  876. enable_activeds_tlb
  877. enable_activeds
  878. enable_actxprxy
  879. enable_adsldp
  880. enable_adsldpc
  881. enable_advapi32
  882. enable_advpack
  883. enable_amsi
  884. enable_amstream
  885. enable_apisetschema
  886. enable_apphelp
  887. enable_appwiz_cpl
  888. enable_atl
  889. enable_atl100
  890. enable_atl110
  891. enable_atl80
  892. enable_atl90
  893. enable_atlthunk
  894. enable_atmlib
  895. enable_authz
  896. enable_avicap32
  897. enable_avifil32
  898. enable_avrt
  899. enable_bcrypt
  900. enable_bluetoothapis
  901. enable_browseui
  902. enable_bthprops_cpl
  903. enable_cabinet
  904. enable_capi2032
  905. enable_cards
  906. enable_cdosys
  907. enable_cfgmgr32
  908. enable_clusapi
  909. enable_cng_sys
  910. enable_combase
  911. enable_comcat
  912. enable_comctl32
  913. enable_comdlg32
  914. enable_compstui
  915. enable_comsvcs
  916. enable_concrt140
  917. enable_connect
  918. enable_credui
  919. enable_crtdll
  920. enable_crypt32
  921. enable_cryptbase
  922. enable_cryptdlg
  923. enable_cryptdll
  924. enable_cryptext
  925. enable_cryptnet
  926. enable_cryptsp
  927. enable_cryptui
  928. enable_ctapi32
  929. enable_ctl3d32
  930. enable_d2d1
  931. enable_d3d10
  932. enable_d3d10_1
  933. enable_d3d10core
  934. enable_d3d11
  935. enable_d3d12
  936. enable_d3d8
  937. enable_d3d8thk
  938. enable_d3d9
  939. enable_d3dcompiler_33
  940. enable_d3dcompiler_34
  941. enable_d3dcompiler_35
  942. enable_d3dcompiler_36
  943. enable_d3dcompiler_37
  944. enable_d3dcompiler_38
  945. enable_d3dcompiler_39
  946. enable_d3dcompiler_40
  947. enable_d3dcompiler_41
  948. enable_d3dcompiler_42
  949. enable_d3dcompiler_43
  950. enable_d3dcompiler_46
  951. enable_d3dcompiler_47
  952. enable_d3dim
  953. enable_d3dim700
  954. enable_d3drm
  955. enable_d3dx10_33
  956. enable_d3dx10_34
  957. enable_d3dx10_35
  958. enable_d3dx10_36
  959. enable_d3dx10_37
  960. enable_d3dx10_38
  961. enable_d3dx10_39
  962. enable_d3dx10_40
  963. enable_d3dx10_41
  964. enable_d3dx10_42
  965. enable_d3dx10_43
  966. enable_d3dx11_42
  967. enable_d3dx11_43
  968. enable_d3dx9_24
  969. enable_d3dx9_25
  970. enable_d3dx9_26
  971. enable_d3dx9_27
  972. enable_d3dx9_28
  973. enable_d3dx9_29
  974. enable_d3dx9_30
  975. enable_d3dx9_31
  976. enable_d3dx9_32
  977. enable_d3dx9_33
  978. enable_d3dx9_34
  979. enable_d3dx9_35
  980. enable_d3dx9_36
  981. enable_d3dx9_37
  982. enable_d3dx9_38
  983. enable_d3dx9_39
  984. enable_d3dx9_40
  985. enable_d3dx9_41
  986. enable_d3dx9_42
  987. enable_d3dx9_43
  988. enable_d3dxof
  989. enable_davclnt
  990. enable_dbgeng
  991. enable_dbghelp
  992. enable_dciman32
  993. enable_dcomp
  994. enable_ddraw
  995. enable_ddrawex
  996. enable_devenum
  997. enable_dhcpcsvc
  998. enable_dhcpcsvc6
  999. enable_dhtmled_ocx
  1000. enable_diasymreader
  1001. enable_difxapi
  1002. enable_dinput
  1003. enable_dinput8
  1004. enable_directmanipulation
  1005. enable_dispex
  1006. enable_dmband
  1007. enable_dmcompos
  1008. enable_dmime
  1009. enable_dmloader
  1010. enable_dmscript
  1011. enable_dmstyle
  1012. enable_dmsynth
  1013. enable_dmusic
  1014. enable_dmusic32
  1015. enable_dnsapi
  1016. enable_dplay
  1017. enable_dplayx
  1018. enable_dpnaddr
  1019. enable_dpnet
  1020. enable_dpnhpast
  1021. enable_dpnhupnp
  1022. enable_dpnlobby
  1023. enable_dpvoice
  1024. enable_dpwsockx
  1025. enable_drmclien
  1026. enable_dsdmo
  1027. enable_dsound
  1028. enable_dsquery
  1029. enable_dssenh
  1030. enable_dsuiext
  1031. enable_dswave
  1032. enable_dwmapi
  1033. enable_dwrite
  1034. enable_dx8vb
  1035. enable_dxdiagn
  1036. enable_dxgi
  1037. enable_dxtrans
  1038. enable_dxva2
  1039. enable_esent
  1040. enable_evr
  1041. enable_explorerframe
  1042. enable_faultrep
  1043. enable_feclient
  1044. enable_fltlib
  1045. enable_fltmgr_sys
  1046. enable_fntcache
  1047. enable_fontsub
  1048. enable_fusion
  1049. enable_fwpuclnt
  1050. enable_gameux
  1051. enable_gamingtcui
  1052. enable_gdi32
  1053. enable_gdiplus
  1054. enable_glu32
  1055. enable_gphoto2_ds
  1056. enable_gpkcsp
  1057. enable_hal
  1058. enable_hhctrl_ocx
  1059. enable_hid
  1060. enable_hidclass_sys
  1061. enable_hidparse_sys
  1062. enable_hlink
  1063. enable_hnetcfg
  1064. enable_http_sys
  1065. enable_httpapi
  1066. enable_iccvid
  1067. enable_icmp
  1068. enable_ieframe
  1069. enable_ieproxy
  1070. enable_imaadp32_acm
  1071. enable_imagehlp
  1072. enable_imm32
  1073. enable_inetcomm
  1074. enable_inetcpl_cpl
  1075. enable_inetmib1
  1076. enable_infosoft
  1077. enable_initpki
  1078. enable_inkobj
  1079. enable_inseng
  1080. enable_iphlpapi
  1081. enable_iprop
  1082. enable_irprops_cpl
  1083. enable_itircl
  1084. enable_itss
  1085. enable_joy_cpl
  1086. enable_jscript
  1087. enable_jsproxy
  1088. enable_kerberos
  1089. enable_kernel32
  1090. enable_kernelbase
  1091. enable_ksecdd_sys
  1092. enable_ksproxy_ax
  1093. enable_ksuser
  1094. enable_ktmw32
  1095. enable_l3codeca_acm
  1096. enable_light_msstyles
  1097. enable_loadperf
  1098. enable_localspl
  1099. enable_localui
  1100. enable_lz32
  1101. enable_mapi32
  1102. enable_mapistub
  1103. enable_mciavi32
  1104. enable_mcicda
  1105. enable_mciqtz32
  1106. enable_mciseq
  1107. enable_mciwave
  1108. enable_mf
  1109. enable_mf3216
  1110. enable_mferror
  1111. enable_mfmediaengine
  1112. enable_mfplat
  1113. enable_mfplay
  1114. enable_mfreadwrite
  1115. enable_mgmtapi
  1116. enable_midimap
  1117. enable_mlang
  1118. enable_mmcndmgr
  1119. enable_mmdevapi
  1120. enable_mountmgr_sys
  1121. enable_mp3dmod
  1122. enable_mpr
  1123. enable_mprapi
  1124. enable_msacm32_drv
  1125. enable_msacm32
  1126. enable_msado15
  1127. enable_msadp32_acm
  1128. enable_msasn1
  1129. enable_mscat32
  1130. enable_mscms
  1131. enable_mscoree
  1132. enable_mscorwks
  1133. enable_msctf
  1134. enable_msctfmonitor
  1135. enable_msctfp
  1136. enable_msdaps
  1137. enable_msdasql
  1138. enable_msdelta
  1139. enable_msdmo
  1140. enable_msdrm
  1141. enable_msftedit
  1142. enable_msg711_acm
  1143. enable_msgsm32_acm
  1144. enable_mshtml_tlb
  1145. enable_mshtml
  1146. enable_msi
  1147. enable_msident
  1148. enable_msimg32
  1149. enable_msimsg
  1150. enable_msimtf
  1151. enable_msisip
  1152. enable_msisys_ocx
  1153. enable_msls31
  1154. enable_msnet32
  1155. enable_mspatcha
  1156. enable_msports
  1157. enable_msrle32
  1158. enable_msscript_ocx
  1159. enable_mssign32
  1160. enable_mssip32
  1161. enable_mstask
  1162. enable_msv1_0
  1163. enable_msvcirt
  1164. enable_msvcm80
  1165. enable_msvcm90
  1166. enable_msvcp100
  1167. enable_msvcp110
  1168. enable_msvcp120
  1169. enable_msvcp120_app
  1170. enable_msvcp140
  1171. enable_msvcp140_1
  1172. enable_msvcp140_atomic_wait
  1173. enable_msvcp60
  1174. enable_msvcp70
  1175. enable_msvcp71
  1176. enable_msvcp80
  1177. enable_msvcp90
  1178. enable_msvcp_win
  1179. enable_msvcr100
  1180. enable_msvcr110
  1181. enable_msvcr120
  1182. enable_msvcr120_app
  1183. enable_msvcr70
  1184. enable_msvcr71
  1185. enable_msvcr80
  1186. enable_msvcr90
  1187. enable_msvcrt
  1188. enable_msvcrt20
  1189. enable_msvcrt40
  1190. enable_msvcrtd
  1191. enable_msvfw32
  1192. enable_msvidc32
  1193. enable_mswsock
  1194. enable_msxml
  1195. enable_msxml2
  1196. enable_msxml3
  1197. enable_msxml4
  1198. enable_msxml6
  1199. enable_mtxdm
  1200. enable_ncrypt
  1201. enable_nddeapi
  1202. enable_ndis_sys
  1203. enable_netapi32
  1204. enable_netcfgx
  1205. enable_netio_sys
  1206. enable_netprofm
  1207. enable_netutils
  1208. enable_newdev
  1209. enable_ninput
  1210. enable_normaliz
  1211. enable_npmshtml
  1212. enable_npptools
  1213. enable_nsi
  1214. enable_nsiproxy_sys
  1215. enable_ntdll
  1216. enable_ntdsapi
  1217. enable_ntoskrnl_exe
  1218. enable_ntprint
  1219. enable_objsel
  1220. enable_odbc32
  1221. enable_odbcbcp
  1222. enable_odbccp32
  1223. enable_odbccu32
  1224. enable_ole32
  1225. enable_oleacc
  1226. enable_oleaut32
  1227. enable_olecli32
  1228. enable_oledb32
  1229. enable_oledlg
  1230. enable_olepro32
  1231. enable_olesvr32
  1232. enable_olethk32
  1233. enable_opcservices
  1234. enable_openal32
  1235. enable_opencl
  1236. enable_opengl32
  1237. enable_packager
  1238. enable_pdh
  1239. enable_photometadatahandler
  1240. enable_pidgen
  1241. enable_powrprof
  1242. enable_printui
  1243. enable_prntvpt
  1244. enable_propsys
  1245. enable_psapi
  1246. enable_pstorec
  1247. enable_pwrshplugin
  1248. enable_qasf
  1249. enable_qcap
  1250. enable_qdvd
  1251. enable_qedit
  1252. enable_qmgr
  1253. enable_qmgrprxy
  1254. enable_quartz
  1255. enable_query
  1256. enable_qwave
  1257. enable_rasapi32
  1258. enable_rasdlg
  1259. enable_regapi
  1260. enable_resutils
  1261. enable_riched20
  1262. enable_riched32
  1263. enable_rpcrt4
  1264. enable_rsabase
  1265. enable_rsaenh
  1266. enable_rstrtmgr
  1267. enable_rtutils
  1268. enable_rtworkq
  1269. enable_samlib
  1270. enable_sane_ds
  1271. enable_sapi
  1272. enable_sas
  1273. enable_scarddlg
  1274. enable_sccbase
  1275. enable_schannel
  1276. enable_schedsvc
  1277. enable_scrobj
  1278. enable_scrrun
  1279. enable_scsiport_sys
  1280. enable_sechost
  1281. enable_secur32
  1282. enable_security
  1283. enable_sensapi
  1284. enable_serialui
  1285. enable_setupapi
  1286. enable_sfc
  1287. enable_sfc_os
  1288. enable_shcore
  1289. enable_shdoclc
  1290. enable_shdocvw
  1291. enable_shell32
  1292. enable_shfolder
  1293. enable_shlwapi
  1294. enable_slbcsp
  1295. enable_slc
  1296. enable_snmpapi
  1297. enable_softpub
  1298. enable_spoolss
  1299. enable_sppc
  1300. enable_srclient
  1301. enable_srvcli
  1302. enable_sspicli
  1303. enable_stdole2_tlb
  1304. enable_stdole32_tlb
  1305. enable_sti
  1306. enable_strmdll
  1307. enable_svrapi
  1308. enable_sxs
  1309. enable_t2embed
  1310. enable_tapi32
  1311. enable_taskschd
  1312. enable_tbs
  1313. enable_tdh
  1314. enable_tdi_sys
  1315. enable_traffic
  1316. enable_twain_32
  1317. enable_tzres
  1318. enable_ucrtbase
  1319. enable_uianimation
  1320. enable_uiautomationcore
  1321. enable_uiribbon
  1322. enable_unicows
  1323. enable_updspapi
  1324. enable_url
  1325. enable_urlmon
  1326. enable_usbd_sys
  1327. enable_user32
  1328. enable_userenv
  1329. enable_usp10
  1330. enable_utildll
  1331. enable_uxtheme
  1332. enable_vbscript
  1333. enable_vcomp
  1334. enable_vcomp100
  1335. enable_vcomp110
  1336. enable_vcomp120
  1337. enable_vcomp140
  1338. enable_vcomp90
  1339. enable_vcruntime140
  1340. enable_vcruntime140_1
  1341. enable_vdmdbg
  1342. enable_version
  1343. enable_vga
  1344. enable_virtdisk
  1345. enable_vssapi
  1346. enable_vulkan_1
  1347. enable_wbemdisp
  1348. enable_wbemprox
  1349. enable_wdscore
  1350. enable_webservices
  1351. enable_websocket
  1352. enable_wer
  1353. enable_wevtapi
  1354. enable_wevtsvc
  1355. enable_wiaservc
  1356. enable_wimgapi
  1357. enable_win32u
  1358. enable_windows_devices_enumeration
  1359. enable_windows_gaming_input
  1360. enable_windows_globalization
  1361. enable_windows_media_devices
  1362. enable_windows_media_speech
  1363. enable_windowscodecs
  1364. enable_windowscodecsext
  1365. enable_winealsa_drv
  1366. enable_wineandroid_drv
  1367. enable_winebus_sys
  1368. enable_winecoreaudio_drv
  1369. enable_winecrt0
  1370. enable_wined3d
  1371. enable_winegstreamer
  1372. enable_winehid_sys
  1373. enable_winemac_drv
  1374. enable_winemapi
  1375. enable_wineoss_drv
  1376. enable_wineps_drv
  1377. enable_winepulse_drv
  1378. enable_wineusb_sys
  1379. enable_winevulkan
  1380. enable_winex11_drv
  1381. enable_winexinput_sys
  1382. enable_wing32
  1383. enable_winhttp
  1384. enable_wininet
  1385. enable_winmm
  1386. enable_winnls32
  1387. enable_winscard
  1388. enable_winspool_drv
  1389. enable_winsta
  1390. enable_wintab32
  1391. enable_wintrust
  1392. enable_winusb
  1393. enable_wlanapi
  1394. enable_wlanui
  1395. enable_wldap32
  1396. enable_wmadmod
  1397. enable_wmasf
  1398. enable_wmi
  1399. enable_wmiutils
  1400. enable_wmp
  1401. enable_wmphoto
  1402. enable_wmvcore
  1403. enable_wnaspi32
  1404. enable_wow64
  1405. enable_wow64cpu
  1406. enable_wow64win
  1407. enable_wpc
  1408. enable_wpcap
  1409. enable_ws2_32
  1410. enable_wsdapi
  1411. enable_wshom_ocx
  1412. enable_wsnmp32
  1413. enable_wsock32
  1414. enable_wtsapi32
  1415. enable_wuapi
  1416. enable_wuaueng
  1417. enable_x3daudio1_0
  1418. enable_x3daudio1_1
  1419. enable_x3daudio1_2
  1420. enable_x3daudio1_3
  1421. enable_x3daudio1_4
  1422. enable_x3daudio1_5
  1423. enable_x3daudio1_6
  1424. enable_x3daudio1_7
  1425. enable_xactengine2_0
  1426. enable_xactengine2_4
  1427. enable_xactengine2_7
  1428. enable_xactengine2_9
  1429. enable_xactengine3_0
  1430. enable_xactengine3_1
  1431. enable_xactengine3_2
  1432. enable_xactengine3_3
  1433. enable_xactengine3_4
  1434. enable_xactengine3_5
  1435. enable_xactengine3_6
  1436. enable_xactengine3_7
  1437. enable_xapofx1_1
  1438. enable_xapofx1_2
  1439. enable_xapofx1_3
  1440. enable_xapofx1_4
  1441. enable_xapofx1_5
  1442. enable_xaudio2_0
  1443. enable_xaudio2_1
  1444. enable_xaudio2_2
  1445. enable_xaudio2_3
  1446. enable_xaudio2_4
  1447. enable_xaudio2_5
  1448. enable_xaudio2_6
  1449. enable_xaudio2_7
  1450. enable_xaudio2_8
  1451. enable_xaudio2_9
  1452. enable_xinput1_1
  1453. enable_xinput1_2
  1454. enable_xinput1_3
  1455. enable_xinput1_4
  1456. enable_xinput9_1_0
  1457. enable_xmllite
  1458. enable_xolehlp
  1459. enable_xpsprint
  1460. enable_xpssvcs
  1461. enable_fonts
  1462. enable_include
  1463. enable_adsiid
  1464. enable_dmoguids
  1465. enable_dxerr8
  1466. enable_dxerr9
  1467. enable_dxguid
  1468. enable_faudio
  1469. enable_gsm
  1470. enable_jpeg
  1471. enable_jxr
  1472. enable_lcms2
  1473. enable_mfuuid
  1474. enable_mpg123
  1475. enable_png
  1476. enable_strmbase
  1477. enable_strmiids
  1478. enable_tiff
  1479. enable_uuid
  1480. enable_vkd3d
  1481. enable_wbemuuid
  1482. enable_wine
  1483. enable_wmcodecdspuuid
  1484. enable_xml2
  1485. enable_xslt
  1486. enable_zlib
  1487. enable_loader
  1488. enable_nls
  1489. enable_po
  1490. enable_arp
  1491. enable_aspnet_regiis
  1492. enable_attrib
  1493. enable_cabarc
  1494. enable_cacls
  1495. enable_chcp_com
  1496. enable_clock
  1497. enable_cmd
  1498. enable_conhost
  1499. enable_control
  1500. enable_cscript
  1501. enable_dism
  1502. enable_dllhost
  1503. enable_dplaysvr
  1504. enable_dpnsvr
  1505. enable_dpvsetup
  1506. enable_dxdiag
  1507. enable_eject
  1508. enable_expand
  1509. enable_explorer
  1510. enable_extrac32
  1511. enable_fc
  1512. enable_find
  1513. enable_findstr
  1514. enable_fsutil
  1515. enable_hh
  1516. enable_hostname
  1517. enable_icacls
  1518. enable_icinfo
  1519. enable_iexplore
  1520. enable_ipconfig
  1521. enable_lodctr
  1522. enable_mofcomp
  1523. enable_mshta
  1524. enable_msidb
  1525. enable_msiexec
  1526. enable_msinfo32
  1527. enable_net
  1528. enable_netsh
  1529. enable_netstat
  1530. enable_ngen
  1531. enable_notepad
  1532. enable_oleview
  1533. enable_ping
  1534. enable_plugplay
  1535. enable_powershell
  1536. enable_presentationfontcache
  1537. enable_progman
  1538. enable_reg
  1539. enable_regasm
  1540. enable_regedit
  1541. enable_regini
  1542. enable_regsvcs
  1543. enable_regsvr32
  1544. enable_robocopy
  1545. enable_rpcss
  1546. enable_rundll32
  1547. enable_sc
  1548. enable_schtasks
  1549. enable_sdbinst
  1550. enable_secedit
  1551. enable_servicemodelreg
  1552. enable_services
  1553. enable_shutdown
  1554. enable_spoolsv
  1555. enable_start
  1556. enable_subst
  1557. enable_svchost
  1558. enable_systeminfo
  1559. enable_taskkill
  1560. enable_tasklist
  1561. enable_taskmgr
  1562. enable_termsv
  1563. enable_uninstaller
  1564. enable_unlodctr
  1565. enable_view
  1566. enable_wevtutil
  1567. enable_where
  1568. enable_whoami
  1569. enable_wineboot
  1570. enable_winebrowser
  1571. enable_winecfg
  1572. enable_wineconsole
  1573. enable_winedbg
  1574. enable_winedevice
  1575. enable_winefile
  1576. enable_winemenubuilder
  1577. enable_winemine
  1578. enable_winemsibuilder
  1579. enable_winepath
  1580. enable_winetest
  1581. enable_winhlp32
  1582. enable_winmgmt
  1583. enable_winver
  1584. enable_wmic
  1585. enable_wmplayer
  1586. enable_wordpad
  1587. enable_write
  1588. enable_wscript
  1589. enable_wuauserv
  1590. enable_wusa
  1591. enable_xcopy
  1592. enable_server
  1593. enable_tools
  1594. enable_sfnt2fon
  1595. enable_widl
  1596. enable_winebuild
  1597. enable_winedump
  1598. enable_winegcc
  1599. enable_winemaker
  1600. enable_wmc
  1601. enable_wrc
  1602. '
  1603. ac_precious_vars='build_alias
  1604. host_alias
  1605. target_alias
  1606. CC
  1607. CFLAGS
  1608. LDFLAGS
  1609. LIBS
  1610. CPPFLAGS
  1611. CXX
  1612. CXXFLAGS
  1613. CCC
  1614. OBJC
  1615. OBJCFLAGS
  1616. FAUDIO_PE_CFLAGS
  1617. FAUDIO_PE_LIBS
  1618. GSM_PE_CFLAGS
  1619. GSM_PE_LIBS
  1620. JPEG_PE_CFLAGS
  1621. JPEG_PE_LIBS
  1622. JXR_PE_CFLAGS
  1623. JXR_PE_LIBS
  1624. LCMS2_PE_CFLAGS
  1625. LCMS2_PE_LIBS
  1626. MPG123_PE_CFLAGS
  1627. MPG123_PE_LIBS
  1628. PNG_PE_CFLAGS
  1629. PNG_PE_LIBS
  1630. TIFF_PE_CFLAGS
  1631. TIFF_PE_LIBS
  1632. VKD3D_PE_CFLAGS
  1633. VKD3D_PE_LIBS
  1634. XML2_PE_CFLAGS
  1635. XML2_PE_LIBS
  1636. XSLT_PE_CFLAGS
  1637. XSLT_PE_LIBS
  1638. ZLIB_PE_CFLAGS
  1639. ZLIB_PE_LIBS
  1640. XMKMF
  1641. CPP
  1642. INOTIFY_CFLAGS
  1643. INOTIFY_LIBS
  1644. DBUS_CFLAGS
  1645. DBUS_LIBS
  1646. GNUTLS_CFLAGS
  1647. GNUTLS_LIBS
  1648. SANE_CFLAGS
  1649. SANE_LIBS
  1650. USB_CFLAGS
  1651. USB_LIBS
  1652. GPHOTO2_CFLAGS
  1653. GPHOTO2_LIBS
  1654. GPHOTO2_PORT_CFLAGS
  1655. GPHOTO2_PORT_LIBS
  1656. FREETYPE_CFLAGS
  1657. FREETYPE_LIBS
  1658. PULSE_CFLAGS
  1659. PULSE_LIBS
  1660. GSTREAMER_CFLAGS
  1661. GSTREAMER_LIBS
  1662. UDEV_CFLAGS
  1663. UDEV_LIBS
  1664. UNWIND_CFLAGS
  1665. UNWIND_LIBS
  1666. SDL2_CFLAGS
  1667. SDL2_LIBS
  1668. CAPI20_CFLAGS
  1669. CAPI20_LIBS
  1670. CUPS_CFLAGS
  1671. CUPS_LIBS
  1672. FONTCONFIG_CFLAGS
  1673. FONTCONFIG_LIBS
  1674. KRB5_CFLAGS
  1675. KRB5_LIBS
  1676. GSSAPI_CFLAGS
  1677. GSSAPI_LIBS
  1678. NETAPI_CFLAGS
  1679. NETAPI_LIBS
  1680. LDAP_CFLAGS
  1681. LDAP_LIBS'
  1682. # Initialize some variables set by options.
  1683. ac_init_help=
  1684. ac_init_version=false
  1685. ac_unrecognized_opts=
  1686. ac_unrecognized_sep=
  1687. # The variables have the same names as the options, with
  1688. # dashes changed to underlines.
  1689. cache_file=/dev/null
  1690. exec_prefix=NONE
  1691. no_create=
  1692. no_recursion=
  1693. prefix=NONE
  1694. program_prefix=NONE
  1695. program_suffix=NONE
  1696. program_transform_name=s,x,x,
  1697. silent=
  1698. site=
  1699. srcdir=
  1700. verbose=
  1701. x_includes=NONE
  1702. x_libraries=NONE
  1703. # Installation directory options.
  1704. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1705. # and all the variables that are supposed to be based on exec_prefix
  1706. # by default will actually change.
  1707. # Use braces instead of parens because sh, perl, etc. also accept them.
  1708. # (The list follows the same order as the GNU Coding Standards.)
  1709. bindir='${exec_prefix}/bin'
  1710. sbindir='${exec_prefix}/sbin'
  1711. libexecdir='${exec_prefix}/libexec'
  1712. datarootdir='${prefix}/share'
  1713. datadir='${datarootdir}'
  1714. sysconfdir='${prefix}/etc'
  1715. sharedstatedir='${prefix}/com'
  1716. localstatedir='${prefix}/var'
  1717. runstatedir='${localstatedir}/run'
  1718. includedir='${prefix}/include'
  1719. oldincludedir='/usr/include'
  1720. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1721. infodir='${datarootdir}/info'
  1722. htmldir='${docdir}'
  1723. dvidir='${docdir}'
  1724. pdfdir='${docdir}'
  1725. psdir='${docdir}'
  1726. libdir='${exec_prefix}/lib'
  1727. localedir='${datarootdir}/locale'
  1728. mandir='${datarootdir}/man'
  1729. ac_prev=
  1730. ac_dashdash=
  1731. for ac_option
  1732. do
  1733. # If the previous option needs an argument, assign it.
  1734. if test -n "$ac_prev"; then
  1735. eval $ac_prev=\$ac_option
  1736. ac_prev=
  1737. continue
  1738. fi
  1739. case $ac_option in
  1740. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1741. *=) ac_optarg= ;;
  1742. *) ac_optarg=yes ;;
  1743. esac
  1744. case $ac_dashdash$ac_option in
  1745. --)
  1746. ac_dashdash=yes ;;
  1747. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1748. ac_prev=bindir ;;
  1749. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1750. bindir=$ac_optarg ;;
  1751. -build | --build | --buil | --bui | --bu)
  1752. ac_prev=build_alias ;;
  1753. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1754. build_alias=$ac_optarg ;;
  1755. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1756. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1757. ac_prev=cache_file ;;
  1758. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1759. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1760. cache_file=$ac_optarg ;;
  1761. --config-cache | -C)
  1762. cache_file=config.cache ;;
  1763. -datadir | --datadir | --datadi | --datad)
  1764. ac_prev=datadir ;;
  1765. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1766. datadir=$ac_optarg ;;
  1767. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1768. | --dataroo | --dataro | --datar)
  1769. ac_prev=datarootdir ;;
  1770. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1771. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1772. datarootdir=$ac_optarg ;;
  1773. -disable-* | --disable-*)
  1774. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1775. # Reject names that are not valid shell variable names.
  1776. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1777. as_fn_error $? "invalid feature name: \`$ac_useropt'"
  1778. ac_useropt_orig=$ac_useropt
  1779. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1780. case $ac_user_opts in
  1781. *"
  1782. "enable_$ac_useropt"
  1783. "*) ;;
  1784. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1785. ac_unrecognized_sep=', ';;
  1786. esac
  1787. eval enable_$ac_useropt=no ;;
  1788. -docdir | --docdir | --docdi | --doc | --do)
  1789. ac_prev=docdir ;;
  1790. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1791. docdir=$ac_optarg ;;
  1792. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1793. ac_prev=dvidir ;;
  1794. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1795. dvidir=$ac_optarg ;;
  1796. -enable-* | --enable-*)
  1797. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1798. # Reject names that are not valid shell variable names.
  1799. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1800. as_fn_error $? "invalid feature name: \`$ac_useropt'"
  1801. ac_useropt_orig=$ac_useropt
  1802. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1803. case $ac_user_opts in
  1804. *"
  1805. "enable_$ac_useropt"
  1806. "*) ;;
  1807. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1808. ac_unrecognized_sep=', ';;
  1809. esac
  1810. eval enable_$ac_useropt=\$ac_optarg ;;
  1811. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1812. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1813. | --exec | --exe | --ex)
  1814. ac_prev=exec_prefix ;;
  1815. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1816. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1817. | --exec=* | --exe=* | --ex=*)
  1818. exec_prefix=$ac_optarg ;;
  1819. -gas | --gas | --ga | --g)
  1820. # Obsolete; use --with-gas.
  1821. with_gas=yes ;;
  1822. -help | --help | --hel | --he | -h)
  1823. ac_init_help=long ;;
  1824. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1825. ac_init_help=recursive ;;
  1826. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1827. ac_init_help=short ;;
  1828. -host | --host | --hos | --ho)
  1829. ac_prev=host_alias ;;
  1830. -host=* | --host=* | --hos=* | --ho=*)
  1831. host_alias=$ac_optarg ;;
  1832. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1833. ac_prev=htmldir ;;
  1834. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1835. | --ht=*)
  1836. htmldir=$ac_optarg ;;
  1837. -includedir | --includedir | --includedi | --included | --include \
  1838. | --includ | --inclu | --incl | --inc)
  1839. ac_prev=includedir ;;
  1840. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1841. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1842. includedir=$ac_optarg ;;
  1843. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1844. ac_prev=infodir ;;
  1845. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1846. infodir=$ac_optarg ;;
  1847. -libdir | --libdir | --libdi | --libd)
  1848. ac_prev=libdir ;;
  1849. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1850. libdir=$ac_optarg ;;
  1851. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1852. | --libexe | --libex | --libe)
  1853. ac_prev=libexecdir ;;
  1854. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1855. | --libexe=* | --libex=* | --libe=*)
  1856. libexecdir=$ac_optarg ;;
  1857. -localedir | --localedir | --localedi | --localed | --locale)
  1858. ac_prev=localedir ;;
  1859. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1860. localedir=$ac_optarg ;;
  1861. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1862. | --localstate | --localstat | --localsta | --localst | --locals)
  1863. ac_prev=localstatedir ;;
  1864. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1865. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1866. localstatedir=$ac_optarg ;;
  1867. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1868. ac_prev=mandir ;;
  1869. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1870. mandir=$ac_optarg ;;
  1871. -nfp | --nfp | --nf)
  1872. # Obsolete; use --without-fp.
  1873. with_fp=no ;;
  1874. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1875. | --no-cr | --no-c | -n)
  1876. no_create=yes ;;
  1877. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1878. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1879. no_recursion=yes ;;
  1880. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1881. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1882. | --oldin | --oldi | --old | --ol | --o)
  1883. ac_prev=oldincludedir ;;
  1884. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1885. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1886. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1887. oldincludedir=$ac_optarg ;;
  1888. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1889. ac_prev=prefix ;;
  1890. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1891. prefix=$ac_optarg ;;
  1892. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1893. | --program-pre | --program-pr | --program-p)
  1894. ac_prev=program_prefix ;;
  1895. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1896. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1897. program_prefix=$ac_optarg ;;
  1898. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1899. | --program-suf | --program-su | --program-s)
  1900. ac_prev=program_suffix ;;
  1901. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1902. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1903. program_suffix=$ac_optarg ;;
  1904. -program-transform-name | --program-transform-name \
  1905. | --program-transform-nam | --program-transform-na \
  1906. | --program-transform-n | --program-transform- \
  1907. | --program-transform | --program-transfor \
  1908. | --program-transfo | --program-transf \
  1909. | --program-trans | --program-tran \
  1910. | --progr-tra | --program-tr | --program-t)
  1911. ac_prev=program_transform_name ;;
  1912. -program-transform-name=* | --program-transform-name=* \
  1913. | --program-transform-nam=* | --program-transform-na=* \
  1914. | --program-transform-n=* | --program-transform-=* \
  1915. | --program-transform=* | --program-transfor=* \
  1916. | --program-transfo=* | --program-transf=* \
  1917. | --program-trans=* | --program-tran=* \
  1918. | --progr-tra=* | --program-tr=* | --program-t=*)
  1919. program_transform_name=$ac_optarg ;;
  1920. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1921. ac_prev=pdfdir ;;
  1922. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1923. pdfdir=$ac_optarg ;;
  1924. -psdir | --psdir | --psdi | --psd | --ps)
  1925. ac_prev=psdir ;;
  1926. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1927. psdir=$ac_optarg ;;
  1928. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1929. | -silent | --silent | --silen | --sile | --sil)
  1930. silent=yes ;;
  1931. -runstatedir | --runstatedir | --runstatedi | --runstated \
  1932. | --runstate | --runstat | --runsta | --runst | --runs \
  1933. | --run | --ru | --r)
  1934. ac_prev=runstatedir ;;
  1935. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  1936. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  1937. | --run=* | --ru=* | --r=*)
  1938. runstatedir=$ac_optarg ;;
  1939. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1940. ac_prev=sbindir ;;
  1941. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1942. | --sbi=* | --sb=*)
  1943. sbindir=$ac_optarg ;;
  1944. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1945. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1946. | --sharedst | --shareds | --shared | --share | --shar \
  1947. | --sha | --sh)
  1948. ac_prev=sharedstatedir ;;
  1949. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1950. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1951. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1952. | --sha=* | --sh=*)
  1953. sharedstatedir=$ac_optarg ;;
  1954. -site | --site | --sit)
  1955. ac_prev=site ;;
  1956. -site=* | --site=* | --sit=*)
  1957. site=$ac_optarg ;;
  1958. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1959. ac_prev=srcdir ;;
  1960. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1961. srcdir=$ac_optarg ;;
  1962. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1963. | --syscon | --sysco | --sysc | --sys | --sy)
  1964. ac_prev=sysconfdir ;;
  1965. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1966. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1967. sysconfdir=$ac_optarg ;;
  1968. -target | --target | --targe | --targ | --tar | --ta | --t)
  1969. ac_prev=target_alias ;;
  1970. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1971. target_alias=$ac_optarg ;;
  1972. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1973. verbose=yes ;;
  1974. -version | --version | --versio | --versi | --vers | -V)
  1975. ac_init_version=: ;;
  1976. -with-* | --with-*)
  1977. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1978. # Reject names that are not valid shell variable names.
  1979. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1980. as_fn_error $? "invalid package name: \`$ac_useropt'"
  1981. ac_useropt_orig=$ac_useropt
  1982. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1983. case $ac_user_opts in
  1984. *"
  1985. "with_$ac_useropt"
  1986. "*) ;;
  1987. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1988. ac_unrecognized_sep=', ';;
  1989. esac
  1990. eval with_$ac_useropt=\$ac_optarg ;;
  1991. -without-* | --without-*)
  1992. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1993. # Reject names that are not valid shell variable names.
  1994. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1995. as_fn_error $? "invalid package name: \`$ac_useropt'"
  1996. ac_useropt_orig=$ac_useropt
  1997. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1998. case $ac_user_opts in
  1999. *"
  2000. "with_$ac_useropt"
  2001. "*) ;;
  2002. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  2003. ac_unrecognized_sep=', ';;
  2004. esac
  2005. eval with_$ac_useropt=no ;;
  2006. --x)
  2007. # Obsolete; use --with-x.
  2008. with_x=yes ;;
  2009. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  2010. | --x-incl | --x-inc | --x-in | --x-i)
  2011. ac_prev=x_includes ;;
  2012. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  2013. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  2014. x_includes=$ac_optarg ;;
  2015. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  2016. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  2017. ac_prev=x_libraries ;;
  2018. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  2019. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2020. x_libraries=$ac_optarg ;;
  2021. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  2022. Try \`$0 --help' for more information"
  2023. ;;
  2024. *=*)
  2025. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  2026. # Reject names that are not valid shell variable names.
  2027. case $ac_envvar in #(
  2028. '' | [0-9]* | *[!_$as_cr_alnum]* )
  2029. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  2030. esac
  2031. eval $ac_envvar=\$ac_optarg
  2032. export $ac_envvar ;;
  2033. *)
  2034. # FIXME: should be removed in autoconf 3.0.
  2035. printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
  2036. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  2037. printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
  2038. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  2039. ;;
  2040. esac
  2041. done
  2042. if test -n "$ac_prev"; then
  2043. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  2044. as_fn_error $? "missing argument to $ac_option"
  2045. fi
  2046. if test -n "$ac_unrecognized_opts"; then
  2047. case $enable_option_checking in
  2048. no) ;;
  2049. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  2050. *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  2051. esac
  2052. fi
  2053. # Check all directory arguments for consistency.
  2054. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  2055. datadir sysconfdir sharedstatedir localstatedir includedir \
  2056. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  2057. libdir localedir mandir runstatedir
  2058. do
  2059. eval ac_val=\$$ac_var
  2060. # Remove trailing slashes.
  2061. case $ac_val in
  2062. */ )
  2063. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  2064. eval $ac_var=\$ac_val;;
  2065. esac
  2066. # Be sure to have absolute directory names.
  2067. case $ac_val in
  2068. [\\/$]* | ?:[\\/]* ) continue;;
  2069. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  2070. esac
  2071. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  2072. done
  2073. # There might be people who depend on the old broken behavior: `$host'
  2074. # used to hold the argument of --host etc.
  2075. # FIXME: To remove some day.
  2076. build=$build_alias
  2077. host=$host_alias
  2078. target=$target_alias
  2079. # FIXME: To remove some day.
  2080. if test "x$host_alias" != x; then
  2081. if test "x$build_alias" = x; then
  2082. cross_compiling=maybe
  2083. elif test "x$build_alias" != "x$host_alias"; then
  2084. cross_compiling=yes
  2085. fi
  2086. fi
  2087. ac_tool_prefix=
  2088. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  2089. test "$silent" = yes && exec 6>/dev/null
  2090. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  2091. ac_ls_di=`ls -di .` &&
  2092. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  2093. as_fn_error $? "working directory cannot be determined"
  2094. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  2095. as_fn_error $? "pwd does not report name of working directory"
  2096. # Find the source files, if location was not specified.
  2097. if test -z "$srcdir"; then
  2098. ac_srcdir_defaulted=yes
  2099. # Try the directory containing this script, then the parent directory.
  2100. ac_confdir=`$as_dirname -- "$as_myself" ||
  2101. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2102. X"$as_myself" : 'X\(//\)[^/]' \| \
  2103. X"$as_myself" : 'X\(//\)$' \| \
  2104. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  2105. printf "%s\n" X"$as_myself" |
  2106. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  2107. s//\1/
  2108. q
  2109. }
  2110. /^X\(\/\/\)[^/].*/{
  2111. s//\1/
  2112. q
  2113. }
  2114. /^X\(\/\/\)$/{
  2115. s//\1/
  2116. q
  2117. }
  2118. /^X\(\/\).*/{
  2119. s//\1/
  2120. q
  2121. }
  2122. s/.*/./; q'`
  2123. srcdir=$ac_confdir
  2124. if test ! -r "$srcdir/$ac_unique_file"; then
  2125. srcdir=..
  2126. fi
  2127. else
  2128. ac_srcdir_defaulted=no
  2129. fi
  2130. if test ! -r "$srcdir/$ac_unique_file"; then
  2131. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  2132. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  2133. fi
  2134. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  2135. ac_abs_confdir=`(
  2136. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  2137. pwd)`
  2138. # When building in place, set srcdir=.
  2139. if test "$ac_abs_confdir" = "$ac_pwd"; then
  2140. srcdir=.
  2141. fi
  2142. # Remove unnecessary trailing slashes from srcdir.
  2143. # Double slashes in file names in object file debugging info
  2144. # mess up M-x gdb in Emacs.
  2145. case $srcdir in
  2146. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  2147. esac
  2148. for ac_var in $ac_precious_vars; do
  2149. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  2150. eval ac_env_${ac_var}_value=\$${ac_var}
  2151. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  2152. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  2153. done
  2154. #
  2155. # Report the --help message.
  2156. #
  2157. if test "$ac_init_help" = "long"; then
  2158. # Omit some internal or obsolete options to make the list less imposing.
  2159. # This message is too long to be a string in the A/UX 3.1 sh.
  2160. cat <<_ACEOF
  2161. \`configure' configures Wine 7.6 to adapt to many kinds of systems.
  2162. Usage: $0 [OPTION]... [VAR=VALUE]...
  2163. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  2164. VAR=VALUE. See below for descriptions of some of the useful variables.
  2165. Defaults for the options are specified in brackets.
  2166. Configuration:
  2167. -h, --help display this help and exit
  2168. --help=short display options specific to this package
  2169. --help=recursive display the short help of all the included packages
  2170. -V, --version display version information and exit
  2171. -q, --quiet, --silent do not print \`checking ...' messages
  2172. --cache-file=FILE cache test results in FILE [disabled]
  2173. -C, --config-cache alias for \`--cache-file=config.cache'
  2174. -n, --no-create do not create output files
  2175. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  2176. Installation directories:
  2177. --prefix=PREFIX install architecture-independent files in PREFIX
  2178. [$ac_default_prefix]
  2179. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  2180. [PREFIX]
  2181. By default, \`make install' will install all the files in
  2182. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  2183. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  2184. for instance \`--prefix=\$HOME'.
  2185. For better control, use the options below.
  2186. Fine tuning of the installation directories:
  2187. --bindir=DIR user executables [EPREFIX/bin]
  2188. --sbindir=DIR system admin executables [EPREFIX/sbin]
  2189. --libexecdir=DIR program executables [EPREFIX/libexec]
  2190. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  2191. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  2192. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  2193. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  2194. --libdir=DIR object code libraries [EPREFIX/lib]
  2195. --includedir=DIR C header files [PREFIX/include]
  2196. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  2197. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  2198. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  2199. --infodir=DIR info documentation [DATAROOTDIR/info]
  2200. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  2201. --mandir=DIR man documentation [DATAROOTDIR/man]
  2202. --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
  2203. --htmldir=DIR html documentation [DOCDIR]
  2204. --dvidir=DIR dvi documentation [DOCDIR]
  2205. --pdfdir=DIR pdf documentation [DOCDIR]
  2206. --psdir=DIR ps documentation [DOCDIR]
  2207. _ACEOF
  2208. cat <<\_ACEOF
  2209. X features:
  2210. --x-includes=DIR X include files are in DIR
  2211. --x-libraries=DIR X library files are in DIR
  2212. System types:
  2213. --build=BUILD configure for building on BUILD [guessed]
  2214. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  2215. _ACEOF
  2216. fi
  2217. if test -n "$ac_init_help"; then
  2218. case $ac_init_help in
  2219. short | recursive ) echo "Configuration of Wine 7.6:";;
  2220. esac
  2221. cat <<\_ACEOF
  2222. Optional Features:
  2223. --disable-option-checking ignore unrecognized --enable/--with options
  2224. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  2225. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  2226. --disable-win16 do not include Win16 support
  2227. --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
  2228. binaries)
  2229. --disable-tests do not build the regression tests
  2230. --enable-build-id include .buildid section in output objects
  2231. --enable-maintainer-mode
  2232. enable maintainer-specific build rules
  2233. --enable-silent-rules use silent build rules (override: "make V=1")
  2234. --enable-werror treat compilation warnings as errors
  2235. --disable-largefile omit support for large files
  2236. Optional Packages:
  2237. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  2238. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  2239. --without-alsa do not use the Alsa sound support
  2240. --without-capi do not use CAPI (ISDN support)
  2241. --without-coreaudio do not use the CoreAudio sound support
  2242. --without-cups do not use CUPS
  2243. --without-dbus do not use DBus (dynamic device support)
  2244. --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
  2245. --without-fontconfig do not use fontconfig
  2246. --without-freetype do not use the FreeType library
  2247. --without-gettext do not use gettext
  2248. --with-gettextpo use the GetTextPO library to rebuild po files
  2249. --without-gphoto do not use gphoto (Digital Camera support)
  2250. --without-gnutls do not use GnuTLS (schannel support)
  2251. --without-gssapi do not use GSSAPI (Kerberos SSP support)
  2252. --without-gstreamer do not use GStreamer (codecs support)
  2253. --without-inotify do not use inotify (filesystem change notifications)
  2254. --without-krb5 do not use krb5 (Kerberos)
  2255. --without-ldap do not use LDAP
  2256. --without-mingw do not use the MinGW cross-compiler
  2257. --without-netapi do not use the Samba NetAPI library
  2258. --without-openal do not use OpenAL
  2259. --without-opencl do not use OpenCL
  2260. --without-opengl do not use OpenGL
  2261. --without-osmesa do not use the OSMesa library
  2262. --without-oss do not use the OSS sound support
  2263. --without-pcap do not use the Packet Capture library
  2264. --without-pthread do not use the pthread library
  2265. --without-pulse do not use PulseAudio sound support
  2266. --without-sane do not use SANE (scanner support)
  2267. --without-sdl do not use SDL
  2268. --without-udev do not use udev (plug and play support)
  2269. --without-unwind do not use the libunwind library (exception
  2270. handling)
  2271. --without-usb do not use the libusb library
  2272. --without-v4l2 do not use v4l2 (video capture)
  2273. --without-vulkan do not use Vulkan
  2274. --without-xcomposite do not use the Xcomposite extension
  2275. --without-xcursor do not use the Xcursor extension
  2276. --without-xfixes do not use Xfixes for clipboard change notifications
  2277. --without-xinerama do not use Xinerama (legacy multi-monitor support)
  2278. --without-xinput do not use the Xinput extension
  2279. --without-xinput2 do not use the Xinput 2 extension
  2280. --without-xrandr do not use Xrandr (multi-monitor support)
  2281. --without-xrender do not use the Xrender extension
  2282. --without-xshape do not use the Xshape extension
  2283. --without-xshm do not use XShm (shared memory extension)
  2284. --without-xxf86vm do not use XFree video mode extension
  2285. --with-system-dllpath=PATH
  2286. load external PE dependencies from colon-separated
  2287. path PATH
  2288. --with-wine-tools=DIR use Wine tools from directory DIR
  2289. --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
  2290. --with-x use the X Window System
  2291. Some influential environment variables:
  2292. CC C compiler command
  2293. CFLAGS C compiler flags
  2294. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2295. nonstandard directory <lib dir>
  2296. LIBS libraries to pass to the linker, e.g. -l<library>
  2297. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2298. you have headers in a nonstandard directory <include dir>
  2299. CXX C++ compiler command
  2300. CXXFLAGS C++ compiler flags
  2301. OBJC Objective C compiler command
  2302. OBJCFLAGS Objective C compiler flags
  2303. FAUDIO_PE_CFLAGS
  2304. C compiler flags for the PE faudio, overriding the bundled
  2305. version
  2306. FAUDIO_PE_LIBS
  2307. Linker flags for the PE faudio, overriding the bundled version
  2308. GSM_PE_CFLAGS
  2309. C compiler flags for the PE gsm, overriding the bundled version
  2310. GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
  2311. JPEG_PE_CFLAGS
  2312. C compiler flags for the PE jpeg, overriding the bundled version
  2313. JPEG_PE_LIBS
  2314. Linker flags for the PE jpeg, overriding the bundled version
  2315. JXR_PE_CFLAGS
  2316. C compiler flags for the PE jxr, overriding the bundled version
  2317. JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
  2318. LCMS2_PE_CFLAGS
  2319. C compiler flags for the PE lcms2, overriding the bundled
  2320. version
  2321. LCMS2_PE_LIBS
  2322. Linker flags for the PE lcms2, overriding the bundled version
  2323. MPG123_PE_CFLAGS
  2324. C compiler flags for the PE mpg123, overriding the bundled
  2325. version
  2326. MPG123_PE_LIBS
  2327. Linker flags for the PE mpg123, overriding the bundled version
  2328. PNG_PE_CFLAGS
  2329. C compiler flags for the PE png, overriding the bundled version
  2330. PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
  2331. TIFF_PE_CFLAGS
  2332. C compiler flags for the PE tiff, overriding the bundled version
  2333. TIFF_PE_LIBS
  2334. Linker flags for the PE tiff, overriding the bundled version
  2335. VKD3D_PE_CFLAGS
  2336. C compiler flags for the PE vkd3d, overriding the bundled
  2337. version
  2338. VKD3D_PE_LIBS
  2339. Linker flags for the PE vkd3d, overriding the bundled version
  2340. XML2_PE_CFLAGS
  2341. C compiler flags for the PE xml2, overriding the bundled version
  2342. XML2_PE_LIBS
  2343. Linker flags for the PE xml2, overriding the bundled version
  2344. XSLT_PE_CFLAGS
  2345. C compiler flags for the PE xslt, overriding the bundled version
  2346. XSLT_PE_LIBS
  2347. Linker flags for the PE xslt, overriding the bundled version
  2348. ZLIB_PE_CFLAGS
  2349. C compiler flags for the PE zlib, overriding the bundled version
  2350. ZLIB_PE_LIBS
  2351. Linker flags for the PE zlib, overriding the bundled version
  2352. XMKMF Path to xmkmf, Makefile generator for X Window System
  2353. CPP C preprocessor
  2354. INOTIFY_CFLAGS
  2355. C compiler flags for libinotify, overriding pkg-config
  2356. INOTIFY_LIBS
  2357. Linker flags for libinotify, overriding pkg-config
  2358. DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
  2359. DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
  2360. GNUTLS_CFLAGS
  2361. C compiler flags for gnutls, overriding pkg-config
  2362. GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
  2363. SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
  2364. SANE_LIBS Linker flags for sane-backends, overriding pkg-config
  2365. USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
  2366. USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
  2367. GPHOTO2_CFLAGS
  2368. C compiler flags for libgphoto2, overriding pkg-config
  2369. GPHOTO2_LIBS
  2370. Linker flags for libgphoto2, overriding pkg-config
  2371. GPHOTO2_PORT_CFLAGS
  2372. C compiler flags for libgphoto2_port, overriding pkg-config
  2373. GPHOTO2_PORT_LIBS
  2374. Linker flags for libgphoto2_port, overriding pkg-config
  2375. FREETYPE_CFLAGS
  2376. C compiler flags for freetype2, overriding pkg-config
  2377. FREETYPE_LIBS
  2378. Linker flags for freetype2, overriding pkg-config
  2379. PULSE_CFLAGS
  2380. C compiler flags for libpulse, overriding pkg-config
  2381. PULSE_LIBS Linker flags for libpulse, overriding pkg-config
  2382. GSTREAMER_CFLAGS
  2383. C compiler flags for gstreamer-1.0 gstreamer-video-1.0
  2384. gstreamer-audio-1.0, overriding pkg-config
  2385. GSTREAMER_LIBS
  2386. Linker flags for gstreamer-1.0 gstreamer-video-1.0
  2387. gstreamer-audio-1.0, overriding pkg-config
  2388. UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
  2389. UDEV_LIBS Linker flags for libudev, overriding pkg-config
  2390. UNWIND_CFLAGS
  2391. C compiler flags for libunwind, overriding pkg-config
  2392. UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
  2393. SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
  2394. SDL2_LIBS Linker flags for sdl2, overriding pkg-config
  2395. CAPI20_CFLAGS
  2396. C compiler flags for capi20, overriding pkg-config
  2397. CAPI20_LIBS Linker flags for capi20, overriding pkg-config
  2398. CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
  2399. CUPS_LIBS Linker flags for cups, overriding pkg-config
  2400. FONTCONFIG_CFLAGS
  2401. C compiler flags for fontconfig, overriding pkg-config
  2402. FONTCONFIG_LIBS
  2403. Linker flags for fontconfig, overriding pkg-config
  2404. KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
  2405. KRB5_LIBS Linker flags for krb5, overriding pkg-config
  2406. GSSAPI_CFLAGS
  2407. C compiler flags for krb5-gssapi, overriding pkg-config
  2408. GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
  2409. NETAPI_CFLAGS
  2410. C compiler flags for netapi, overriding pkg-config
  2411. NETAPI_LIBS Linker flags for netapi, overriding pkg-config
  2412. LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
  2413. LDAP_LIBS Linker flags for openldap, overriding pkg-config
  2414. Use these variables to override the choices made by `configure' or to help
  2415. it to find libraries and programs with nonstandard names/locations.
  2416. Report bugs to <wine-devel@winehq.org>.
  2417. Wine home page: <https://www.winehq.org>.
  2418. _ACEOF
  2419. ac_status=$?
  2420. fi
  2421. if test "$ac_init_help" = "recursive"; then
  2422. # If there are subdirs, report their specific --help.
  2423. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2424. test -d "$ac_dir" ||
  2425. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2426. continue
  2427. ac_builddir=.
  2428. case "$ac_dir" in
  2429. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2430. *)
  2431. ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  2432. # A ".." for each directory in $ac_dir_suffix.
  2433. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2434. case $ac_top_builddir_sub in
  2435. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2436. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2437. esac ;;
  2438. esac
  2439. ac_abs_top_builddir=$ac_pwd
  2440. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2441. # for backward compatibility:
  2442. ac_top_builddir=$ac_top_build_prefix
  2443. case $srcdir in
  2444. .) # We are building in place.
  2445. ac_srcdir=.
  2446. ac_top_srcdir=$ac_top_builddir_sub
  2447. ac_abs_top_srcdir=$ac_pwd ;;
  2448. [\\/]* | ?:[\\/]* ) # Absolute name.
  2449. ac_srcdir=$srcdir$ac_dir_suffix;
  2450. ac_top_srcdir=$srcdir
  2451. ac_abs_top_srcdir=$srcdir ;;
  2452. *) # Relative name.
  2453. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2454. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2455. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2456. esac
  2457. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2458. cd "$ac_dir" || { ac_status=$?; continue; }
  2459. # Check for configure.gnu first; this name is used for a wrapper for
  2460. # Metaconfig's "Configure" on case-insensitive file systems.
  2461. if test -f "$ac_srcdir/configure.gnu"; then
  2462. echo &&
  2463. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2464. elif test -f "$ac_srcdir/configure"; then
  2465. echo &&
  2466. $SHELL "$ac_srcdir/configure" --help=recursive
  2467. else
  2468. printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2469. fi || ac_status=$?
  2470. cd "$ac_pwd" || { ac_status=$?; break; }
  2471. done
  2472. fi
  2473. test -n "$ac_init_help" && exit $ac_status
  2474. if $ac_init_version; then
  2475. cat <<\_ACEOF
  2476. Wine configure 7.6
  2477. generated by GNU Autoconf 2.71
  2478. Copyright (C) 2021 Free Software Foundation, Inc.
  2479. This configure script is free software; the Free Software Foundation
  2480. gives unlimited permission to copy, distribute and modify it.
  2481. _ACEOF
  2482. exit
  2483. fi
  2484. ## ------------------------ ##
  2485. ## Autoconf initialization. ##
  2486. ## ------------------------ ##
  2487. # ac_fn_c_try_compile LINENO
  2488. # --------------------------
  2489. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2490. ac_fn_c_try_compile ()
  2491. {
  2492. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2493. rm -f conftest.$ac_objext conftest.beam
  2494. if { { ac_try="$ac_compile"
  2495. case "(($ac_try" in
  2496. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2497. *) ac_try_echo=$ac_try;;
  2498. esac
  2499. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2500. printf "%s\n" "$ac_try_echo"; } >&5
  2501. (eval "$ac_compile") 2>conftest.err
  2502. ac_status=$?
  2503. if test -s conftest.err; then
  2504. grep -v '^ *+' conftest.err >conftest.er1
  2505. cat conftest.er1 >&5
  2506. mv -f conftest.er1 conftest.err
  2507. fi
  2508. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2509. test $ac_status = 0; } && {
  2510. test -z "$ac_c_werror_flag" ||
  2511. test ! -s conftest.err
  2512. } && test -s conftest.$ac_objext
  2513. then :
  2514. ac_retval=0
  2515. else $as_nop
  2516. printf "%s\n" "$as_me: failed program was:" >&5
  2517. sed 's/^/| /' conftest.$ac_ext >&5
  2518. ac_retval=1
  2519. fi
  2520. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2521. as_fn_set_status $ac_retval
  2522. } # ac_fn_c_try_compile
  2523. # ac_fn_cxx_try_compile LINENO
  2524. # ----------------------------
  2525. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2526. ac_fn_cxx_try_compile ()
  2527. {
  2528. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2529. rm -f conftest.$ac_objext conftest.beam
  2530. if { { ac_try="$ac_compile"
  2531. case "(($ac_try" in
  2532. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2533. *) ac_try_echo=$ac_try;;
  2534. esac
  2535. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2536. printf "%s\n" "$ac_try_echo"; } >&5
  2537. (eval "$ac_compile") 2>conftest.err
  2538. ac_status=$?
  2539. if test -s conftest.err; then
  2540. grep -v '^ *+' conftest.err >conftest.er1
  2541. cat conftest.er1 >&5
  2542. mv -f conftest.er1 conftest.err
  2543. fi
  2544. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2545. test $ac_status = 0; } && {
  2546. test -z "$ac_cxx_werror_flag" ||
  2547. test ! -s conftest.err
  2548. } && test -s conftest.$ac_objext
  2549. then :
  2550. ac_retval=0
  2551. else $as_nop
  2552. printf "%s\n" "$as_me: failed program was:" >&5
  2553. sed 's/^/| /' conftest.$ac_ext >&5
  2554. ac_retval=1
  2555. fi
  2556. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2557. as_fn_set_status $ac_retval
  2558. } # ac_fn_cxx_try_compile
  2559. # ac_fn_c_try_link LINENO
  2560. # -----------------------
  2561. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2562. ac_fn_c_try_link ()
  2563. {
  2564. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2565. rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
  2566. if { { ac_try="$ac_link"
  2567. case "(($ac_try" in
  2568. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2569. *) ac_try_echo=$ac_try;;
  2570. esac
  2571. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2572. printf "%s\n" "$ac_try_echo"; } >&5
  2573. (eval "$ac_link") 2>conftest.err
  2574. ac_status=$?
  2575. if test -s conftest.err; then
  2576. grep -v '^ *+' conftest.err >conftest.er1
  2577. cat conftest.er1 >&5
  2578. mv -f conftest.er1 conftest.err
  2579. fi
  2580. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2581. test $ac_status = 0; } && {
  2582. test -z "$ac_c_werror_flag" ||
  2583. test ! -s conftest.err
  2584. } && test -s conftest$ac_exeext && {
  2585. test "$cross_compiling" = yes ||
  2586. test -x conftest$ac_exeext
  2587. }
  2588. then :
  2589. ac_retval=0
  2590. else $as_nop
  2591. printf "%s\n" "$as_me: failed program was:" >&5
  2592. sed 's/^/| /' conftest.$ac_ext >&5
  2593. ac_retval=1
  2594. fi
  2595. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2596. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2597. # interfere with the next link command; also delete a directory that is
  2598. # left behind by Apple's compiler. We do this before executing the actions.
  2599. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2600. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2601. as_fn_set_status $ac_retval
  2602. } # ac_fn_c_try_link
  2603. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2604. # -------------------------------------------------------
  2605. # Tests whether HEADER exists and can be compiled using the include files in
  2606. # INCLUDES, setting the cache variable VAR accordingly.
  2607. ac_fn_c_check_header_compile ()
  2608. {
  2609. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2610. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2611. printf %s "checking for $2... " >&6; }
  2612. if eval test \${$3+y}
  2613. then :
  2614. printf %s "(cached) " >&6
  2615. else $as_nop
  2616. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2617. /* end confdefs.h. */
  2618. $4
  2619. #include <$2>
  2620. _ACEOF
  2621. if ac_fn_c_try_compile "$LINENO"
  2622. then :
  2623. eval "$3=yes"
  2624. else $as_nop
  2625. eval "$3=no"
  2626. fi
  2627. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2628. fi
  2629. eval ac_res=\$$3
  2630. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2631. printf "%s\n" "$ac_res" >&6; }
  2632. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2633. } # ac_fn_c_check_header_compile
  2634. # ac_fn_objc_try_compile LINENO
  2635. # -----------------------------
  2636. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2637. ac_fn_objc_try_compile ()
  2638. {
  2639. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2640. rm -f conftest.$ac_objext conftest.beam
  2641. if { { ac_try="$ac_compile"
  2642. case "(($ac_try" in
  2643. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2644. *) ac_try_echo=$ac_try;;
  2645. esac
  2646. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2647. printf "%s\n" "$ac_try_echo"; } >&5
  2648. (eval "$ac_compile") 2>conftest.err
  2649. ac_status=$?
  2650. if test -s conftest.err; then
  2651. grep -v '^ *+' conftest.err >conftest.er1
  2652. cat conftest.er1 >&5
  2653. mv -f conftest.er1 conftest.err
  2654. fi
  2655. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2656. test $ac_status = 0; } && {
  2657. test -z "$ac_objc_werror_flag" ||
  2658. test ! -s conftest.err
  2659. } && test -s conftest.$ac_objext
  2660. then :
  2661. ac_retval=0
  2662. else $as_nop
  2663. printf "%s\n" "$as_me: failed program was:" >&5
  2664. sed 's/^/| /' conftest.$ac_ext >&5
  2665. ac_retval=1
  2666. fi
  2667. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2668. as_fn_set_status $ac_retval
  2669. } # ac_fn_objc_try_compile
  2670. # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
  2671. # ----------------------------------------------------------
  2672. # Tests whether HEADER exists and can be compiled using the include files in
  2673. # INCLUDES, setting the cache variable VAR accordingly.
  2674. ac_fn_objc_check_header_compile ()
  2675. {
  2676. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2677. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2678. printf %s "checking for $2... " >&6; }
  2679. if eval test \${$3+y}
  2680. then :
  2681. printf %s "(cached) " >&6
  2682. else $as_nop
  2683. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2684. /* end confdefs.h. */
  2685. $4
  2686. #include <$2>
  2687. _ACEOF
  2688. if ac_fn_objc_try_compile "$LINENO"
  2689. then :
  2690. eval "$3=yes"
  2691. else $as_nop
  2692. eval "$3=no"
  2693. fi
  2694. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2695. fi
  2696. eval ac_res=\$$3
  2697. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2698. printf "%s\n" "$ac_res" >&6; }
  2699. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2700. } # ac_fn_objc_check_header_compile
  2701. # ac_fn_c_check_func LINENO FUNC VAR
  2702. # ----------------------------------
  2703. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  2704. ac_fn_c_check_func ()
  2705. {
  2706. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2707. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2708. printf %s "checking for $2... " >&6; }
  2709. if eval test \${$3+y}
  2710. then :
  2711. printf %s "(cached) " >&6
  2712. else $as_nop
  2713. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2714. /* end confdefs.h. */
  2715. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  2716. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2717. #define $2 innocuous_$2
  2718. /* System header to define __stub macros and hopefully few prototypes,
  2719. which can conflict with char $2 (); below. */
  2720. #include <limits.h>
  2721. #undef $2
  2722. /* Override any GCC internal prototype to avoid an error.
  2723. Use char because int might match the return type of a GCC
  2724. builtin and then its argument prototype would still apply. */
  2725. #ifdef __cplusplus
  2726. extern "C"
  2727. #endif
  2728. char $2 ();
  2729. /* The GNU C library defines this for functions which it implements
  2730. to always fail with ENOSYS. Some functions are actually named
  2731. something starting with __ and the normal name is an alias. */
  2732. #if defined __stub_$2 || defined __stub___$2
  2733. choke me
  2734. #endif
  2735. int
  2736. main (void)
  2737. {
  2738. return $2 ();
  2739. ;
  2740. return 0;
  2741. }
  2742. _ACEOF
  2743. if ac_fn_c_try_link "$LINENO"
  2744. then :
  2745. eval "$3=yes"
  2746. else $as_nop
  2747. eval "$3=no"
  2748. fi
  2749. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  2750. conftest$ac_exeext conftest.$ac_ext
  2751. fi
  2752. eval ac_res=\$$3
  2753. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2754. printf "%s\n" "$ac_res" >&6; }
  2755. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2756. } # ac_fn_c_check_func
  2757. # ac_fn_c_try_cpp LINENO
  2758. # ----------------------
  2759. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2760. ac_fn_c_try_cpp ()
  2761. {
  2762. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2763. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2764. case "(($ac_try" in
  2765. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2766. *) ac_try_echo=$ac_try;;
  2767. esac
  2768. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2769. printf "%s\n" "$ac_try_echo"; } >&5
  2770. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2771. ac_status=$?
  2772. if test -s conftest.err; then
  2773. grep -v '^ *+' conftest.err >conftest.er1
  2774. cat conftest.er1 >&5
  2775. mv -f conftest.er1 conftest.err
  2776. fi
  2777. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2778. test $ac_status = 0; } > conftest.i && {
  2779. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2780. test ! -s conftest.err
  2781. }
  2782. then :
  2783. ac_retval=0
  2784. else $as_nop
  2785. printf "%s\n" "$as_me: failed program was:" >&5
  2786. sed 's/^/| /' conftest.$ac_ext >&5
  2787. ac_retval=1
  2788. fi
  2789. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2790. as_fn_set_status $ac_retval
  2791. } # ac_fn_c_try_cpp
  2792. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  2793. # ----------------------------------------------------
  2794. # Tries to find if the field MEMBER exists in type AGGR, after including
  2795. # INCLUDES, setting cache variable VAR accordingly.
  2796. ac_fn_c_check_member ()
  2797. {
  2798. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2799. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2800. printf %s "checking for $2.$3... " >&6; }
  2801. if eval test \${$4+y}
  2802. then :
  2803. printf %s "(cached) " >&6
  2804. else $as_nop
  2805. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2806. /* end confdefs.h. */
  2807. $5
  2808. int
  2809. main (void)
  2810. {
  2811. static $2 ac_aggr;
  2812. if (ac_aggr.$3)
  2813. return 0;
  2814. ;
  2815. return 0;
  2816. }
  2817. _ACEOF
  2818. if ac_fn_c_try_compile "$LINENO"
  2819. then :
  2820. eval "$4=yes"
  2821. else $as_nop
  2822. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2823. /* end confdefs.h. */
  2824. $5
  2825. int
  2826. main (void)
  2827. {
  2828. static $2 ac_aggr;
  2829. if (sizeof ac_aggr.$3)
  2830. return 0;
  2831. ;
  2832. return 0;
  2833. }
  2834. _ACEOF
  2835. if ac_fn_c_try_compile "$LINENO"
  2836. then :
  2837. eval "$4=yes"
  2838. else $as_nop
  2839. eval "$4=no"
  2840. fi
  2841. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2842. fi
  2843. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2844. fi
  2845. eval ac_res=\$$4
  2846. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2847. printf "%s\n" "$ac_res" >&6; }
  2848. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2849. } # ac_fn_c_check_member
  2850. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  2851. # -------------------------------------------
  2852. # Tests whether TYPE exists after having included INCLUDES, setting cache
  2853. # variable VAR accordingly.
  2854. ac_fn_c_check_type ()
  2855. {
  2856. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2857. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2858. printf %s "checking for $2... " >&6; }
  2859. if eval test \${$3+y}
  2860. then :
  2861. printf %s "(cached) " >&6
  2862. else $as_nop
  2863. eval "$3=no"
  2864. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2865. /* end confdefs.h. */
  2866. $4
  2867. int
  2868. main (void)
  2869. {
  2870. if (sizeof ($2))
  2871. return 0;
  2872. ;
  2873. return 0;
  2874. }
  2875. _ACEOF
  2876. if ac_fn_c_try_compile "$LINENO"
  2877. then :
  2878. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2879. /* end confdefs.h. */
  2880. $4
  2881. int
  2882. main (void)
  2883. {
  2884. if (sizeof (($2)))
  2885. return 0;
  2886. ;
  2887. return 0;
  2888. }
  2889. _ACEOF
  2890. if ac_fn_c_try_compile "$LINENO"
  2891. then :
  2892. else $as_nop
  2893. eval "$3=yes"
  2894. fi
  2895. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2896. fi
  2897. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2898. fi
  2899. eval ac_res=\$$3
  2900. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2901. printf "%s\n" "$ac_res" >&6; }
  2902. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2903. } # ac_fn_c_check_type
  2904. ac_configure_args_raw=
  2905. for ac_arg
  2906. do
  2907. case $ac_arg in
  2908. *\'*)
  2909. ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2910. esac
  2911. as_fn_append ac_configure_args_raw " '$ac_arg'"
  2912. done
  2913. case $ac_configure_args_raw in
  2914. *$as_nl*)
  2915. ac_safe_unquote= ;;
  2916. *)
  2917. ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
  2918. ac_unsafe_a="$ac_unsafe_z#~"
  2919. ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
  2920. ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
  2921. esac
  2922. cat >config.log <<_ACEOF
  2923. This file contains any messages produced by compilers while
  2924. running configure, to aid debugging if configure makes a mistake.
  2925. It was created by Wine $as_me 7.6, which was
  2926. generated by GNU Autoconf 2.71. Invocation command line was
  2927. $ $0$ac_configure_args_raw
  2928. _ACEOF
  2929. exec 5>>config.log
  2930. {
  2931. cat <<_ASUNAME
  2932. ## --------- ##
  2933. ## Platform. ##
  2934. ## --------- ##
  2935. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2936. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2937. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2938. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2939. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2940. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2941. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2942. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2943. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2944. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2945. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2946. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2947. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2948. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2949. _ASUNAME
  2950. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2951. for as_dir in $PATH
  2952. do
  2953. IFS=$as_save_IFS
  2954. case $as_dir in #(((
  2955. '') as_dir=./ ;;
  2956. */) ;;
  2957. *) as_dir=$as_dir/ ;;
  2958. esac
  2959. printf "%s\n" "PATH: $as_dir"
  2960. done
  2961. IFS=$as_save_IFS
  2962. } >&5
  2963. cat >&5 <<_ACEOF
  2964. ## ----------- ##
  2965. ## Core tests. ##
  2966. ## ----------- ##
  2967. _ACEOF
  2968. # Keep a trace of the command line.
  2969. # Strip out --no-create and --no-recursion so they do not pile up.
  2970. # Strip out --silent because we don't want to record it for future runs.
  2971. # Also quote any args containing shell meta-characters.
  2972. # Make two passes to allow for proper duplicate-argument suppression.
  2973. ac_configure_args=
  2974. ac_configure_args0=
  2975. ac_configure_args1=
  2976. ac_must_keep_next=false
  2977. for ac_pass in 1 2
  2978. do
  2979. for ac_arg
  2980. do
  2981. case $ac_arg in
  2982. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2983. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2984. | -silent | --silent | --silen | --sile | --sil)
  2985. continue ;;
  2986. *\'*)
  2987. ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2988. esac
  2989. case $ac_pass in
  2990. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2991. 2)
  2992. as_fn_append ac_configure_args1 " '$ac_arg'"
  2993. if test $ac_must_keep_next = true; then
  2994. ac_must_keep_next=false # Got value, back to normal.
  2995. else
  2996. case $ac_arg in
  2997. *=* | --config-cache | -C | -disable-* | --disable-* \
  2998. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2999. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3000. | -with-* | --with-* | -without-* | --without-* | --x)
  3001. case "$ac_configure_args0 " in
  3002. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3003. esac
  3004. ;;
  3005. -* ) ac_must_keep_next=true ;;
  3006. esac
  3007. fi
  3008. as_fn_append ac_configure_args " '$ac_arg'"
  3009. ;;
  3010. esac
  3011. done
  3012. done
  3013. { ac_configure_args0=; unset ac_configure_args0;}
  3014. { ac_configure_args1=; unset ac_configure_args1;}
  3015. # When interrupted or exit'd, cleanup temporary files, and complete
  3016. # config.log. We remove comments because anyway the quotes in there
  3017. # would cause problems or look ugly.
  3018. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3019. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3020. trap 'exit_status=$?
  3021. # Sanitize IFS.
  3022. IFS=" "" $as_nl"
  3023. # Save into config.log some information that might help in debugging.
  3024. {
  3025. echo
  3026. printf "%s\n" "## ---------------- ##
  3027. ## Cache variables. ##
  3028. ## ---------------- ##"
  3029. echo
  3030. # The following way of writing the cache mishandles newlines in values,
  3031. (
  3032. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3033. eval ac_val=\$$ac_var
  3034. case $ac_val in #(
  3035. *${as_nl}*)
  3036. case $ac_var in #(
  3037. *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3038. printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3039. esac
  3040. case $ac_var in #(
  3041. _ | IFS | as_nl) ;; #(
  3042. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3043. *) { eval $ac_var=; unset $ac_var;} ;;
  3044. esac ;;
  3045. esac
  3046. done
  3047. (set) 2>&1 |
  3048. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3049. *${as_nl}ac_space=\ *)
  3050. sed -n \
  3051. "s/'\''/'\''\\\\'\'''\''/g;
  3052. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3053. ;; #(
  3054. *)
  3055. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3056. ;;
  3057. esac |
  3058. sort
  3059. )
  3060. echo
  3061. printf "%s\n" "## ----------------- ##
  3062. ## Output variables. ##
  3063. ## ----------------- ##"
  3064. echo
  3065. for ac_var in $ac_subst_vars
  3066. do
  3067. eval ac_val=\$$ac_var
  3068. case $ac_val in
  3069. *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3070. esac
  3071. printf "%s\n" "$ac_var='\''$ac_val'\''"
  3072. done | sort
  3073. echo
  3074. if test -n "$ac_subst_files"; then
  3075. printf "%s\n" "## ------------------- ##
  3076. ## File substitutions. ##
  3077. ## ------------------- ##"
  3078. echo
  3079. for ac_var in $ac_subst_files
  3080. do
  3081. eval ac_val=\$$ac_var
  3082. case $ac_val in
  3083. *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3084. esac
  3085. printf "%s\n" "$ac_var='\''$ac_val'\''"
  3086. done | sort
  3087. echo
  3088. fi
  3089. if test -s confdefs.h; then
  3090. printf "%s\n" "## ----------- ##
  3091. ## confdefs.h. ##
  3092. ## ----------- ##"
  3093. echo
  3094. cat confdefs.h
  3095. echo
  3096. fi
  3097. test "$ac_signal" != 0 &&
  3098. printf "%s\n" "$as_me: caught signal $ac_signal"
  3099. printf "%s\n" "$as_me: exit $exit_status"
  3100. } >&5
  3101. rm -f core *.core core.conftest.* &&
  3102. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3103. exit $exit_status
  3104. ' 0
  3105. for ac_signal in 1 2 13 15; do
  3106. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3107. done
  3108. ac_signal=0
  3109. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3110. rm -f -r conftest* confdefs.h
  3111. printf "%s\n" "/* confdefs.h */" > confdefs.h
  3112. # Predefined preprocessor variables.
  3113. printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
  3114. printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
  3115. printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
  3116. printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
  3117. printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
  3118. printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
  3119. # Let the site file select an alternate cache file if it wants to.
  3120. # Prefer an explicitly selected file to automatically selected ones.
  3121. if test -n "$CONFIG_SITE"; then
  3122. ac_site_files="$CONFIG_SITE"
  3123. elif test "x$prefix" != xNONE; then
  3124. ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
  3125. else
  3126. ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  3127. fi
  3128. for ac_site_file in $ac_site_files
  3129. do
  3130. case $ac_site_file in #(
  3131. */*) :
  3132. ;; #(
  3133. *) :
  3134. ac_site_file=./$ac_site_file ;;
  3135. esac
  3136. if test -f "$ac_site_file" && test -r "$ac_site_file"; then
  3137. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3138. printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
  3139. sed 's/^/| /' "$ac_site_file" >&5
  3140. . "$ac_site_file" \
  3141. || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3142. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3143. as_fn_error $? "failed to load site script $ac_site_file
  3144. See \`config.log' for more details" "$LINENO" 5; }
  3145. fi
  3146. done
  3147. if test -r "$cache_file"; then
  3148. # Some versions of bash will fail to source /dev/null (special files
  3149. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3150. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3151. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3152. printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
  3153. case $cache_file in
  3154. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3155. *) . "./$cache_file";;
  3156. esac
  3157. fi
  3158. else
  3159. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3160. printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
  3161. >$cache_file
  3162. fi
  3163. # Test code for whether the C compiler supports C89 (global declarations)
  3164. ac_c_conftest_c89_globals='
  3165. /* Does the compiler advertise C89 conformance?
  3166. Do not test the value of __STDC__, because some compilers set it to 0
  3167. while being otherwise adequately conformant. */
  3168. #if !defined __STDC__
  3169. # error "Compiler does not advertise C89 conformance"
  3170. #endif
  3171. #include <stddef.h>
  3172. #include <stdarg.h>
  3173. struct stat;
  3174. /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
  3175. struct buf { int x; };
  3176. struct buf * (*rcsopen) (struct buf *, struct stat *, int);
  3177. static char *e (p, i)
  3178. char **p;
  3179. int i;
  3180. {
  3181. return p[i];
  3182. }
  3183. static char *f (char * (*g) (char **, int), char **p, ...)
  3184. {
  3185. char *s;
  3186. va_list v;
  3187. va_start (v,p);
  3188. s = g (p, va_arg (v,int));
  3189. va_end (v);
  3190. return s;
  3191. }
  3192. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3193. function prototypes and stuff, but not \xHH hex character constants.
  3194. These do not provoke an error unfortunately, instead are silently treated
  3195. as an "x". The following induces an error, until -std is added to get
  3196. proper ANSI mode. Curiously \x00 != x always comes out true, for an
  3197. array size at least. It is necessary to write \x00 == 0 to get something
  3198. that is true only with -std. */
  3199. int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
  3200. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3201. inside strings and character constants. */
  3202. #define FOO(x) '\''x'\''
  3203. int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
  3204. int test (int i, double x);
  3205. struct s1 {int (*f) (int a);};
  3206. struct s2 {int (*f) (double a);};
  3207. int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
  3208. int, int);'
  3209. # Test code for whether the C compiler supports C89 (body of main).
  3210. ac_c_conftest_c89_main='
  3211. ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
  3212. '
  3213. # Test code for whether the C compiler supports C99 (global declarations)
  3214. ac_c_conftest_c99_globals='
  3215. // Does the compiler advertise C99 conformance?
  3216. #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
  3217. # error "Compiler does not advertise C99 conformance"
  3218. #endif
  3219. #include <stdbool.h>
  3220. extern int puts (const char *);
  3221. extern int printf (const char *, ...);
  3222. extern int dprintf (int, const char *, ...);
  3223. extern void *malloc (size_t);
  3224. // Check varargs macros. These examples are taken from C99 6.10.3.5.
  3225. // dprintf is used instead of fprintf to avoid needing to declare
  3226. // FILE and stderr.
  3227. #define debug(...) dprintf (2, __VA_ARGS__)
  3228. #define showlist(...) puts (#__VA_ARGS__)
  3229. #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  3230. static void
  3231. test_varargs_macros (void)
  3232. {
  3233. int x = 1234;
  3234. int y = 5678;
  3235. debug ("Flag");
  3236. debug ("X = %d\n", x);
  3237. showlist (The first, second, and third items.);
  3238. report (x>y, "x is %d but y is %d", x, y);
  3239. }
  3240. // Check long long types.
  3241. #define BIG64 18446744073709551615ull
  3242. #define BIG32 4294967295ul
  3243. #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  3244. #if !BIG_OK
  3245. #error "your preprocessor is broken"
  3246. #endif
  3247. #if BIG_OK
  3248. #else
  3249. #error "your preprocessor is broken"
  3250. #endif
  3251. static long long int bignum = -9223372036854775807LL;
  3252. static unsigned long long int ubignum = BIG64;
  3253. struct incomplete_array
  3254. {
  3255. int datasize;
  3256. double data[];
  3257. };
  3258. struct named_init {
  3259. int number;
  3260. const wchar_t *name;
  3261. double average;
  3262. };
  3263. typedef const char *ccp;
  3264. static inline int
  3265. test_restrict (ccp restrict text)
  3266. {
  3267. // See if C++-style comments work.
  3268. // Iterate through items via the restricted pointer.
  3269. // Also check for declarations in for loops.
  3270. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
  3271. continue;
  3272. return 0;
  3273. }
  3274. // Check varargs and va_copy.
  3275. static bool
  3276. test_varargs (const char *format, ...)
  3277. {
  3278. va_list args;
  3279. va_start (args, format);
  3280. va_list args_copy;
  3281. va_copy (args_copy, args);
  3282. const char *str = "";
  3283. int number = 0;
  3284. float fnumber = 0;
  3285. while (*format)
  3286. {
  3287. switch (*format++)
  3288. {
  3289. case '\''s'\'': // string
  3290. str = va_arg (args_copy, const char *);
  3291. break;
  3292. case '\''d'\'': // int
  3293. number = va_arg (args_copy, int);
  3294. break;
  3295. case '\''f'\'': // float
  3296. fnumber = va_arg (args_copy, double);
  3297. break;
  3298. default:
  3299. break;
  3300. }
  3301. }
  3302. va_end (args_copy);
  3303. va_end (args);
  3304. return *str && number && fnumber;
  3305. }
  3306. '
  3307. # Test code for whether the C compiler supports C99 (body of main).
  3308. ac_c_conftest_c99_main='
  3309. // Check bool.
  3310. _Bool success = false;
  3311. success |= (argc != 0);
  3312. // Check restrict.
  3313. if (test_restrict ("String literal") == 0)
  3314. success = true;
  3315. char *restrict newvar = "Another string";
  3316. // Check varargs.
  3317. success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
  3318. test_varargs_macros ();
  3319. // Check flexible array members.
  3320. struct incomplete_array *ia =
  3321. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  3322. ia->datasize = 10;
  3323. for (int i = 0; i < ia->datasize; ++i)
  3324. ia->data[i] = i * 1.234;
  3325. // Check named initializers.
  3326. struct named_init ni = {
  3327. .number = 34,
  3328. .name = L"Test wide string",
  3329. .average = 543.34343,
  3330. };
  3331. ni.number = 58;
  3332. int dynamic_array[ni.number];
  3333. dynamic_array[0] = argv[0][0];
  3334. dynamic_array[ni.number - 1] = 543;
  3335. // work around unused variable warnings
  3336. ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
  3337. || dynamic_array[ni.number - 1] != 543);
  3338. '
  3339. # Test code for whether the C compiler supports C11 (global declarations)
  3340. ac_c_conftest_c11_globals='
  3341. // Does the compiler advertise C11 conformance?
  3342. #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
  3343. # error "Compiler does not advertise C11 conformance"
  3344. #endif
  3345. // Check _Alignas.
  3346. char _Alignas (double) aligned_as_double;
  3347. char _Alignas (0) no_special_alignment;
  3348. extern char aligned_as_int;
  3349. char _Alignas (0) _Alignas (int) aligned_as_int;
  3350. // Check _Alignof.
  3351. enum
  3352. {
  3353. int_alignment = _Alignof (int),
  3354. int_array_alignment = _Alignof (int[100]),
  3355. char_alignment = _Alignof (char)
  3356. };
  3357. _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
  3358. // Check _Noreturn.
  3359. int _Noreturn does_not_return (void) { for (;;) continue; }
  3360. // Check _Static_assert.
  3361. struct test_static_assert
  3362. {
  3363. int x;
  3364. _Static_assert (sizeof (int) <= sizeof (long int),
  3365. "_Static_assert does not work in struct");
  3366. long int y;
  3367. };
  3368. // Check UTF-8 literals.
  3369. #define u8 syntax error!
  3370. char const utf8_literal[] = u8"happens to be ASCII" "another string";
  3371. // Check duplicate typedefs.
  3372. typedef long *long_ptr;
  3373. typedef long int *long_ptr;
  3374. typedef long_ptr long_ptr;
  3375. // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
  3376. struct anonymous
  3377. {
  3378. union {
  3379. struct { int i; int j; };
  3380. struct { int k; long int l; } w;
  3381. };
  3382. int m;
  3383. } v1;
  3384. '
  3385. # Test code for whether the C compiler supports C11 (body of main).
  3386. ac_c_conftest_c11_main='
  3387. _Static_assert ((offsetof (struct anonymous, i)
  3388. == offsetof (struct anonymous, w.k)),
  3389. "Anonymous union alignment botch");
  3390. v1.i = 2;
  3391. v1.w.k = 5;
  3392. ok |= v1.i != 5;
  3393. '
  3394. # Test code for whether the C compiler supports C11 (complete).
  3395. ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
  3396. ${ac_c_conftest_c99_globals}
  3397. ${ac_c_conftest_c11_globals}
  3398. int
  3399. main (int argc, char **argv)
  3400. {
  3401. int ok = 0;
  3402. ${ac_c_conftest_c89_main}
  3403. ${ac_c_conftest_c99_main}
  3404. ${ac_c_conftest_c11_main}
  3405. return ok;
  3406. }
  3407. "
  3408. # Test code for whether the C compiler supports C99 (complete).
  3409. ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
  3410. ${ac_c_conftest_c99_globals}
  3411. int
  3412. main (int argc, char **argv)
  3413. {
  3414. int ok = 0;
  3415. ${ac_c_conftest_c89_main}
  3416. ${ac_c_conftest_c99_main}
  3417. return ok;
  3418. }
  3419. "
  3420. # Test code for whether the C compiler supports C89 (complete).
  3421. ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
  3422. int
  3423. main (int argc, char **argv)
  3424. {
  3425. int ok = 0;
  3426. ${ac_c_conftest_c89_main}
  3427. return ok;
  3428. }
  3429. "
  3430. # Test code for whether the C++ compiler supports C++98 (global declarations)
  3431. ac_cxx_conftest_cxx98_globals='
  3432. // Does the compiler advertise C++98 conformance?
  3433. #if !defined __cplusplus || __cplusplus < 199711L
  3434. # error "Compiler does not advertise C++98 conformance"
  3435. #endif
  3436. // These inclusions are to reject old compilers that
  3437. // lack the unsuffixed header files.
  3438. #include <cstdlib>
  3439. #include <exception>
  3440. // <cassert> and <cstring> are *not* freestanding headers in C++98.
  3441. extern void assert (int);
  3442. namespace std {
  3443. extern int strcmp (const char *, const char *);
  3444. }
  3445. // Namespaces, exceptions, and templates were all added after "C++ 2.0".
  3446. using std::exception;
  3447. using std::strcmp;
  3448. namespace {
  3449. void test_exception_syntax()
  3450. {
  3451. try {
  3452. throw "test";
  3453. } catch (const char *s) {
  3454. // Extra parentheses suppress a warning when building autoconf itself,
  3455. // due to lint rules shared with more typical C programs.
  3456. assert (!(strcmp) (s, "test"));
  3457. }
  3458. }
  3459. template <typename T> struct test_template
  3460. {
  3461. T const val;
  3462. explicit test_template(T t) : val(t) {}
  3463. template <typename U> T add(U u) { return static_cast<T>(u) + val; }
  3464. };
  3465. } // anonymous namespace
  3466. '
  3467. # Test code for whether the C++ compiler supports C++98 (body of main)
  3468. ac_cxx_conftest_cxx98_main='
  3469. assert (argc);
  3470. assert (! argv[0]);
  3471. {
  3472. test_exception_syntax ();
  3473. test_template<double> tt (2.0);
  3474. assert (tt.add (4) == 6.0);
  3475. assert (true && !false);
  3476. }
  3477. '
  3478. # Test code for whether the C++ compiler supports C++11 (global declarations)
  3479. ac_cxx_conftest_cxx11_globals='
  3480. // Does the compiler advertise C++ 2011 conformance?
  3481. #if !defined __cplusplus || __cplusplus < 201103L
  3482. # error "Compiler does not advertise C++11 conformance"
  3483. #endif
  3484. namespace cxx11test
  3485. {
  3486. constexpr int get_val() { return 20; }
  3487. struct testinit
  3488. {
  3489. int i;
  3490. double d;
  3491. };
  3492. class delegate
  3493. {
  3494. public:
  3495. delegate(int n) : n(n) {}
  3496. delegate(): delegate(2354) {}
  3497. virtual int getval() { return this->n; };
  3498. protected:
  3499. int n;
  3500. };
  3501. class overridden : public delegate
  3502. {
  3503. public:
  3504. overridden(int n): delegate(n) {}
  3505. virtual int getval() override final { return this->n * 2; }
  3506. };
  3507. class nocopy
  3508. {
  3509. public:
  3510. nocopy(int i): i(i) {}
  3511. nocopy() = default;
  3512. nocopy(const nocopy&) = delete;
  3513. nocopy & operator=(const nocopy&) = delete;
  3514. private:
  3515. int i;
  3516. };
  3517. // for testing lambda expressions
  3518. template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
  3519. {
  3520. return f(v);
  3521. }
  3522. // for testing variadic templates and trailing return types
  3523. template <typename V> auto sum(V first) -> V
  3524. {
  3525. return first;
  3526. }
  3527. template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
  3528. {
  3529. return first + sum(rest...);
  3530. }
  3531. }
  3532. '
  3533. # Test code for whether the C++ compiler supports C++11 (body of main)
  3534. ac_cxx_conftest_cxx11_main='
  3535. {
  3536. // Test auto and decltype
  3537. auto a1 = 6538;
  3538. auto a2 = 48573953.4;
  3539. auto a3 = "String literal";
  3540. int total = 0;
  3541. for (auto i = a3; *i; ++i) { total += *i; }
  3542. decltype(a2) a4 = 34895.034;
  3543. }
  3544. {
  3545. // Test constexpr
  3546. short sa[cxx11test::get_val()] = { 0 };
  3547. }
  3548. {
  3549. // Test initializer lists
  3550. cxx11test::testinit il = { 4323, 435234.23544 };
  3551. }
  3552. {
  3553. // Test range-based for
  3554. int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
  3555. 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
  3556. for (auto &x : array) { x += 23; }
  3557. }
  3558. {
  3559. // Test lambda expressions
  3560. using cxx11test::eval;
  3561. assert (eval ([](int x) { return x*2; }, 21) == 42);
  3562. double d = 2.0;
  3563. assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
  3564. assert (d == 5.0);
  3565. assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
  3566. assert (d == 5.0);
  3567. }
  3568. {
  3569. // Test use of variadic templates
  3570. using cxx11test::sum;
  3571. auto a = sum(1);
  3572. auto b = sum(1, 2);
  3573. auto c = sum(1.0, 2.0, 3.0);
  3574. }
  3575. {
  3576. // Test constructor delegation
  3577. cxx11test::delegate d1;
  3578. cxx11test::delegate d2();
  3579. cxx11test::delegate d3(45);
  3580. }
  3581. {
  3582. // Test override and final
  3583. cxx11test::overridden o1(55464);
  3584. }
  3585. {
  3586. // Test nullptr
  3587. char *c = nullptr;
  3588. }
  3589. {
  3590. // Test template brackets
  3591. test_template<::test_template<int>> v(test_template<int>(12));
  3592. }
  3593. {
  3594. // Unicode literals
  3595. char const *utf8 = u8"UTF-8 string \u2500";
  3596. char16_t const *utf16 = u"UTF-8 string \u2500";
  3597. char32_t const *utf32 = U"UTF-32 string \u2500";
  3598. }
  3599. '
  3600. # Test code for whether the C compiler supports C++11 (complete).
  3601. ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
  3602. ${ac_cxx_conftest_cxx11_globals}
  3603. int
  3604. main (int argc, char **argv)
  3605. {
  3606. int ok = 0;
  3607. ${ac_cxx_conftest_cxx98_main}
  3608. ${ac_cxx_conftest_cxx11_main}
  3609. return ok;
  3610. }
  3611. "
  3612. # Test code for whether the C compiler supports C++98 (complete).
  3613. ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
  3614. int
  3615. main (int argc, char **argv)
  3616. {
  3617. int ok = 0;
  3618. ${ac_cxx_conftest_cxx98_main}
  3619. return ok;
  3620. }
  3621. "
  3622. as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
  3623. as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
  3624. as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
  3625. as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
  3626. as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
  3627. as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
  3628. as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
  3629. as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
  3630. as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
  3631. # Auxiliary files required by this configure script.
  3632. ac_aux_files="config.guess config.sub"
  3633. # Locations in which to look for auxiliary files.
  3634. ac_aux_dir_candidates="${srcdir}/tools"
  3635. # Search for a directory containing all of the required auxiliary files,
  3636. # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
  3637. # If we don't find one directory that contains all the files we need,
  3638. # we report the set of missing files from the *first* directory in
  3639. # $ac_aux_dir_candidates and give up.
  3640. ac_missing_aux_files=""
  3641. ac_first_candidate=:
  3642. printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
  3643. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3644. as_found=false
  3645. for as_dir in $ac_aux_dir_candidates
  3646. do
  3647. IFS=$as_save_IFS
  3648. case $as_dir in #(((
  3649. '') as_dir=./ ;;
  3650. */) ;;
  3651. *) as_dir=$as_dir/ ;;
  3652. esac
  3653. as_found=:
  3654. printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
  3655. ac_aux_dir_found=yes
  3656. ac_install_sh=
  3657. for ac_aux in $ac_aux_files
  3658. do
  3659. # As a special case, if "install-sh" is required, that requirement
  3660. # can be satisfied by any of "install-sh", "install.sh", or "shtool",
  3661. # and $ac_install_sh is set appropriately for whichever one is found.
  3662. if test x"$ac_aux" = x"install-sh"
  3663. then
  3664. if test -f "${as_dir}install-sh"; then
  3665. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
  3666. ac_install_sh="${as_dir}install-sh -c"
  3667. elif test -f "${as_dir}install.sh"; then
  3668. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
  3669. ac_install_sh="${as_dir}install.sh -c"
  3670. elif test -f "${as_dir}shtool"; then
  3671. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
  3672. ac_install_sh="${as_dir}shtool install -c"
  3673. else
  3674. ac_aux_dir_found=no
  3675. if $ac_first_candidate; then
  3676. ac_missing_aux_files="${ac_missing_aux_files} install-sh"
  3677. else
  3678. break
  3679. fi
  3680. fi
  3681. else
  3682. if test -f "${as_dir}${ac_aux}"; then
  3683. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
  3684. else
  3685. ac_aux_dir_found=no
  3686. if $ac_first_candidate; then
  3687. ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
  3688. else
  3689. break
  3690. fi
  3691. fi
  3692. fi
  3693. done
  3694. if test "$ac_aux_dir_found" = yes; then
  3695. ac_aux_dir="$as_dir"
  3696. break
  3697. fi
  3698. ac_first_candidate=false
  3699. as_found=false
  3700. done
  3701. IFS=$as_save_IFS
  3702. if $as_found
  3703. then :
  3704. else $as_nop
  3705. as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
  3706. fi
  3707. # These three variables are undocumented and unsupported,
  3708. # and are intended to be withdrawn in a future Autoconf release.
  3709. # They can cause serious problems if a builder's source tree is in a directory
  3710. # whose full name contains unusual characters.
  3711. if test -f "${ac_aux_dir}config.guess"; then
  3712. ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
  3713. fi
  3714. if test -f "${ac_aux_dir}config.sub"; then
  3715. ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
  3716. fi
  3717. if test -f "$ac_aux_dir/configure"; then
  3718. ac_configure="$SHELL ${ac_aux_dir}configure"
  3719. fi
  3720. # Check that the precious variables saved in the cache have kept the same
  3721. # value.
  3722. ac_cache_corrupted=false
  3723. for ac_var in $ac_precious_vars; do
  3724. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3725. eval ac_new_set=\$ac_env_${ac_var}_set
  3726. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3727. eval ac_new_val=\$ac_env_${ac_var}_value
  3728. case $ac_old_set,$ac_new_set in
  3729. set,)
  3730. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3731. printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3732. ac_cache_corrupted=: ;;
  3733. ,set)
  3734. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3735. printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3736. ac_cache_corrupted=: ;;
  3737. ,);;
  3738. *)
  3739. if test "x$ac_old_val" != "x$ac_new_val"; then
  3740. # differences in whitespace do not lead to failure.
  3741. ac_old_val_w=`echo x $ac_old_val`
  3742. ac_new_val_w=`echo x $ac_new_val`
  3743. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3744. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3745. printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3746. ac_cache_corrupted=:
  3747. else
  3748. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3749. printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3750. eval $ac_var=\$ac_old_val
  3751. fi
  3752. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3753. printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
  3754. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3755. printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
  3756. fi;;
  3757. esac
  3758. # Pass precious variables to config.status.
  3759. if test "$ac_new_set" = set; then
  3760. case $ac_new_val in
  3761. *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3762. *) ac_arg=$ac_var=$ac_new_val ;;
  3763. esac
  3764. case " $ac_configure_args " in
  3765. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3766. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3767. esac
  3768. fi
  3769. done
  3770. if $ac_cache_corrupted; then
  3771. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3772. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3773. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3774. printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
  3775. as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
  3776. and start over" "$LINENO" 5
  3777. fi
  3778. ## -------------------- ##
  3779. ## Main body of script. ##
  3780. ## -------------------- ##
  3781. ac_ext=c
  3782. ac_cpp='$CPP $CPPFLAGS'
  3783. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3784. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3785. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3786. ac_config_headers="$ac_config_headers include/config.h"
  3787. libwine_version="1.0"
  3788. # Check whether --enable-win16 was given.
  3789. if test ${enable_win16+y}
  3790. then :
  3791. enableval=$enable_win16;
  3792. fi
  3793. # Check whether --enable-win64 was given.
  3794. if test ${enable_win64+y}
  3795. then :
  3796. enableval=$enable_win64;
  3797. fi
  3798. # Check whether --enable-tests was given.
  3799. if test ${enable_tests+y}
  3800. then :
  3801. enableval=$enable_tests;
  3802. fi
  3803. # Check whether --enable-build-id was given.
  3804. if test ${enable_build_id+y}
  3805. then :
  3806. enableval=$enable_build_id;
  3807. fi
  3808. # Check whether --enable-maintainer-mode was given.
  3809. if test ${enable_maintainer_mode+y}
  3810. then :
  3811. enableval=$enable_maintainer_mode;
  3812. fi
  3813. # Check whether --enable-silent-rules was given.
  3814. if test ${enable_silent_rules+y}
  3815. then :
  3816. enableval=$enable_silent_rules;
  3817. fi
  3818. # Check whether --enable-werror was given.
  3819. if test ${enable_werror+y}
  3820. then :
  3821. enableval=$enable_werror;
  3822. fi
  3823. # Check whether --with-alsa was given.
  3824. if test ${with_alsa+y}
  3825. then :
  3826. withval=$with_alsa;
  3827. fi
  3828. # Check whether --with-capi was given.
  3829. if test ${with_capi+y}
  3830. then :
  3831. withval=$with_capi;
  3832. fi
  3833. # Check whether --with-coreaudio was given.
  3834. if test ${with_coreaudio+y}
  3835. then :
  3836. withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
  3837. fi
  3838. # Check whether --with-cups was given.
  3839. if test ${with_cups+y}
  3840. then :
  3841. withval=$with_cups;
  3842. fi
  3843. # Check whether --with-dbus was given.
  3844. if test ${with_dbus+y}
  3845. then :
  3846. withval=$with_dbus;
  3847. fi
  3848. # Check whether --with-float-abi was given.
  3849. if test ${with_float_abi+y}
  3850. then :
  3851. withval=$with_float_abi;
  3852. fi
  3853. # Check whether --with-fontconfig was given.
  3854. if test ${with_fontconfig+y}
  3855. then :
  3856. withval=$with_fontconfig;
  3857. fi
  3858. # Check whether --with-freetype was given.
  3859. if test ${with_freetype+y}
  3860. then :
  3861. withval=$with_freetype;
  3862. fi
  3863. # Check whether --with-gettext was given.
  3864. if test ${with_gettext+y}
  3865. then :
  3866. withval=$with_gettext;
  3867. fi
  3868. # Check whether --with-gettextpo was given.
  3869. if test ${with_gettextpo+y}
  3870. then :
  3871. withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
  3872. fi
  3873. # Check whether --with-gphoto was given.
  3874. if test ${with_gphoto+y}
  3875. then :
  3876. withval=$with_gphoto;
  3877. fi
  3878. # Check whether --with-gnutls was given.
  3879. if test ${with_gnutls+y}
  3880. then :
  3881. withval=$with_gnutls;
  3882. fi
  3883. # Check whether --with-gssapi was given.
  3884. if test ${with_gssapi+y}
  3885. then :
  3886. withval=$with_gssapi;
  3887. fi
  3888. # Check whether --with-gstreamer was given.
  3889. if test ${with_gstreamer+y}
  3890. then :
  3891. withval=$with_gstreamer;
  3892. fi
  3893. # Check whether --with-inotify was given.
  3894. if test ${with_inotify+y}
  3895. then :
  3896. withval=$with_inotify;
  3897. fi
  3898. # Check whether --with-krb5 was given.
  3899. if test ${with_krb5+y}
  3900. then :
  3901. withval=$with_krb5;
  3902. fi
  3903. # Check whether --with-ldap was given.
  3904. if test ${with_ldap+y}
  3905. then :
  3906. withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
  3907. fi
  3908. # Check whether --with-mingw was given.
  3909. if test ${with_mingw+y}
  3910. then :
  3911. withval=$with_mingw;
  3912. fi
  3913. # Check whether --with-netapi was given.
  3914. if test ${with_netapi+y}
  3915. then :
  3916. withval=$with_netapi;
  3917. fi
  3918. # Check whether --with-openal was given.
  3919. if test ${with_openal+y}
  3920. then :
  3921. withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
  3922. fi
  3923. # Check whether --with-opencl was given.
  3924. if test ${with_opencl+y}
  3925. then :
  3926. withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
  3927. fi
  3928. # Check whether --with-opengl was given.
  3929. if test ${with_opengl+y}
  3930. then :
  3931. withval=$with_opengl;
  3932. fi
  3933. # Check whether --with-osmesa was given.
  3934. if test ${with_osmesa+y}
  3935. then :
  3936. withval=$with_osmesa;
  3937. fi
  3938. # Check whether --with-oss was given.
  3939. if test ${with_oss+y}
  3940. then :
  3941. withval=$with_oss;
  3942. fi
  3943. # Check whether --with-pcap was given.
  3944. if test ${with_pcap+y}
  3945. then :
  3946. withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
  3947. fi
  3948. # Check whether --with-pthread was given.
  3949. if test ${with_pthread+y}
  3950. then :
  3951. withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
  3952. fi
  3953. # Check whether --with-pulse was given.
  3954. if test ${with_pulse+y}
  3955. then :
  3956. withval=$with_pulse;
  3957. fi
  3958. # Check whether --with-sane was given.
  3959. if test ${with_sane+y}
  3960. then :
  3961. withval=$with_sane;
  3962. fi
  3963. # Check whether --with-sdl was given.
  3964. if test ${with_sdl+y}
  3965. then :
  3966. withval=$with_sdl;
  3967. fi
  3968. # Check whether --with-udev was given.
  3969. if test ${with_udev+y}
  3970. then :
  3971. withval=$with_udev;
  3972. fi
  3973. # Check whether --with-unwind was given.
  3974. if test ${with_unwind+y}
  3975. then :
  3976. withval=$with_unwind;
  3977. fi
  3978. # Check whether --with-usb was given.
  3979. if test ${with_usb+y}
  3980. then :
  3981. withval=$with_usb;
  3982. fi
  3983. # Check whether --with-v4l2 was given.
  3984. if test ${with_v4l2+y}
  3985. then :
  3986. withval=$with_v4l2;
  3987. fi
  3988. # Check whether --with-vulkan was given.
  3989. if test ${with_vulkan+y}
  3990. then :
  3991. withval=$with_vulkan;
  3992. fi
  3993. # Check whether --with-xcomposite was given.
  3994. if test ${with_xcomposite+y}
  3995. then :
  3996. withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
  3997. fi
  3998. # Check whether --with-xcursor was given.
  3999. if test ${with_xcursor+y}
  4000. then :
  4001. withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
  4002. fi
  4003. # Check whether --with-xfixes was given.
  4004. if test ${with_xfixes+y}
  4005. then :
  4006. withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
  4007. fi
  4008. # Check whether --with-xinerama was given.
  4009. if test ${with_xinerama+y}
  4010. then :
  4011. withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
  4012. fi
  4013. # Check whether --with-xinput was given.
  4014. if test ${with_xinput+y}
  4015. then :
  4016. withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
  4017. fi
  4018. # Check whether --with-xinput2 was given.
  4019. if test ${with_xinput2+y}
  4020. then :
  4021. withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
  4022. fi
  4023. # Check whether --with-xrandr was given.
  4024. if test ${with_xrandr+y}
  4025. then :
  4026. withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
  4027. fi
  4028. # Check whether --with-xrender was given.
  4029. if test ${with_xrender+y}
  4030. then :
  4031. withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
  4032. fi
  4033. # Check whether --with-xshape was given.
  4034. if test ${with_xshape+y}
  4035. then :
  4036. withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
  4037. fi
  4038. # Check whether --with-xshm was given.
  4039. if test ${with_xshm+y}
  4040. then :
  4041. withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
  4042. fi
  4043. # Check whether --with-xxf86vm was given.
  4044. if test ${with_xxf86vm+y}
  4045. then :
  4046. 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
  4047. fi
  4048. # Check whether --with-system-dllpath was given.
  4049. if test ${with_system_dllpath+y}
  4050. then :
  4051. withval=$with_system_dllpath; system_dllpath=$withval
  4052. fi
  4053. # Check whether --with-wine-tools was given.
  4054. if test ${with_wine_tools+y}
  4055. then :
  4056. withval=$with_wine_tools;
  4057. fi
  4058. # Check whether --with-wine64 was given.
  4059. if test ${with_wine64+y}
  4060. then :
  4061. withval=$with_wine64;
  4062. fi
  4063. # Make sure we can run config.sub.
  4064. $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
  4065. as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
  4066. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  4067. printf %s "checking build system type... " >&6; }
  4068. if test ${ac_cv_build+y}
  4069. then :
  4070. printf %s "(cached) " >&6
  4071. else $as_nop
  4072. ac_build_alias=$build_alias
  4073. test "x$ac_build_alias" = x &&
  4074. ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
  4075. test "x$ac_build_alias" = x &&
  4076. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  4077. ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
  4078. as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
  4079. fi
  4080. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  4081. printf "%s\n" "$ac_cv_build" >&6; }
  4082. case $ac_cv_build in
  4083. *-*-*) ;;
  4084. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  4085. esac
  4086. build=$ac_cv_build
  4087. ac_save_IFS=$IFS; IFS='-'
  4088. set x $ac_cv_build
  4089. shift
  4090. build_cpu=$1
  4091. build_vendor=$2
  4092. shift; shift
  4093. # Remember, the first character of IFS is used to create $*,
  4094. # except with old shells:
  4095. build_os=$*
  4096. IFS=$ac_save_IFS
  4097. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4098. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  4099. printf %s "checking host system type... " >&6; }
  4100. if test ${ac_cv_host+y}
  4101. then :
  4102. printf %s "(cached) " >&6
  4103. else $as_nop
  4104. if test "x$host_alias" = x; then
  4105. ac_cv_host=$ac_cv_build
  4106. else
  4107. ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
  4108. as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
  4109. fi
  4110. fi
  4111. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  4112. printf "%s\n" "$ac_cv_host" >&6; }
  4113. case $ac_cv_host in
  4114. *-*-*) ;;
  4115. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  4116. esac
  4117. host=$ac_cv_host
  4118. ac_save_IFS=$IFS; IFS='-'
  4119. set x $ac_cv_host
  4120. shift
  4121. host_cpu=$1
  4122. host_vendor=$2
  4123. shift; shift
  4124. # Remember, the first character of IFS is used to create $*,
  4125. # except with old shells:
  4126. host_os=$*
  4127. IFS=$ac_save_IFS
  4128. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4129. dlldir=\${libdir}/wine
  4130. fontdir=\${datadir}/wine/fonts
  4131. nlsdir=\${datadir}/wine/nls
  4132. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  4133. printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  4134. set x ${MAKE-make}
  4135. ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  4136. if eval test \${ac_cv_prog_make_${ac_make}_set+y}
  4137. then :
  4138. printf %s "(cached) " >&6
  4139. else $as_nop
  4140. cat >conftest.make <<\_ACEOF
  4141. SHELL = /bin/sh
  4142. all:
  4143. @echo '@@@%%%=$(MAKE)=@@@%%%'
  4144. _ACEOF
  4145. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  4146. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  4147. *@@@%%%=?*=@@@%%%*)
  4148. eval ac_cv_prog_make_${ac_make}_set=yes;;
  4149. *)
  4150. eval ac_cv_prog_make_${ac_make}_set=no;;
  4151. esac
  4152. rm -f conftest.make
  4153. fi
  4154. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  4155. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4156. printf "%s\n" "yes" >&6; }
  4157. SET_MAKE=
  4158. else
  4159. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4160. printf "%s\n" "no" >&6; }
  4161. SET_MAKE="MAKE=${MAKE-make}"
  4162. fi
  4163. ac_ext=c
  4164. ac_cpp='$CPP $CPPFLAGS'
  4165. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4166. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4167. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4168. if test -n "$ac_tool_prefix"; then
  4169. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4170. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4171. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4172. printf %s "checking for $ac_word... " >&6; }
  4173. if test ${ac_cv_prog_CC+y}
  4174. then :
  4175. printf %s "(cached) " >&6
  4176. else $as_nop
  4177. if test -n "$CC"; then
  4178. ac_cv_prog_CC="$CC" # Let the user override the test.
  4179. else
  4180. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4181. for as_dir in $PATH
  4182. do
  4183. IFS=$as_save_IFS
  4184. case $as_dir in #(((
  4185. '') as_dir=./ ;;
  4186. */) ;;
  4187. *) as_dir=$as_dir/ ;;
  4188. esac
  4189. for ac_exec_ext in '' $ac_executable_extensions; do
  4190. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4191. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4192. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4193. break 2
  4194. fi
  4195. done
  4196. done
  4197. IFS=$as_save_IFS
  4198. fi
  4199. fi
  4200. CC=$ac_cv_prog_CC
  4201. if test -n "$CC"; then
  4202. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4203. printf "%s\n" "$CC" >&6; }
  4204. else
  4205. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4206. printf "%s\n" "no" >&6; }
  4207. fi
  4208. fi
  4209. if test -z "$ac_cv_prog_CC"; then
  4210. ac_ct_CC=$CC
  4211. # Extract the first word of "gcc", so it can be a program name with args.
  4212. set dummy gcc; ac_word=$2
  4213. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4214. printf %s "checking for $ac_word... " >&6; }
  4215. if test ${ac_cv_prog_ac_ct_CC+y}
  4216. then :
  4217. printf %s "(cached) " >&6
  4218. else $as_nop
  4219. if test -n "$ac_ct_CC"; then
  4220. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4221. else
  4222. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4223. for as_dir in $PATH
  4224. do
  4225. IFS=$as_save_IFS
  4226. case $as_dir in #(((
  4227. '') as_dir=./ ;;
  4228. */) ;;
  4229. *) as_dir=$as_dir/ ;;
  4230. esac
  4231. for ac_exec_ext in '' $ac_executable_extensions; do
  4232. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4233. ac_cv_prog_ac_ct_CC="gcc"
  4234. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4235. break 2
  4236. fi
  4237. done
  4238. done
  4239. IFS=$as_save_IFS
  4240. fi
  4241. fi
  4242. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4243. if test -n "$ac_ct_CC"; then
  4244. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4245. printf "%s\n" "$ac_ct_CC" >&6; }
  4246. else
  4247. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4248. printf "%s\n" "no" >&6; }
  4249. fi
  4250. if test "x$ac_ct_CC" = x; then
  4251. CC=""
  4252. else
  4253. case $cross_compiling:$ac_tool_warned in
  4254. yes:)
  4255. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4256. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4257. ac_tool_warned=yes ;;
  4258. esac
  4259. CC=$ac_ct_CC
  4260. fi
  4261. else
  4262. CC="$ac_cv_prog_CC"
  4263. fi
  4264. if test -z "$CC"; then
  4265. if test -n "$ac_tool_prefix"; then
  4266. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4267. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4268. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4269. printf %s "checking for $ac_word... " >&6; }
  4270. if test ${ac_cv_prog_CC+y}
  4271. then :
  4272. printf %s "(cached) " >&6
  4273. else $as_nop
  4274. if test -n "$CC"; then
  4275. ac_cv_prog_CC="$CC" # Let the user override the test.
  4276. else
  4277. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4278. for as_dir in $PATH
  4279. do
  4280. IFS=$as_save_IFS
  4281. case $as_dir in #(((
  4282. '') as_dir=./ ;;
  4283. */) ;;
  4284. *) as_dir=$as_dir/ ;;
  4285. esac
  4286. for ac_exec_ext in '' $ac_executable_extensions; do
  4287. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4288. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4289. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4290. break 2
  4291. fi
  4292. done
  4293. done
  4294. IFS=$as_save_IFS
  4295. fi
  4296. fi
  4297. CC=$ac_cv_prog_CC
  4298. if test -n "$CC"; then
  4299. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4300. printf "%s\n" "$CC" >&6; }
  4301. else
  4302. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4303. printf "%s\n" "no" >&6; }
  4304. fi
  4305. fi
  4306. fi
  4307. if test -z "$CC"; then
  4308. # Extract the first word of "cc", so it can be a program name with args.
  4309. set dummy cc; ac_word=$2
  4310. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4311. printf %s "checking for $ac_word... " >&6; }
  4312. if test ${ac_cv_prog_CC+y}
  4313. then :
  4314. printf %s "(cached) " >&6
  4315. else $as_nop
  4316. if test -n "$CC"; then
  4317. ac_cv_prog_CC="$CC" # Let the user override the test.
  4318. else
  4319. ac_prog_rejected=no
  4320. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4321. for as_dir in $PATH
  4322. do
  4323. IFS=$as_save_IFS
  4324. case $as_dir in #(((
  4325. '') as_dir=./ ;;
  4326. */) ;;
  4327. *) as_dir=$as_dir/ ;;
  4328. esac
  4329. for ac_exec_ext in '' $ac_executable_extensions; do
  4330. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4331. if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4332. ac_prog_rejected=yes
  4333. continue
  4334. fi
  4335. ac_cv_prog_CC="cc"
  4336. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4337. break 2
  4338. fi
  4339. done
  4340. done
  4341. IFS=$as_save_IFS
  4342. if test $ac_prog_rejected = yes; then
  4343. # We found a bogon in the path, so make sure we never use it.
  4344. set dummy $ac_cv_prog_CC
  4345. shift
  4346. if test $# != 0; then
  4347. # We chose a different compiler from the bogus one.
  4348. # However, it has the same basename, so the bogon will be chosen
  4349. # first if we set CC to just the basename; use the full file name.
  4350. shift
  4351. ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
  4352. fi
  4353. fi
  4354. fi
  4355. fi
  4356. CC=$ac_cv_prog_CC
  4357. if test -n "$CC"; then
  4358. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4359. printf "%s\n" "$CC" >&6; }
  4360. else
  4361. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4362. printf "%s\n" "no" >&6; }
  4363. fi
  4364. fi
  4365. if test -z "$CC"; then
  4366. if test -n "$ac_tool_prefix"; then
  4367. for ac_prog in cl.exe
  4368. do
  4369. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4370. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4371. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4372. printf %s "checking for $ac_word... " >&6; }
  4373. if test ${ac_cv_prog_CC+y}
  4374. then :
  4375. printf %s "(cached) " >&6
  4376. else $as_nop
  4377. if test -n "$CC"; then
  4378. ac_cv_prog_CC="$CC" # Let the user override the test.
  4379. else
  4380. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4381. for as_dir in $PATH
  4382. do
  4383. IFS=$as_save_IFS
  4384. case $as_dir in #(((
  4385. '') as_dir=./ ;;
  4386. */) ;;
  4387. *) as_dir=$as_dir/ ;;
  4388. esac
  4389. for ac_exec_ext in '' $ac_executable_extensions; do
  4390. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4391. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4392. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4393. break 2
  4394. fi
  4395. done
  4396. done
  4397. IFS=$as_save_IFS
  4398. fi
  4399. fi
  4400. CC=$ac_cv_prog_CC
  4401. if test -n "$CC"; then
  4402. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4403. printf "%s\n" "$CC" >&6; }
  4404. else
  4405. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4406. printf "%s\n" "no" >&6; }
  4407. fi
  4408. test -n "$CC" && break
  4409. done
  4410. fi
  4411. if test -z "$CC"; then
  4412. ac_ct_CC=$CC
  4413. for ac_prog in cl.exe
  4414. do
  4415. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4416. set dummy $ac_prog; ac_word=$2
  4417. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4418. printf %s "checking for $ac_word... " >&6; }
  4419. if test ${ac_cv_prog_ac_ct_CC+y}
  4420. then :
  4421. printf %s "(cached) " >&6
  4422. else $as_nop
  4423. if test -n "$ac_ct_CC"; then
  4424. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4425. else
  4426. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4427. for as_dir in $PATH
  4428. do
  4429. IFS=$as_save_IFS
  4430. case $as_dir in #(((
  4431. '') as_dir=./ ;;
  4432. */) ;;
  4433. *) as_dir=$as_dir/ ;;
  4434. esac
  4435. for ac_exec_ext in '' $ac_executable_extensions; do
  4436. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4437. ac_cv_prog_ac_ct_CC="$ac_prog"
  4438. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4439. break 2
  4440. fi
  4441. done
  4442. done
  4443. IFS=$as_save_IFS
  4444. fi
  4445. fi
  4446. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4447. if test -n "$ac_ct_CC"; then
  4448. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4449. printf "%s\n" "$ac_ct_CC" >&6; }
  4450. else
  4451. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4452. printf "%s\n" "no" >&6; }
  4453. fi
  4454. test -n "$ac_ct_CC" && break
  4455. done
  4456. if test "x$ac_ct_CC" = x; then
  4457. CC=""
  4458. else
  4459. case $cross_compiling:$ac_tool_warned in
  4460. yes:)
  4461. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4462. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4463. ac_tool_warned=yes ;;
  4464. esac
  4465. CC=$ac_ct_CC
  4466. fi
  4467. fi
  4468. fi
  4469. if test -z "$CC"; then
  4470. if test -n "$ac_tool_prefix"; then
  4471. # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
  4472. set dummy ${ac_tool_prefix}clang; ac_word=$2
  4473. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4474. printf %s "checking for $ac_word... " >&6; }
  4475. if test ${ac_cv_prog_CC+y}
  4476. then :
  4477. printf %s "(cached) " >&6
  4478. else $as_nop
  4479. if test -n "$CC"; then
  4480. ac_cv_prog_CC="$CC" # Let the user override the test.
  4481. else
  4482. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4483. for as_dir in $PATH
  4484. do
  4485. IFS=$as_save_IFS
  4486. case $as_dir in #(((
  4487. '') as_dir=./ ;;
  4488. */) ;;
  4489. *) as_dir=$as_dir/ ;;
  4490. esac
  4491. for ac_exec_ext in '' $ac_executable_extensions; do
  4492. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4493. ac_cv_prog_CC="${ac_tool_prefix}clang"
  4494. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4495. break 2
  4496. fi
  4497. done
  4498. done
  4499. IFS=$as_save_IFS
  4500. fi
  4501. fi
  4502. CC=$ac_cv_prog_CC
  4503. if test -n "$CC"; then
  4504. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4505. printf "%s\n" "$CC" >&6; }
  4506. else
  4507. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4508. printf "%s\n" "no" >&6; }
  4509. fi
  4510. fi
  4511. if test -z "$ac_cv_prog_CC"; then
  4512. ac_ct_CC=$CC
  4513. # Extract the first word of "clang", so it can be a program name with args.
  4514. set dummy clang; ac_word=$2
  4515. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4516. printf %s "checking for $ac_word... " >&6; }
  4517. if test ${ac_cv_prog_ac_ct_CC+y}
  4518. then :
  4519. printf %s "(cached) " >&6
  4520. else $as_nop
  4521. if test -n "$ac_ct_CC"; then
  4522. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4523. else
  4524. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4525. for as_dir in $PATH
  4526. do
  4527. IFS=$as_save_IFS
  4528. case $as_dir in #(((
  4529. '') as_dir=./ ;;
  4530. */) ;;
  4531. *) as_dir=$as_dir/ ;;
  4532. esac
  4533. for ac_exec_ext in '' $ac_executable_extensions; do
  4534. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4535. ac_cv_prog_ac_ct_CC="clang"
  4536. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4537. break 2
  4538. fi
  4539. done
  4540. done
  4541. IFS=$as_save_IFS
  4542. fi
  4543. fi
  4544. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4545. if test -n "$ac_ct_CC"; then
  4546. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4547. printf "%s\n" "$ac_ct_CC" >&6; }
  4548. else
  4549. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4550. printf "%s\n" "no" >&6; }
  4551. fi
  4552. if test "x$ac_ct_CC" = x; then
  4553. CC=""
  4554. else
  4555. case $cross_compiling:$ac_tool_warned in
  4556. yes:)
  4557. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4558. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4559. ac_tool_warned=yes ;;
  4560. esac
  4561. CC=$ac_ct_CC
  4562. fi
  4563. else
  4564. CC="$ac_cv_prog_CC"
  4565. fi
  4566. fi
  4567. test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4568. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4569. as_fn_error $? "no acceptable C compiler found in \$PATH
  4570. See \`config.log' for more details" "$LINENO" 5; }
  4571. # Provide some information about the compiler.
  4572. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4573. set X $ac_compile
  4574. ac_compiler=$2
  4575. for ac_option in --version -v -V -qversion -version; do
  4576. { { ac_try="$ac_compiler $ac_option >&5"
  4577. case "(($ac_try" in
  4578. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4579. *) ac_try_echo=$ac_try;;
  4580. esac
  4581. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4582. printf "%s\n" "$ac_try_echo"; } >&5
  4583. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4584. ac_status=$?
  4585. if test -s conftest.err; then
  4586. sed '10a\
  4587. ... rest of stderr output deleted ...
  4588. 10q' conftest.err >conftest.er1
  4589. cat conftest.er1 >&5
  4590. fi
  4591. rm -f conftest.er1 conftest.err
  4592. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4593. test $ac_status = 0; }
  4594. done
  4595. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4596. /* end confdefs.h. */
  4597. int
  4598. main (void)
  4599. {
  4600. ;
  4601. return 0;
  4602. }
  4603. _ACEOF
  4604. ac_clean_files_save=$ac_clean_files
  4605. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  4606. # Try to create an executable without -o first, disregard a.out.
  4607. # It will help us diagnose broken compilers, and finding out an intuition
  4608. # of exeext.
  4609. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  4610. printf %s "checking whether the C compiler works... " >&6; }
  4611. ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4612. # The possible output files:
  4613. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  4614. ac_rmfiles=
  4615. for ac_file in $ac_files
  4616. do
  4617. case $ac_file in
  4618. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4619. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  4620. esac
  4621. done
  4622. rm -f $ac_rmfiles
  4623. if { { ac_try="$ac_link_default"
  4624. case "(($ac_try" in
  4625. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4626. *) ac_try_echo=$ac_try;;
  4627. esac
  4628. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4629. printf "%s\n" "$ac_try_echo"; } >&5
  4630. (eval "$ac_link_default") 2>&5
  4631. ac_status=$?
  4632. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4633. test $ac_status = 0; }
  4634. then :
  4635. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  4636. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  4637. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  4638. # so that the user can short-circuit this test for compilers unknown to
  4639. # Autoconf.
  4640. for ac_file in $ac_files ''
  4641. do
  4642. test -f "$ac_file" || continue
  4643. case $ac_file in
  4644. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  4645. ;;
  4646. [ab].out )
  4647. # We found the default executable, but exeext='' is most
  4648. # certainly right.
  4649. break;;
  4650. *.* )
  4651. if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
  4652. then :; else
  4653. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4654. fi
  4655. # We set ac_cv_exeext here because the later test for it is not
  4656. # safe: cross compilers may not add the suffix if given an `-o'
  4657. # argument, so we may need to know it at that point already.
  4658. # Even if this section looks crufty: it has the advantage of
  4659. # actually working.
  4660. break;;
  4661. * )
  4662. break;;
  4663. esac
  4664. done
  4665. test "$ac_cv_exeext" = no && ac_cv_exeext=
  4666. else $as_nop
  4667. ac_file=''
  4668. fi
  4669. if test -z "$ac_file"
  4670. then :
  4671. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4672. printf "%s\n" "no" >&6; }
  4673. printf "%s\n" "$as_me: failed program was:" >&5
  4674. sed 's/^/| /' conftest.$ac_ext >&5
  4675. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4676. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4677. as_fn_error 77 "C compiler cannot create executables
  4678. See \`config.log' for more details" "$LINENO" 5; }
  4679. else $as_nop
  4680. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4681. printf "%s\n" "yes" >&6; }
  4682. fi
  4683. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  4684. printf %s "checking for C compiler default output file name... " >&6; }
  4685. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  4686. printf "%s\n" "$ac_file" >&6; }
  4687. ac_exeext=$ac_cv_exeext
  4688. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  4689. ac_clean_files=$ac_clean_files_save
  4690. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  4691. printf %s "checking for suffix of executables... " >&6; }
  4692. if { { ac_try="$ac_link"
  4693. case "(($ac_try" in
  4694. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4695. *) ac_try_echo=$ac_try;;
  4696. esac
  4697. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4698. printf "%s\n" "$ac_try_echo"; } >&5
  4699. (eval "$ac_link") 2>&5
  4700. ac_status=$?
  4701. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4702. test $ac_status = 0; }
  4703. then :
  4704. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  4705. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  4706. # work properly (i.e., refer to `conftest.exe'), while it won't with
  4707. # `rm'.
  4708. for ac_file in conftest.exe conftest conftest.*; do
  4709. test -f "$ac_file" || continue
  4710. case $ac_file in
  4711. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4712. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4713. break;;
  4714. * ) break;;
  4715. esac
  4716. done
  4717. else $as_nop
  4718. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4719. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4720. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  4721. See \`config.log' for more details" "$LINENO" 5; }
  4722. fi
  4723. rm -f conftest conftest$ac_cv_exeext
  4724. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  4725. printf "%s\n" "$ac_cv_exeext" >&6; }
  4726. rm -f conftest.$ac_ext
  4727. EXEEXT=$ac_cv_exeext
  4728. ac_exeext=$EXEEXT
  4729. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4730. /* end confdefs.h. */
  4731. #include <stdio.h>
  4732. int
  4733. main (void)
  4734. {
  4735. FILE *f = fopen ("conftest.out", "w");
  4736. return ferror (f) || fclose (f) != 0;
  4737. ;
  4738. return 0;
  4739. }
  4740. _ACEOF
  4741. ac_clean_files="$ac_clean_files conftest.out"
  4742. # Check that the compiler produces executables we can run. If not, either
  4743. # the compiler is broken, or we cross compile.
  4744. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  4745. printf %s "checking whether we are cross compiling... " >&6; }
  4746. if test "$cross_compiling" != yes; then
  4747. { { ac_try="$ac_link"
  4748. case "(($ac_try" in
  4749. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4750. *) ac_try_echo=$ac_try;;
  4751. esac
  4752. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4753. printf "%s\n" "$ac_try_echo"; } >&5
  4754. (eval "$ac_link") 2>&5
  4755. ac_status=$?
  4756. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4757. test $ac_status = 0; }
  4758. if { ac_try='./conftest$ac_cv_exeext'
  4759. { { case "(($ac_try" in
  4760. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4761. *) ac_try_echo=$ac_try;;
  4762. esac
  4763. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4764. printf "%s\n" "$ac_try_echo"; } >&5
  4765. (eval "$ac_try") 2>&5
  4766. ac_status=$?
  4767. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4768. test $ac_status = 0; }; }; then
  4769. cross_compiling=no
  4770. else
  4771. if test "$cross_compiling" = maybe; then
  4772. cross_compiling=yes
  4773. else
  4774. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4775. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4776. as_fn_error 77 "cannot run C compiled programs.
  4777. If you meant to cross compile, use \`--host'.
  4778. See \`config.log' for more details" "$LINENO" 5; }
  4779. fi
  4780. fi
  4781. fi
  4782. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  4783. printf "%s\n" "$cross_compiling" >&6; }
  4784. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  4785. ac_clean_files=$ac_clean_files_save
  4786. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  4787. printf %s "checking for suffix of object files... " >&6; }
  4788. if test ${ac_cv_objext+y}
  4789. then :
  4790. printf %s "(cached) " >&6
  4791. else $as_nop
  4792. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4793. /* end confdefs.h. */
  4794. int
  4795. main (void)
  4796. {
  4797. ;
  4798. return 0;
  4799. }
  4800. _ACEOF
  4801. rm -f conftest.o conftest.obj
  4802. if { { ac_try="$ac_compile"
  4803. case "(($ac_try" in
  4804. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4805. *) ac_try_echo=$ac_try;;
  4806. esac
  4807. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4808. printf "%s\n" "$ac_try_echo"; } >&5
  4809. (eval "$ac_compile") 2>&5
  4810. ac_status=$?
  4811. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4812. test $ac_status = 0; }
  4813. then :
  4814. for ac_file in conftest.o conftest.obj conftest.*; do
  4815. test -f "$ac_file" || continue;
  4816. case $ac_file in
  4817. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  4818. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  4819. break;;
  4820. esac
  4821. done
  4822. else $as_nop
  4823. printf "%s\n" "$as_me: failed program was:" >&5
  4824. sed 's/^/| /' conftest.$ac_ext >&5
  4825. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4826. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4827. as_fn_error $? "cannot compute suffix of object files: cannot compile
  4828. See \`config.log' for more details" "$LINENO" 5; }
  4829. fi
  4830. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4831. fi
  4832. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4833. printf "%s\n" "$ac_cv_objext" >&6; }
  4834. OBJEXT=$ac_cv_objext
  4835. ac_objext=$OBJEXT
  4836. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
  4837. printf %s "checking whether the compiler supports GNU C... " >&6; }
  4838. if test ${ac_cv_c_compiler_gnu+y}
  4839. then :
  4840. printf %s "(cached) " >&6
  4841. else $as_nop
  4842. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4843. /* end confdefs.h. */
  4844. int
  4845. main (void)
  4846. {
  4847. #ifndef __GNUC__
  4848. choke me
  4849. #endif
  4850. ;
  4851. return 0;
  4852. }
  4853. _ACEOF
  4854. if ac_fn_c_try_compile "$LINENO"
  4855. then :
  4856. ac_compiler_gnu=yes
  4857. else $as_nop
  4858. ac_compiler_gnu=no
  4859. fi
  4860. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  4861. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4862. fi
  4863. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4864. printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
  4865. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4866. if test $ac_compiler_gnu = yes; then
  4867. GCC=yes
  4868. else
  4869. GCC=
  4870. fi
  4871. ac_test_CFLAGS=${CFLAGS+y}
  4872. ac_save_CFLAGS=$CFLAGS
  4873. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4874. printf %s "checking whether $CC accepts -g... " >&6; }
  4875. if test ${ac_cv_prog_cc_g+y}
  4876. then :
  4877. printf %s "(cached) " >&6
  4878. else $as_nop
  4879. ac_save_c_werror_flag=$ac_c_werror_flag
  4880. ac_c_werror_flag=yes
  4881. ac_cv_prog_cc_g=no
  4882. CFLAGS="-g"
  4883. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4884. /* end confdefs.h. */
  4885. int
  4886. main (void)
  4887. {
  4888. ;
  4889. return 0;
  4890. }
  4891. _ACEOF
  4892. if ac_fn_c_try_compile "$LINENO"
  4893. then :
  4894. ac_cv_prog_cc_g=yes
  4895. else $as_nop
  4896. CFLAGS=""
  4897. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4898. /* end confdefs.h. */
  4899. int
  4900. main (void)
  4901. {
  4902. ;
  4903. return 0;
  4904. }
  4905. _ACEOF
  4906. if ac_fn_c_try_compile "$LINENO"
  4907. then :
  4908. else $as_nop
  4909. ac_c_werror_flag=$ac_save_c_werror_flag
  4910. CFLAGS="-g"
  4911. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4912. /* end confdefs.h. */
  4913. int
  4914. main (void)
  4915. {
  4916. ;
  4917. return 0;
  4918. }
  4919. _ACEOF
  4920. if ac_fn_c_try_compile "$LINENO"
  4921. then :
  4922. ac_cv_prog_cc_g=yes
  4923. fi
  4924. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  4925. fi
  4926. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  4927. fi
  4928. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  4929. ac_c_werror_flag=$ac_save_c_werror_flag
  4930. fi
  4931. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4932. printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
  4933. if test $ac_test_CFLAGS; then
  4934. CFLAGS=$ac_save_CFLAGS
  4935. elif test $ac_cv_prog_cc_g = yes; then
  4936. if test "$GCC" = yes; then
  4937. CFLAGS="-g -O2"
  4938. else
  4939. CFLAGS="-g"
  4940. fi
  4941. else
  4942. if test "$GCC" = yes; then
  4943. CFLAGS="-O2"
  4944. else
  4945. CFLAGS=
  4946. fi
  4947. fi
  4948. ac_prog_cc_stdc=no
  4949. if test x$ac_prog_cc_stdc = xno
  4950. then :
  4951. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
  4952. printf %s "checking for $CC option to enable C11 features... " >&6; }
  4953. if test ${ac_cv_prog_cc_c11+y}
  4954. then :
  4955. printf %s "(cached) " >&6
  4956. else $as_nop
  4957. ac_cv_prog_cc_c11=no
  4958. ac_save_CC=$CC
  4959. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4960. /* end confdefs.h. */
  4961. $ac_c_conftest_c11_program
  4962. _ACEOF
  4963. for ac_arg in '' -std=gnu11
  4964. do
  4965. CC="$ac_save_CC $ac_arg"
  4966. if ac_fn_c_try_compile "$LINENO"
  4967. then :
  4968. ac_cv_prog_cc_c11=$ac_arg
  4969. fi
  4970. rm -f core conftest.err conftest.$ac_objext conftest.beam
  4971. test "x$ac_cv_prog_cc_c11" != "xno" && break
  4972. done
  4973. rm -f conftest.$ac_ext
  4974. CC=$ac_save_CC
  4975. fi
  4976. if test "x$ac_cv_prog_cc_c11" = xno
  4977. then :
  4978. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4979. printf "%s\n" "unsupported" >&6; }
  4980. else $as_nop
  4981. if test "x$ac_cv_prog_cc_c11" = x
  4982. then :
  4983. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4984. printf "%s\n" "none needed" >&6; }
  4985. else $as_nop
  4986. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
  4987. printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
  4988. CC="$CC $ac_cv_prog_cc_c11"
  4989. fi
  4990. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
  4991. ac_prog_cc_stdc=c11
  4992. fi
  4993. fi
  4994. if test x$ac_prog_cc_stdc = xno
  4995. then :
  4996. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
  4997. printf %s "checking for $CC option to enable C99 features... " >&6; }
  4998. if test ${ac_cv_prog_cc_c99+y}
  4999. then :
  5000. printf %s "(cached) " >&6
  5001. else $as_nop
  5002. ac_cv_prog_cc_c99=no
  5003. ac_save_CC=$CC
  5004. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5005. /* end confdefs.h. */
  5006. $ac_c_conftest_c99_program
  5007. _ACEOF
  5008. for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
  5009. do
  5010. CC="$ac_save_CC $ac_arg"
  5011. if ac_fn_c_try_compile "$LINENO"
  5012. then :
  5013. ac_cv_prog_cc_c99=$ac_arg
  5014. fi
  5015. rm -f core conftest.err conftest.$ac_objext conftest.beam
  5016. test "x$ac_cv_prog_cc_c99" != "xno" && break
  5017. done
  5018. rm -f conftest.$ac_ext
  5019. CC=$ac_save_CC
  5020. fi
  5021. if test "x$ac_cv_prog_cc_c99" = xno
  5022. then :
  5023. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5024. printf "%s\n" "unsupported" >&6; }
  5025. else $as_nop
  5026. if test "x$ac_cv_prog_cc_c99" = x
  5027. then :
  5028. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5029. printf "%s\n" "none needed" >&6; }
  5030. else $as_nop
  5031. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  5032. printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
  5033. CC="$CC $ac_cv_prog_cc_c99"
  5034. fi
  5035. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  5036. ac_prog_cc_stdc=c99
  5037. fi
  5038. fi
  5039. if test x$ac_prog_cc_stdc = xno
  5040. then :
  5041. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
  5042. printf %s "checking for $CC option to enable C89 features... " >&6; }
  5043. if test ${ac_cv_prog_cc_c89+y}
  5044. then :
  5045. printf %s "(cached) " >&6
  5046. else $as_nop
  5047. ac_cv_prog_cc_c89=no
  5048. ac_save_CC=$CC
  5049. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5050. /* end confdefs.h. */
  5051. $ac_c_conftest_c89_program
  5052. _ACEOF
  5053. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5054. do
  5055. CC="$ac_save_CC $ac_arg"
  5056. if ac_fn_c_try_compile "$LINENO"
  5057. then :
  5058. ac_cv_prog_cc_c89=$ac_arg
  5059. fi
  5060. rm -f core conftest.err conftest.$ac_objext conftest.beam
  5061. test "x$ac_cv_prog_cc_c89" != "xno" && break
  5062. done
  5063. rm -f conftest.$ac_ext
  5064. CC=$ac_save_CC
  5065. fi
  5066. if test "x$ac_cv_prog_cc_c89" = xno
  5067. then :
  5068. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5069. printf "%s\n" "unsupported" >&6; }
  5070. else $as_nop
  5071. if test "x$ac_cv_prog_cc_c89" = x
  5072. then :
  5073. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5074. printf "%s\n" "none needed" >&6; }
  5075. else $as_nop
  5076. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  5077. printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
  5078. CC="$CC $ac_cv_prog_cc_c89"
  5079. fi
  5080. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  5081. ac_prog_cc_stdc=c89
  5082. fi
  5083. fi
  5084. ac_ext=c
  5085. ac_cpp='$CPP $CPPFLAGS'
  5086. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5087. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5088. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5089. ac_ext=cpp
  5090. ac_cpp='$CXXCPP $CPPFLAGS'
  5091. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5092. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5093. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  5094. if test -z "$CXX"; then
  5095. if test -n "$CCC"; then
  5096. CXX=$CCC
  5097. else
  5098. if test -n "$ac_tool_prefix"; then
  5099. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
  5100. do
  5101. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5102. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5103. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5104. printf %s "checking for $ac_word... " >&6; }
  5105. if test ${ac_cv_prog_CXX+y}
  5106. then :
  5107. printf %s "(cached) " >&6
  5108. else $as_nop
  5109. if test -n "$CXX"; then
  5110. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  5111. else
  5112. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5113. for as_dir in $PATH
  5114. do
  5115. IFS=$as_save_IFS
  5116. case $as_dir in #(((
  5117. '') as_dir=./ ;;
  5118. */) ;;
  5119. *) as_dir=$as_dir/ ;;
  5120. esac
  5121. for ac_exec_ext in '' $ac_executable_extensions; do
  5122. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5123. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  5124. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5125. break 2
  5126. fi
  5127. done
  5128. done
  5129. IFS=$as_save_IFS
  5130. fi
  5131. fi
  5132. CXX=$ac_cv_prog_CXX
  5133. if test -n "$CXX"; then
  5134. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  5135. printf "%s\n" "$CXX" >&6; }
  5136. else
  5137. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5138. printf "%s\n" "no" >&6; }
  5139. fi
  5140. test -n "$CXX" && break
  5141. done
  5142. fi
  5143. if test -z "$CXX"; then
  5144. ac_ct_CXX=$CXX
  5145. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
  5146. do
  5147. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5148. set dummy $ac_prog; ac_word=$2
  5149. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5150. printf %s "checking for $ac_word... " >&6; }
  5151. if test ${ac_cv_prog_ac_ct_CXX+y}
  5152. then :
  5153. printf %s "(cached) " >&6
  5154. else $as_nop
  5155. if test -n "$ac_ct_CXX"; then
  5156. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  5157. else
  5158. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5159. for as_dir in $PATH
  5160. do
  5161. IFS=$as_save_IFS
  5162. case $as_dir in #(((
  5163. '') as_dir=./ ;;
  5164. */) ;;
  5165. *) as_dir=$as_dir/ ;;
  5166. esac
  5167. for ac_exec_ext in '' $ac_executable_extensions; do
  5168. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5169. ac_cv_prog_ac_ct_CXX="$ac_prog"
  5170. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5171. break 2
  5172. fi
  5173. done
  5174. done
  5175. IFS=$as_save_IFS
  5176. fi
  5177. fi
  5178. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  5179. if test -n "$ac_ct_CXX"; then
  5180. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  5181. printf "%s\n" "$ac_ct_CXX" >&6; }
  5182. else
  5183. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5184. printf "%s\n" "no" >&6; }
  5185. fi
  5186. test -n "$ac_ct_CXX" && break
  5187. done
  5188. if test "x$ac_ct_CXX" = x; then
  5189. CXX="g++"
  5190. else
  5191. case $cross_compiling:$ac_tool_warned in
  5192. yes:)
  5193. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5194. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5195. ac_tool_warned=yes ;;
  5196. esac
  5197. CXX=$ac_ct_CXX
  5198. fi
  5199. fi
  5200. fi
  5201. fi
  5202. # Provide some information about the compiler.
  5203. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  5204. set X $ac_compile
  5205. ac_compiler=$2
  5206. for ac_option in --version -v -V -qversion; do
  5207. { { ac_try="$ac_compiler $ac_option >&5"
  5208. case "(($ac_try" in
  5209. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5210. *) ac_try_echo=$ac_try;;
  5211. esac
  5212. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5213. printf "%s\n" "$ac_try_echo"; } >&5
  5214. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  5215. ac_status=$?
  5216. if test -s conftest.err; then
  5217. sed '10a\
  5218. ... rest of stderr output deleted ...
  5219. 10q' conftest.err >conftest.er1
  5220. cat conftest.er1 >&5
  5221. fi
  5222. rm -f conftest.er1 conftest.err
  5223. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5224. test $ac_status = 0; }
  5225. done
  5226. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
  5227. printf %s "checking whether the compiler supports GNU C++... " >&6; }
  5228. if test ${ac_cv_cxx_compiler_gnu+y}
  5229. then :
  5230. printf %s "(cached) " >&6
  5231. else $as_nop
  5232. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5233. /* end confdefs.h. */
  5234. int
  5235. main (void)
  5236. {
  5237. #ifndef __GNUC__
  5238. choke me
  5239. #endif
  5240. ;
  5241. return 0;
  5242. }
  5243. _ACEOF
  5244. if ac_fn_cxx_try_compile "$LINENO"
  5245. then :
  5246. ac_compiler_gnu=yes
  5247. else $as_nop
  5248. ac_compiler_gnu=no
  5249. fi
  5250. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5251. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  5252. fi
  5253. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  5254. printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
  5255. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  5256. if test $ac_compiler_gnu = yes; then
  5257. GXX=yes
  5258. else
  5259. GXX=
  5260. fi
  5261. ac_test_CXXFLAGS=${CXXFLAGS+y}
  5262. ac_save_CXXFLAGS=$CXXFLAGS
  5263. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  5264. printf %s "checking whether $CXX accepts -g... " >&6; }
  5265. if test ${ac_cv_prog_cxx_g+y}
  5266. then :
  5267. printf %s "(cached) " >&6
  5268. else $as_nop
  5269. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  5270. ac_cxx_werror_flag=yes
  5271. ac_cv_prog_cxx_g=no
  5272. CXXFLAGS="-g"
  5273. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5274. /* end confdefs.h. */
  5275. int
  5276. main (void)
  5277. {
  5278. ;
  5279. return 0;
  5280. }
  5281. _ACEOF
  5282. if ac_fn_cxx_try_compile "$LINENO"
  5283. then :
  5284. ac_cv_prog_cxx_g=yes
  5285. else $as_nop
  5286. CXXFLAGS=""
  5287. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5288. /* end confdefs.h. */
  5289. int
  5290. main (void)
  5291. {
  5292. ;
  5293. return 0;
  5294. }
  5295. _ACEOF
  5296. if ac_fn_cxx_try_compile "$LINENO"
  5297. then :
  5298. else $as_nop
  5299. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  5300. CXXFLAGS="-g"
  5301. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5302. /* end confdefs.h. */
  5303. int
  5304. main (void)
  5305. {
  5306. ;
  5307. return 0;
  5308. }
  5309. _ACEOF
  5310. if ac_fn_cxx_try_compile "$LINENO"
  5311. then :
  5312. ac_cv_prog_cxx_g=yes
  5313. fi
  5314. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5315. fi
  5316. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5317. fi
  5318. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5319. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  5320. fi
  5321. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  5322. printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
  5323. if test $ac_test_CXXFLAGS; then
  5324. CXXFLAGS=$ac_save_CXXFLAGS
  5325. elif test $ac_cv_prog_cxx_g = yes; then
  5326. if test "$GXX" = yes; then
  5327. CXXFLAGS="-g -O2"
  5328. else
  5329. CXXFLAGS="-g"
  5330. fi
  5331. else
  5332. if test "$GXX" = yes; then
  5333. CXXFLAGS="-O2"
  5334. else
  5335. CXXFLAGS=
  5336. fi
  5337. fi
  5338. ac_prog_cxx_stdcxx=no
  5339. if test x$ac_prog_cxx_stdcxx = xno
  5340. then :
  5341. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
  5342. printf %s "checking for $CXX option to enable C++11 features... " >&6; }
  5343. if test ${ac_cv_prog_cxx_11+y}
  5344. then :
  5345. printf %s "(cached) " >&6
  5346. else $as_nop
  5347. ac_cv_prog_cxx_11=no
  5348. ac_save_CXX=$CXX
  5349. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5350. /* end confdefs.h. */
  5351. $ac_cxx_conftest_cxx11_program
  5352. _ACEOF
  5353. for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
  5354. do
  5355. CXX="$ac_save_CXX $ac_arg"
  5356. if ac_fn_cxx_try_compile "$LINENO"
  5357. then :
  5358. ac_cv_prog_cxx_cxx11=$ac_arg
  5359. fi
  5360. rm -f core conftest.err conftest.$ac_objext conftest.beam
  5361. test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
  5362. done
  5363. rm -f conftest.$ac_ext
  5364. CXX=$ac_save_CXX
  5365. fi
  5366. if test "x$ac_cv_prog_cxx_cxx11" = xno
  5367. then :
  5368. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5369. printf "%s\n" "unsupported" >&6; }
  5370. else $as_nop
  5371. if test "x$ac_cv_prog_cxx_cxx11" = x
  5372. then :
  5373. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5374. printf "%s\n" "none needed" >&6; }
  5375. else $as_nop
  5376. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
  5377. printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
  5378. CXX="$CXX $ac_cv_prog_cxx_cxx11"
  5379. fi
  5380. ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
  5381. ac_prog_cxx_stdcxx=cxx11
  5382. fi
  5383. fi
  5384. if test x$ac_prog_cxx_stdcxx = xno
  5385. then :
  5386. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
  5387. printf %s "checking for $CXX option to enable C++98 features... " >&6; }
  5388. if test ${ac_cv_prog_cxx_98+y}
  5389. then :
  5390. printf %s "(cached) " >&6
  5391. else $as_nop
  5392. ac_cv_prog_cxx_98=no
  5393. ac_save_CXX=$CXX
  5394. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5395. /* end confdefs.h. */
  5396. $ac_cxx_conftest_cxx98_program
  5397. _ACEOF
  5398. for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
  5399. do
  5400. CXX="$ac_save_CXX $ac_arg"
  5401. if ac_fn_cxx_try_compile "$LINENO"
  5402. then :
  5403. ac_cv_prog_cxx_cxx98=$ac_arg
  5404. fi
  5405. rm -f core conftest.err conftest.$ac_objext conftest.beam
  5406. test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
  5407. done
  5408. rm -f conftest.$ac_ext
  5409. CXX=$ac_save_CXX
  5410. fi
  5411. if test "x$ac_cv_prog_cxx_cxx98" = xno
  5412. then :
  5413. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5414. printf "%s\n" "unsupported" >&6; }
  5415. else $as_nop
  5416. if test "x$ac_cv_prog_cxx_cxx98" = x
  5417. then :
  5418. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5419. printf "%s\n" "none needed" >&6; }
  5420. else $as_nop
  5421. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
  5422. printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
  5423. CXX="$CXX $ac_cv_prog_cxx_cxx98"
  5424. fi
  5425. ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
  5426. ac_prog_cxx_stdcxx=cxx98
  5427. fi
  5428. fi
  5429. ac_ext=c
  5430. ac_cpp='$CPP $CPPFLAGS'
  5431. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5432. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5433. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5434. if test -n "$ac_tool_prefix"; then
  5435. # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
  5436. set dummy ${ac_tool_prefix}cpp; ac_word=$2
  5437. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5438. printf %s "checking for $ac_word... " >&6; }
  5439. if test ${ac_cv_prog_CPPBIN+y}
  5440. then :
  5441. printf %s "(cached) " >&6
  5442. else $as_nop
  5443. if test -n "$CPPBIN"; then
  5444. ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
  5445. else
  5446. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5447. for as_dir in $PATH
  5448. do
  5449. IFS=$as_save_IFS
  5450. case $as_dir in #(((
  5451. '') as_dir=./ ;;
  5452. */) ;;
  5453. *) as_dir=$as_dir/ ;;
  5454. esac
  5455. for ac_exec_ext in '' $ac_executable_extensions; do
  5456. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5457. ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
  5458. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5459. break 2
  5460. fi
  5461. done
  5462. done
  5463. IFS=$as_save_IFS
  5464. fi
  5465. fi
  5466. CPPBIN=$ac_cv_prog_CPPBIN
  5467. if test -n "$CPPBIN"; then
  5468. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
  5469. printf "%s\n" "$CPPBIN" >&6; }
  5470. else
  5471. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5472. printf "%s\n" "no" >&6; }
  5473. fi
  5474. fi
  5475. if test -z "$ac_cv_prog_CPPBIN"; then
  5476. ac_ct_CPPBIN=$CPPBIN
  5477. # Extract the first word of "cpp", so it can be a program name with args.
  5478. set dummy cpp; ac_word=$2
  5479. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5480. printf %s "checking for $ac_word... " >&6; }
  5481. if test ${ac_cv_prog_ac_ct_CPPBIN+y}
  5482. then :
  5483. printf %s "(cached) " >&6
  5484. else $as_nop
  5485. if test -n "$ac_ct_CPPBIN"; then
  5486. ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
  5487. else
  5488. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5489. for as_dir in $PATH
  5490. do
  5491. IFS=$as_save_IFS
  5492. case $as_dir in #(((
  5493. '') as_dir=./ ;;
  5494. */) ;;
  5495. *) as_dir=$as_dir/ ;;
  5496. esac
  5497. for ac_exec_ext in '' $ac_executable_extensions; do
  5498. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5499. ac_cv_prog_ac_ct_CPPBIN="cpp"
  5500. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5501. break 2
  5502. fi
  5503. done
  5504. done
  5505. IFS=$as_save_IFS
  5506. fi
  5507. fi
  5508. ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
  5509. if test -n "$ac_ct_CPPBIN"; then
  5510. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
  5511. printf "%s\n" "$ac_ct_CPPBIN" >&6; }
  5512. else
  5513. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5514. printf "%s\n" "no" >&6; }
  5515. fi
  5516. if test "x$ac_ct_CPPBIN" = x; then
  5517. CPPBIN="cpp"
  5518. else
  5519. case $cross_compiling:$ac_tool_warned in
  5520. yes:)
  5521. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5522. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5523. ac_tool_warned=yes ;;
  5524. esac
  5525. CPPBIN=$ac_ct_CPPBIN
  5526. fi
  5527. else
  5528. CPPBIN="$ac_cv_prog_CPPBIN"
  5529. fi
  5530. printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
  5531. if test -n "$ac_tool_prefix"; then
  5532. # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
  5533. set dummy ${ac_tool_prefix}ld; ac_word=$2
  5534. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5535. printf %s "checking for $ac_word... " >&6; }
  5536. if test ${ac_cv_prog_LD+y}
  5537. then :
  5538. printf %s "(cached) " >&6
  5539. else $as_nop
  5540. if test -n "$LD"; then
  5541. ac_cv_prog_LD="$LD" # Let the user override the test.
  5542. else
  5543. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5544. for as_dir in $PATH
  5545. do
  5546. IFS=$as_save_IFS
  5547. case $as_dir in #(((
  5548. '') as_dir=./ ;;
  5549. */) ;;
  5550. *) as_dir=$as_dir/ ;;
  5551. esac
  5552. for ac_exec_ext in '' $ac_executable_extensions; do
  5553. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5554. ac_cv_prog_LD="${ac_tool_prefix}ld"
  5555. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5556. break 2
  5557. fi
  5558. done
  5559. done
  5560. IFS=$as_save_IFS
  5561. fi
  5562. fi
  5563. LD=$ac_cv_prog_LD
  5564. if test -n "$LD"; then
  5565. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5566. printf "%s\n" "$LD" >&6; }
  5567. else
  5568. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5569. printf "%s\n" "no" >&6; }
  5570. fi
  5571. fi
  5572. if test -z "$ac_cv_prog_LD"; then
  5573. ac_ct_LD=$LD
  5574. # Extract the first word of "ld", so it can be a program name with args.
  5575. set dummy ld; ac_word=$2
  5576. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5577. printf %s "checking for $ac_word... " >&6; }
  5578. if test ${ac_cv_prog_ac_ct_LD+y}
  5579. then :
  5580. printf %s "(cached) " >&6
  5581. else $as_nop
  5582. if test -n "$ac_ct_LD"; then
  5583. ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
  5584. else
  5585. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5586. for as_dir in $PATH
  5587. do
  5588. IFS=$as_save_IFS
  5589. case $as_dir in #(((
  5590. '') as_dir=./ ;;
  5591. */) ;;
  5592. *) as_dir=$as_dir/ ;;
  5593. esac
  5594. for ac_exec_ext in '' $ac_executable_extensions; do
  5595. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5596. ac_cv_prog_ac_ct_LD="ld"
  5597. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5598. break 2
  5599. fi
  5600. done
  5601. done
  5602. IFS=$as_save_IFS
  5603. fi
  5604. fi
  5605. ac_ct_LD=$ac_cv_prog_ac_ct_LD
  5606. if test -n "$ac_ct_LD"; then
  5607. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
  5608. printf "%s\n" "$ac_ct_LD" >&6; }
  5609. else
  5610. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5611. printf "%s\n" "no" >&6; }
  5612. fi
  5613. if test "x$ac_ct_LD" = x; then
  5614. LD=""
  5615. else
  5616. case $cross_compiling:$ac_tool_warned in
  5617. yes:)
  5618. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5619. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5620. ac_tool_warned=yes ;;
  5621. esac
  5622. LD=$ac_ct_LD
  5623. fi
  5624. else
  5625. LD="$ac_cv_prog_LD"
  5626. fi
  5627. case $host in
  5628. *-darwin*)
  5629. with_fontconfig=${with_fontconfig:-no}
  5630. ;;
  5631. *-mingw32*|*-cygwin*)
  5632. enable_win16=${enable_win16:-no}
  5633. with_mingw=${with_mingw:-no}
  5634. ;;
  5635. esac
  5636. case $host in
  5637. x86_64*|amd64*)
  5638. if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
  5639. then
  5640. CC="$CC -m32"
  5641. CXX="$CXX -m32"
  5642. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
  5643. printf %s "checking whether $CC works... " >&6; }
  5644. if test ${wine_cv_cc_m32+y}
  5645. then :
  5646. printf %s "(cached) " >&6
  5647. else $as_nop
  5648. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5649. /* end confdefs.h. */
  5650. int
  5651. main (void)
  5652. {
  5653. ;
  5654. return 0;
  5655. }
  5656. _ACEOF
  5657. if ac_fn_c_try_link "$LINENO"
  5658. then :
  5659. wine_cv_cc_m32=yes
  5660. else $as_nop
  5661. wine_cv_cc_m32=no
  5662. fi
  5663. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5664. conftest$ac_exeext conftest.$ac_ext
  5665. fi
  5666. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
  5667. printf "%s\n" "$wine_cv_cc_m32" >&6; }
  5668. 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
  5669. host_cpu="i386"
  5670. notice_platform="32-bit "
  5671. TARGETFLAGS="$TARGETFLAGS -m32"
  5672. PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
  5673. export PKG_CONFIG_PATH
  5674. enable_win16=${enable_win16:-yes}
  5675. with_unwind=${with_unwind:-no}
  5676. else
  5677. if test "x${GCC}" = "xyes"
  5678. then
  5679. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5680. printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5681. if test ${wine_cv_builtin_ms_va_list+y}
  5682. then :
  5683. printf %s "(cached) " >&6
  5684. else $as_nop
  5685. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5686. /* end confdefs.h. */
  5687. #include <stdarg.h>
  5688. int
  5689. main (void)
  5690. {
  5691. void func(__builtin_ms_va_list *args);
  5692. ;
  5693. return 0;
  5694. }
  5695. _ACEOF
  5696. if ac_fn_c_try_compile "$LINENO"
  5697. then :
  5698. wine_cv_builtin_ms_va_list=yes
  5699. else $as_nop
  5700. wine_cv_builtin_ms_va_list=no
  5701. fi
  5702. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5703. fi
  5704. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5705. printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
  5706. 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
  5707. fi
  5708. CC="$CC -m64"
  5709. CXX="$CXX -m64"
  5710. host_cpu="x86_64"
  5711. notice_platform="64-bit "
  5712. TARGETFLAGS="$TARGETFLAGS -m64"
  5713. enable_wow64=${enable_wow64:-yes}
  5714. enable_wow64win=${enable_wow64win:-yes}
  5715. enable_wow64cpu=${enable_wow64cpu:-yes}
  5716. fi
  5717. ;;
  5718. arm*)
  5719. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
  5720. printf %s "checking whether $CC supports Thumb-2... " >&6; }
  5721. if test ${wine_cv_thumb2+y}
  5722. then :
  5723. printf %s "(cached) " >&6
  5724. else $as_nop
  5725. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5726. /* end confdefs.h. */
  5727. int
  5728. main (void)
  5729. {
  5730. asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
  5731. ;
  5732. return 0;
  5733. }
  5734. _ACEOF
  5735. if ac_fn_c_try_link "$LINENO"
  5736. then :
  5737. wine_cv_thumb2=yes
  5738. else $as_nop
  5739. wine_cv_thumb2=no
  5740. fi
  5741. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5742. conftest$ac_exeext conftest.$ac_ext
  5743. fi
  5744. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
  5745. printf "%s\n" "$wine_cv_thumb2" >&6; }
  5746. if test x"$wine_cv_thumb2" = xyes
  5747. then
  5748. CFLAGS="$CFLAGS -mthumb"
  5749. TARGETFLAGS="$TARGETFLAGS -mthumb"
  5750. else
  5751. CFLAGS="$CFLAGS -marm"
  5752. TARGETFLAGS="$TARGETFLAGS -marm"
  5753. fi
  5754. case $with_float_abi in
  5755. soft|softfp|hard)
  5756. float_abi=$with_float_abi ;;
  5757. *)
  5758. case $host_os in
  5759. *eabihf)
  5760. float_abi=hard ;;
  5761. *)
  5762. float_abi=softfp
  5763. saved_CFLAGS=$CFLAGS
  5764. CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
  5765. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
  5766. printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
  5767. if test ${wine_cv_float_abi+y}
  5768. then :
  5769. printf %s "(cached) " >&6
  5770. else $as_nop
  5771. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5772. /* end confdefs.h. */
  5773. int
  5774. main (void)
  5775. {
  5776. asm("vmrs r2,fpscr");
  5777. ;
  5778. return 0;
  5779. }
  5780. _ACEOF
  5781. if ac_fn_c_try_link "$LINENO"
  5782. then :
  5783. wine_cv_float_abi=yes
  5784. else $as_nop
  5785. wine_cv_float_abi=no
  5786. fi
  5787. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5788. conftest$ac_exeext conftest.$ac_ext
  5789. fi
  5790. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
  5791. printf "%s\n" "$wine_cv_float_abi" >&6; }
  5792. if test $wine_cv_float_abi = no
  5793. then
  5794. float_abi=soft
  5795. as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
  5796. fi
  5797. CFLAGS=$saved_CFLAGS
  5798. esac
  5799. ;;
  5800. esac
  5801. CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
  5802. TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
  5803. ;;
  5804. aarch64*)
  5805. enable_wow64=${enable_wow64:-yes}
  5806. enable_wow64win=${enable_wow64win:-yes}
  5807. ;;
  5808. i[3456789]86*)
  5809. enable_win16=${enable_win16:-yes}
  5810. with_unwind=${with_unwind:-no}
  5811. ;;
  5812. esac
  5813. enable_win16=${enable_win16:-no}
  5814. enable_win64=${enable_win64:-no}
  5815. enable_wow64=${enable_wow64:-no}
  5816. enable_wow64win=${enable_wow64win:-no}
  5817. enable_wow64cpu=${enable_wow64cpu:-no}
  5818. enable_winetest=${enable_winetest:-$enable_tests}
  5819. if test "x$enable_win64" = "xyes"
  5820. then
  5821. test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
  5822. --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
  5823. fi
  5824. case $build_os in
  5825. cygwin*|mingw32*) toolsext=".exe"
  5826. ;;
  5827. *) toolsext=""
  5828. ;;
  5829. esac
  5830. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
  5831. printf %s "checking for the directory containing the Wine tools... " >&6; }
  5832. if test ${wine_cv_toolsdir+y}
  5833. then :
  5834. printf %s "(cached) " >&6
  5835. else $as_nop
  5836. wine_cv_toolsdir="$with_wine_tools"
  5837. if test -z "$with_wine_tools"; then
  5838. if test "$cross_compiling" = "yes"; then
  5839. as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
  5840. elif test -n "$with_wine64"; then
  5841. wine_cv_toolsdir="$with_wine64"
  5842. fi
  5843. fi
  5844. fi
  5845. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
  5846. printf "%s\n" "$wine_cv_toolsdir" >&6; }
  5847. if test -z "$wine_cv_toolsdir"; then
  5848. wine_makedep=tools/makedep$toolsext
  5849. elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
  5850. wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
  5851. enable_tools=${enable_tools:-no}
  5852. test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
  5853. else
  5854. as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
  5855. fi
  5856. toolsdir=$wine_cv_toolsdir
  5857. MAKEDEP=$wine_makedep
  5858. RUNTESTFLAGS="-q -P wine"
  5859. SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
  5860. if test -n "$host_alias" -a "$host_alias" != "$build_alias"
  5861. then
  5862. TARGETFLAGS="-b $host_alias $TARGETFLAGS"
  5863. fi
  5864. for ac_prog in flex
  5865. do
  5866. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5867. set dummy $ac_prog; ac_word=$2
  5868. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5869. printf %s "checking for $ac_word... " >&6; }
  5870. if test ${ac_cv_prog_FLEX+y}
  5871. then :
  5872. printf %s "(cached) " >&6
  5873. else $as_nop
  5874. if test -n "$FLEX"; then
  5875. ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
  5876. else
  5877. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5878. for as_dir in $PATH
  5879. do
  5880. IFS=$as_save_IFS
  5881. case $as_dir in #(((
  5882. '') as_dir=./ ;;
  5883. */) ;;
  5884. *) as_dir=$as_dir/ ;;
  5885. esac
  5886. for ac_exec_ext in '' $ac_executable_extensions; do
  5887. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5888. ac_cv_prog_FLEX="$ac_prog"
  5889. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5890. break 2
  5891. fi
  5892. done
  5893. done
  5894. IFS=$as_save_IFS
  5895. fi
  5896. fi
  5897. FLEX=$ac_cv_prog_FLEX
  5898. if test -n "$FLEX"; then
  5899. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
  5900. printf "%s\n" "$FLEX" >&6; }
  5901. else
  5902. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5903. printf "%s\n" "no" >&6; }
  5904. fi
  5905. test -n "$FLEX" && break
  5906. done
  5907. test -n "$FLEX" || FLEX="none"
  5908. if test "$FLEX" = "none"
  5909. then
  5910. as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
  5911. fi
  5912. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
  5913. printf %s "checking whether flex is recent enough... " >&6; }
  5914. if test ${wine_cv_recent_flex+y}
  5915. then :
  5916. printf %s "(cached) " >&6
  5917. else $as_nop
  5918. cat >conftest.l <<EOF
  5919. %top{
  5920. #include "prediluvian.h"
  5921. }
  5922. %%
  5923. EOF
  5924. if $FLEX -t conftest.l >/dev/null 2>&5
  5925. then
  5926. wine_cv_recent_flex=yes
  5927. else
  5928. wine_cv_recent_flex=no
  5929. fi
  5930. fi
  5931. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
  5932. printf "%s\n" "$wine_cv_recent_flex" >&6; }
  5933. 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
  5934. for ac_prog in bison
  5935. do
  5936. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5937. set dummy $ac_prog; ac_word=$2
  5938. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5939. printf %s "checking for $ac_word... " >&6; }
  5940. if test ${ac_cv_prog_BISON+y}
  5941. then :
  5942. printf %s "(cached) " >&6
  5943. else $as_nop
  5944. if test -n "$BISON"; then
  5945. ac_cv_prog_BISON="$BISON" # Let the user override the test.
  5946. else
  5947. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5948. for as_dir in $PATH
  5949. do
  5950. IFS=$as_save_IFS
  5951. case $as_dir in #(((
  5952. '') as_dir=./ ;;
  5953. */) ;;
  5954. *) as_dir=$as_dir/ ;;
  5955. esac
  5956. for ac_exec_ext in '' $ac_executable_extensions; do
  5957. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5958. ac_cv_prog_BISON="$ac_prog"
  5959. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5960. break 2
  5961. fi
  5962. done
  5963. done
  5964. IFS=$as_save_IFS
  5965. fi
  5966. fi
  5967. BISON=$ac_cv_prog_BISON
  5968. if test -n "$BISON"; then
  5969. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
  5970. printf "%s\n" "$BISON" >&6; }
  5971. else
  5972. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5973. printf "%s\n" "no" >&6; }
  5974. fi
  5975. test -n "$BISON" && break
  5976. done
  5977. test -n "$BISON" || BISON="none"
  5978. if test "$BISON" = "none"
  5979. then
  5980. as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
  5981. fi
  5982. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
  5983. printf %s "checking whether bison is recent enough... " >&6; }
  5984. if test ${wine_cv_recent_bison+y}
  5985. then :
  5986. printf %s "(cached) " >&6
  5987. else $as_nop
  5988. cat >conftest.y <<EOF
  5989. %define parse.error verbose
  5990. %%
  5991. empty: ;
  5992. EOF
  5993. if $BISON conftest.y >/dev/null 2>&5
  5994. then
  5995. wine_cv_recent_bison=yes
  5996. else
  5997. wine_cv_recent_bison=no
  5998. fi
  5999. fi
  6000. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
  6001. printf "%s\n" "$wine_cv_recent_bison" >&6; }
  6002. 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
  6003. if test -n "$ac_tool_prefix"; then
  6004. for ac_prog in ar gar
  6005. do
  6006. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6007. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6008. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6009. printf %s "checking for $ac_word... " >&6; }
  6010. if test ${ac_cv_prog_AR+y}
  6011. then :
  6012. printf %s "(cached) " >&6
  6013. else $as_nop
  6014. if test -n "$AR"; then
  6015. ac_cv_prog_AR="$AR" # Let the user override the test.
  6016. else
  6017. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6018. for as_dir in $PATH
  6019. do
  6020. IFS=$as_save_IFS
  6021. case $as_dir in #(((
  6022. '') as_dir=./ ;;
  6023. */) ;;
  6024. *) as_dir=$as_dir/ ;;
  6025. esac
  6026. for ac_exec_ext in '' $ac_executable_extensions; do
  6027. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6028. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  6029. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6030. break 2
  6031. fi
  6032. done
  6033. done
  6034. IFS=$as_save_IFS
  6035. fi
  6036. fi
  6037. AR=$ac_cv_prog_AR
  6038. if test -n "$AR"; then
  6039. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6040. printf "%s\n" "$AR" >&6; }
  6041. else
  6042. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6043. printf "%s\n" "no" >&6; }
  6044. fi
  6045. test -n "$AR" && break
  6046. done
  6047. fi
  6048. if test -z "$AR"; then
  6049. ac_ct_AR=$AR
  6050. for ac_prog in ar gar
  6051. do
  6052. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6053. set dummy $ac_prog; ac_word=$2
  6054. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6055. printf %s "checking for $ac_word... " >&6; }
  6056. if test ${ac_cv_prog_ac_ct_AR+y}
  6057. then :
  6058. printf %s "(cached) " >&6
  6059. else $as_nop
  6060. if test -n "$ac_ct_AR"; then
  6061. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6062. else
  6063. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6064. for as_dir in $PATH
  6065. do
  6066. IFS=$as_save_IFS
  6067. case $as_dir in #(((
  6068. '') as_dir=./ ;;
  6069. */) ;;
  6070. *) as_dir=$as_dir/ ;;
  6071. esac
  6072. for ac_exec_ext in '' $ac_executable_extensions; do
  6073. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6074. ac_cv_prog_ac_ct_AR="$ac_prog"
  6075. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6076. break 2
  6077. fi
  6078. done
  6079. done
  6080. IFS=$as_save_IFS
  6081. fi
  6082. fi
  6083. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6084. if test -n "$ac_ct_AR"; then
  6085. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6086. printf "%s\n" "$ac_ct_AR" >&6; }
  6087. else
  6088. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6089. printf "%s\n" "no" >&6; }
  6090. fi
  6091. test -n "$ac_ct_AR" && break
  6092. done
  6093. if test "x$ac_ct_AR" = x; then
  6094. AR="ar"
  6095. else
  6096. case $cross_compiling:$ac_tool_warned in
  6097. yes:)
  6098. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6099. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6100. ac_tool_warned=yes ;;
  6101. esac
  6102. AR=$ac_ct_AR
  6103. fi
  6104. fi
  6105. if test -n "$ac_tool_prefix"; then
  6106. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6107. set dummy ${ac_tool_prefix}strip; ac_word=$2
  6108. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6109. printf %s "checking for $ac_word... " >&6; }
  6110. if test ${ac_cv_prog_STRIP+y}
  6111. then :
  6112. printf %s "(cached) " >&6
  6113. else $as_nop
  6114. if test -n "$STRIP"; then
  6115. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6116. else
  6117. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6118. for as_dir in $PATH
  6119. do
  6120. IFS=$as_save_IFS
  6121. case $as_dir in #(((
  6122. '') as_dir=./ ;;
  6123. */) ;;
  6124. *) as_dir=$as_dir/ ;;
  6125. esac
  6126. for ac_exec_ext in '' $ac_executable_extensions; do
  6127. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6128. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6129. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6130. break 2
  6131. fi
  6132. done
  6133. done
  6134. IFS=$as_save_IFS
  6135. fi
  6136. fi
  6137. STRIP=$ac_cv_prog_STRIP
  6138. if test -n "$STRIP"; then
  6139. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6140. printf "%s\n" "$STRIP" >&6; }
  6141. else
  6142. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6143. printf "%s\n" "no" >&6; }
  6144. fi
  6145. fi
  6146. if test -z "$ac_cv_prog_STRIP"; then
  6147. ac_ct_STRIP=$STRIP
  6148. # Extract the first word of "strip", so it can be a program name with args.
  6149. set dummy strip; ac_word=$2
  6150. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6151. printf %s "checking for $ac_word... " >&6; }
  6152. if test ${ac_cv_prog_ac_ct_STRIP+y}
  6153. then :
  6154. printf %s "(cached) " >&6
  6155. else $as_nop
  6156. if test -n "$ac_ct_STRIP"; then
  6157. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6158. else
  6159. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6160. for as_dir in $PATH
  6161. do
  6162. IFS=$as_save_IFS
  6163. case $as_dir in #(((
  6164. '') as_dir=./ ;;
  6165. */) ;;
  6166. *) as_dir=$as_dir/ ;;
  6167. esac
  6168. for ac_exec_ext in '' $ac_executable_extensions; do
  6169. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6170. ac_cv_prog_ac_ct_STRIP="strip"
  6171. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6172. break 2
  6173. fi
  6174. done
  6175. done
  6176. IFS=$as_save_IFS
  6177. fi
  6178. fi
  6179. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6180. if test -n "$ac_ct_STRIP"; then
  6181. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6182. printf "%s\n" "$ac_ct_STRIP" >&6; }
  6183. else
  6184. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6185. printf "%s\n" "no" >&6; }
  6186. fi
  6187. if test "x$ac_ct_STRIP" = x; then
  6188. STRIP="strip"
  6189. else
  6190. case $cross_compiling:$ac_tool_warned in
  6191. yes:)
  6192. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6193. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6194. ac_tool_warned=yes ;;
  6195. esac
  6196. STRIP=$ac_ct_STRIP
  6197. fi
  6198. else
  6199. STRIP="$ac_cv_prog_STRIP"
  6200. fi
  6201. if test -n "$ac_tool_prefix"; then
  6202. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6203. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6204. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6205. printf %s "checking for $ac_word... " >&6; }
  6206. if test ${ac_cv_prog_RANLIB+y}
  6207. then :
  6208. printf %s "(cached) " >&6
  6209. else $as_nop
  6210. if test -n "$RANLIB"; then
  6211. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6212. else
  6213. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6214. for as_dir in $PATH
  6215. do
  6216. IFS=$as_save_IFS
  6217. case $as_dir in #(((
  6218. '') as_dir=./ ;;
  6219. */) ;;
  6220. *) as_dir=$as_dir/ ;;
  6221. esac
  6222. for ac_exec_ext in '' $ac_executable_extensions; do
  6223. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6224. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6225. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6226. break 2
  6227. fi
  6228. done
  6229. done
  6230. IFS=$as_save_IFS
  6231. fi
  6232. fi
  6233. RANLIB=$ac_cv_prog_RANLIB
  6234. if test -n "$RANLIB"; then
  6235. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6236. printf "%s\n" "$RANLIB" >&6; }
  6237. else
  6238. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6239. printf "%s\n" "no" >&6; }
  6240. fi
  6241. fi
  6242. if test -z "$ac_cv_prog_RANLIB"; then
  6243. ac_ct_RANLIB=$RANLIB
  6244. # Extract the first word of "ranlib", so it can be a program name with args.
  6245. set dummy ranlib; ac_word=$2
  6246. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6247. printf %s "checking for $ac_word... " >&6; }
  6248. if test ${ac_cv_prog_ac_ct_RANLIB+y}
  6249. then :
  6250. printf %s "(cached) " >&6
  6251. else $as_nop
  6252. if test -n "$ac_ct_RANLIB"; then
  6253. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6254. else
  6255. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6256. for as_dir in $PATH
  6257. do
  6258. IFS=$as_save_IFS
  6259. case $as_dir in #(((
  6260. '') as_dir=./ ;;
  6261. */) ;;
  6262. *) as_dir=$as_dir/ ;;
  6263. esac
  6264. for ac_exec_ext in '' $ac_executable_extensions; do
  6265. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6266. ac_cv_prog_ac_ct_RANLIB="ranlib"
  6267. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6268. break 2
  6269. fi
  6270. done
  6271. done
  6272. IFS=$as_save_IFS
  6273. fi
  6274. fi
  6275. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6276. if test -n "$ac_ct_RANLIB"; then
  6277. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6278. printf "%s\n" "$ac_ct_RANLIB" >&6; }
  6279. else
  6280. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6281. printf "%s\n" "no" >&6; }
  6282. fi
  6283. if test "x$ac_ct_RANLIB" = x; then
  6284. RANLIB=":"
  6285. else
  6286. case $cross_compiling:$ac_tool_warned in
  6287. yes:)
  6288. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6289. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6290. ac_tool_warned=yes ;;
  6291. esac
  6292. RANLIB=$ac_ct_RANLIB
  6293. fi
  6294. else
  6295. RANLIB="$ac_cv_prog_RANLIB"
  6296. fi
  6297. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  6298. printf %s "checking whether ln -s works... " >&6; }
  6299. LN_S=$as_ln_s
  6300. if test "$LN_S" = "ln -s"; then
  6301. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  6302. printf "%s\n" "yes" >&6; }
  6303. else
  6304. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  6305. printf "%s\n" "no, using $LN_S" >&6; }
  6306. fi
  6307. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  6308. printf %s "checking for grep that handles long lines and -e... " >&6; }
  6309. if test ${ac_cv_path_GREP+y}
  6310. then :
  6311. printf %s "(cached) " >&6
  6312. else $as_nop
  6313. if test -z "$GREP"; then
  6314. ac_path_GREP_found=false
  6315. # Loop through the user's path and test for each of PROGNAME-LIST
  6316. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6317. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6318. do
  6319. IFS=$as_save_IFS
  6320. case $as_dir in #(((
  6321. '') as_dir=./ ;;
  6322. */) ;;
  6323. *) as_dir=$as_dir/ ;;
  6324. esac
  6325. for ac_prog in grep ggrep
  6326. do
  6327. for ac_exec_ext in '' $ac_executable_extensions; do
  6328. ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
  6329. as_fn_executable_p "$ac_path_GREP" || continue
  6330. # Check for GNU ac_path_GREP and select it if it is found.
  6331. # Check for GNU $ac_path_GREP
  6332. case `"$ac_path_GREP" --version 2>&1` in
  6333. *GNU*)
  6334. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  6335. *)
  6336. ac_count=0
  6337. printf %s 0123456789 >"conftest.in"
  6338. while :
  6339. do
  6340. cat "conftest.in" "conftest.in" >"conftest.tmp"
  6341. mv "conftest.tmp" "conftest.in"
  6342. cp "conftest.in" "conftest.nl"
  6343. printf "%s\n" 'GREP' >> "conftest.nl"
  6344. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6345. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6346. as_fn_arith $ac_count + 1 && ac_count=$as_val
  6347. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  6348. # Best one so far, save it but keep looking for a better one
  6349. ac_cv_path_GREP="$ac_path_GREP"
  6350. ac_path_GREP_max=$ac_count
  6351. fi
  6352. # 10*(2^10) chars as input seems more than enough
  6353. test $ac_count -gt 10 && break
  6354. done
  6355. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6356. esac
  6357. $ac_path_GREP_found && break 3
  6358. done
  6359. done
  6360. done
  6361. IFS=$as_save_IFS
  6362. if test -z "$ac_cv_path_GREP"; then
  6363. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6364. fi
  6365. else
  6366. ac_cv_path_GREP=$GREP
  6367. fi
  6368. fi
  6369. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  6370. printf "%s\n" "$ac_cv_path_GREP" >&6; }
  6371. GREP="$ac_cv_path_GREP"
  6372. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  6373. printf %s "checking for egrep... " >&6; }
  6374. if test ${ac_cv_path_EGREP+y}
  6375. then :
  6376. printf %s "(cached) " >&6
  6377. else $as_nop
  6378. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6379. then ac_cv_path_EGREP="$GREP -E"
  6380. else
  6381. if test -z "$EGREP"; then
  6382. ac_path_EGREP_found=false
  6383. # Loop through the user's path and test for each of PROGNAME-LIST
  6384. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6385. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6386. do
  6387. IFS=$as_save_IFS
  6388. case $as_dir in #(((
  6389. '') as_dir=./ ;;
  6390. */) ;;
  6391. *) as_dir=$as_dir/ ;;
  6392. esac
  6393. for ac_prog in egrep
  6394. do
  6395. for ac_exec_ext in '' $ac_executable_extensions; do
  6396. ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
  6397. as_fn_executable_p "$ac_path_EGREP" || continue
  6398. # Check for GNU ac_path_EGREP and select it if it is found.
  6399. # Check for GNU $ac_path_EGREP
  6400. case `"$ac_path_EGREP" --version 2>&1` in
  6401. *GNU*)
  6402. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6403. *)
  6404. ac_count=0
  6405. printf %s 0123456789 >"conftest.in"
  6406. while :
  6407. do
  6408. cat "conftest.in" "conftest.in" >"conftest.tmp"
  6409. mv "conftest.tmp" "conftest.in"
  6410. cp "conftest.in" "conftest.nl"
  6411. printf "%s\n" 'EGREP' >> "conftest.nl"
  6412. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6413. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6414. as_fn_arith $ac_count + 1 && ac_count=$as_val
  6415. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6416. # Best one so far, save it but keep looking for a better one
  6417. ac_cv_path_EGREP="$ac_path_EGREP"
  6418. ac_path_EGREP_max=$ac_count
  6419. fi
  6420. # 10*(2^10) chars as input seems more than enough
  6421. test $ac_count -gt 10 && break
  6422. done
  6423. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6424. esac
  6425. $ac_path_EGREP_found && break 3
  6426. done
  6427. done
  6428. done
  6429. IFS=$as_save_IFS
  6430. if test -z "$ac_cv_path_EGREP"; then
  6431. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6432. fi
  6433. else
  6434. ac_cv_path_EGREP=$EGREP
  6435. fi
  6436. fi
  6437. fi
  6438. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  6439. printf "%s\n" "$ac_cv_path_EGREP" >&6; }
  6440. EGREP="$ac_cv_path_EGREP"
  6441. # Extract the first word of "ldconfig", so it can be a program name with args.
  6442. set dummy ldconfig; ac_word=$2
  6443. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6444. printf %s "checking for $ac_word... " >&6; }
  6445. if test ${ac_cv_path_LDCONFIG+y}
  6446. then :
  6447. printf %s "(cached) " >&6
  6448. else $as_nop
  6449. case $LDCONFIG in
  6450. [\\/]* | ?:[\\/]*)
  6451. ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
  6452. ;;
  6453. *)
  6454. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6455. for as_dir in /sbin /usr/sbin $PATH
  6456. do
  6457. IFS=$as_save_IFS
  6458. case $as_dir in #(((
  6459. '') as_dir=./ ;;
  6460. */) ;;
  6461. *) as_dir=$as_dir/ ;;
  6462. esac
  6463. for ac_exec_ext in '' $ac_executable_extensions; do
  6464. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6465. ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
  6466. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6467. break 2
  6468. fi
  6469. done
  6470. done
  6471. IFS=$as_save_IFS
  6472. test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
  6473. ;;
  6474. esac
  6475. fi
  6476. LDCONFIG=$ac_cv_path_LDCONFIG
  6477. if test -n "$LDCONFIG"; then
  6478. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
  6479. printf "%s\n" "$LDCONFIG" >&6; }
  6480. else
  6481. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6482. printf "%s\n" "no" >&6; }
  6483. fi
  6484. for ac_prog in msgfmt
  6485. do
  6486. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6487. set dummy $ac_prog; ac_word=$2
  6488. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6489. printf %s "checking for $ac_word... " >&6; }
  6490. if test ${ac_cv_prog_MSGFMT+y}
  6491. then :
  6492. printf %s "(cached) " >&6
  6493. else $as_nop
  6494. if test -n "$MSGFMT"; then
  6495. ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
  6496. else
  6497. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6498. for as_dir in $PATH
  6499. do
  6500. IFS=$as_save_IFS
  6501. case $as_dir in #(((
  6502. '') as_dir=./ ;;
  6503. */) ;;
  6504. *) as_dir=$as_dir/ ;;
  6505. esac
  6506. for ac_exec_ext in '' $ac_executable_extensions; do
  6507. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6508. ac_cv_prog_MSGFMT="$ac_prog"
  6509. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6510. break 2
  6511. fi
  6512. done
  6513. done
  6514. IFS=$as_save_IFS
  6515. fi
  6516. fi
  6517. MSGFMT=$ac_cv_prog_MSGFMT
  6518. if test -n "$MSGFMT"; then
  6519. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  6520. printf "%s\n" "$MSGFMT" >&6; }
  6521. else
  6522. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6523. printf "%s\n" "no" >&6; }
  6524. fi
  6525. test -n "$MSGFMT" && break
  6526. done
  6527. test -n "$MSGFMT" || MSGFMT="false"
  6528. if test ${ac_tool_prefix+y}
  6529. then :
  6530. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6531. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6532. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6533. printf %s "checking for $ac_word... " >&6; }
  6534. if test ${ac_cv_prog_PKG_CONFIG+y}
  6535. then :
  6536. printf %s "(cached) " >&6
  6537. else $as_nop
  6538. if test -n "$PKG_CONFIG"; then
  6539. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6540. else
  6541. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6542. for as_dir in $PATH
  6543. do
  6544. IFS=$as_save_IFS
  6545. case $as_dir in #(((
  6546. '') as_dir=./ ;;
  6547. */) ;;
  6548. *) as_dir=$as_dir/ ;;
  6549. esac
  6550. for ac_exec_ext in '' $ac_executable_extensions; do
  6551. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6552. ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
  6553. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6554. break 2
  6555. fi
  6556. done
  6557. done
  6558. IFS=$as_save_IFS
  6559. fi
  6560. fi
  6561. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6562. if test -n "$PKG_CONFIG"; then
  6563. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6564. printf "%s\n" "$PKG_CONFIG" >&6; }
  6565. else
  6566. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6567. printf "%s\n" "no" >&6; }
  6568. fi
  6569. fi
  6570. if ${ac_cv_prog_PKG_CONFIG:+false} :
  6571. then :
  6572. if test "x$cross_compiling" = xyes
  6573. then :
  6574. else $as_nop
  6575. { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
  6576. # Extract the first word of "pkg-config", so it can be a program name with args.
  6577. set dummy pkg-config; ac_word=$2
  6578. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6579. printf %s "checking for $ac_word... " >&6; }
  6580. if test ${ac_cv_prog_PKG_CONFIG+y}
  6581. then :
  6582. printf %s "(cached) " >&6
  6583. else $as_nop
  6584. if test -n "$PKG_CONFIG"; then
  6585. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6586. else
  6587. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6588. for as_dir in $PATH
  6589. do
  6590. IFS=$as_save_IFS
  6591. case $as_dir in #(((
  6592. '') as_dir=./ ;;
  6593. */) ;;
  6594. *) as_dir=$as_dir/ ;;
  6595. esac
  6596. for ac_exec_ext in '' $ac_executable_extensions; do
  6597. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6598. ac_cv_prog_PKG_CONFIG="pkg-config"
  6599. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6600. break 2
  6601. fi
  6602. done
  6603. done
  6604. IFS=$as_save_IFS
  6605. fi
  6606. fi
  6607. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6608. if test -n "$PKG_CONFIG"; then
  6609. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6610. printf "%s\n" "$PKG_CONFIG" >&6; }
  6611. else
  6612. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6613. printf "%s\n" "no" >&6; }
  6614. fi
  6615. fi
  6616. else $as_nop
  6617. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6618. fi
  6619. if test "x$enable_maintainer_mode" != "xyes"
  6620. then
  6621. FONTFORGE=""
  6622. RSVG=""
  6623. CONVERT=""
  6624. ICOTOOL=""
  6625. else
  6626. test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
  6627. for ac_prog in fontforge
  6628. do
  6629. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6630. set dummy $ac_prog; ac_word=$2
  6631. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6632. printf %s "checking for $ac_word... " >&6; }
  6633. if test ${ac_cv_prog_FONTFORGE+y}
  6634. then :
  6635. printf %s "(cached) " >&6
  6636. else $as_nop
  6637. if test -n "$FONTFORGE"; then
  6638. ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
  6639. else
  6640. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6641. for as_dir in $PATH
  6642. do
  6643. IFS=$as_save_IFS
  6644. case $as_dir in #(((
  6645. '') as_dir=./ ;;
  6646. */) ;;
  6647. *) as_dir=$as_dir/ ;;
  6648. esac
  6649. for ac_exec_ext in '' $ac_executable_extensions; do
  6650. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6651. ac_cv_prog_FONTFORGE="$ac_prog"
  6652. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6653. break 2
  6654. fi
  6655. done
  6656. done
  6657. IFS=$as_save_IFS
  6658. fi
  6659. fi
  6660. FONTFORGE=$ac_cv_prog_FONTFORGE
  6661. if test -n "$FONTFORGE"; then
  6662. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
  6663. printf "%s\n" "$FONTFORGE" >&6; }
  6664. else
  6665. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6666. printf "%s\n" "no" >&6; }
  6667. fi
  6668. test -n "$FONTFORGE" && break
  6669. done
  6670. test -n "$FONTFORGE" || FONTFORGE="false"
  6671. for ac_prog in rsvg-convert rsvg
  6672. do
  6673. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6674. set dummy $ac_prog; ac_word=$2
  6675. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6676. printf %s "checking for $ac_word... " >&6; }
  6677. if test ${ac_cv_prog_RSVG+y}
  6678. then :
  6679. printf %s "(cached) " >&6
  6680. else $as_nop
  6681. if test -n "$RSVG"; then
  6682. ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
  6683. else
  6684. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6685. for as_dir in $PATH
  6686. do
  6687. IFS=$as_save_IFS
  6688. case $as_dir in #(((
  6689. '') as_dir=./ ;;
  6690. */) ;;
  6691. *) as_dir=$as_dir/ ;;
  6692. esac
  6693. for ac_exec_ext in '' $ac_executable_extensions; do
  6694. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6695. ac_cv_prog_RSVG="$ac_prog"
  6696. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6697. break 2
  6698. fi
  6699. done
  6700. done
  6701. IFS=$as_save_IFS
  6702. fi
  6703. fi
  6704. RSVG=$ac_cv_prog_RSVG
  6705. if test -n "$RSVG"; then
  6706. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
  6707. printf "%s\n" "$RSVG" >&6; }
  6708. else
  6709. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6710. printf "%s\n" "no" >&6; }
  6711. fi
  6712. test -n "$RSVG" && break
  6713. done
  6714. test -n "$RSVG" || RSVG="false"
  6715. for ac_prog in convert
  6716. do
  6717. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6718. set dummy $ac_prog; ac_word=$2
  6719. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6720. printf %s "checking for $ac_word... " >&6; }
  6721. if test ${ac_cv_prog_CONVERT+y}
  6722. then :
  6723. printf %s "(cached) " >&6
  6724. else $as_nop
  6725. if test -n "$CONVERT"; then
  6726. ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
  6727. else
  6728. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6729. for as_dir in $PATH
  6730. do
  6731. IFS=$as_save_IFS
  6732. case $as_dir in #(((
  6733. '') as_dir=./ ;;
  6734. */) ;;
  6735. *) as_dir=$as_dir/ ;;
  6736. esac
  6737. for ac_exec_ext in '' $ac_executable_extensions; do
  6738. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6739. ac_cv_prog_CONVERT="$ac_prog"
  6740. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6741. break 2
  6742. fi
  6743. done
  6744. done
  6745. IFS=$as_save_IFS
  6746. fi
  6747. fi
  6748. CONVERT=$ac_cv_prog_CONVERT
  6749. if test -n "$CONVERT"; then
  6750. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
  6751. printf "%s\n" "$CONVERT" >&6; }
  6752. else
  6753. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6754. printf "%s\n" "no" >&6; }
  6755. fi
  6756. test -n "$CONVERT" && break
  6757. done
  6758. test -n "$CONVERT" || CONVERT="false"
  6759. for ac_prog in icotool
  6760. do
  6761. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6762. set dummy $ac_prog; ac_word=$2
  6763. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6764. printf %s "checking for $ac_word... " >&6; }
  6765. if test ${ac_cv_prog_ICOTOOL+y}
  6766. then :
  6767. printf %s "(cached) " >&6
  6768. else $as_nop
  6769. if test -n "$ICOTOOL"; then
  6770. ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
  6771. else
  6772. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6773. for as_dir in $PATH
  6774. do
  6775. IFS=$as_save_IFS
  6776. case $as_dir in #(((
  6777. '') as_dir=./ ;;
  6778. */) ;;
  6779. *) as_dir=$as_dir/ ;;
  6780. esac
  6781. for ac_exec_ext in '' $ac_executable_extensions; do
  6782. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6783. ac_cv_prog_ICOTOOL="$ac_prog"
  6784. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6785. break 2
  6786. fi
  6787. done
  6788. done
  6789. IFS=$as_save_IFS
  6790. fi
  6791. fi
  6792. ICOTOOL=$ac_cv_prog_ICOTOOL
  6793. if test -n "$ICOTOOL"; then
  6794. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
  6795. printf "%s\n" "$ICOTOOL" >&6; }
  6796. else
  6797. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6798. printf "%s\n" "no" >&6; }
  6799. fi
  6800. test -n "$ICOTOOL" && break
  6801. done
  6802. test -n "$ICOTOOL" || ICOTOOL="false"
  6803. test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
  6804. test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
  6805. if test "$CONVERT" = false
  6806. then
  6807. as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
  6808. else
  6809. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
  6810. printf %s "checking for recent enough imagemagick... " >&6; }
  6811. convert_version=`convert --version | head -n1`
  6812. if test "x$convert_version" != "x"
  6813. then
  6814. convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
  6815. convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
  6816. if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
  6817. then
  6818. CONVERT=false
  6819. fi
  6820. fi
  6821. if test "$CONVERT" = false
  6822. then
  6823. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
  6824. printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
  6825. as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6826. else
  6827. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
  6828. printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
  6829. fi
  6830. fi
  6831. if test "$ICOTOOL" = false
  6832. then
  6833. as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
  6834. else
  6835. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
  6836. printf %s "checking for recent enough icotool... " >&6; }
  6837. icotool_version=`icotool --version | head -n1`
  6838. if test "x$icotool_version" != "x"
  6839. then
  6840. icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
  6841. icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
  6842. if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
  6843. then
  6844. ICOTOOL=false
  6845. as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
  6846. fi
  6847. fi
  6848. if test "$ICOTOOL" = false
  6849. then
  6850. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
  6851. printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
  6852. as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6853. else
  6854. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
  6855. printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
  6856. fi
  6857. fi
  6858. with_gettext=yes
  6859. with_gettextpo=yes
  6860. enable_werror=yes
  6861. fi
  6862. test "x$with_gettext" != xno || MSGFMT=false
  6863. if test "$MSGFMT" != "false"
  6864. then
  6865. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
  6866. printf %s "checking whether msgfmt supports contexts... " >&6; }
  6867. if test ${wine_cv_msgfmt_contexts+y}
  6868. then :
  6869. printf %s "(cached) " >&6
  6870. else $as_nop
  6871. cat >conftest.po <<EOF
  6872. # comment
  6873. msgctxt "ctxt"
  6874. msgid "id"
  6875. msgstr "str"
  6876. EOF
  6877. if $MSGFMT -o /dev/null conftest.po 2>&5
  6878. then
  6879. wine_cv_msgfmt_contexts=yes
  6880. else
  6881. wine_cv_msgfmt_contexts=no
  6882. fi
  6883. fi
  6884. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
  6885. printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
  6886. test $wine_cv_msgfmt_contexts != no || MSGFMT=false
  6887. fi
  6888. if test "$MSGFMT" = false
  6889. then :
  6890. case "x$with_gettext" in
  6891. x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
  6892. xno) ;;
  6893. *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
  6894. This is an error since --with-gettext was requested." "$LINENO" 5 ;;
  6895. esac
  6896. enable_po=${enable_po:-no}
  6897. fi
  6898. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
  6899. printf %s "checking for i386_set_ldt in -li386... " >&6; }
  6900. if test ${ac_cv_lib_i386_i386_set_ldt+y}
  6901. then :
  6902. printf %s "(cached) " >&6
  6903. else $as_nop
  6904. ac_check_lib_save_LIBS=$LIBS
  6905. LIBS="-li386 $LIBS"
  6906. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6907. /* end confdefs.h. */
  6908. /* Override any GCC internal prototype to avoid an error.
  6909. Use char because int might match the return type of a GCC
  6910. builtin and then its argument prototype would still apply. */
  6911. char i386_set_ldt ();
  6912. int
  6913. main (void)
  6914. {
  6915. return i386_set_ldt ();
  6916. ;
  6917. return 0;
  6918. }
  6919. _ACEOF
  6920. if ac_fn_c_try_link "$LINENO"
  6921. then :
  6922. ac_cv_lib_i386_i386_set_ldt=yes
  6923. else $as_nop
  6924. ac_cv_lib_i386_i386_set_ldt=no
  6925. fi
  6926. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  6927. conftest$ac_exeext conftest.$ac_ext
  6928. LIBS=$ac_check_lib_save_LIBS
  6929. fi
  6930. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
  6931. printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
  6932. if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
  6933. then :
  6934. I386_LIBS="-li386"
  6935. fi
  6936. OPENGL_LIBS=""
  6937. # Check whether --enable-largefile was given.
  6938. if test ${enable_largefile+y}
  6939. then :
  6940. enableval=$enable_largefile;
  6941. fi
  6942. if test "$enable_largefile" != no; then
  6943. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  6944. printf %s "checking for special C compiler options needed for large files... " >&6; }
  6945. if test ${ac_cv_sys_largefile_CC+y}
  6946. then :
  6947. printf %s "(cached) " >&6
  6948. else $as_nop
  6949. ac_cv_sys_largefile_CC=no
  6950. if test "$GCC" != yes; then
  6951. ac_save_CC=$CC
  6952. while :; do
  6953. # IRIX 6.2 and later do not support large files by default,
  6954. # so use the C compiler's -n32 option if that helps.
  6955. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6956. /* end confdefs.h. */
  6957. #include <sys/types.h>
  6958. /* Check that off_t can represent 2**63 - 1 correctly.
  6959. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6960. since some C++ compilers masquerading as C compilers
  6961. incorrectly reject 9223372036854775807. */
  6962. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  6963. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6964. && LARGE_OFF_T % 2147483647 == 1)
  6965. ? 1 : -1];
  6966. int
  6967. main (void)
  6968. {
  6969. ;
  6970. return 0;
  6971. }
  6972. _ACEOF
  6973. if ac_fn_c_try_compile "$LINENO"
  6974. then :
  6975. break
  6976. fi
  6977. rm -f core conftest.err conftest.$ac_objext conftest.beam
  6978. CC="$CC -n32"
  6979. if ac_fn_c_try_compile "$LINENO"
  6980. then :
  6981. ac_cv_sys_largefile_CC=' -n32'; break
  6982. fi
  6983. rm -f core conftest.err conftest.$ac_objext conftest.beam
  6984. break
  6985. done
  6986. CC=$ac_save_CC
  6987. rm -f conftest.$ac_ext
  6988. fi
  6989. fi
  6990. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  6991. printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
  6992. if test "$ac_cv_sys_largefile_CC" != no; then
  6993. CC=$CC$ac_cv_sys_largefile_CC
  6994. fi
  6995. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  6996. printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  6997. if test ${ac_cv_sys_file_offset_bits+y}
  6998. then :
  6999. printf %s "(cached) " >&6
  7000. else $as_nop
  7001. while :; do
  7002. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7003. /* end confdefs.h. */
  7004. #include <sys/types.h>
  7005. /* Check that off_t can represent 2**63 - 1 correctly.
  7006. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7007. since some C++ compilers masquerading as C compilers
  7008. incorrectly reject 9223372036854775807. */
  7009. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7010. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7011. && LARGE_OFF_T % 2147483647 == 1)
  7012. ? 1 : -1];
  7013. int
  7014. main (void)
  7015. {
  7016. ;
  7017. return 0;
  7018. }
  7019. _ACEOF
  7020. if ac_fn_c_try_compile "$LINENO"
  7021. then :
  7022. ac_cv_sys_file_offset_bits=no; break
  7023. fi
  7024. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7025. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7026. /* end confdefs.h. */
  7027. #define _FILE_OFFSET_BITS 64
  7028. #include <sys/types.h>
  7029. /* Check that off_t can represent 2**63 - 1 correctly.
  7030. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7031. since some C++ compilers masquerading as C compilers
  7032. incorrectly reject 9223372036854775807. */
  7033. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7034. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7035. && LARGE_OFF_T % 2147483647 == 1)
  7036. ? 1 : -1];
  7037. int
  7038. main (void)
  7039. {
  7040. ;
  7041. return 0;
  7042. }
  7043. _ACEOF
  7044. if ac_fn_c_try_compile "$LINENO"
  7045. then :
  7046. ac_cv_sys_file_offset_bits=64; break
  7047. fi
  7048. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7049. ac_cv_sys_file_offset_bits=unknown
  7050. break
  7051. done
  7052. fi
  7053. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  7054. printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
  7055. case $ac_cv_sys_file_offset_bits in #(
  7056. no | unknown) ;;
  7057. *)
  7058. printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
  7059. ;;
  7060. esac
  7061. rm -rf conftest*
  7062. if test $ac_cv_sys_file_offset_bits = unknown; then
  7063. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  7064. printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
  7065. if test ${ac_cv_sys_large_files+y}
  7066. then :
  7067. printf %s "(cached) " >&6
  7068. else $as_nop
  7069. while :; do
  7070. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7071. /* end confdefs.h. */
  7072. #include <sys/types.h>
  7073. /* Check that off_t can represent 2**63 - 1 correctly.
  7074. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7075. since some C++ compilers masquerading as C compilers
  7076. incorrectly reject 9223372036854775807. */
  7077. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7078. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7079. && LARGE_OFF_T % 2147483647 == 1)
  7080. ? 1 : -1];
  7081. int
  7082. main (void)
  7083. {
  7084. ;
  7085. return 0;
  7086. }
  7087. _ACEOF
  7088. if ac_fn_c_try_compile "$LINENO"
  7089. then :
  7090. ac_cv_sys_large_files=no; break
  7091. fi
  7092. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7093. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7094. /* end confdefs.h. */
  7095. #define _LARGE_FILES 1
  7096. #include <sys/types.h>
  7097. /* Check that off_t can represent 2**63 - 1 correctly.
  7098. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7099. since some C++ compilers masquerading as C compilers
  7100. incorrectly reject 9223372036854775807. */
  7101. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7102. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7103. && LARGE_OFF_T % 2147483647 == 1)
  7104. ? 1 : -1];
  7105. int
  7106. main (void)
  7107. {
  7108. ;
  7109. return 0;
  7110. }
  7111. _ACEOF
  7112. if ac_fn_c_try_compile "$LINENO"
  7113. then :
  7114. ac_cv_sys_large_files=1; break
  7115. fi
  7116. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7117. ac_cv_sys_large_files=unknown
  7118. break
  7119. done
  7120. fi
  7121. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  7122. printf "%s\n" "$ac_cv_sys_large_files" >&6; }
  7123. case $ac_cv_sys_large_files in #(
  7124. no | unknown) ;;
  7125. *)
  7126. printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
  7127. ;;
  7128. esac
  7129. rm -rf conftest*
  7130. fi
  7131. fi
  7132. ac_header= ac_cache=
  7133. for ac_item in $ac_header_c_list
  7134. do
  7135. if test $ac_cache; then
  7136. ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
  7137. if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
  7138. printf "%s\n" "#define $ac_item 1" >> confdefs.h
  7139. fi
  7140. ac_header= ac_cache=
  7141. elif test $ac_header; then
  7142. ac_cache=$ac_item
  7143. else
  7144. ac_header=$ac_item
  7145. fi
  7146. done
  7147. if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
  7148. then :
  7149. printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
  7150. fi
  7151. ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
  7152. if test "x$ac_cv_header_AL_al_h" = xyes
  7153. then :
  7154. printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
  7155. fi
  7156. ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
  7157. if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
  7158. then :
  7159. printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
  7160. fi
  7161. ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
  7162. if test "x$ac_cv_header_CL_cl_h" = xyes
  7163. then :
  7164. printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
  7165. fi
  7166. ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
  7167. if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
  7168. then :
  7169. printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
  7170. fi
  7171. ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
  7172. if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
  7173. then :
  7174. printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
  7175. fi
  7176. ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
  7177. if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
  7178. then :
  7179. printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
  7180. fi
  7181. ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
  7182. if test "x$ac_cv_header_EGL_egl_h" = xyes
  7183. then :
  7184. printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
  7185. fi
  7186. ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
  7187. if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
  7188. then :
  7189. printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
  7190. fi
  7191. ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
  7192. if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
  7193. then :
  7194. printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
  7195. fi
  7196. ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
  7197. if test "x$ac_cv_header_OpenAL_al_h" = xyes
  7198. then :
  7199. printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
  7200. fi
  7201. ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
  7202. if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
  7203. then :
  7204. printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
  7205. fi
  7206. ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
  7207. if test "x$ac_cv_header_Security_Security_h" = xyes
  7208. then :
  7209. printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
  7210. fi
  7211. ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
  7212. if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
  7213. then :
  7214. printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
  7215. fi
  7216. ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
  7217. if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
  7218. then :
  7219. printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
  7220. fi
  7221. ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
  7222. if test "x$ac_cv_header_arpa_inet_h" = xyes
  7223. then :
  7224. printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
  7225. fi
  7226. ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
  7227. if test "x$ac_cv_header_arpa_nameser_h" = xyes
  7228. then :
  7229. printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
  7230. fi
  7231. ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
  7232. if test "x$ac_cv_header_asm_types_h" = xyes
  7233. then :
  7234. printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
  7235. fi
  7236. ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
  7237. if test "x$ac_cv_header_asm_user_h" = xyes
  7238. then :
  7239. printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
  7240. fi
  7241. ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
  7242. if test "x$ac_cv_header_elf_h" = xyes
  7243. then :
  7244. printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
  7245. fi
  7246. ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
  7247. if test "x$ac_cv_header_float_h" = xyes
  7248. then :
  7249. printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
  7250. fi
  7251. ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
  7252. if test "x$ac_cv_header_gettext_po_h" = xyes
  7253. then :
  7254. printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
  7255. fi
  7256. ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
  7257. if test "x$ac_cv_header_libproc_h" = xyes
  7258. then :
  7259. printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
  7260. fi
  7261. ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
  7262. if test "x$ac_cv_header_link_h" = xyes
  7263. then :
  7264. printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
  7265. fi
  7266. ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
  7267. if test "x$ac_cv_header_linux_cdrom_h" = xyes
  7268. then :
  7269. printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
  7270. fi
  7271. ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
  7272. if test "x$ac_cv_header_linux_filter_h" = xyes
  7273. then :
  7274. printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
  7275. fi
  7276. ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
  7277. if test "x$ac_cv_header_linux_hdreg_h" = xyes
  7278. then :
  7279. printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
  7280. fi
  7281. ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
  7282. if test "x$ac_cv_header_linux_hidraw_h" = xyes
  7283. then :
  7284. printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
  7285. fi
  7286. ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
  7287. if test "x$ac_cv_header_linux_input_h" = xyes
  7288. then :
  7289. printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
  7290. fi
  7291. ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
  7292. if test "x$ac_cv_header_linux_ioctl_h" = xyes
  7293. then :
  7294. printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
  7295. fi
  7296. ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
  7297. if test "x$ac_cv_header_linux_major_h" = xyes
  7298. then :
  7299. printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
  7300. fi
  7301. ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
  7302. if test "x$ac_cv_header_linux_param_h" = xyes
  7303. then :
  7304. printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
  7305. fi
  7306. ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
  7307. if test "x$ac_cv_header_linux_serial_h" = xyes
  7308. then :
  7309. printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
  7310. fi
  7311. ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
  7312. if test "x$ac_cv_header_linux_types_h" = xyes
  7313. then :
  7314. printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
  7315. fi
  7316. ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
  7317. if test "x$ac_cv_header_linux_ucdrom_h" = xyes
  7318. then :
  7319. printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
  7320. fi
  7321. ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
  7322. if test "x$ac_cv_header_lwp_h" = xyes
  7323. then :
  7324. printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
  7325. fi
  7326. ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
  7327. if test "x$ac_cv_header_mach_o_loader_h" = xyes
  7328. then :
  7329. printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
  7330. fi
  7331. ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
  7332. if test "x$ac_cv_header_mach_mach_h" = xyes
  7333. then :
  7334. printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
  7335. fi
  7336. ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
  7337. if test "x$ac_cv_header_machine_cpu_h" = xyes
  7338. then :
  7339. printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
  7340. fi
  7341. ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
  7342. if test "x$ac_cv_header_machine_sysarch_h" = xyes
  7343. then :
  7344. printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
  7345. fi
  7346. ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
  7347. if test "x$ac_cv_header_mntent_h" = xyes
  7348. then :
  7349. printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
  7350. fi
  7351. ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
  7352. if test "x$ac_cv_header_netdb_h" = xyes
  7353. then :
  7354. printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
  7355. fi
  7356. ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
  7357. if test "x$ac_cv_header_netinet_in_h" = xyes
  7358. then :
  7359. printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
  7360. fi
  7361. ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
  7362. if test "x$ac_cv_header_netinet_in_systm_h" = xyes
  7363. then :
  7364. printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
  7365. fi
  7366. ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
  7367. if test "x$ac_cv_header_netinet_tcp_h" = xyes
  7368. then :
  7369. printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
  7370. fi
  7371. ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
  7372. if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
  7373. then :
  7374. printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
  7375. fi
  7376. ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
  7377. if test "x$ac_cv_header_pcap_pcap_h" = xyes
  7378. then :
  7379. printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
  7380. fi
  7381. ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
  7382. if test "x$ac_cv_header_port_h" = xyes
  7383. then :
  7384. printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
  7385. fi
  7386. ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
  7387. if test "x$ac_cv_header_pthread_h" = xyes
  7388. then :
  7389. printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
  7390. fi
  7391. ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
  7392. if test "x$ac_cv_header_pwd_h" = xyes
  7393. then :
  7394. printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
  7395. fi
  7396. ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
  7397. if test "x$ac_cv_header_sasl_sasl_h" = xyes
  7398. then :
  7399. printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
  7400. fi
  7401. ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
  7402. if test "x$ac_cv_header_sched_h" = xyes
  7403. then :
  7404. printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
  7405. fi
  7406. ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
  7407. if test "x$ac_cv_header_scsi_scsi_h" = xyes
  7408. then :
  7409. printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
  7410. fi
  7411. ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
  7412. if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
  7413. then :
  7414. printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
  7415. fi
  7416. ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
  7417. if test "x$ac_cv_header_scsi_sg_h" = xyes
  7418. then :
  7419. printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
  7420. fi
  7421. ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
  7422. if test "x$ac_cv_header_stdint_h" = xyes
  7423. then :
  7424. printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
  7425. fi
  7426. ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
  7427. if test "x$ac_cv_header_sys_attr_h" = xyes
  7428. then :
  7429. printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
  7430. fi
  7431. ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
  7432. if test "x$ac_cv_header_sys_auxv_h" = xyes
  7433. then :
  7434. printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
  7435. fi
  7436. ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
  7437. if test "x$ac_cv_header_sys_cdio_h" = xyes
  7438. then :
  7439. printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
  7440. fi
  7441. ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
  7442. if test "x$ac_cv_header_sys_epoll_h" = xyes
  7443. then :
  7444. printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
  7445. fi
  7446. ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
  7447. if test "x$ac_cv_header_sys_event_h" = xyes
  7448. then :
  7449. printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
  7450. fi
  7451. ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
  7452. if test "x$ac_cv_header_sys_filio_h" = xyes
  7453. then :
  7454. printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
  7455. fi
  7456. ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
  7457. if test "x$ac_cv_header_sys_ipc_h" = xyes
  7458. then :
  7459. printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
  7460. fi
  7461. ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
  7462. if test "x$ac_cv_header_sys_link_h" = xyes
  7463. then :
  7464. printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
  7465. fi
  7466. ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
  7467. if test "x$ac_cv_header_sys_modem_h" = xyes
  7468. then :
  7469. printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
  7470. fi
  7471. ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
  7472. if test "x$ac_cv_header_sys_mtio_h" = xyes
  7473. then :
  7474. printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
  7475. fi
  7476. ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
  7477. if test "x$ac_cv_header_sys_param_h" = xyes
  7478. then :
  7479. printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
  7480. fi
  7481. ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
  7482. if test "x$ac_cv_header_sys_prctl_h" = xyes
  7483. then :
  7484. printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
  7485. fi
  7486. ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
  7487. if test "x$ac_cv_header_sys_ptrace_h" = xyes
  7488. then :
  7489. printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
  7490. fi
  7491. ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
  7492. if test "x$ac_cv_header_sys_queue_h" = xyes
  7493. then :
  7494. printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
  7495. fi
  7496. ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
  7497. if test "x$ac_cv_header_sys_random_h" = xyes
  7498. then :
  7499. printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
  7500. fi
  7501. ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
  7502. if test "x$ac_cv_header_sys_resource_h" = xyes
  7503. then :
  7504. printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
  7505. fi
  7506. ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
  7507. if test "x$ac_cv_header_sys_scsiio_h" = xyes
  7508. then :
  7509. printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
  7510. fi
  7511. ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
  7512. if test "x$ac_cv_header_sys_shm_h" = xyes
  7513. then :
  7514. printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
  7515. fi
  7516. ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
  7517. if test "x$ac_cv_header_sys_signal_h" = xyes
  7518. then :
  7519. printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
  7520. fi
  7521. ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
  7522. if test "x$ac_cv_header_sys_socketvar_h" = xyes
  7523. then :
  7524. printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
  7525. fi
  7526. ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
  7527. if test "x$ac_cv_header_sys_sockio_h" = xyes
  7528. then :
  7529. printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
  7530. fi
  7531. ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
  7532. if test "x$ac_cv_header_sys_statvfs_h" = xyes
  7533. then :
  7534. printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
  7535. fi
  7536. ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
  7537. if test "x$ac_cv_header_sys_strtio_h" = xyes
  7538. then :
  7539. printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
  7540. fi
  7541. ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
  7542. if test "x$ac_cv_header_sys_syscall_h" = xyes
  7543. then :
  7544. printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
  7545. fi
  7546. ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
  7547. if test "x$ac_cv_header_sys_sysinfo_h" = xyes
  7548. then :
  7549. printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
  7550. fi
  7551. ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
  7552. if test "x$ac_cv_header_sys_times_h" = xyes
  7553. then :
  7554. printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
  7555. fi
  7556. ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
  7557. if test "x$ac_cv_header_sys_uio_h" = xyes
  7558. then :
  7559. printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
  7560. fi
  7561. ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
  7562. if test "x$ac_cv_header_sys_user_h" = xyes
  7563. then :
  7564. printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
  7565. fi
  7566. ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
  7567. if test "x$ac_cv_header_sys_utsname_h" = xyes
  7568. then :
  7569. printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
  7570. fi
  7571. ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
  7572. if test "x$ac_cv_header_sys_vnode_h" = xyes
  7573. then :
  7574. printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
  7575. fi
  7576. ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
  7577. if test "x$ac_cv_header_syscall_h" = xyes
  7578. then :
  7579. printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
  7580. fi
  7581. ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
  7582. if test "x$ac_cv_header_utime_h" = xyes
  7583. then :
  7584. printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
  7585. fi
  7586. ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
  7587. if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
  7588. then :
  7589. printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
  7590. fi
  7591. ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
  7592. if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
  7593. then :
  7594. printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
  7595. fi
  7596. ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
  7597. if test "x$ac_cv_header_sys_mkdev_h" = xyes
  7598. then :
  7599. printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
  7600. fi
  7601. if test $ac_cv_header_sys_mkdev_h = no; then
  7602. ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
  7603. if test "x$ac_cv_header_sys_sysmacros_h" = xyes
  7604. then :
  7605. printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
  7606. fi
  7607. fi
  7608. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  7609. printf %s "checking whether stat file-mode macros are broken... " >&6; }
  7610. if test ${ac_cv_header_stat_broken+y}
  7611. then :
  7612. printf %s "(cached) " >&6
  7613. else $as_nop
  7614. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7615. /* end confdefs.h. */
  7616. #include <sys/types.h>
  7617. #include <sys/stat.h>
  7618. #if defined S_ISBLK && defined S_IFDIR
  7619. extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  7620. #endif
  7621. #if defined S_ISBLK && defined S_IFCHR
  7622. extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  7623. #endif
  7624. #if defined S_ISLNK && defined S_IFREG
  7625. extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  7626. #endif
  7627. #if defined S_ISSOCK && defined S_IFREG
  7628. extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  7629. #endif
  7630. _ACEOF
  7631. if ac_fn_c_try_compile "$LINENO"
  7632. then :
  7633. ac_cv_header_stat_broken=no
  7634. else $as_nop
  7635. ac_cv_header_stat_broken=yes
  7636. fi
  7637. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7638. fi
  7639. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
  7640. printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
  7641. if test $ac_cv_header_stat_broken = yes; then
  7642. printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
  7643. fi
  7644. ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
  7645. #ifdef HAVE_SYS_PARAM_H
  7646. # include <sys/param.h>
  7647. #endif
  7648. "
  7649. if test "x$ac_cv_header_sys_conf_h" = xyes
  7650. then :
  7651. printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
  7652. fi
  7653. ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
  7654. #ifdef HAVE_SYS_PARAM_H
  7655. # include <sys/param.h>
  7656. #endif
  7657. "
  7658. if test "x$ac_cv_header_sys_mount_h" = xyes
  7659. then :
  7660. printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
  7661. fi
  7662. ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
  7663. #ifdef HAVE_SYS_PARAM_H
  7664. # include <sys/param.h>
  7665. #endif
  7666. "
  7667. if test "x$ac_cv_header_sys_statfs_h" = xyes
  7668. then :
  7669. printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
  7670. fi
  7671. ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
  7672. #ifdef HAVE_SYS_PARAM_H
  7673. # include <sys/param.h>
  7674. #endif
  7675. "
  7676. if test "x$ac_cv_header_sys_user_h" = xyes
  7677. then :
  7678. printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
  7679. fi
  7680. ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
  7681. #ifdef HAVE_SYS_PARAM_H
  7682. # include <sys/param.h>
  7683. #endif
  7684. "
  7685. if test "x$ac_cv_header_sys_vfs_h" = xyes
  7686. then :
  7687. printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
  7688. fi
  7689. saved_sysctl_h_CFLAGS=$CFLAGS
  7690. test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
  7691. ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
  7692. #ifdef HAVE_SYS_PARAM_H
  7693. # include <sys/param.h>
  7694. #endif
  7695. "
  7696. if test "x$ac_cv_header_sys_sysctl_h" = xyes
  7697. then :
  7698. printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
  7699. fi
  7700. CFLAGS=$saved_sysctl_h_CFLAGS
  7701. ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
  7702. #include <sys/socket.h>
  7703. #ifdef HAVE_SYS_SOCKETVAR_H
  7704. # include <sys/socketvar.h>
  7705. #endif
  7706. #ifdef HAVE_NET_ROUTE_H
  7707. # include <net/route.h>
  7708. #endif
  7709. #ifdef HAVE_NETINET_IN_H
  7710. # include <netinet/in.h>
  7711. #endif
  7712. #ifdef HAVE_NETINET_IN_SYSTM_H
  7713. # include <netinet/in_systm.h>
  7714. #endif
  7715. #ifdef HAVE_NET_IF_H
  7716. # include <net/if.h>
  7717. #endif
  7718. #ifdef HAVE_NETINET_IP_H
  7719. # include <netinet/ip.h>
  7720. #endif
  7721. "
  7722. if test "x$ac_cv_header_netinet_ip_h" = xyes
  7723. then :
  7724. printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
  7725. fi
  7726. ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
  7727. #include <sys/socket.h>
  7728. #ifdef HAVE_SYS_SOCKETVAR_H
  7729. # include <sys/socketvar.h>
  7730. #endif
  7731. #ifdef HAVE_NET_ROUTE_H
  7732. # include <net/route.h>
  7733. #endif
  7734. #ifdef HAVE_NETINET_IN_H
  7735. # include <netinet/in.h>
  7736. #endif
  7737. #ifdef HAVE_NETINET_IN_SYSTM_H
  7738. # include <netinet/in_systm.h>
  7739. #endif
  7740. #ifdef HAVE_NET_IF_H
  7741. # include <net/if.h>
  7742. #endif
  7743. #ifdef HAVE_NETINET_IP_H
  7744. # include <netinet/ip.h>
  7745. #endif
  7746. "
  7747. if test "x$ac_cv_header_net_if_h" = xyes
  7748. then :
  7749. printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
  7750. fi
  7751. ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
  7752. #include <sys/socket.h>
  7753. #ifdef HAVE_SYS_SOCKETVAR_H
  7754. # include <sys/socketvar.h>
  7755. #endif
  7756. #ifdef HAVE_NET_ROUTE_H
  7757. # include <net/route.h>
  7758. #endif
  7759. #ifdef HAVE_NETINET_IN_H
  7760. # include <netinet/in.h>
  7761. #endif
  7762. #ifdef HAVE_NETINET_IN_SYSTM_H
  7763. # include <netinet/in_systm.h>
  7764. #endif
  7765. #ifdef HAVE_NET_IF_H
  7766. # include <net/if.h>
  7767. #endif
  7768. #ifdef HAVE_NETINET_IP_H
  7769. # include <netinet/ip.h>
  7770. #endif
  7771. "
  7772. if test "x$ac_cv_header_net_if_arp_h" = xyes
  7773. then :
  7774. printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
  7775. fi
  7776. ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
  7777. #include <sys/socket.h>
  7778. #ifdef HAVE_SYS_SOCKETVAR_H
  7779. # include <sys/socketvar.h>
  7780. #endif
  7781. #ifdef HAVE_NET_ROUTE_H
  7782. # include <net/route.h>
  7783. #endif
  7784. #ifdef HAVE_NETINET_IN_H
  7785. # include <netinet/in.h>
  7786. #endif
  7787. #ifdef HAVE_NETINET_IN_SYSTM_H
  7788. # include <netinet/in_systm.h>
  7789. #endif
  7790. #ifdef HAVE_NET_IF_H
  7791. # include <net/if.h>
  7792. #endif
  7793. #ifdef HAVE_NETINET_IP_H
  7794. # include <netinet/ip.h>
  7795. #endif
  7796. "
  7797. if test "x$ac_cv_header_net_if_dl_h" = xyes
  7798. then :
  7799. printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
  7800. fi
  7801. ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
  7802. #include <sys/socket.h>
  7803. #ifdef HAVE_SYS_SOCKETVAR_H
  7804. # include <sys/socketvar.h>
  7805. #endif
  7806. #ifdef HAVE_NET_ROUTE_H
  7807. # include <net/route.h>
  7808. #endif
  7809. #ifdef HAVE_NETINET_IN_H
  7810. # include <netinet/in.h>
  7811. #endif
  7812. #ifdef HAVE_NETINET_IN_SYSTM_H
  7813. # include <netinet/in_systm.h>
  7814. #endif
  7815. #ifdef HAVE_NET_IF_H
  7816. # include <net/if.h>
  7817. #endif
  7818. #ifdef HAVE_NETINET_IP_H
  7819. # include <netinet/ip.h>
  7820. #endif
  7821. "
  7822. if test "x$ac_cv_header_net_if_types_h" = xyes
  7823. then :
  7824. printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
  7825. fi
  7826. ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
  7827. #include <sys/socket.h>
  7828. #ifdef HAVE_SYS_SOCKETVAR_H
  7829. # include <sys/socketvar.h>
  7830. #endif
  7831. #ifdef HAVE_NET_ROUTE_H
  7832. # include <net/route.h>
  7833. #endif
  7834. #ifdef HAVE_NETINET_IN_H
  7835. # include <netinet/in.h>
  7836. #endif
  7837. #ifdef HAVE_NETINET_IN_SYSTM_H
  7838. # include <netinet/in_systm.h>
  7839. #endif
  7840. #ifdef HAVE_NET_IF_H
  7841. # include <net/if.h>
  7842. #endif
  7843. #ifdef HAVE_NETINET_IP_H
  7844. # include <netinet/ip.h>
  7845. #endif
  7846. "
  7847. if test "x$ac_cv_header_net_route_h" = xyes
  7848. then :
  7849. printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
  7850. fi
  7851. ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
  7852. #include <sys/socket.h>
  7853. #ifdef HAVE_SYS_SOCKETVAR_H
  7854. # include <sys/socketvar.h>
  7855. #endif
  7856. #ifdef HAVE_NET_ROUTE_H
  7857. # include <net/route.h>
  7858. #endif
  7859. #ifdef HAVE_NETINET_IN_H
  7860. # include <netinet/in.h>
  7861. #endif
  7862. #ifdef HAVE_NETINET_IN_SYSTM_H
  7863. # include <netinet/in_systm.h>
  7864. #endif
  7865. #ifdef HAVE_NET_IF_H
  7866. # include <net/if.h>
  7867. #endif
  7868. #ifdef HAVE_NETINET_IP_H
  7869. # include <netinet/ip.h>
  7870. #endif
  7871. "
  7872. if test "x$ac_cv_header_netinet_if_ether_h" = xyes
  7873. then :
  7874. printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
  7875. fi
  7876. ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
  7877. #include <sys/socket.h>
  7878. #ifdef HAVE_SYS_SOCKETVAR_H
  7879. # include <sys/socketvar.h>
  7880. #endif
  7881. #ifdef HAVE_NET_ROUTE_H
  7882. # include <net/route.h>
  7883. #endif
  7884. #ifdef HAVE_NETINET_IN_H
  7885. # include <netinet/in.h>
  7886. #endif
  7887. #ifdef HAVE_NETINET_IN_SYSTM_H
  7888. # include <netinet/in_systm.h>
  7889. #endif
  7890. #ifdef HAVE_NET_IF_H
  7891. # include <net/if.h>
  7892. #endif
  7893. #ifdef HAVE_NETINET_IP_H
  7894. # include <netinet/ip.h>
  7895. #endif
  7896. "
  7897. if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
  7898. then :
  7899. printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
  7900. fi
  7901. ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
  7902. #include <sys/socket.h>
  7903. #ifdef HAVE_SYS_SOCKETVAR_H
  7904. # include <sys/socketvar.h>
  7905. #endif
  7906. #ifdef HAVE_NET_ROUTE_H
  7907. # include <net/route.h>
  7908. #endif
  7909. #ifdef HAVE_NETINET_IN_H
  7910. # include <netinet/in.h>
  7911. #endif
  7912. #ifdef HAVE_NETINET_IN_SYSTM_H
  7913. # include <netinet/in_systm.h>
  7914. #endif
  7915. #ifdef HAVE_NET_IF_H
  7916. # include <net/if.h>
  7917. #endif
  7918. #ifdef HAVE_NETINET_IP_H
  7919. # include <netinet/ip.h>
  7920. #endif
  7921. "
  7922. if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
  7923. then :
  7924. printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
  7925. fi
  7926. ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
  7927. #include <sys/socket.h>
  7928. #ifdef HAVE_SYS_SOCKETVAR_H
  7929. # include <sys/socketvar.h>
  7930. #endif
  7931. #ifdef HAVE_NET_ROUTE_H
  7932. # include <net/route.h>
  7933. #endif
  7934. #ifdef HAVE_NETINET_IN_H
  7935. # include <netinet/in.h>
  7936. #endif
  7937. #ifdef HAVE_NETINET_IN_SYSTM_H
  7938. # include <netinet/in_systm.h>
  7939. #endif
  7940. #ifdef HAVE_NET_IF_H
  7941. # include <net/if.h>
  7942. #endif
  7943. #ifdef HAVE_NETINET_IP_H
  7944. # include <netinet/ip.h>
  7945. #endif
  7946. "
  7947. if test "x$ac_cv_header_netinet_ip_var_h" = xyes
  7948. then :
  7949. printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
  7950. fi
  7951. ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
  7952. #include <sys/socket.h>
  7953. #ifdef HAVE_SYS_SOCKETVAR_H
  7954. # include <sys/socketvar.h>
  7955. #endif
  7956. #ifdef HAVE_NET_ROUTE_H
  7957. # include <net/route.h>
  7958. #endif
  7959. #ifdef HAVE_NETINET_IN_H
  7960. # include <netinet/in.h>
  7961. #endif
  7962. #ifdef HAVE_NETINET_IN_SYSTM_H
  7963. # include <netinet/in_systm.h>
  7964. #endif
  7965. #ifdef HAVE_NET_IF_H
  7966. # include <net/if.h>
  7967. #endif
  7968. #ifdef HAVE_NETINET_IP_H
  7969. # include <netinet/ip.h>
  7970. #endif
  7971. "
  7972. if test "x$ac_cv_header_netinet_udp_h" = xyes
  7973. then :
  7974. printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
  7975. fi
  7976. ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
  7977. #include <sys/socket.h>
  7978. #ifdef HAVE_SYS_SOCKETVAR_H
  7979. # include <sys/socketvar.h>
  7980. #endif
  7981. #ifdef HAVE_NET_ROUTE_H
  7982. # include <net/route.h>
  7983. #endif
  7984. #ifdef HAVE_NETINET_IN_H
  7985. # include <netinet/in.h>
  7986. #endif
  7987. #ifdef HAVE_NETINET_IN_SYSTM_H
  7988. # include <netinet/in_systm.h>
  7989. #endif
  7990. #ifdef HAVE_NET_IF_H
  7991. # include <net/if.h>
  7992. #endif
  7993. #ifdef HAVE_NETINET_IP_H
  7994. # include <netinet/ip.h>
  7995. #endif
  7996. "
  7997. if test "x$ac_cv_header_netipx_ipx_h" = xyes
  7998. then :
  7999. printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
  8000. fi
  8001. ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
  8002. #include <sys/socket.h>
  8003. #ifdef HAVE_SYS_SOCKETVAR_H
  8004. # include <sys/socketvar.h>
  8005. #endif
  8006. #ifdef HAVE_NET_ROUTE_H
  8007. # include <net/route.h>
  8008. #endif
  8009. #ifdef HAVE_NETINET_IN_H
  8010. # include <netinet/in.h>
  8011. #endif
  8012. #ifdef HAVE_NETINET_IN_SYSTM_H
  8013. # include <netinet/in_systm.h>
  8014. #endif
  8015. #ifdef HAVE_NET_IF_H
  8016. # include <net/if.h>
  8017. #endif
  8018. #ifdef HAVE_NETINET_IP_H
  8019. # include <netinet/ip.h>
  8020. #endif
  8021. "
  8022. if test "x$ac_cv_header_sys_un_h" = xyes
  8023. then :
  8024. printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
  8025. fi
  8026. ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
  8027. #include <sys/socket.h>
  8028. #ifdef HAVE_SYS_SOCKETVAR_H
  8029. # include <sys/socketvar.h>
  8030. #endif
  8031. #ifdef HAVE_NETINET_IN_H
  8032. # include <netinet/in.h>
  8033. #endif
  8034. #ifdef HAVE_NETINET_IN_SYSTM_H
  8035. # include <netinet/in_systm.h>
  8036. #endif
  8037. #ifdef HAVE_NETINET_IP_H
  8038. # include <netinet/ip.h>
  8039. #endif
  8040. #ifdef HAVE_NETINET_IP_VAR_H
  8041. # include <netinet/ip_var.h>
  8042. #endif
  8043. #ifdef HAVE_NETINET_IP_ICMP_H
  8044. # include <netinet/ip_icmp.h>
  8045. #endif
  8046. #ifdef HAVE_NETINET_UDP_H
  8047. # include <netinet/udp.h>
  8048. #endif
  8049. #ifdef HAVE_NETINET_TCP_H
  8050. # include <netinet/tcp.h>
  8051. #endif
  8052. "
  8053. if test "x$ac_cv_header_netinet_udp_var_h" = xyes
  8054. then :
  8055. printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
  8056. fi
  8057. ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
  8058. #include <sys/socket.h>
  8059. #ifdef HAVE_SYS_SOCKETVAR_H
  8060. # include <sys/socketvar.h>
  8061. #endif
  8062. #ifdef HAVE_NETINET_IN_H
  8063. # include <netinet/in.h>
  8064. #endif
  8065. #ifdef HAVE_NETINET_IN_SYSTM_H
  8066. # include <netinet/in_systm.h>
  8067. #endif
  8068. #ifdef HAVE_NETINET_IP_H
  8069. # include <netinet/ip.h>
  8070. #endif
  8071. #ifdef HAVE_NETINET_IP_VAR_H
  8072. # include <netinet/ip_var.h>
  8073. #endif
  8074. #ifdef HAVE_NETINET_IP_ICMP_H
  8075. # include <netinet/ip_icmp.h>
  8076. #endif
  8077. #ifdef HAVE_NETINET_UDP_H
  8078. # include <netinet/udp.h>
  8079. #endif
  8080. #ifdef HAVE_NETINET_TCP_H
  8081. # include <netinet/tcp.h>
  8082. #endif
  8083. "
  8084. if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
  8085. then :
  8086. printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
  8087. fi
  8088. ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
  8089. #include <sys/socket.h>
  8090. #ifdef HAVE_SYS_SOCKETVAR_H
  8091. # include <sys/socketvar.h>
  8092. #endif
  8093. #ifdef HAVE_NETINET_IN_H
  8094. # include <netinet/in.h>
  8095. #endif
  8096. #ifdef HAVE_NETINET_IN_SYSTM_H
  8097. # include <netinet/in_systm.h>
  8098. #endif
  8099. #ifdef HAVE_NETINET_IP_H
  8100. # include <netinet/ip.h>
  8101. #endif
  8102. #ifdef HAVE_NETINET_IP_VAR_H
  8103. # include <netinet/ip_var.h>
  8104. #endif
  8105. #ifdef HAVE_NETINET_IP_ICMP_H
  8106. # include <netinet/ip_icmp.h>
  8107. #endif
  8108. #ifdef HAVE_NETINET_UDP_H
  8109. # include <netinet/udp.h>
  8110. #endif
  8111. #ifdef HAVE_NETINET_TCP_H
  8112. # include <netinet/tcp.h>
  8113. #endif
  8114. "
  8115. if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
  8116. then :
  8117. printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
  8118. fi
  8119. ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
  8120. #include <sys/socket.h>
  8121. #ifdef HAVE_ASM_TYPES_H
  8122. # include <asm/types.h>
  8123. #endif
  8124. #ifdef HAVE_LINUX_TYPES_H
  8125. # include <linux/types.h>
  8126. #endif
  8127. "
  8128. if test "x$ac_cv_header_linux_ipx_h" = xyes
  8129. then :
  8130. printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
  8131. fi
  8132. ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
  8133. #include <sys/socket.h>
  8134. #ifdef HAVE_ASM_TYPES_H
  8135. # include <asm/types.h>
  8136. #endif
  8137. #ifdef HAVE_LINUX_TYPES_H
  8138. # include <linux/types.h>
  8139. #endif
  8140. "
  8141. if test "x$ac_cv_header_linux_irda_h" = xyes
  8142. then :
  8143. printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
  8144. fi
  8145. ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
  8146. #include <sys/socket.h>
  8147. #ifdef HAVE_ASM_TYPES_H
  8148. # include <asm/types.h>
  8149. #endif
  8150. #ifdef HAVE_LINUX_TYPES_H
  8151. # include <linux/types.h>
  8152. #endif
  8153. "
  8154. if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
  8155. then :
  8156. printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
  8157. fi
  8158. ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
  8159. #include <sys/socket.h>
  8160. #ifdef HAVE_NETINET_IN_H
  8161. # include <netinet/in.h>
  8162. #endif
  8163. #ifdef HAVE_ARPA_NAMESER_H
  8164. # include <arpa/nameser.h>
  8165. #endif
  8166. "
  8167. if test "x$ac_cv_header_resolv_h" = xyes
  8168. then :
  8169. printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
  8170. fi
  8171. ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
  8172. "
  8173. if test "x$ac_cv_header_ifaddrs_h" = xyes
  8174. then :
  8175. printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
  8176. fi
  8177. ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
  8178. "
  8179. if test "x$ac_cv_header_sys_ucontext_h" = xyes
  8180. then :
  8181. printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
  8182. fi
  8183. ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
  8184. #ifdef HAVE_SYS_UCONTEXT_H
  8185. #include <sys/ucontext.h>
  8186. #endif
  8187. "
  8188. if test "x$ac_cv_header_sys_thr_h" = xyes
  8189. then :
  8190. printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
  8191. fi
  8192. ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
  8193. #include <pthread.h>
  8194. #endif
  8195. "
  8196. if test "x$ac_cv_header_pthread_np_h" = xyes
  8197. then :
  8198. printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
  8199. fi
  8200. ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
  8201. #include <sys/types.h>
  8202. #ifdef HAVE_ASM_TYPES_H
  8203. #include <asm/types.h>
  8204. #endif
  8205. "
  8206. if test "x$ac_cv_header_linux_videodev2_h" = xyes
  8207. then :
  8208. printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
  8209. fi
  8210. ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
  8211. #include <sys/param.h>
  8212. #endif
  8213. #include <sys/socket.h>
  8214. #ifdef HAVE_SYS_QUEUE_H
  8215. #include <sys/queue.h>
  8216. #endif
  8217. "
  8218. if test "x$ac_cv_header_libprocstat_h" = xyes
  8219. then :
  8220. printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
  8221. fi
  8222. DLLFLAGS=""
  8223. LDDLLFLAGS=""
  8224. LDEXECFLAGS=""
  8225. EXTRACFLAGS=""
  8226. UNIXDLLFLAGS="-fPIC"
  8227. UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
  8228. TOP_INSTALL_LIB=""
  8229. TOP_INSTALL_DEV=""
  8230. WINELOADER_LDFLAGS=""
  8231. WINEPRELOADER_LDFLAGS=""
  8232. LIBEXT="so"
  8233. # Extract the first word of "ldd", so it can be a program name with args.
  8234. set dummy ldd; ac_word=$2
  8235. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8236. printf %s "checking for $ac_word... " >&6; }
  8237. if test ${ac_cv_path_LDD+y}
  8238. then :
  8239. printf %s "(cached) " >&6
  8240. else $as_nop
  8241. case $LDD in
  8242. [\\/]* | ?:[\\/]*)
  8243. ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
  8244. ;;
  8245. *)
  8246. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8247. as_dummy="/sbin:/usr/sbin:$PATH"
  8248. for as_dir in $as_dummy
  8249. do
  8250. IFS=$as_save_IFS
  8251. case $as_dir in #(((
  8252. '') as_dir=./ ;;
  8253. */) ;;
  8254. *) as_dir=$as_dir/ ;;
  8255. esac
  8256. for ac_exec_ext in '' $ac_executable_extensions; do
  8257. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8258. ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
  8259. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8260. break 2
  8261. fi
  8262. done
  8263. done
  8264. IFS=$as_save_IFS
  8265. test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
  8266. ;;
  8267. esac
  8268. fi
  8269. LDD=$ac_cv_path_LDD
  8270. if test -n "$LDD"; then
  8271. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
  8272. printf "%s\n" "$LDD" >&6; }
  8273. else
  8274. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8275. printf "%s\n" "no" >&6; }
  8276. fi
  8277. if test -n "$ac_tool_prefix"; then
  8278. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  8279. set dummy ${ac_tool_prefix}otool; ac_word=$2
  8280. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8281. printf %s "checking for $ac_word... " >&6; }
  8282. if test ${ac_cv_prog_OTOOL+y}
  8283. then :
  8284. printf %s "(cached) " >&6
  8285. else $as_nop
  8286. if test -n "$OTOOL"; then
  8287. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  8288. else
  8289. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8290. for as_dir in $PATH
  8291. do
  8292. IFS=$as_save_IFS
  8293. case $as_dir in #(((
  8294. '') as_dir=./ ;;
  8295. */) ;;
  8296. *) as_dir=$as_dir/ ;;
  8297. esac
  8298. for ac_exec_ext in '' $ac_executable_extensions; do
  8299. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8300. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  8301. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8302. break 2
  8303. fi
  8304. done
  8305. done
  8306. IFS=$as_save_IFS
  8307. fi
  8308. fi
  8309. OTOOL=$ac_cv_prog_OTOOL
  8310. if test -n "$OTOOL"; then
  8311. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  8312. printf "%s\n" "$OTOOL" >&6; }
  8313. else
  8314. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8315. printf "%s\n" "no" >&6; }
  8316. fi
  8317. fi
  8318. if test -z "$ac_cv_prog_OTOOL"; then
  8319. ac_ct_OTOOL=$OTOOL
  8320. # Extract the first word of "otool", so it can be a program name with args.
  8321. set dummy otool; ac_word=$2
  8322. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8323. printf %s "checking for $ac_word... " >&6; }
  8324. if test ${ac_cv_prog_ac_ct_OTOOL+y}
  8325. then :
  8326. printf %s "(cached) " >&6
  8327. else $as_nop
  8328. if test -n "$ac_ct_OTOOL"; then
  8329. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  8330. else
  8331. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8332. for as_dir in $PATH
  8333. do
  8334. IFS=$as_save_IFS
  8335. case $as_dir in #(((
  8336. '') as_dir=./ ;;
  8337. */) ;;
  8338. *) as_dir=$as_dir/ ;;
  8339. esac
  8340. for ac_exec_ext in '' $ac_executable_extensions; do
  8341. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8342. ac_cv_prog_ac_ct_OTOOL="otool"
  8343. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8344. break 2
  8345. fi
  8346. done
  8347. done
  8348. IFS=$as_save_IFS
  8349. fi
  8350. fi
  8351. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  8352. if test -n "$ac_ct_OTOOL"; then
  8353. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  8354. printf "%s\n" "$ac_ct_OTOOL" >&6; }
  8355. else
  8356. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8357. printf "%s\n" "no" >&6; }
  8358. fi
  8359. if test "x$ac_ct_OTOOL" = x; then
  8360. OTOOL="otool"
  8361. else
  8362. case $cross_compiling:$ac_tool_warned in
  8363. yes:)
  8364. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8365. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8366. ac_tool_warned=yes ;;
  8367. esac
  8368. OTOOL=$ac_ct_OTOOL
  8369. fi
  8370. else
  8371. OTOOL="$ac_cv_prog_OTOOL"
  8372. fi
  8373. if test -n "$ac_tool_prefix"; then
  8374. # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
  8375. set dummy ${ac_tool_prefix}readelf; ac_word=$2
  8376. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8377. printf %s "checking for $ac_word... " >&6; }
  8378. if test ${ac_cv_prog_READELF+y}
  8379. then :
  8380. printf %s "(cached) " >&6
  8381. else $as_nop
  8382. if test -n "$READELF"; then
  8383. ac_cv_prog_READELF="$READELF" # Let the user override the test.
  8384. else
  8385. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8386. for as_dir in $PATH
  8387. do
  8388. IFS=$as_save_IFS
  8389. case $as_dir in #(((
  8390. '') as_dir=./ ;;
  8391. */) ;;
  8392. *) as_dir=$as_dir/ ;;
  8393. esac
  8394. for ac_exec_ext in '' $ac_executable_extensions; do
  8395. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8396. ac_cv_prog_READELF="${ac_tool_prefix}readelf"
  8397. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8398. break 2
  8399. fi
  8400. done
  8401. done
  8402. IFS=$as_save_IFS
  8403. fi
  8404. fi
  8405. READELF=$ac_cv_prog_READELF
  8406. if test -n "$READELF"; then
  8407. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
  8408. printf "%s\n" "$READELF" >&6; }
  8409. else
  8410. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8411. printf "%s\n" "no" >&6; }
  8412. fi
  8413. fi
  8414. if test -z "$ac_cv_prog_READELF"; then
  8415. ac_ct_READELF=$READELF
  8416. # Extract the first word of "readelf", so it can be a program name with args.
  8417. set dummy readelf; ac_word=$2
  8418. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8419. printf %s "checking for $ac_word... " >&6; }
  8420. if test ${ac_cv_prog_ac_ct_READELF+y}
  8421. then :
  8422. printf %s "(cached) " >&6
  8423. else $as_nop
  8424. if test -n "$ac_ct_READELF"; then
  8425. ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
  8426. else
  8427. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8428. for as_dir in $PATH
  8429. do
  8430. IFS=$as_save_IFS
  8431. case $as_dir in #(((
  8432. '') as_dir=./ ;;
  8433. */) ;;
  8434. *) as_dir=$as_dir/ ;;
  8435. esac
  8436. for ac_exec_ext in '' $ac_executable_extensions; do
  8437. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8438. ac_cv_prog_ac_ct_READELF="readelf"
  8439. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8440. break 2
  8441. fi
  8442. done
  8443. done
  8444. IFS=$as_save_IFS
  8445. fi
  8446. fi
  8447. ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
  8448. if test -n "$ac_ct_READELF"; then
  8449. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
  8450. printf "%s\n" "$ac_ct_READELF" >&6; }
  8451. else
  8452. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8453. printf "%s\n" "no" >&6; }
  8454. fi
  8455. if test "x$ac_ct_READELF" = x; then
  8456. READELF="true"
  8457. else
  8458. case $cross_compiling:$ac_tool_warned in
  8459. yes:)
  8460. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8461. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8462. ac_tool_warned=yes ;;
  8463. esac
  8464. READELF=$ac_ct_READELF
  8465. fi
  8466. else
  8467. READELF="$ac_cv_prog_READELF"
  8468. fi
  8469. wine_rules="all:"
  8470. SUBDIRS=""
  8471. DISABLED_SUBDIRS=""
  8472. CONFIGURE_TARGETS=""
  8473. wine_fn_append_file ()
  8474. {
  8475. as_fn_append $1 " \\$as_nl $2"
  8476. }
  8477. wine_fn_append_rule ()
  8478. {
  8479. as_fn_append wine_rules "$as_nl$1"
  8480. }
  8481. wine_fn_config_makefile ()
  8482. {
  8483. wine_fn_append_file SUBDIRS $1
  8484. if eval test \"x\$"$2"\" = x"no"
  8485. then :
  8486. wine_fn_append_file DISABLED_SUBDIRS $1
  8487. fi
  8488. }
  8489. wine_fn_config_symlink ()
  8490. {
  8491. ac_links=$@
  8492. wine_fn_append_rule \
  8493. "$ac_links:
  8494. @./config.status \$@"
  8495. for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
  8496. }
  8497. wine_binary="wine"
  8498. test "x$enable_win64" != "xyes" || wine_binary="wine64"
  8499. WINELOADER_PROGRAMS="$wine_binary"
  8500. libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
  8501. case $host_os in
  8502. cygwin*|mingw32*)
  8503. if test -n "$ac_tool_prefix"; then
  8504. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  8505. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  8506. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8507. printf %s "checking for $ac_word... " >&6; }
  8508. if test ${ac_cv_prog_DLLTOOL+y}
  8509. then :
  8510. printf %s "(cached) " >&6
  8511. else $as_nop
  8512. if test -n "$DLLTOOL"; then
  8513. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  8514. else
  8515. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8516. for as_dir in $PATH
  8517. do
  8518. IFS=$as_save_IFS
  8519. case $as_dir in #(((
  8520. '') as_dir=./ ;;
  8521. */) ;;
  8522. *) as_dir=$as_dir/ ;;
  8523. esac
  8524. for ac_exec_ext in '' $ac_executable_extensions; do
  8525. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8526. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  8527. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8528. break 2
  8529. fi
  8530. done
  8531. done
  8532. IFS=$as_save_IFS
  8533. fi
  8534. fi
  8535. DLLTOOL=$ac_cv_prog_DLLTOOL
  8536. if test -n "$DLLTOOL"; then
  8537. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  8538. printf "%s\n" "$DLLTOOL" >&6; }
  8539. else
  8540. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8541. printf "%s\n" "no" >&6; }
  8542. fi
  8543. fi
  8544. if test -z "$ac_cv_prog_DLLTOOL"; then
  8545. ac_ct_DLLTOOL=$DLLTOOL
  8546. # Extract the first word of "dlltool", so it can be a program name with args.
  8547. set dummy dlltool; ac_word=$2
  8548. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8549. printf %s "checking for $ac_word... " >&6; }
  8550. if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
  8551. then :
  8552. printf %s "(cached) " >&6
  8553. else $as_nop
  8554. if test -n "$ac_ct_DLLTOOL"; then
  8555. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  8556. else
  8557. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8558. for as_dir in $PATH
  8559. do
  8560. IFS=$as_save_IFS
  8561. case $as_dir in #(((
  8562. '') as_dir=./ ;;
  8563. */) ;;
  8564. *) as_dir=$as_dir/ ;;
  8565. esac
  8566. for ac_exec_ext in '' $ac_executable_extensions; do
  8567. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8568. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  8569. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8570. break 2
  8571. fi
  8572. done
  8573. done
  8574. IFS=$as_save_IFS
  8575. fi
  8576. fi
  8577. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  8578. if test -n "$ac_ct_DLLTOOL"; then
  8579. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  8580. printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
  8581. else
  8582. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8583. printf "%s\n" "no" >&6; }
  8584. fi
  8585. if test "x$ac_ct_DLLTOOL" = x; then
  8586. DLLTOOL="false"
  8587. else
  8588. case $cross_compiling:$ac_tool_warned in
  8589. yes:)
  8590. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8591. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8592. ac_tool_warned=yes ;;
  8593. esac
  8594. DLLTOOL=$ac_ct_DLLTOOL
  8595. fi
  8596. else
  8597. DLLTOOL="$ac_cv_prog_DLLTOOL"
  8598. fi
  8599. LIBEXT="dll"
  8600. EXTRACFLAGS="-D__WINE_PE_BUILD"
  8601. case $host_cpu in
  8602. *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
  8603. printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
  8604. if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
  8605. then :
  8606. printf %s "(cached) " >&6
  8607. else $as_nop
  8608. ac_wine_try_cflags_saved=$CFLAGS
  8609. CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
  8610. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8611. /* end confdefs.h. */
  8612. int main(int argc, char **argv) { return 0; }
  8613. _ACEOF
  8614. if ac_fn_c_try_link "$LINENO"
  8615. then :
  8616. ac_cv_cflags__Wl___disable_stdcall_fixup=yes
  8617. else $as_nop
  8618. ac_cv_cflags__Wl___disable_stdcall_fixup=no
  8619. fi
  8620. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  8621. conftest$ac_exeext conftest.$ac_ext
  8622. CFLAGS=$ac_wine_try_cflags_saved
  8623. fi
  8624. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
  8625. printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
  8626. if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
  8627. then :
  8628. LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
  8629. fi ;;
  8630. esac
  8631. enable_loader=${enable_loader:-no}
  8632. enable_server=${enable_server:-no}
  8633. with_x=${with_x:-no}
  8634. with_pthread=${with_pthread:-no}
  8635. ;;
  8636. darwin*|macosx*)
  8637. ac_ext=m
  8638. ac_cpp='$OBJCPP $CPPFLAGS'
  8639. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8640. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8641. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8642. ac_ext=m
  8643. ac_cpp='$OBJCPP $CPPFLAGS'
  8644. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8645. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8646. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8647. if test -n "$ac_tool_prefix"; then
  8648. for ac_prog in gcc objcc objc cc CC clang
  8649. do
  8650. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  8651. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  8652. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8653. printf %s "checking for $ac_word... " >&6; }
  8654. if test ${ac_cv_prog_OBJC+y}
  8655. then :
  8656. printf %s "(cached) " >&6
  8657. else $as_nop
  8658. if test -n "$OBJC"; then
  8659. ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  8660. else
  8661. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8662. for as_dir in $PATH
  8663. do
  8664. IFS=$as_save_IFS
  8665. case $as_dir in #(((
  8666. '') as_dir=./ ;;
  8667. */) ;;
  8668. *) as_dir=$as_dir/ ;;
  8669. esac
  8670. for ac_exec_ext in '' $ac_executable_extensions; do
  8671. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8672. ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  8673. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8674. break 2
  8675. fi
  8676. done
  8677. done
  8678. IFS=$as_save_IFS
  8679. fi
  8680. fi
  8681. OBJC=$ac_cv_prog_OBJC
  8682. if test -n "$OBJC"; then
  8683. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
  8684. printf "%s\n" "$OBJC" >&6; }
  8685. else
  8686. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8687. printf "%s\n" "no" >&6; }
  8688. fi
  8689. test -n "$OBJC" && break
  8690. done
  8691. fi
  8692. if test -z "$OBJC"; then
  8693. ac_ct_OBJC=$OBJC
  8694. for ac_prog in gcc objcc objc cc CC clang
  8695. do
  8696. # Extract the first word of "$ac_prog", so it can be a program name with args.
  8697. set dummy $ac_prog; ac_word=$2
  8698. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8699. printf %s "checking for $ac_word... " >&6; }
  8700. if test ${ac_cv_prog_ac_ct_OBJC+y}
  8701. then :
  8702. printf %s "(cached) " >&6
  8703. else $as_nop
  8704. if test -n "$ac_ct_OBJC"; then
  8705. ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  8706. else
  8707. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8708. for as_dir in $PATH
  8709. do
  8710. IFS=$as_save_IFS
  8711. case $as_dir in #(((
  8712. '') as_dir=./ ;;
  8713. */) ;;
  8714. *) as_dir=$as_dir/ ;;
  8715. esac
  8716. for ac_exec_ext in '' $ac_executable_extensions; do
  8717. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8718. ac_cv_prog_ac_ct_OBJC="$ac_prog"
  8719. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8720. break 2
  8721. fi
  8722. done
  8723. done
  8724. IFS=$as_save_IFS
  8725. fi
  8726. fi
  8727. ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  8728. if test -n "$ac_ct_OBJC"; then
  8729. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
  8730. printf "%s\n" "$ac_ct_OBJC" >&6; }
  8731. else
  8732. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8733. printf "%s\n" "no" >&6; }
  8734. fi
  8735. test -n "$ac_ct_OBJC" && break
  8736. done
  8737. if test "x$ac_ct_OBJC" = x; then
  8738. OBJC="gcc"
  8739. else
  8740. case $cross_compiling:$ac_tool_warned in
  8741. yes:)
  8742. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8743. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8744. ac_tool_warned=yes ;;
  8745. esac
  8746. OBJC=$ac_ct_OBJC
  8747. fi
  8748. fi
  8749. # Provide some information about the compiler.
  8750. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
  8751. set X $ac_compile
  8752. ac_compiler=$2
  8753. for ac_option in --version -v -V -qversion; do
  8754. { { ac_try="$ac_compiler $ac_option >&5"
  8755. case "(($ac_try" in
  8756. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8757. *) ac_try_echo=$ac_try;;
  8758. esac
  8759. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8760. printf "%s\n" "$ac_try_echo"; } >&5
  8761. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  8762. ac_status=$?
  8763. if test -s conftest.err; then
  8764. sed '10a\
  8765. ... rest of stderr output deleted ...
  8766. 10q' conftest.err >conftest.er1
  8767. cat conftest.er1 >&5
  8768. fi
  8769. rm -f conftest.er1 conftest.err
  8770. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8771. test $ac_status = 0; }
  8772. done
  8773. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
  8774. printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
  8775. if test ${ac_cv_objc_compiler_gnu+y}
  8776. then :
  8777. printf %s "(cached) " >&6
  8778. else $as_nop
  8779. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8780. /* end confdefs.h. */
  8781. int
  8782. main (void)
  8783. {
  8784. #ifndef __GNUC__
  8785. choke me
  8786. #endif
  8787. ;
  8788. return 0;
  8789. }
  8790. _ACEOF
  8791. if ac_fn_objc_try_compile "$LINENO"
  8792. then :
  8793. ac_compiler_gnu=yes
  8794. else $as_nop
  8795. ac_compiler_gnu=no
  8796. fi
  8797. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8798. ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  8799. fi
  8800. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
  8801. printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
  8802. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8803. if test $ac_compiler_gnu = yes; then
  8804. GOBJC=yes
  8805. else
  8806. GOBJC=
  8807. fi
  8808. ac_test_OBJCFLAGS=${OBJCFLAGS+y}
  8809. ac_save_OBJCFLAGS=$OBJCFLAGS
  8810. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
  8811. printf %s "checking whether $OBJC accepts -g... " >&6; }
  8812. if test ${ac_cv_prog_objc_g+y}
  8813. then :
  8814. printf %s "(cached) " >&6
  8815. else $as_nop
  8816. ac_save_objc_werror_flag=$ac_objc_werror_flag
  8817. ac_objc_werror_flag=yes
  8818. ac_cv_prog_objc_g=no
  8819. OBJCFLAGS="-g"
  8820. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8821. /* end confdefs.h. */
  8822. int
  8823. main (void)
  8824. {
  8825. ;
  8826. return 0;
  8827. }
  8828. _ACEOF
  8829. if ac_fn_objc_try_compile "$LINENO"
  8830. then :
  8831. ac_cv_prog_objc_g=yes
  8832. else $as_nop
  8833. OBJCFLAGS=""
  8834. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8835. /* end confdefs.h. */
  8836. int
  8837. main (void)
  8838. {
  8839. ;
  8840. return 0;
  8841. }
  8842. _ACEOF
  8843. if ac_fn_objc_try_compile "$LINENO"
  8844. then :
  8845. else $as_nop
  8846. ac_objc_werror_flag=$ac_save_objc_werror_flag
  8847. OBJCFLAGS="-g"
  8848. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8849. /* end confdefs.h. */
  8850. int
  8851. main (void)
  8852. {
  8853. ;
  8854. return 0;
  8855. }
  8856. _ACEOF
  8857. if ac_fn_objc_try_compile "$LINENO"
  8858. then :
  8859. ac_cv_prog_objc_g=yes
  8860. fi
  8861. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8862. fi
  8863. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8864. fi
  8865. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8866. ac_objc_werror_flag=$ac_save_objc_werror_flag
  8867. fi
  8868. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
  8869. printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
  8870. if test $ac_test_OBJCFLAGS; then
  8871. OBJCFLAGS=$ac_save_OBJCFLAGS
  8872. elif test $ac_cv_prog_objc_g = yes; then
  8873. if test "$GOBJC" = yes; then
  8874. OBJCFLAGS="-g -O2"
  8875. else
  8876. OBJCFLAGS="-g"
  8877. fi
  8878. else
  8879. if test "$GOBJC" = yes; then
  8880. OBJCFLAGS="-O2"
  8881. else
  8882. OBJCFLAGS=
  8883. fi
  8884. fi
  8885. ac_ext=m
  8886. ac_cpp='$OBJCPP $CPPFLAGS'
  8887. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8888. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8889. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8890. ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
  8891. if test "x$ac_cv_header_Metal_Metal_h" = xyes
  8892. then :
  8893. printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
  8894. fi
  8895. ac_ext=c
  8896. ac_cpp='$CPP $CPPFLAGS'
  8897. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8898. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8899. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8900. LIBEXT="dylib"
  8901. DLLFLAGS="$DLLFLAGS -fPIC"
  8902. LDDLLFLAGS="-fPIC"
  8903. COREFOUNDATION_LIBS="-framework CoreFoundation"
  8904. IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
  8905. APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
  8906. CORESERVICES_LIBS="-framework CoreServices"
  8907. APPKIT_LIBS="-framework AppKit"
  8908. SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
  8909. WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
  8910. wine_can_build_preloader=yes
  8911. WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
  8912. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
  8913. printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
  8914. if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
  8915. then :
  8916. printf %s "(cached) " >&6
  8917. else $as_nop
  8918. ac_wine_try_cflags_saved=$CFLAGS
  8919. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
  8920. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8921. /* end confdefs.h. */
  8922. int main(int argc, char **argv) { return 0; }
  8923. _ACEOF
  8924. if ac_fn_c_try_link "$LINENO"
  8925. then :
  8926. ac_cv_cflags__Wl__no_new_main__e__main=yes
  8927. else $as_nop
  8928. ac_cv_cflags__Wl__no_new_main__e__main=no
  8929. fi
  8930. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  8931. conftest$ac_exeext conftest.$ac_ext
  8932. CFLAGS=$ac_wine_try_cflags_saved
  8933. fi
  8934. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
  8935. printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
  8936. if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
  8937. then :
  8938. WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
  8939. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  8940. printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8941. if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
  8942. then :
  8943. printf %s "(cached) " >&6
  8944. else $as_nop
  8945. ac_wine_try_cflags_saved=$CFLAGS
  8946. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8947. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8948. /* end confdefs.h. */
  8949. int main(int argc, char **argv) { return 0; }
  8950. _ACEOF
  8951. if ac_fn_c_try_link "$LINENO"
  8952. then :
  8953. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8954. else $as_nop
  8955. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8956. fi
  8957. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  8958. conftest$ac_exeext conftest.$ac_ext
  8959. CFLAGS=$ac_wine_try_cflags_saved
  8960. fi
  8961. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  8962. printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8963. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
  8964. then :
  8965. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8966. else $as_nop
  8967. wine_can_build_preloader=no
  8968. fi
  8969. else $as_nop
  8970. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  8971. printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8972. if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
  8973. then :
  8974. printf %s "(cached) " >&6
  8975. else $as_nop
  8976. ac_wine_try_cflags_saved=$CFLAGS
  8977. CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8978. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8979. /* end confdefs.h. */
  8980. int main(int argc, char **argv) { return 0; }
  8981. _ACEOF
  8982. if ac_fn_c_try_link "$LINENO"
  8983. then :
  8984. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8985. else $as_nop
  8986. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8987. fi
  8988. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  8989. conftest$ac_exeext conftest.$ac_ext
  8990. CFLAGS=$ac_wine_try_cflags_saved
  8991. fi
  8992. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  8993. printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8994. if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
  8995. then :
  8996. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8997. else $as_nop
  8998. wine_can_build_preloader=no
  8999. fi
  9000. fi
  9001. if test "$wine_can_build_preloader" = "yes"
  9002. then
  9003. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
  9004. printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
  9005. if test ${ac_cv_cflags__Wl__no_pie+y}
  9006. then :
  9007. printf %s "(cached) " >&6
  9008. else $as_nop
  9009. ac_wine_try_cflags_saved=$CFLAGS
  9010. CFLAGS="$CFLAGS -Wl,-no_pie"
  9011. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9012. /* end confdefs.h. */
  9013. int main(int argc, char **argv) { return 0; }
  9014. _ACEOF
  9015. if ac_fn_c_try_link "$LINENO"
  9016. then :
  9017. ac_cv_cflags__Wl__no_pie=yes
  9018. else $as_nop
  9019. ac_cv_cflags__Wl__no_pie=no
  9020. fi
  9021. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9022. conftest$ac_exeext conftest.$ac_ext
  9023. CFLAGS=$ac_wine_try_cflags_saved
  9024. fi
  9025. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
  9026. printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
  9027. if test "x$ac_cv_cflags__Wl__no_pie" = xyes
  9028. then :
  9029. WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
  9030. fi
  9031. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  9032. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  9033. else
  9034. as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
  9035. fi
  9036. if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
  9037. then
  9038. DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
  9039. fi
  9040. if test "$ac_cv_header_Security_Security_h" = "yes"
  9041. then
  9042. SECURITY_LIBS="-framework Security -framework CoreFoundation"
  9043. fi
  9044. if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
  9045. then
  9046. COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
  9047. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
  9048. fi
  9049. if test "$ac_cv_header_OpenAL_al_h" = "yes"
  9050. then
  9051. OPENAL_LIBS="-framework OpenAL"
  9052. printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
  9053. ac_cv_lib_openal=yes
  9054. fi
  9055. if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
  9056. then
  9057. OPENCL_LIBS="-framework OpenCL"
  9058. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  9059. fi
  9060. if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
  9061. then
  9062. ac_save_LIBS="$LIBS"
  9063. LIBS="$LIBS $IOKIT_LIBS"
  9064. ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
  9065. if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
  9066. then :
  9067. printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
  9068. fi
  9069. LIBS="$ac_save_LIBS"
  9070. fi
  9071. if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
  9072. then
  9073. CARBON_LIBS="-framework Carbon"
  9074. fi
  9075. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  9076. then
  9077. METAL_LIBS="-framework Metal"
  9078. fi
  9079. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  9080. then
  9081. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
  9082. printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
  9083. ac_ext=m
  9084. ac_cpp='$OBJCPP $CPPFLAGS'
  9085. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9086. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9087. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9088. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9089. /* end confdefs.h. */
  9090. #include <Metal/Metal.h>
  9091. int
  9092. main (void)
  9093. {
  9094. id<MTLDevice> device; device.registryID;
  9095. ;
  9096. return 0;
  9097. }
  9098. _ACEOF
  9099. if ac_fn_objc_try_compile "$LINENO"
  9100. then :
  9101. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9102. printf "%s\n" "yes" >&6; }
  9103. printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
  9104. else $as_nop
  9105. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9106. printf "%s\n" "no" >&6; }
  9107. fi
  9108. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  9109. ac_ext=c
  9110. ac_cpp='$CPP $CPPFLAGS'
  9111. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9112. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9113. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9114. fi
  9115. if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
  9116. then
  9117. ac_save_LIBS="$LIBS"
  9118. LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
  9119. ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
  9120. if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
  9121. then :
  9122. enable_winemac_drv=${enable_winemac_drv:-yes}
  9123. fi
  9124. LIBS="$ac_save_LIBS"
  9125. fi
  9126. UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
  9127. LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
  9128. LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
  9129. WINELOADER_DEPENDS="wine_info.plist"
  9130. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
  9131. ;;
  9132. linux-android*)
  9133. printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
  9134. DLLFLAGS="$DLLFLAGS -fPIC"
  9135. LDDLLFLAGS="-fPIC"
  9136. LDEXECFLAGS="-Wl,-pie"
  9137. enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
  9138. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
  9139. printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
  9140. if test ${ac_cv_cflags__Wl__z_defs+y}
  9141. then :
  9142. printf %s "(cached) " >&6
  9143. else $as_nop
  9144. ac_wine_try_cflags_saved=$CFLAGS
  9145. CFLAGS="$CFLAGS -Wl,-z,defs"
  9146. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9147. /* end confdefs.h. */
  9148. int main(int argc, char **argv) { return 0; }
  9149. _ACEOF
  9150. if ac_fn_c_try_link "$LINENO"
  9151. then :
  9152. ac_cv_cflags__Wl__z_defs=yes
  9153. else $as_nop
  9154. ac_cv_cflags__Wl__z_defs=no
  9155. fi
  9156. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9157. conftest$ac_exeext conftest.$ac_ext
  9158. CFLAGS=$ac_wine_try_cflags_saved
  9159. fi
  9160. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
  9161. printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
  9162. if test "x$ac_cv_cflags__Wl__z_defs" = xyes
  9163. then :
  9164. UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
  9165. fi
  9166. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
  9167. printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
  9168. if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
  9169. then :
  9170. printf %s "(cached) " >&6
  9171. else $as_nop
  9172. ac_wine_try_cflags_saved=$CFLAGS
  9173. CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
  9174. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9175. /* end confdefs.h. */
  9176. int main(int argc, char **argv) { return 0; }
  9177. _ACEOF
  9178. if ac_fn_c_try_link "$LINENO"
  9179. then :
  9180. ac_cv_cflags__fPIC__Wl___export_dynamic=yes
  9181. else $as_nop
  9182. ac_cv_cflags__fPIC__Wl___export_dynamic=no
  9183. fi
  9184. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9185. conftest$ac_exeext conftest.$ac_ext
  9186. CFLAGS=$ac_wine_try_cflags_saved
  9187. fi
  9188. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
  9189. printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
  9190. if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
  9191. then :
  9192. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  9193. fi
  9194. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  9195. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
  9196. printf %s "checking for -lEGL... " >&6; }
  9197. if test ${ac_cv_lib_soname_EGL+y}
  9198. then :
  9199. printf %s "(cached) " >&6
  9200. else $as_nop
  9201. ac_check_soname_save_LIBS=$LIBS
  9202. LIBS="-lEGL $LIBS"
  9203. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9204. /* end confdefs.h. */
  9205. /* Override any GCC internal prototype to avoid an error.
  9206. Use char because int might match the return type of a GCC
  9207. builtin and then its argument prototype would still apply. */
  9208. char eglGetProcAddress ();
  9209. int
  9210. main (void)
  9211. {
  9212. return eglGetProcAddress ();
  9213. ;
  9214. return 0;
  9215. }
  9216. _ACEOF
  9217. if ac_fn_c_try_link "$LINENO"
  9218. then :
  9219. case "$LIBEXT" in
  9220. dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  9221. 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'` ;;
  9222. *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  9223. if ${ac_cv_lib_soname_EGL:+false} :
  9224. then :
  9225. ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  9226. fi ;;
  9227. esac
  9228. else $as_nop
  9229. ac_cv_lib_soname_EGL=
  9230. fi
  9231. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9232. conftest$ac_exeext conftest.$ac_ext
  9233. LIBS=$ac_check_soname_save_LIBS
  9234. fi
  9235. if ${ac_cv_lib_soname_EGL:+false} :
  9236. then :
  9237. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  9238. printf "%s\n" "not found" >&6; }
  9239. else $as_nop
  9240. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
  9241. printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
  9242. printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
  9243. fi
  9244. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
  9245. printf %s "checking for -lGLESv2... " >&6; }
  9246. if test ${ac_cv_lib_soname_GLESv2+y}
  9247. then :
  9248. printf %s "(cached) " >&6
  9249. else $as_nop
  9250. ac_check_soname_save_LIBS=$LIBS
  9251. LIBS="-lGLESv2 $LIBS"
  9252. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9253. /* end confdefs.h. */
  9254. /* Override any GCC internal prototype to avoid an error.
  9255. Use char because int might match the return type of a GCC
  9256. builtin and then its argument prototype would still apply. */
  9257. char glFlush ();
  9258. int
  9259. main (void)
  9260. {
  9261. return glFlush ();
  9262. ;
  9263. return 0;
  9264. }
  9265. _ACEOF
  9266. if ac_fn_c_try_link "$LINENO"
  9267. then :
  9268. case "$LIBEXT" in
  9269. dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  9270. 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'` ;;
  9271. *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  9272. if ${ac_cv_lib_soname_GLESv2:+false} :
  9273. then :
  9274. ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  9275. fi ;;
  9276. esac
  9277. else $as_nop
  9278. ac_cv_lib_soname_GLESv2=
  9279. fi
  9280. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9281. conftest$ac_exeext conftest.$ac_ext
  9282. LIBS=$ac_check_soname_save_LIBS
  9283. fi
  9284. if ${ac_cv_lib_soname_GLESv2:+false} :
  9285. then :
  9286. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  9287. printf "%s\n" "not found" >&6; }
  9288. else $as_nop
  9289. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
  9290. printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
  9291. printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
  9292. fi
  9293. if test "x$exec_prefix" = xNONE
  9294. then
  9295. case $host_cpu in
  9296. *i[3456]86*) exec_prefix='${prefix}/x86' ;;
  9297. *x86_64*) exec_prefix='${prefix}/x86_64' ;;
  9298. *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
  9299. *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
  9300. esac
  9301. fi
  9302. ;;
  9303. *)
  9304. printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
  9305. test "$ac_cv_sys_file_offset_bits" = 64 &&
  9306. printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
  9307. case $host_cpu in
  9308. *i[3456789]86*)
  9309. DLLFLAGS="$DLLFLAGS -fno-PIC"
  9310. LDDLLFLAGS="-fno-PIC"
  9311. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
  9312. printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
  9313. if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
  9314. then :
  9315. printf %s "(cached) " >&6
  9316. else $as_nop
  9317. ac_wine_try_cflags_saved=$CFLAGS
  9318. CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
  9319. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9320. /* end confdefs.h. */
  9321. int main(int argc, char **argv) { return 0; }
  9322. _ACEOF
  9323. if ac_fn_c_try_link "$LINENO"
  9324. then :
  9325. ac_cv_cflags__fno_PIC__Wl__z_notext=yes
  9326. else $as_nop
  9327. ac_cv_cflags__fno_PIC__Wl__z_notext=no
  9328. fi
  9329. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9330. conftest$ac_exeext conftest.$ac_ext
  9331. CFLAGS=$ac_wine_try_cflags_saved
  9332. fi
  9333. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
  9334. printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
  9335. if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
  9336. then :
  9337. LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
  9338. fi
  9339. ;;
  9340. *)
  9341. DLLFLAGS="$DLLFLAGS -fPIC"
  9342. LDDLLFLAGS="-fPIC" ;;
  9343. esac
  9344. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
  9345. echo '{ global: *; };' >conftest.map
  9346. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
  9347. printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
  9348. if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
  9349. then :
  9350. printf %s "(cached) " >&6
  9351. else $as_nop
  9352. ac_wine_try_cflags_saved=$CFLAGS
  9353. CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
  9354. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9355. /* end confdefs.h. */
  9356. int main(int argc, char **argv) { return 0; }
  9357. _ACEOF
  9358. if ac_fn_c_try_link "$LINENO"
  9359. then :
  9360. ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
  9361. else $as_nop
  9362. ac_cv_cflags__shared__Wl___version_script_conftest_map=no
  9363. fi
  9364. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9365. conftest$ac_exeext conftest.$ac_ext
  9366. CFLAGS=$ac_wine_try_cflags_saved
  9367. fi
  9368. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
  9369. printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
  9370. if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
  9371. then :
  9372. LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
  9373. fi
  9374. rm -f conftest.map
  9375. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
  9376. printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
  9377. if test ${ac_cv_cflags__Wl__z_defs+y}
  9378. then :
  9379. printf %s "(cached) " >&6
  9380. else $as_nop
  9381. ac_wine_try_cflags_saved=$CFLAGS
  9382. CFLAGS="$CFLAGS -Wl,-z,defs"
  9383. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9384. /* end confdefs.h. */
  9385. int main(int argc, char **argv) { return 0; }
  9386. _ACEOF
  9387. if ac_fn_c_try_link "$LINENO"
  9388. then :
  9389. ac_cv_cflags__Wl__z_defs=yes
  9390. else $as_nop
  9391. ac_cv_cflags__Wl__z_defs=no
  9392. fi
  9393. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9394. conftest$ac_exeext conftest.$ac_ext
  9395. CFLAGS=$ac_wine_try_cflags_saved
  9396. fi
  9397. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
  9398. printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
  9399. if test "x$ac_cv_cflags__Wl__z_defs" = xyes
  9400. then :
  9401. UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
  9402. fi
  9403. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
  9404. printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
  9405. if test ${ac_cv_cflags__Wl___export_dynamic+y}
  9406. then :
  9407. printf %s "(cached) " >&6
  9408. else $as_nop
  9409. ac_wine_try_cflags_saved=$CFLAGS
  9410. CFLAGS="$CFLAGS -Wl,--export-dynamic"
  9411. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9412. /* end confdefs.h. */
  9413. int main(int argc, char **argv) { return 0; }
  9414. _ACEOF
  9415. if ac_fn_c_try_link "$LINENO"
  9416. then :
  9417. ac_cv_cflags__Wl___export_dynamic=yes
  9418. else $as_nop
  9419. ac_cv_cflags__Wl___export_dynamic=no
  9420. fi
  9421. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9422. conftest$ac_exeext conftest.$ac_ext
  9423. CFLAGS=$ac_wine_try_cflags_saved
  9424. fi
  9425. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
  9426. printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
  9427. if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
  9428. then :
  9429. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  9430. fi
  9431. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  9432. case $host_cpu in
  9433. *i[3456789]86* | x86_64 | *aarch64* | arm*)
  9434. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
  9435. printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
  9436. if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
  9437. then :
  9438. printf %s "(cached) " >&6
  9439. else $as_nop
  9440. ac_wine_try_cflags_saved=$CFLAGS
  9441. CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
  9442. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9443. /* end confdefs.h. */
  9444. int main(int argc, char **argv) { return 0; }
  9445. _ACEOF
  9446. if ac_fn_c_try_link "$LINENO"
  9447. then :
  9448. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
  9449. else $as_nop
  9450. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
  9451. fi
  9452. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9453. conftest$ac_exeext conftest.$ac_ext
  9454. CFLAGS=$ac_wine_try_cflags_saved
  9455. fi
  9456. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
  9457. printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
  9458. if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
  9459. then :
  9460. case $host_os in
  9461. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
  9462. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
  9463. esac
  9464. else $as_nop
  9465. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
  9466. printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
  9467. if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
  9468. then :
  9469. printf %s "(cached) " >&6
  9470. else $as_nop
  9471. ac_wine_try_cflags_saved=$CFLAGS
  9472. CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
  9473. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9474. /* end confdefs.h. */
  9475. int main(int argc, char **argv) { return 0; }
  9476. _ACEOF
  9477. if ac_fn_c_try_link "$LINENO"
  9478. then :
  9479. ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
  9480. else $as_nop
  9481. ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
  9482. fi
  9483. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9484. conftest$ac_exeext conftest.$ac_ext
  9485. CFLAGS=$ac_wine_try_cflags_saved
  9486. fi
  9487. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
  9488. printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
  9489. if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
  9490. then :
  9491. case $host_os in
  9492. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
  9493. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
  9494. esac
  9495. fi
  9496. # Extract the first word of "prelink", so it can be a program name with args.
  9497. set dummy prelink; ac_word=$2
  9498. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9499. printf %s "checking for $ac_word... " >&6; }
  9500. if test ${ac_cv_path_PRELINK+y}
  9501. then :
  9502. printf %s "(cached) " >&6
  9503. else $as_nop
  9504. case $PRELINK in
  9505. [\\/]* | ?:[\\/]*)
  9506. ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
  9507. ;;
  9508. *)
  9509. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9510. for as_dir in /sbin /usr/sbin $PATH
  9511. do
  9512. IFS=$as_save_IFS
  9513. case $as_dir in #(((
  9514. '') as_dir=./ ;;
  9515. */) ;;
  9516. *) as_dir=$as_dir/ ;;
  9517. esac
  9518. for ac_exec_ext in '' $ac_executable_extensions; do
  9519. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  9520. ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
  9521. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  9522. break 2
  9523. fi
  9524. done
  9525. done
  9526. IFS=$as_save_IFS
  9527. test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
  9528. ;;
  9529. esac
  9530. fi
  9531. PRELINK=$ac_cv_path_PRELINK
  9532. if test -n "$PRELINK"; then
  9533. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
  9534. printf "%s\n" "$PRELINK" >&6; }
  9535. else
  9536. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9537. printf "%s\n" "no" >&6; }
  9538. fi
  9539. if test "x$PRELINK" = xfalse
  9540. then
  9541. as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
  9542. fi
  9543. fi
  9544. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
  9545. printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
  9546. if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
  9547. then :
  9548. printf %s "(cached) " >&6
  9549. else $as_nop
  9550. ac_wine_try_cflags_saved=$CFLAGS
  9551. CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
  9552. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9553. /* end confdefs.h. */
  9554. int main(int argc, char **argv) { return 0; }
  9555. _ACEOF
  9556. if ac_fn_c_try_link "$LINENO"
  9557. then :
  9558. ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
  9559. else $as_nop
  9560. ac_cv_cflags__Wl__z_max_page_size_0x1000=no
  9561. fi
  9562. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9563. conftest$ac_exeext conftest.$ac_ext
  9564. CFLAGS=$ac_wine_try_cflags_saved
  9565. fi
  9566. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
  9567. printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
  9568. if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
  9569. then :
  9570. WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
  9571. fi
  9572. ;;
  9573. esac
  9574. LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
  9575. LIBWINE_DEPENDS="wine.map"
  9576. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
  9577. ;;
  9578. esac
  9579. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
  9580. enable_wineandroid_drv=${enable_wineandroid_drv:-no}
  9581. enable_winemac_drv=${enable_winemac_drv:-no}
  9582. if test "x$with_mingw" != xno
  9583. then
  9584. case "x$with_mingw" in
  9585. x|xyes) case "$host_cpu" in
  9586. aarch64*)
  9587. ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
  9588. arm*)
  9589. ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
  9590. i[3456789]86*)
  9591. 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
  9592. i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
  9593. mingw32-gcc clang" ;;
  9594. x86_64)
  9595. 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
  9596. x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
  9597. *)
  9598. ac_prefix_list="" ;;
  9599. esac
  9600. for ac_prog in $ac_prefix_list
  9601. do
  9602. # Extract the first word of "$ac_prog", so it can be a program name with args.
  9603. set dummy $ac_prog; ac_word=$2
  9604. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9605. printf %s "checking for $ac_word... " >&6; }
  9606. if test ${ac_cv_prog_CROSSCC+y}
  9607. then :
  9608. printf %s "(cached) " >&6
  9609. else $as_nop
  9610. if test -n "$CROSSCC"; then
  9611. ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
  9612. else
  9613. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9614. for as_dir in $PATH
  9615. do
  9616. IFS=$as_save_IFS
  9617. case $as_dir in #(((
  9618. '') as_dir=./ ;;
  9619. */) ;;
  9620. *) as_dir=$as_dir/ ;;
  9621. esac
  9622. for ac_exec_ext in '' $ac_executable_extensions; do
  9623. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  9624. ac_cv_prog_CROSSCC="$ac_prog"
  9625. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  9626. break 2
  9627. fi
  9628. done
  9629. done
  9630. IFS=$as_save_IFS
  9631. fi
  9632. fi
  9633. CROSSCC=$ac_cv_prog_CROSSCC
  9634. if test -n "$CROSSCC"; then
  9635. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
  9636. printf "%s\n" "$CROSSCC" >&6; }
  9637. else
  9638. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9639. printf "%s\n" "no" >&6; }
  9640. fi
  9641. test -n "$CROSSCC" && break
  9642. done
  9643. test -n "$CROSSCC" || CROSSCC="false"
  9644. ;;
  9645. *) CROSSCC=$with_mingw ;;
  9646. esac
  9647. if test "$CROSSCC" != "false"
  9648. then
  9649. ac_save_CC="$CC"
  9650. saved_CFLAGS=$CFLAGS
  9651. saved_LDFLAGS=$LDFLAGS
  9652. CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
  9653. EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
  9654. CC="$CROSSCC"
  9655. CFLAGS=$CROSSCFLAGS
  9656. LDFLAGS=$CROSSLDFLAGS
  9657. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
  9658. printf %s "checking whether $CROSSCC works... " >&6; }
  9659. if test ${wine_cv_crosscc+y}
  9660. then :
  9661. printf %s "(cached) " >&6
  9662. else $as_nop
  9663. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9664. /* end confdefs.h. */
  9665. int
  9666. main (void)
  9667. {
  9668. ;
  9669. return 0;
  9670. }
  9671. _ACEOF
  9672. if ac_fn_c_try_compile "$LINENO"
  9673. then :
  9674. wine_cv_crosscc=yes
  9675. else $as_nop
  9676. wine_cv_crosscc=no
  9677. fi
  9678. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  9679. fi
  9680. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
  9681. printf "%s\n" "$wine_cv_crosscc" >&6; }
  9682. if test $wine_cv_crosscc = yes
  9683. then
  9684. set x $CROSSCC
  9685. shift
  9686. while test $# -ge 1
  9687. do
  9688. case "$1" in
  9689. *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
  9690. *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
  9691. esac
  9692. shift
  9693. done
  9694. llvm_target=$CROSSTARGET
  9695. llvm_cflags="-fuse-ld=lld"
  9696. if test -z "$llvm_target"
  9697. then
  9698. case $host_cpu in
  9699. *i[3456789]86*) llvm_target=i686-windows ;;
  9700. *) llvm_target=$host_cpu-windows ;;
  9701. esac
  9702. fi
  9703. case $llvm_target in
  9704. *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
  9705. esac
  9706. as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
  9707. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
  9708. printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
  9709. if eval test \${$as_ac_var+y}
  9710. then :
  9711. printf %s "(cached) " >&6
  9712. else $as_nop
  9713. ac_wine_try_cflags_saved=$CFLAGS
  9714. ac_wine_try_cflags_saved_cc=$CC
  9715. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9716. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
  9717. CC="$CROSSCC"
  9718. ac_exeext=".exe"
  9719. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9720. /* end confdefs.h. */
  9721. int __cdecl mainCRTStartup(void) { return 0; }
  9722. _ACEOF
  9723. if ac_fn_c_try_link "$LINENO"
  9724. then :
  9725. eval "$as_ac_var=yes"
  9726. else $as_nop
  9727. eval "$as_ac_var=no"
  9728. fi
  9729. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9730. conftest$ac_exeext conftest.$ac_ext
  9731. CFLAGS=$ac_wine_try_cflags_saved
  9732. CC=$ac_wine_try_cflags_saved_cc
  9733. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9734. fi
  9735. eval ac_res=\$$as_ac_var
  9736. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9737. printf "%s\n" "$ac_res" >&6; }
  9738. if eval test \"x\$"$as_ac_var"\" = x"yes"
  9739. then :
  9740. CROSSTARGET=$llvm_target
  9741. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
  9742. DELAYLOADFLAG="-Wl,-delayload,"
  9743. CFLAGS="$CFLAGS $llvm_cflags"
  9744. fi
  9745. fi
  9746. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
  9747. printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
  9748. if test ${wine_cv_crosscc_c99+y}
  9749. then :
  9750. printf %s "(cached) " >&6
  9751. else $as_nop
  9752. wine_cv_crosscc_c99=no
  9753. for arg in '' '-std=gnu99'
  9754. do
  9755. CC="$CROSSCC $arg"
  9756. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9757. /* end confdefs.h. */
  9758. $ac_c_conftest_c99_program
  9759. _ACEOF
  9760. if ac_fn_c_try_compile "$LINENO"
  9761. then :
  9762. wine_cv_crosscc_c99=$arg
  9763. else $as_nop
  9764. wine_cv_crosscc_c99=no
  9765. fi
  9766. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  9767. test "x$wine_cv_crosscc_c99" != xno && break
  9768. done
  9769. fi
  9770. case "x$wine_cv_crosscc_c99" in
  9771. x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  9772. printf "%s\n" "none needed" >&6; } ;;
  9773. xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  9774. printf "%s\n" "unsupported" >&6; } ;;
  9775. x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
  9776. printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
  9777. CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
  9778. esac
  9779. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
  9780. printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
  9781. if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
  9782. then :
  9783. printf %s "(cached) " >&6
  9784. else $as_nop
  9785. ac_wine_try_cflags_saved=$CFLAGS
  9786. ac_wine_try_cflags_saved_cc=$CC
  9787. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9788. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
  9789. CC="$CROSSCC"
  9790. ac_exeext=".exe"
  9791. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9792. /* end confdefs.h. */
  9793. int __cdecl mainCRTStartup(void) { return 0; }
  9794. _ACEOF
  9795. if ac_fn_c_try_link "$LINENO"
  9796. then :
  9797. ac_cv_crosscflags__fno_strict_aliasing=yes
  9798. else $as_nop
  9799. ac_cv_crosscflags__fno_strict_aliasing=no
  9800. fi
  9801. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9802. conftest$ac_exeext conftest.$ac_ext
  9803. CFLAGS=$ac_wine_try_cflags_saved
  9804. CC=$ac_wine_try_cflags_saved_cc
  9805. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9806. fi
  9807. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
  9808. printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
  9809. if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
  9810. then :
  9811. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
  9812. fi
  9813. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
  9814. printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
  9815. if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
  9816. then :
  9817. printf %s "(cached) " >&6
  9818. else $as_nop
  9819. ac_wine_try_cflags_saved=$CFLAGS
  9820. ac_wine_try_cflags_saved_cc=$CC
  9821. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9822. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
  9823. CC="$CROSSCC"
  9824. ac_exeext=".exe"
  9825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9826. /* end confdefs.h. */
  9827. int __cdecl mainCRTStartup(void) { return 0; }
  9828. _ACEOF
  9829. if ac_fn_c_try_link "$LINENO"
  9830. then :
  9831. ac_cv_crosscflags__Werror_unknown_warning_option=yes
  9832. else $as_nop
  9833. ac_cv_crosscflags__Werror_unknown_warning_option=no
  9834. fi
  9835. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9836. conftest$ac_exeext conftest.$ac_ext
  9837. CFLAGS=$ac_wine_try_cflags_saved
  9838. CC=$ac_wine_try_cflags_saved_cc
  9839. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9840. fi
  9841. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
  9842. printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
  9843. if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
  9844. then :
  9845. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  9846. fi
  9847. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
  9848. printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
  9849. if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
  9850. then :
  9851. printf %s "(cached) " >&6
  9852. else $as_nop
  9853. ac_wine_try_cflags_saved=$CFLAGS
  9854. ac_wine_try_cflags_saved_cc=$CC
  9855. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9856. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
  9857. CC="$CROSSCC"
  9858. ac_exeext=".exe"
  9859. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9860. /* end confdefs.h. */
  9861. int __cdecl mainCRTStartup(void) { return 0; }
  9862. _ACEOF
  9863. if ac_fn_c_try_link "$LINENO"
  9864. then :
  9865. ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
  9866. else $as_nop
  9867. ac_cv_crosscflags__Werror_ignored_optimization_argument=no
  9868. fi
  9869. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9870. conftest$ac_exeext conftest.$ac_ext
  9871. CFLAGS=$ac_wine_try_cflags_saved
  9872. CC=$ac_wine_try_cflags_saved_cc
  9873. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9874. fi
  9875. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
  9876. printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
  9877. if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
  9878. then :
  9879. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  9880. fi
  9881. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
  9882. printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
  9883. if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
  9884. then :
  9885. printf %s "(cached) " >&6
  9886. else $as_nop
  9887. ac_wine_try_cflags_saved=$CFLAGS
  9888. ac_wine_try_cflags_saved_cc=$CC
  9889. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9890. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
  9891. CC="$CROSSCC"
  9892. ac_exeext=".exe"
  9893. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9894. /* end confdefs.h. */
  9895. int __cdecl mainCRTStartup(void) { return 0; }
  9896. _ACEOF
  9897. if ac_fn_c_try_link "$LINENO"
  9898. then :
  9899. ac_cv_crosscflags__Wdeclaration_after_statement=yes
  9900. else $as_nop
  9901. ac_cv_crosscflags__Wdeclaration_after_statement=no
  9902. fi
  9903. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9904. conftest$ac_exeext conftest.$ac_ext
  9905. CFLAGS=$ac_wine_try_cflags_saved
  9906. CC=$ac_wine_try_cflags_saved_cc
  9907. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9908. fi
  9909. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
  9910. printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
  9911. if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
  9912. then :
  9913. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
  9914. fi
  9915. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
  9916. printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
  9917. if test ${ac_cv_crosscflags__Wempty_body+y}
  9918. then :
  9919. printf %s "(cached) " >&6
  9920. else $as_nop
  9921. ac_wine_try_cflags_saved=$CFLAGS
  9922. ac_wine_try_cflags_saved_cc=$CC
  9923. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9924. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
  9925. CC="$CROSSCC"
  9926. ac_exeext=".exe"
  9927. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9928. /* end confdefs.h. */
  9929. int __cdecl mainCRTStartup(void) { return 0; }
  9930. _ACEOF
  9931. if ac_fn_c_try_link "$LINENO"
  9932. then :
  9933. ac_cv_crosscflags__Wempty_body=yes
  9934. else $as_nop
  9935. ac_cv_crosscflags__Wempty_body=no
  9936. fi
  9937. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9938. conftest$ac_exeext conftest.$ac_ext
  9939. CFLAGS=$ac_wine_try_cflags_saved
  9940. CC=$ac_wine_try_cflags_saved_cc
  9941. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9942. fi
  9943. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
  9944. printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
  9945. if test "x$ac_cv_crosscflags__Wempty_body" = xyes
  9946. then :
  9947. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
  9948. fi
  9949. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
  9950. printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
  9951. if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
  9952. then :
  9953. printf %s "(cached) " >&6
  9954. else $as_nop
  9955. ac_wine_try_cflags_saved=$CFLAGS
  9956. ac_wine_try_cflags_saved_cc=$CC
  9957. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9958. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
  9959. CC="$CROSSCC"
  9960. ac_exeext=".exe"
  9961. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9962. /* end confdefs.h. */
  9963. int __cdecl mainCRTStartup(void) { return 0; }
  9964. _ACEOF
  9965. if ac_fn_c_try_link "$LINENO"
  9966. then :
  9967. ac_cv_crosscflags__Wignored_qualifiers=yes
  9968. else $as_nop
  9969. ac_cv_crosscflags__Wignored_qualifiers=no
  9970. fi
  9971. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9972. conftest$ac_exeext conftest.$ac_ext
  9973. CFLAGS=$ac_wine_try_cflags_saved
  9974. CC=$ac_wine_try_cflags_saved_cc
  9975. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9976. fi
  9977. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
  9978. printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
  9979. if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
  9980. then :
  9981. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
  9982. fi
  9983. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
  9984. printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
  9985. if test ${ac_cv_crosscflags__Winit_self+y}
  9986. then :
  9987. printf %s "(cached) " >&6
  9988. else $as_nop
  9989. ac_wine_try_cflags_saved=$CFLAGS
  9990. ac_wine_try_cflags_saved_cc=$CC
  9991. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9992. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
  9993. CC="$CROSSCC"
  9994. ac_exeext=".exe"
  9995. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9996. /* end confdefs.h. */
  9997. int __cdecl mainCRTStartup(void) { return 0; }
  9998. _ACEOF
  9999. if ac_fn_c_try_link "$LINENO"
  10000. then :
  10001. ac_cv_crosscflags__Winit_self=yes
  10002. else $as_nop
  10003. ac_cv_crosscflags__Winit_self=no
  10004. fi
  10005. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10006. conftest$ac_exeext conftest.$ac_ext
  10007. CFLAGS=$ac_wine_try_cflags_saved
  10008. CC=$ac_wine_try_cflags_saved_cc
  10009. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10010. fi
  10011. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
  10012. printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
  10013. if test "x$ac_cv_crosscflags__Winit_self" = xyes
  10014. then :
  10015. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
  10016. fi
  10017. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
  10018. printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
  10019. if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
  10020. then :
  10021. printf %s "(cached) " >&6
  10022. else $as_nop
  10023. ac_wine_try_cflags_saved=$CFLAGS
  10024. ac_wine_try_cflags_saved_cc=$CC
  10025. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10026. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
  10027. CC="$CROSSCC"
  10028. ac_exeext=".exe"
  10029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10030. /* end confdefs.h. */
  10031. int __cdecl mainCRTStartup(void) { return 0; }
  10032. _ACEOF
  10033. if ac_fn_c_try_link "$LINENO"
  10034. then :
  10035. ac_cv_crosscflags__Wpacked_not_aligned=yes
  10036. else $as_nop
  10037. ac_cv_crosscflags__Wpacked_not_aligned=no
  10038. fi
  10039. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10040. conftest$ac_exeext conftest.$ac_ext
  10041. CFLAGS=$ac_wine_try_cflags_saved
  10042. CC=$ac_wine_try_cflags_saved_cc
  10043. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10044. fi
  10045. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
  10046. printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
  10047. if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
  10048. then :
  10049. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
  10050. fi
  10051. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
  10052. printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
  10053. if test ${ac_cv_crosscflags__Wpragma_pack+y}
  10054. then :
  10055. printf %s "(cached) " >&6
  10056. else $as_nop
  10057. ac_wine_try_cflags_saved=$CFLAGS
  10058. ac_wine_try_cflags_saved_cc=$CC
  10059. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10060. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
  10061. CC="$CROSSCC"
  10062. ac_exeext=".exe"
  10063. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10064. /* end confdefs.h. */
  10065. int __cdecl mainCRTStartup(void) { return 0; }
  10066. _ACEOF
  10067. if ac_fn_c_try_link "$LINENO"
  10068. then :
  10069. ac_cv_crosscflags__Wpragma_pack=yes
  10070. else $as_nop
  10071. ac_cv_crosscflags__Wpragma_pack=no
  10072. fi
  10073. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10074. conftest$ac_exeext conftest.$ac_ext
  10075. CFLAGS=$ac_wine_try_cflags_saved
  10076. CC=$ac_wine_try_cflags_saved_cc
  10077. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10078. fi
  10079. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
  10080. printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
  10081. if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
  10082. then :
  10083. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
  10084. fi
  10085. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
  10086. printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
  10087. if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
  10088. then :
  10089. printf %s "(cached) " >&6
  10090. else $as_nop
  10091. ac_wine_try_cflags_saved=$CFLAGS
  10092. ac_wine_try_cflags_saved_cc=$CC
  10093. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10094. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
  10095. CC="$CROSSCC"
  10096. ac_exeext=".exe"
  10097. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10098. /* end confdefs.h. */
  10099. int __cdecl mainCRTStartup(void) { return 0; }
  10100. _ACEOF
  10101. if ac_fn_c_try_link "$LINENO"
  10102. then :
  10103. ac_cv_crosscflags__Wshift_overflow_2=yes
  10104. else $as_nop
  10105. ac_cv_crosscflags__Wshift_overflow_2=no
  10106. fi
  10107. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10108. conftest$ac_exeext conftest.$ac_ext
  10109. CFLAGS=$ac_wine_try_cflags_saved
  10110. CC=$ac_wine_try_cflags_saved_cc
  10111. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10112. fi
  10113. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
  10114. printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
  10115. if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
  10116. then :
  10117. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
  10118. fi
  10119. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
  10120. printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
  10121. if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
  10122. then :
  10123. printf %s "(cached) " >&6
  10124. else $as_nop
  10125. ac_wine_try_cflags_saved=$CFLAGS
  10126. ac_wine_try_cflags_saved_cc=$CC
  10127. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10128. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
  10129. CC="$CROSSCC"
  10130. ac_exeext=".exe"
  10131. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10132. /* end confdefs.h. */
  10133. int __cdecl mainCRTStartup(void) { return 0; }
  10134. _ACEOF
  10135. if ac_fn_c_try_link "$LINENO"
  10136. then :
  10137. ac_cv_crosscflags__Wstrict_prototypes=yes
  10138. else $as_nop
  10139. ac_cv_crosscflags__Wstrict_prototypes=no
  10140. fi
  10141. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10142. conftest$ac_exeext conftest.$ac_ext
  10143. CFLAGS=$ac_wine_try_cflags_saved
  10144. CC=$ac_wine_try_cflags_saved_cc
  10145. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10146. fi
  10147. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
  10148. printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
  10149. if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
  10150. then :
  10151. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
  10152. fi
  10153. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
  10154. printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
  10155. if test ${ac_cv_crosscflags__Wtype_limits+y}
  10156. then :
  10157. printf %s "(cached) " >&6
  10158. else $as_nop
  10159. ac_wine_try_cflags_saved=$CFLAGS
  10160. ac_wine_try_cflags_saved_cc=$CC
  10161. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10162. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
  10163. CC="$CROSSCC"
  10164. ac_exeext=".exe"
  10165. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10166. /* end confdefs.h. */
  10167. int __cdecl mainCRTStartup(void) { return 0; }
  10168. _ACEOF
  10169. if ac_fn_c_try_link "$LINENO"
  10170. then :
  10171. ac_cv_crosscflags__Wtype_limits=yes
  10172. else $as_nop
  10173. ac_cv_crosscflags__Wtype_limits=no
  10174. fi
  10175. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10176. conftest$ac_exeext conftest.$ac_ext
  10177. CFLAGS=$ac_wine_try_cflags_saved
  10178. CC=$ac_wine_try_cflags_saved_cc
  10179. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10180. fi
  10181. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
  10182. printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
  10183. if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
  10184. then :
  10185. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
  10186. fi
  10187. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
  10188. printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
  10189. if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
  10190. then :
  10191. printf %s "(cached) " >&6
  10192. else $as_nop
  10193. ac_wine_try_cflags_saved=$CFLAGS
  10194. ac_wine_try_cflags_saved_cc=$CC
  10195. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10196. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
  10197. CC="$CROSSCC"
  10198. ac_exeext=".exe"
  10199. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10200. /* end confdefs.h. */
  10201. int __cdecl mainCRTStartup(void) { return 0; }
  10202. _ACEOF
  10203. if ac_fn_c_try_link "$LINENO"
  10204. then :
  10205. ac_cv_crosscflags__Wunused_but_set_parameter=yes
  10206. else $as_nop
  10207. ac_cv_crosscflags__Wunused_but_set_parameter=no
  10208. fi
  10209. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10210. conftest$ac_exeext conftest.$ac_ext
  10211. CFLAGS=$ac_wine_try_cflags_saved
  10212. CC=$ac_wine_try_cflags_saved_cc
  10213. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10214. fi
  10215. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
  10216. printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
  10217. if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
  10218. then :
  10219. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
  10220. fi
  10221. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
  10222. printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
  10223. if test ${ac_cv_crosscflags__Wvla+y}
  10224. then :
  10225. printf %s "(cached) " >&6
  10226. else $as_nop
  10227. ac_wine_try_cflags_saved=$CFLAGS
  10228. ac_wine_try_cflags_saved_cc=$CC
  10229. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10230. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
  10231. CC="$CROSSCC"
  10232. ac_exeext=".exe"
  10233. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10234. /* end confdefs.h. */
  10235. int __cdecl mainCRTStartup(void) { return 0; }
  10236. _ACEOF
  10237. if ac_fn_c_try_link "$LINENO"
  10238. then :
  10239. ac_cv_crosscflags__Wvla=yes
  10240. else $as_nop
  10241. ac_cv_crosscflags__Wvla=no
  10242. fi
  10243. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10244. conftest$ac_exeext conftest.$ac_ext
  10245. CFLAGS=$ac_wine_try_cflags_saved
  10246. CC=$ac_wine_try_cflags_saved_cc
  10247. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10248. fi
  10249. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
  10250. printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
  10251. if test "x$ac_cv_crosscflags__Wvla" = xyes
  10252. then :
  10253. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
  10254. fi
  10255. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
  10256. printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
  10257. if test ${ac_cv_crosscflags__Wwrite_strings+y}
  10258. then :
  10259. printf %s "(cached) " >&6
  10260. else $as_nop
  10261. ac_wine_try_cflags_saved=$CFLAGS
  10262. ac_wine_try_cflags_saved_cc=$CC
  10263. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10264. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
  10265. CC="$CROSSCC"
  10266. ac_exeext=".exe"
  10267. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10268. /* end confdefs.h. */
  10269. int __cdecl mainCRTStartup(void) { return 0; }
  10270. _ACEOF
  10271. if ac_fn_c_try_link "$LINENO"
  10272. then :
  10273. ac_cv_crosscflags__Wwrite_strings=yes
  10274. else $as_nop
  10275. ac_cv_crosscflags__Wwrite_strings=no
  10276. fi
  10277. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10278. conftest$ac_exeext conftest.$ac_ext
  10279. CFLAGS=$ac_wine_try_cflags_saved
  10280. CC=$ac_wine_try_cflags_saved_cc
  10281. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10282. fi
  10283. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
  10284. printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
  10285. if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
  10286. then :
  10287. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
  10288. fi
  10289. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
  10290. printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
  10291. if test ${ac_cv_crosscflags__Wpointer_arith+y}
  10292. then :
  10293. printf %s "(cached) " >&6
  10294. else $as_nop
  10295. ac_wine_try_cflags_saved=$CFLAGS
  10296. ac_wine_try_cflags_saved_cc=$CC
  10297. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10298. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
  10299. CC="$CROSSCC"
  10300. ac_exeext=".exe"
  10301. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10302. /* end confdefs.h. */
  10303. int __cdecl mainCRTStartup(void) { return 0; }
  10304. _ACEOF
  10305. if ac_fn_c_try_link "$LINENO"
  10306. then :
  10307. ac_cv_crosscflags__Wpointer_arith=yes
  10308. else $as_nop
  10309. ac_cv_crosscflags__Wpointer_arith=no
  10310. fi
  10311. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10312. conftest$ac_exeext conftest.$ac_ext
  10313. CFLAGS=$ac_wine_try_cflags_saved
  10314. CC=$ac_wine_try_cflags_saved_cc
  10315. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10316. fi
  10317. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
  10318. printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
  10319. if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
  10320. then :
  10321. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
  10322. fi
  10323. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
  10324. printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
  10325. if test ${ac_cv_crosscflags__Wlogical_op+y}
  10326. then :
  10327. printf %s "(cached) " >&6
  10328. else $as_nop
  10329. ac_wine_try_cflags_saved=$CFLAGS
  10330. ac_wine_try_cflags_saved_cc=$CC
  10331. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10332. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
  10333. CC="$CROSSCC"
  10334. ac_exeext=".exe"
  10335. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10336. /* end confdefs.h. */
  10337. int __cdecl mainCRTStartup(void) { return 0; }
  10338. _ACEOF
  10339. if ac_fn_c_try_link "$LINENO"
  10340. then :
  10341. ac_cv_crosscflags__Wlogical_op=yes
  10342. else $as_nop
  10343. ac_cv_crosscflags__Wlogical_op=no
  10344. fi
  10345. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10346. conftest$ac_exeext conftest.$ac_ext
  10347. CFLAGS=$ac_wine_try_cflags_saved
  10348. CC=$ac_wine_try_cflags_saved_cc
  10349. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10350. fi
  10351. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
  10352. printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
  10353. if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
  10354. then :
  10355. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
  10356. fi
  10357. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
  10358. printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
  10359. if test ${ac_cv_crosscflags__Wabsolute_value+y}
  10360. then :
  10361. printf %s "(cached) " >&6
  10362. else $as_nop
  10363. ac_wine_try_cflags_saved=$CFLAGS
  10364. ac_wine_try_cflags_saved_cc=$CC
  10365. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10366. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
  10367. CC="$CROSSCC"
  10368. ac_exeext=".exe"
  10369. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10370. /* end confdefs.h. */
  10371. int __cdecl mainCRTStartup(void) { return 0; }
  10372. _ACEOF
  10373. if ac_fn_c_try_link "$LINENO"
  10374. then :
  10375. ac_cv_crosscflags__Wabsolute_value=yes
  10376. else $as_nop
  10377. ac_cv_crosscflags__Wabsolute_value=no
  10378. fi
  10379. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10380. conftest$ac_exeext conftest.$ac_ext
  10381. CFLAGS=$ac_wine_try_cflags_saved
  10382. CC=$ac_wine_try_cflags_saved_cc
  10383. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10384. fi
  10385. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
  10386. printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
  10387. if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
  10388. then :
  10389. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
  10390. fi
  10391. case $host_cpu in
  10392. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
  10393. printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
  10394. if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
  10395. then :
  10396. printf %s "(cached) " >&6
  10397. else $as_nop
  10398. ac_wine_try_cflags_saved=$CFLAGS
  10399. ac_wine_try_cflags_saved_cc=$CC
  10400. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10401. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
  10402. CC="$CROSSCC"
  10403. ac_exeext=".exe"
  10404. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10405. /* end confdefs.h. */
  10406. int __cdecl mainCRTStartup(void) { return 0; }
  10407. _ACEOF
  10408. if ac_fn_c_try_link "$LINENO"
  10409. then :
  10410. ac_cv_crosscflags__fno_omit_frame_pointer=yes
  10411. else $as_nop
  10412. ac_cv_crosscflags__fno_omit_frame_pointer=no
  10413. fi
  10414. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10415. conftest$ac_exeext conftest.$ac_ext
  10416. CFLAGS=$ac_wine_try_cflags_saved
  10417. CC=$ac_wine_try_cflags_saved_cc
  10418. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10419. fi
  10420. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
  10421. printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
  10422. if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
  10423. then :
  10424. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
  10425. fi ;;
  10426. x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  10427. printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
  10428. if test ${ac_cv_crosscflags__Wno_format+y}
  10429. then :
  10430. printf %s "(cached) " >&6
  10431. else $as_nop
  10432. ac_wine_try_cflags_saved=$CFLAGS
  10433. ac_wine_try_cflags_saved_cc=$CC
  10434. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10435. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  10436. CC="$CROSSCC"
  10437. ac_exeext=".exe"
  10438. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10439. /* end confdefs.h. */
  10440. int __cdecl mainCRTStartup(void) { return 0; }
  10441. _ACEOF
  10442. if ac_fn_c_try_link "$LINENO"
  10443. then :
  10444. ac_cv_crosscflags__Wno_format=yes
  10445. else $as_nop
  10446. ac_cv_crosscflags__Wno_format=no
  10447. fi
  10448. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10449. conftest$ac_exeext conftest.$ac_ext
  10450. CFLAGS=$ac_wine_try_cflags_saved
  10451. CC=$ac_wine_try_cflags_saved_cc
  10452. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10453. fi
  10454. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  10455. printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
  10456. if test "x$ac_cv_crosscflags__Wno_format" = xyes
  10457. then :
  10458. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  10459. fi
  10460. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
  10461. printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
  10462. if test ${ac_cv_crosscflags__Wformat_overflow+y}
  10463. then :
  10464. printf %s "(cached) " >&6
  10465. else $as_nop
  10466. ac_wine_try_cflags_saved=$CFLAGS
  10467. ac_wine_try_cflags_saved_cc=$CC
  10468. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10469. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
  10470. CC="$CROSSCC"
  10471. ac_exeext=".exe"
  10472. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10473. /* end confdefs.h. */
  10474. int __cdecl mainCRTStartup(void) { return 0; }
  10475. _ACEOF
  10476. if ac_fn_c_try_link "$LINENO"
  10477. then :
  10478. ac_cv_crosscflags__Wformat_overflow=yes
  10479. else $as_nop
  10480. ac_cv_crosscflags__Wformat_overflow=no
  10481. fi
  10482. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10483. conftest$ac_exeext conftest.$ac_ext
  10484. CFLAGS=$ac_wine_try_cflags_saved
  10485. CC=$ac_wine_try_cflags_saved_cc
  10486. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10487. fi
  10488. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
  10489. printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
  10490. if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
  10491. then :
  10492. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
  10493. fi
  10494. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
  10495. printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
  10496. if test ${ac_cv_crosscflags__Wnonnull+y}
  10497. then :
  10498. printf %s "(cached) " >&6
  10499. else $as_nop
  10500. ac_wine_try_cflags_saved=$CFLAGS
  10501. ac_wine_try_cflags_saved_cc=$CC
  10502. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10503. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
  10504. CC="$CROSSCC"
  10505. ac_exeext=".exe"
  10506. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10507. /* end confdefs.h. */
  10508. int __cdecl mainCRTStartup(void) { return 0; }
  10509. _ACEOF
  10510. if ac_fn_c_try_link "$LINENO"
  10511. then :
  10512. ac_cv_crosscflags__Wnonnull=yes
  10513. else $as_nop
  10514. ac_cv_crosscflags__Wnonnull=no
  10515. fi
  10516. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10517. conftest$ac_exeext conftest.$ac_ext
  10518. CFLAGS=$ac_wine_try_cflags_saved
  10519. CC=$ac_wine_try_cflags_saved_cc
  10520. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10521. fi
  10522. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
  10523. printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
  10524. if test "x$ac_cv_crosscflags__Wnonnull" = xyes
  10525. then :
  10526. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
  10527. fi
  10528. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
  10529. printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
  10530. if test ${ac_cv_crosscflags__mcx16+y}
  10531. then :
  10532. printf %s "(cached) " >&6
  10533. else $as_nop
  10534. ac_wine_try_cflags_saved=$CFLAGS
  10535. ac_wine_try_cflags_saved_cc=$CC
  10536. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10537. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
  10538. CC="$CROSSCC"
  10539. ac_exeext=".exe"
  10540. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10541. /* end confdefs.h. */
  10542. int __cdecl mainCRTStartup(void) { return 0; }
  10543. _ACEOF
  10544. if ac_fn_c_try_link "$LINENO"
  10545. then :
  10546. ac_cv_crosscflags__mcx16=yes
  10547. else $as_nop
  10548. ac_cv_crosscflags__mcx16=no
  10549. fi
  10550. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10551. conftest$ac_exeext conftest.$ac_ext
  10552. CFLAGS=$ac_wine_try_cflags_saved
  10553. CC=$ac_wine_try_cflags_saved_cc
  10554. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10555. fi
  10556. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
  10557. printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
  10558. if test "x$ac_cv_crosscflags__mcx16" = xyes
  10559. then :
  10560. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
  10561. fi ;;
  10562. aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  10563. printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
  10564. if test ${ac_cv_crosscflags__Wno_format+y}
  10565. then :
  10566. printf %s "(cached) " >&6
  10567. else $as_nop
  10568. ac_wine_try_cflags_saved=$CFLAGS
  10569. ac_wine_try_cflags_saved_cc=$CC
  10570. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10571. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  10572. CC="$CROSSCC"
  10573. ac_exeext=".exe"
  10574. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10575. /* end confdefs.h. */
  10576. int __cdecl mainCRTStartup(void) { return 0; }
  10577. _ACEOF
  10578. if ac_fn_c_try_link "$LINENO"
  10579. then :
  10580. ac_cv_crosscflags__Wno_format=yes
  10581. else $as_nop
  10582. ac_cv_crosscflags__Wno_format=no
  10583. fi
  10584. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10585. conftest$ac_exeext conftest.$ac_ext
  10586. CFLAGS=$ac_wine_try_cflags_saved
  10587. CC=$ac_wine_try_cflags_saved_cc
  10588. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10589. fi
  10590. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  10591. printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
  10592. if test "x$ac_cv_crosscflags__Wno_format" = xyes
  10593. then :
  10594. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  10595. fi ;;
  10596. esac
  10597. if test -z "$CROSSDEBUG"
  10598. then
  10599. for ac_flag in $CROSSCFLAGS; do
  10600. case $ac_flag in
  10601. -gdwarf*) CROSSDEBUG=dwarf ;;
  10602. -gcodeview) CROSSDEBUG=pdb ;;
  10603. -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
  10604. esac
  10605. done
  10606. fi
  10607. ac_debug_format_seen=""
  10608. for ac_flag in $CROSSCFLAGS; do
  10609. case $ac_flag in
  10610. -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
  10611. esac
  10612. done
  10613. if test "x$ac_debug_format_seen" = x
  10614. then
  10615. case $CROSSDEBUG in
  10616. *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
  10617. printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
  10618. if test ${ac_cv_crosscflags__gdwarf_4+y}
  10619. then :
  10620. printf %s "(cached) " >&6
  10621. else $as_nop
  10622. ac_wine_try_cflags_saved=$CFLAGS
  10623. ac_wine_try_cflags_saved_cc=$CC
  10624. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10625. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
  10626. CC="$CROSSCC"
  10627. ac_exeext=".exe"
  10628. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10629. /* end confdefs.h. */
  10630. int __cdecl mainCRTStartup(void) { return 0; }
  10631. _ACEOF
  10632. if ac_fn_c_try_link "$LINENO"
  10633. then :
  10634. ac_cv_crosscflags__gdwarf_4=yes
  10635. else $as_nop
  10636. ac_cv_crosscflags__gdwarf_4=no
  10637. fi
  10638. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10639. conftest$ac_exeext conftest.$ac_ext
  10640. CFLAGS=$ac_wine_try_cflags_saved
  10641. CC=$ac_wine_try_cflags_saved_cc
  10642. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10643. fi
  10644. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
  10645. printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
  10646. if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
  10647. then :
  10648. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
  10649. fi ;;
  10650. pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
  10651. printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
  10652. if test ${ac_cv_crosscflags__gcodeview+y}
  10653. then :
  10654. printf %s "(cached) " >&6
  10655. else $as_nop
  10656. ac_wine_try_cflags_saved=$CFLAGS
  10657. ac_wine_try_cflags_saved_cc=$CC
  10658. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10659. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
  10660. CC="$CROSSCC"
  10661. ac_exeext=".exe"
  10662. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10663. /* end confdefs.h. */
  10664. int __cdecl mainCRTStartup(void) { return 0; }
  10665. _ACEOF
  10666. if ac_fn_c_try_link "$LINENO"
  10667. then :
  10668. ac_cv_crosscflags__gcodeview=yes
  10669. else $as_nop
  10670. ac_cv_crosscflags__gcodeview=no
  10671. fi
  10672. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10673. conftest$ac_exeext conftest.$ac_ext
  10674. CFLAGS=$ac_wine_try_cflags_saved
  10675. CC=$ac_wine_try_cflags_saved_cc
  10676. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10677. fi
  10678. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
  10679. printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
  10680. if test "x$ac_cv_crosscflags__gcodeview" = xyes
  10681. then :
  10682. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
  10683. fi ;;
  10684. esac
  10685. fi
  10686. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
  10687. printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
  10688. if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
  10689. then :
  10690. printf %s "(cached) " >&6
  10691. else $as_nop
  10692. ac_wine_try_cflags_saved=$CFLAGS
  10693. ac_wine_try_cflags_saved_cc=$CC
  10694. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10695. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
  10696. CC="$CROSSCC"
  10697. ac_exeext=".exe"
  10698. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10699. /* end confdefs.h. */
  10700. int __cdecl mainCRTStartup(void) { return 0; }
  10701. _ACEOF
  10702. if ac_fn_c_try_link "$LINENO"
  10703. then :
  10704. ac_cv_crosscflags__fexcess_precision_standard=yes
  10705. else $as_nop
  10706. ac_cv_crosscflags__fexcess_precision_standard=no
  10707. fi
  10708. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10709. conftest$ac_exeext conftest.$ac_ext
  10710. CFLAGS=$ac_wine_try_cflags_saved
  10711. CC=$ac_wine_try_cflags_saved_cc
  10712. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10713. fi
  10714. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
  10715. printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
  10716. if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
  10717. then :
  10718. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  10719. fi
  10720. if test "x$enable_werror" = "xyes"
  10721. then
  10722. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
  10723. printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
  10724. if test ${ac_cv_crosscflags__Werror+y}
  10725. then :
  10726. printf %s "(cached) " >&6
  10727. else $as_nop
  10728. ac_wine_try_cflags_saved=$CFLAGS
  10729. ac_wine_try_cflags_saved_cc=$CC
  10730. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10731. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
  10732. CC="$CROSSCC"
  10733. ac_exeext=".exe"
  10734. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10735. /* end confdefs.h. */
  10736. int __cdecl mainCRTStartup(void) { return 0; }
  10737. _ACEOF
  10738. if ac_fn_c_try_link "$LINENO"
  10739. then :
  10740. ac_cv_crosscflags__Werror=yes
  10741. else $as_nop
  10742. ac_cv_crosscflags__Werror=no
  10743. fi
  10744. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10745. conftest$ac_exeext conftest.$ac_ext
  10746. CFLAGS=$ac_wine_try_cflags_saved
  10747. CC=$ac_wine_try_cflags_saved_cc
  10748. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10749. fi
  10750. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
  10751. printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
  10752. if test "x$ac_cv_crosscflags__Werror" = xyes
  10753. then :
  10754. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
  10755. fi
  10756. fi
  10757. if test "x$enable_build_id" = "xyes"
  10758. then
  10759. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
  10760. printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
  10761. if test ${ac_cv_crosscflags__Wl___build_id+y}
  10762. then :
  10763. printf %s "(cached) " >&6
  10764. else $as_nop
  10765. ac_wine_try_cflags_saved=$CFLAGS
  10766. ac_wine_try_cflags_saved_cc=$CC
  10767. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10768. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
  10769. CC="$CROSSCC"
  10770. ac_exeext=".exe"
  10771. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10772. /* end confdefs.h. */
  10773. int __cdecl mainCRTStartup(void) { return 0; }
  10774. _ACEOF
  10775. if ac_fn_c_try_link "$LINENO"
  10776. then :
  10777. ac_cv_crosscflags__Wl___build_id=yes
  10778. else $as_nop
  10779. ac_cv_crosscflags__Wl___build_id=no
  10780. fi
  10781. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10782. conftest$ac_exeext conftest.$ac_ext
  10783. CFLAGS=$ac_wine_try_cflags_saved
  10784. CC=$ac_wine_try_cflags_saved_cc
  10785. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10786. fi
  10787. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
  10788. printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
  10789. if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
  10790. then :
  10791. CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
  10792. CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
  10793. fi
  10794. fi
  10795. CFLAGS=$saved_CFLAGS
  10796. LDFLAGS=$saved_LDFLAGS
  10797. CC="$ac_save_CC"
  10798. fi
  10799. fi
  10800. if test "x$CROSSTARGET" = "x"
  10801. then :
  10802. case "x$with_mingw" in
  10803. x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
  10804. xno) ;;
  10805. *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
  10806. This is an error since --with-mingw was requested." "$LINENO" 5 ;;
  10807. esac
  10808. fi
  10809. case $host_cpu in
  10810. aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
  10811. esac
  10812. if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
  10813. then
  10814. case "$host_cpu" in
  10815. i[3456789]86*)
  10816. ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
  10817. *)
  10818. ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
  10819. esac
  10820. for ac_prog in $ac_prefix_list
  10821. do
  10822. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10823. set dummy $ac_prog; ac_word=$2
  10824. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10825. printf %s "checking for $ac_word... " >&6; }
  10826. if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
  10827. then :
  10828. printf %s "(cached) " >&6
  10829. else $as_nop
  10830. if test -n "$MINGW_PKG_CONFIG"; then
  10831. ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
  10832. else
  10833. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10834. for as_dir in $PATH
  10835. do
  10836. IFS=$as_save_IFS
  10837. case $as_dir in #(((
  10838. '') as_dir=./ ;;
  10839. */) ;;
  10840. *) as_dir=$as_dir/ ;;
  10841. esac
  10842. for ac_exec_ext in '' $ac_executable_extensions; do
  10843. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  10844. ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
  10845. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  10846. break 2
  10847. fi
  10848. done
  10849. done
  10850. IFS=$as_save_IFS
  10851. fi
  10852. fi
  10853. MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
  10854. if test -n "$MINGW_PKG_CONFIG"; then
  10855. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
  10856. printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
  10857. else
  10858. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10859. printf "%s\n" "no" >&6; }
  10860. fi
  10861. test -n "$MINGW_PKG_CONFIG" && break
  10862. done
  10863. test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
  10864. if ${FAUDIO_PE_CFLAGS:+false} :
  10865. then :
  10866. if test ${MINGW_PKG_CONFIG+y}
  10867. then :
  10868. FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
  10869. fi
  10870. fi
  10871. if ${FAUDIO_PE_LIBS:+false} :
  10872. then :
  10873. if test ${MINGW_PKG_CONFIG+y}
  10874. then :
  10875. FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
  10876. fi
  10877. fi
  10878. FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
  10879. ac_save_CPPFLAGS=$CPPFLAGS
  10880. CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
  10881. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
  10882. printf %s "checking for MinGW FAudio.h... " >&6; }
  10883. if test ${ac_cv_mingw_header_FAudio_h+y}
  10884. then :
  10885. printf %s "(cached) " >&6
  10886. else $as_nop
  10887. ac_wine_check_headers_saved_cc=$CC
  10888. ac_wine_check_headers_saved_exeext=$ac_exeext
  10889. CC="$CROSSCC"
  10890. ac_exeext=".exe"
  10891. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10892. /* end confdefs.h. */
  10893. #include <FAudio.h>
  10894. int
  10895. main (void)
  10896. {
  10897. ;
  10898. return 0;
  10899. }
  10900. _ACEOF
  10901. if ac_fn_c_try_compile "$LINENO"
  10902. then :
  10903. ac_cv_mingw_header_FAudio_h=yes
  10904. else $as_nop
  10905. ac_cv_mingw_header_FAudio_h=no
  10906. fi
  10907. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  10908. CC=$ac_wine_check_headers_saved_cc
  10909. ac_exeext=$ac_wine_check_headers_saved_exeext
  10910. fi
  10911. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
  10912. printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
  10913. if test "x$ac_cv_mingw_header_FAudio_h" = xyes
  10914. then :
  10915. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
  10916. printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
  10917. if test ${ac_cv_mingw_lib_FAudio+y}
  10918. then :
  10919. printf %s "(cached) " >&6
  10920. else $as_nop
  10921. ac_wine_check_headers_saved_cc=$CC
  10922. ac_wine_check_headers_saved_exeext=$ac_exeext
  10923. ac_wine_check_headers_saved_libs=$LIBS
  10924. CC="$CROSSCC"
  10925. ac_exeext=".exe"
  10926. LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
  10927. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10928. /* end confdefs.h. */
  10929. /* Override any GCC internal prototype to avoid an error.
  10930. Use char because int might match the return type of a GCC
  10931. builtin and then its argument prototype would still apply. */
  10932. char FAudio_CommitOperationSet ();
  10933. int
  10934. main (void)
  10935. {
  10936. return FAudio_CommitOperationSet ();
  10937. ;
  10938. return 0;
  10939. }
  10940. _ACEOF
  10941. if ac_fn_c_try_link "$LINENO"
  10942. then :
  10943. ac_cv_mingw_lib_FAudio=yes
  10944. else $as_nop
  10945. ac_cv_mingw_lib_FAudio=no
  10946. fi
  10947. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10948. conftest$ac_exeext conftest.$ac_ext
  10949. CC=$ac_wine_check_headers_saved_cc
  10950. ac_exeext=$ac_wine_check_headers_saved_exeext
  10951. LIBS=$ac_wine_check_headers_saved_libs
  10952. fi
  10953. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
  10954. printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
  10955. if test "x$ac_cv_mingw_lib_FAudio" = xyes
  10956. then :
  10957. :
  10958. else $as_nop
  10959. FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
  10960. fi
  10961. else $as_nop
  10962. FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
  10963. fi
  10964. CPPFLAGS=$ac_save_CPPFLAGS
  10965. if test "x$FAUDIO_PE_LIBS" = "x"
  10966. then
  10967. as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
  10968. fi
  10969. if ${JPEG_PE_CFLAGS:+false} :
  10970. then :
  10971. if test ${MINGW_PKG_CONFIG+y}
  10972. then :
  10973. JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
  10974. fi
  10975. fi
  10976. if ${JPEG_PE_LIBS:+false} :
  10977. then :
  10978. if test ${MINGW_PKG_CONFIG+y}
  10979. then :
  10980. JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
  10981. fi
  10982. fi
  10983. ac_save_CPPFLAGS=$CPPFLAGS
  10984. CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
  10985. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
  10986. printf %s "checking for MinGW jpeglib.h... " >&6; }
  10987. if test ${ac_cv_mingw_header_jpeglib_h+y}
  10988. then :
  10989. printf %s "(cached) " >&6
  10990. else $as_nop
  10991. ac_wine_check_headers_saved_cc=$CC
  10992. ac_wine_check_headers_saved_exeext=$ac_exeext
  10993. CC="$CROSSCC"
  10994. ac_exeext=".exe"
  10995. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10996. /* end confdefs.h. */
  10997. #include <stddef.h>
  10998. #include <stdio.h>
  10999. #include <jpeglib.h>
  11000. int
  11001. main (void)
  11002. {
  11003. ;
  11004. return 0;
  11005. }
  11006. _ACEOF
  11007. if ac_fn_c_try_compile "$LINENO"
  11008. then :
  11009. ac_cv_mingw_header_jpeglib_h=yes
  11010. else $as_nop
  11011. ac_cv_mingw_header_jpeglib_h=no
  11012. fi
  11013. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11014. CC=$ac_wine_check_headers_saved_cc
  11015. ac_exeext=$ac_wine_check_headers_saved_exeext
  11016. fi
  11017. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
  11018. printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
  11019. if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
  11020. then :
  11021. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
  11022. printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
  11023. if test ${ac_cv_mingw_lib_jpeg+y}
  11024. then :
  11025. printf %s "(cached) " >&6
  11026. else $as_nop
  11027. ac_wine_check_headers_saved_cc=$CC
  11028. ac_wine_check_headers_saved_exeext=$ac_exeext
  11029. ac_wine_check_headers_saved_libs=$LIBS
  11030. CC="$CROSSCC"
  11031. ac_exeext=".exe"
  11032. LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
  11033. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11034. /* end confdefs.h. */
  11035. /* Override any GCC internal prototype to avoid an error.
  11036. Use char because int might match the return type of a GCC
  11037. builtin and then its argument prototype would still apply. */
  11038. char jpeg_start_decompress ();
  11039. int
  11040. main (void)
  11041. {
  11042. return jpeg_start_decompress ();
  11043. ;
  11044. return 0;
  11045. }
  11046. _ACEOF
  11047. if ac_fn_c_try_link "$LINENO"
  11048. then :
  11049. ac_cv_mingw_lib_jpeg=yes
  11050. else $as_nop
  11051. ac_cv_mingw_lib_jpeg=no
  11052. fi
  11053. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11054. conftest$ac_exeext conftest.$ac_ext
  11055. CC=$ac_wine_check_headers_saved_cc
  11056. ac_exeext=$ac_wine_check_headers_saved_exeext
  11057. LIBS=$ac_wine_check_headers_saved_libs
  11058. fi
  11059. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
  11060. printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
  11061. if test "x$ac_cv_mingw_lib_jpeg" = xyes
  11062. then :
  11063. :
  11064. else $as_nop
  11065. JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
  11066. fi
  11067. else $as_nop
  11068. JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
  11069. fi
  11070. CPPFLAGS=$ac_save_CPPFLAGS
  11071. if test "x$JPEG_PE_LIBS" = "x"
  11072. then
  11073. as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
  11074. fi
  11075. if ${LCMS2_PE_CFLAGS:+false} :
  11076. then :
  11077. if test ${MINGW_PKG_CONFIG+y}
  11078. then :
  11079. LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
  11080. fi
  11081. fi
  11082. if ${LCMS2_PE_LIBS:+false} :
  11083. then :
  11084. if test ${MINGW_PKG_CONFIG+y}
  11085. then :
  11086. LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
  11087. fi
  11088. fi
  11089. LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
  11090. ac_save_CPPFLAGS=$CPPFLAGS
  11091. CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
  11092. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
  11093. printf %s "checking for MinGW lcms2.h... " >&6; }
  11094. if test ${ac_cv_mingw_header_lcms2_h+y}
  11095. then :
  11096. printf %s "(cached) " >&6
  11097. else $as_nop
  11098. ac_wine_check_headers_saved_cc=$CC
  11099. ac_wine_check_headers_saved_exeext=$ac_exeext
  11100. CC="$CROSSCC"
  11101. ac_exeext=".exe"
  11102. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11103. /* end confdefs.h. */
  11104. #include <lcms2.h>
  11105. int
  11106. main (void)
  11107. {
  11108. ;
  11109. return 0;
  11110. }
  11111. _ACEOF
  11112. if ac_fn_c_try_compile "$LINENO"
  11113. then :
  11114. ac_cv_mingw_header_lcms2_h=yes
  11115. else $as_nop
  11116. ac_cv_mingw_header_lcms2_h=no
  11117. fi
  11118. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11119. CC=$ac_wine_check_headers_saved_cc
  11120. ac_exeext=$ac_wine_check_headers_saved_exeext
  11121. fi
  11122. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
  11123. printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
  11124. if test "x$ac_cv_mingw_header_lcms2_h" = xyes
  11125. then :
  11126. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
  11127. printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
  11128. if test ${ac_cv_mingw_lib_lcms2+y}
  11129. then :
  11130. printf %s "(cached) " >&6
  11131. else $as_nop
  11132. ac_wine_check_headers_saved_cc=$CC
  11133. ac_wine_check_headers_saved_exeext=$ac_exeext
  11134. ac_wine_check_headers_saved_libs=$LIBS
  11135. CC="$CROSSCC"
  11136. ac_exeext=".exe"
  11137. LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
  11138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11139. /* end confdefs.h. */
  11140. /* Override any GCC internal prototype to avoid an error.
  11141. Use char because int might match the return type of a GCC
  11142. builtin and then its argument prototype would still apply. */
  11143. char cmsOpenProfileFromFile ();
  11144. int
  11145. main (void)
  11146. {
  11147. return cmsOpenProfileFromFile ();
  11148. ;
  11149. return 0;
  11150. }
  11151. _ACEOF
  11152. if ac_fn_c_try_link "$LINENO"
  11153. then :
  11154. ac_cv_mingw_lib_lcms2=yes
  11155. else $as_nop
  11156. ac_cv_mingw_lib_lcms2=no
  11157. fi
  11158. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11159. conftest$ac_exeext conftest.$ac_ext
  11160. CC=$ac_wine_check_headers_saved_cc
  11161. ac_exeext=$ac_wine_check_headers_saved_exeext
  11162. LIBS=$ac_wine_check_headers_saved_libs
  11163. fi
  11164. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
  11165. printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
  11166. if test "x$ac_cv_mingw_lib_lcms2" = xyes
  11167. then :
  11168. :
  11169. else $as_nop
  11170. LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
  11171. fi
  11172. else $as_nop
  11173. LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
  11174. fi
  11175. CPPFLAGS=$ac_save_CPPFLAGS
  11176. if test "x$LCMS2_PE_LIBS" = "x"
  11177. then
  11178. as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
  11179. fi
  11180. if ${MPG123_PE_CFLAGS:+false} :
  11181. then :
  11182. if test ${MINGW_PKG_CONFIG+y}
  11183. then :
  11184. MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
  11185. fi
  11186. fi
  11187. if ${MPG123_PE_LIBS:+false} :
  11188. then :
  11189. if test ${MINGW_PKG_CONFIG+y}
  11190. then :
  11191. MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
  11192. fi
  11193. fi
  11194. MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
  11195. ac_save_CPPFLAGS=$CPPFLAGS
  11196. CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
  11197. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
  11198. printf %s "checking for MinGW mpg123.h... " >&6; }
  11199. if test ${ac_cv_mingw_header_mpg123_h+y}
  11200. then :
  11201. printf %s "(cached) " >&6
  11202. else $as_nop
  11203. ac_wine_check_headers_saved_cc=$CC
  11204. ac_wine_check_headers_saved_exeext=$ac_exeext
  11205. CC="$CROSSCC"
  11206. ac_exeext=".exe"
  11207. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11208. /* end confdefs.h. */
  11209. #include <mpg123.h>
  11210. int
  11211. main (void)
  11212. {
  11213. ;
  11214. return 0;
  11215. }
  11216. _ACEOF
  11217. if ac_fn_c_try_compile "$LINENO"
  11218. then :
  11219. ac_cv_mingw_header_mpg123_h=yes
  11220. else $as_nop
  11221. ac_cv_mingw_header_mpg123_h=no
  11222. fi
  11223. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11224. CC=$ac_wine_check_headers_saved_cc
  11225. ac_exeext=$ac_wine_check_headers_saved_exeext
  11226. fi
  11227. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
  11228. printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
  11229. if test "x$ac_cv_mingw_header_mpg123_h" = xyes
  11230. then :
  11231. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
  11232. printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
  11233. if test ${ac_cv_mingw_lib_mpg123+y}
  11234. then :
  11235. printf %s "(cached) " >&6
  11236. else $as_nop
  11237. ac_wine_check_headers_saved_cc=$CC
  11238. ac_wine_check_headers_saved_exeext=$ac_exeext
  11239. ac_wine_check_headers_saved_libs=$LIBS
  11240. CC="$CROSSCC"
  11241. ac_exeext=".exe"
  11242. LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
  11243. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11244. /* end confdefs.h. */
  11245. /* Override any GCC internal prototype to avoid an error.
  11246. Use char because int might match the return type of a GCC
  11247. builtin and then its argument prototype would still apply. */
  11248. char mpg123_feed ();
  11249. int
  11250. main (void)
  11251. {
  11252. return mpg123_feed ();
  11253. ;
  11254. return 0;
  11255. }
  11256. _ACEOF
  11257. if ac_fn_c_try_link "$LINENO"
  11258. then :
  11259. ac_cv_mingw_lib_mpg123=yes
  11260. else $as_nop
  11261. ac_cv_mingw_lib_mpg123=no
  11262. fi
  11263. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11264. conftest$ac_exeext conftest.$ac_ext
  11265. CC=$ac_wine_check_headers_saved_cc
  11266. ac_exeext=$ac_wine_check_headers_saved_exeext
  11267. LIBS=$ac_wine_check_headers_saved_libs
  11268. fi
  11269. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
  11270. printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
  11271. if test "x$ac_cv_mingw_lib_mpg123" = xyes
  11272. then :
  11273. :
  11274. else $as_nop
  11275. MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
  11276. fi
  11277. else $as_nop
  11278. MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
  11279. fi
  11280. CPPFLAGS=$ac_save_CPPFLAGS
  11281. if test "x$MPG123_PE_LIBS" = "x"
  11282. then
  11283. as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
  11284. fi
  11285. if ${PNG_PE_CFLAGS:+false} :
  11286. then :
  11287. if test ${MINGW_PKG_CONFIG+y}
  11288. then :
  11289. PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
  11290. fi
  11291. fi
  11292. if ${PNG_PE_LIBS:+false} :
  11293. then :
  11294. if test ${MINGW_PKG_CONFIG+y}
  11295. then :
  11296. PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
  11297. fi
  11298. fi
  11299. ac_save_CPPFLAGS=$CPPFLAGS
  11300. CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
  11301. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
  11302. printf %s "checking for MinGW png.h... " >&6; }
  11303. if test ${ac_cv_mingw_header_png_h+y}
  11304. then :
  11305. printf %s "(cached) " >&6
  11306. else $as_nop
  11307. ac_wine_check_headers_saved_cc=$CC
  11308. ac_wine_check_headers_saved_exeext=$ac_exeext
  11309. CC="$CROSSCC"
  11310. ac_exeext=".exe"
  11311. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11312. /* end confdefs.h. */
  11313. #include <png.h>
  11314. int
  11315. main (void)
  11316. {
  11317. ;
  11318. return 0;
  11319. }
  11320. _ACEOF
  11321. if ac_fn_c_try_compile "$LINENO"
  11322. then :
  11323. ac_cv_mingw_header_png_h=yes
  11324. else $as_nop
  11325. ac_cv_mingw_header_png_h=no
  11326. fi
  11327. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11328. CC=$ac_wine_check_headers_saved_cc
  11329. ac_exeext=$ac_wine_check_headers_saved_exeext
  11330. fi
  11331. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
  11332. printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
  11333. if test "x$ac_cv_mingw_header_png_h" = xyes
  11334. then :
  11335. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
  11336. printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
  11337. if test ${ac_cv_mingw_lib_png+y}
  11338. then :
  11339. printf %s "(cached) " >&6
  11340. else $as_nop
  11341. ac_wine_check_headers_saved_cc=$CC
  11342. ac_wine_check_headers_saved_exeext=$ac_exeext
  11343. ac_wine_check_headers_saved_libs=$LIBS
  11344. CC="$CROSSCC"
  11345. ac_exeext=".exe"
  11346. LIBS="-lpng $PNG_PE_LIBS $LIBS"
  11347. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11348. /* end confdefs.h. */
  11349. /* Override any GCC internal prototype to avoid an error.
  11350. Use char because int might match the return type of a GCC
  11351. builtin and then its argument prototype would still apply. */
  11352. char png_create_read_struct ();
  11353. int
  11354. main (void)
  11355. {
  11356. return png_create_read_struct ();
  11357. ;
  11358. return 0;
  11359. }
  11360. _ACEOF
  11361. if ac_fn_c_try_link "$LINENO"
  11362. then :
  11363. ac_cv_mingw_lib_png=yes
  11364. else $as_nop
  11365. ac_cv_mingw_lib_png=no
  11366. fi
  11367. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11368. conftest$ac_exeext conftest.$ac_ext
  11369. CC=$ac_wine_check_headers_saved_cc
  11370. ac_exeext=$ac_wine_check_headers_saved_exeext
  11371. LIBS=$ac_wine_check_headers_saved_libs
  11372. fi
  11373. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
  11374. printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
  11375. if test "x$ac_cv_mingw_lib_png" = xyes
  11376. then :
  11377. :
  11378. else $as_nop
  11379. PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
  11380. fi
  11381. else $as_nop
  11382. PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
  11383. fi
  11384. CPPFLAGS=$ac_save_CPPFLAGS
  11385. if test "x$PNG_PE_LIBS" = "x"
  11386. then
  11387. as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
  11388. fi
  11389. if ${TIFF_PE_CFLAGS:+false} :
  11390. then :
  11391. if test ${MINGW_PKG_CONFIG+y}
  11392. then :
  11393. TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
  11394. fi
  11395. fi
  11396. if ${TIFF_PE_LIBS:+false} :
  11397. then :
  11398. if test ${MINGW_PKG_CONFIG+y}
  11399. then :
  11400. TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
  11401. fi
  11402. fi
  11403. ac_save_CPPFLAGS=$CPPFLAGS
  11404. CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
  11405. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
  11406. printf %s "checking for MinGW tiffio.h... " >&6; }
  11407. if test ${ac_cv_mingw_header_tiffio_h+y}
  11408. then :
  11409. printf %s "(cached) " >&6
  11410. else $as_nop
  11411. ac_wine_check_headers_saved_cc=$CC
  11412. ac_wine_check_headers_saved_exeext=$ac_exeext
  11413. CC="$CROSSCC"
  11414. ac_exeext=".exe"
  11415. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11416. /* end confdefs.h. */
  11417. #include <tiffio.h>
  11418. int
  11419. main (void)
  11420. {
  11421. ;
  11422. return 0;
  11423. }
  11424. _ACEOF
  11425. if ac_fn_c_try_compile "$LINENO"
  11426. then :
  11427. ac_cv_mingw_header_tiffio_h=yes
  11428. else $as_nop
  11429. ac_cv_mingw_header_tiffio_h=no
  11430. fi
  11431. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11432. CC=$ac_wine_check_headers_saved_cc
  11433. ac_exeext=$ac_wine_check_headers_saved_exeext
  11434. fi
  11435. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
  11436. printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
  11437. if test "x$ac_cv_mingw_header_tiffio_h" = xyes
  11438. then :
  11439. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
  11440. printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
  11441. if test ${ac_cv_mingw_lib_tiff+y}
  11442. then :
  11443. printf %s "(cached) " >&6
  11444. else $as_nop
  11445. ac_wine_check_headers_saved_cc=$CC
  11446. ac_wine_check_headers_saved_exeext=$ac_exeext
  11447. ac_wine_check_headers_saved_libs=$LIBS
  11448. CC="$CROSSCC"
  11449. ac_exeext=".exe"
  11450. LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
  11451. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11452. /* end confdefs.h. */
  11453. /* Override any GCC internal prototype to avoid an error.
  11454. Use char because int might match the return type of a GCC
  11455. builtin and then its argument prototype would still apply. */
  11456. char TIFFClientOpen ();
  11457. int
  11458. main (void)
  11459. {
  11460. return TIFFClientOpen ();
  11461. ;
  11462. return 0;
  11463. }
  11464. _ACEOF
  11465. if ac_fn_c_try_link "$LINENO"
  11466. then :
  11467. ac_cv_mingw_lib_tiff=yes
  11468. else $as_nop
  11469. ac_cv_mingw_lib_tiff=no
  11470. fi
  11471. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11472. conftest$ac_exeext conftest.$ac_ext
  11473. CC=$ac_wine_check_headers_saved_cc
  11474. ac_exeext=$ac_wine_check_headers_saved_exeext
  11475. LIBS=$ac_wine_check_headers_saved_libs
  11476. fi
  11477. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
  11478. printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
  11479. if test "x$ac_cv_mingw_lib_tiff" = xyes
  11480. then :
  11481. :
  11482. else $as_nop
  11483. TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
  11484. fi
  11485. else $as_nop
  11486. TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
  11487. fi
  11488. CPPFLAGS=$ac_save_CPPFLAGS
  11489. if test "x$TIFF_PE_LIBS" = "x"
  11490. then
  11491. as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
  11492. fi
  11493. if ${XML2_PE_CFLAGS:+false} :
  11494. then :
  11495. if test ${MINGW_PKG_CONFIG+y}
  11496. then :
  11497. XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
  11498. fi
  11499. fi
  11500. if ${XML2_PE_LIBS:+false} :
  11501. then :
  11502. if test ${MINGW_PKG_CONFIG+y}
  11503. then :
  11504. XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
  11505. fi
  11506. fi
  11507. XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
  11508. ac_save_CPPFLAGS=$CPPFLAGS
  11509. CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
  11510. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
  11511. printf %s "checking for MinGW libxml/parser.h... " >&6; }
  11512. if test ${ac_cv_mingw_header_libxml_parser_h+y}
  11513. then :
  11514. printf %s "(cached) " >&6
  11515. else $as_nop
  11516. ac_wine_check_headers_saved_cc=$CC
  11517. ac_wine_check_headers_saved_exeext=$ac_exeext
  11518. CC="$CROSSCC"
  11519. ac_exeext=".exe"
  11520. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11521. /* end confdefs.h. */
  11522. #include <libxml/parser.h>
  11523. int
  11524. main (void)
  11525. {
  11526. ;
  11527. return 0;
  11528. }
  11529. _ACEOF
  11530. if ac_fn_c_try_compile "$LINENO"
  11531. then :
  11532. ac_cv_mingw_header_libxml_parser_h=yes
  11533. else $as_nop
  11534. ac_cv_mingw_header_libxml_parser_h=no
  11535. fi
  11536. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11537. CC=$ac_wine_check_headers_saved_cc
  11538. ac_exeext=$ac_wine_check_headers_saved_exeext
  11539. fi
  11540. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
  11541. printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
  11542. if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
  11543. then :
  11544. fi
  11545. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
  11546. printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
  11547. if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
  11548. then :
  11549. printf %s "(cached) " >&6
  11550. else $as_nop
  11551. ac_wine_check_headers_saved_cc=$CC
  11552. ac_wine_check_headers_saved_exeext=$ac_exeext
  11553. CC="$CROSSCC"
  11554. ac_exeext=".exe"
  11555. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11556. /* end confdefs.h. */
  11557. #include <libxml/xmlsave.h>
  11558. int
  11559. main (void)
  11560. {
  11561. ;
  11562. return 0;
  11563. }
  11564. _ACEOF
  11565. if ac_fn_c_try_compile "$LINENO"
  11566. then :
  11567. ac_cv_mingw_header_libxml_xmlsave_h=yes
  11568. else $as_nop
  11569. ac_cv_mingw_header_libxml_xmlsave_h=no
  11570. fi
  11571. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11572. CC=$ac_wine_check_headers_saved_cc
  11573. ac_exeext=$ac_wine_check_headers_saved_exeext
  11574. fi
  11575. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
  11576. printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
  11577. if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
  11578. then :
  11579. fi
  11580. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
  11581. printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
  11582. if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
  11583. then :
  11584. printf %s "(cached) " >&6
  11585. else $as_nop
  11586. ac_wine_check_headers_saved_cc=$CC
  11587. ac_wine_check_headers_saved_exeext=$ac_exeext
  11588. CC="$CROSSCC"
  11589. ac_exeext=".exe"
  11590. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11591. /* end confdefs.h. */
  11592. #include <libxml/SAX2.h>
  11593. int
  11594. main (void)
  11595. {
  11596. ;
  11597. return 0;
  11598. }
  11599. _ACEOF
  11600. if ac_fn_c_try_compile "$LINENO"
  11601. then :
  11602. ac_cv_mingw_header_libxml_SAX2_h=yes
  11603. else $as_nop
  11604. ac_cv_mingw_header_libxml_SAX2_h=no
  11605. fi
  11606. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11607. CC=$ac_wine_check_headers_saved_cc
  11608. ac_exeext=$ac_wine_check_headers_saved_exeext
  11609. fi
  11610. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
  11611. printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
  11612. if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
  11613. then :
  11614. fi
  11615. if test "$ac_cv_mingw_header_libxml_parser_h" = "yes" -a "$ac_cv_mingw_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_mingw_header_libxml_SAX2_h" = "yes"
  11616. then
  11617. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
  11618. printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
  11619. if test ${ac_cv_mingw_lib_xml2+y}
  11620. then :
  11621. printf %s "(cached) " >&6
  11622. else $as_nop
  11623. ac_wine_check_headers_saved_cc=$CC
  11624. ac_wine_check_headers_saved_exeext=$ac_exeext
  11625. ac_wine_check_headers_saved_libs=$LIBS
  11626. CC="$CROSSCC"
  11627. ac_exeext=".exe"
  11628. LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
  11629. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11630. /* end confdefs.h. */
  11631. /* Override any GCC internal prototype to avoid an error.
  11632. Use char because int might match the return type of a GCC
  11633. builtin and then its argument prototype would still apply. */
  11634. char xmlFirstElementChild ();
  11635. int
  11636. main (void)
  11637. {
  11638. return xmlFirstElementChild ();
  11639. ;
  11640. return 0;
  11641. }
  11642. _ACEOF
  11643. if ac_fn_c_try_link "$LINENO"
  11644. then :
  11645. ac_cv_mingw_lib_xml2=yes
  11646. else $as_nop
  11647. ac_cv_mingw_lib_xml2=no
  11648. fi
  11649. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11650. conftest$ac_exeext conftest.$ac_ext
  11651. CC=$ac_wine_check_headers_saved_cc
  11652. ac_exeext=$ac_wine_check_headers_saved_exeext
  11653. LIBS=$ac_wine_check_headers_saved_libs
  11654. fi
  11655. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
  11656. printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
  11657. if test "x$ac_cv_mingw_lib_xml2" = xyes
  11658. then :
  11659. :
  11660. else $as_nop
  11661. XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
  11662. fi
  11663. else
  11664. XML2_PE_CFLAGS=""
  11665. XML2_PE_LIBS=""
  11666. fi
  11667. CPPFLAGS=$ac_save_CPPFLAGS
  11668. if test "x$XML2_PE_LIBS" = "x"
  11669. then
  11670. as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
  11671. fi
  11672. if ${XSLT_PE_CFLAGS:+false} :
  11673. then :
  11674. if test ${MINGW_PKG_CONFIG+y}
  11675. then :
  11676. XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
  11677. fi
  11678. fi
  11679. if ${XSLT_PE_LIBS:+false} :
  11680. then :
  11681. if test ${MINGW_PKG_CONFIG+y}
  11682. then :
  11683. XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
  11684. fi
  11685. fi
  11686. XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
  11687. ac_save_CPPFLAGS=$CPPFLAGS
  11688. CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
  11689. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
  11690. printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
  11691. if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
  11692. then :
  11693. printf %s "(cached) " >&6
  11694. else $as_nop
  11695. ac_wine_check_headers_saved_cc=$CC
  11696. ac_wine_check_headers_saved_exeext=$ac_exeext
  11697. CC="$CROSSCC"
  11698. ac_exeext=".exe"
  11699. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11700. /* end confdefs.h. */
  11701. #include <libxslt/pattern.h>
  11702. int
  11703. main (void)
  11704. {
  11705. ;
  11706. return 0;
  11707. }
  11708. _ACEOF
  11709. if ac_fn_c_try_compile "$LINENO"
  11710. then :
  11711. ac_cv_mingw_header_libxslt_pattern_h=yes
  11712. else $as_nop
  11713. ac_cv_mingw_header_libxslt_pattern_h=no
  11714. fi
  11715. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11716. CC=$ac_wine_check_headers_saved_cc
  11717. ac_exeext=$ac_wine_check_headers_saved_exeext
  11718. fi
  11719. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
  11720. printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
  11721. if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
  11722. then :
  11723. fi
  11724. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
  11725. printf %s "checking for MinGW libxslt/transform.h... " >&6; }
  11726. if test ${ac_cv_mingw_header_libxslt_transform_h+y}
  11727. then :
  11728. printf %s "(cached) " >&6
  11729. else $as_nop
  11730. ac_wine_check_headers_saved_cc=$CC
  11731. ac_wine_check_headers_saved_exeext=$ac_exeext
  11732. CC="$CROSSCC"
  11733. ac_exeext=".exe"
  11734. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11735. /* end confdefs.h. */
  11736. #include <libxslt/transform.h>
  11737. int
  11738. main (void)
  11739. {
  11740. ;
  11741. return 0;
  11742. }
  11743. _ACEOF
  11744. if ac_fn_c_try_compile "$LINENO"
  11745. then :
  11746. ac_cv_mingw_header_libxslt_transform_h=yes
  11747. else $as_nop
  11748. ac_cv_mingw_header_libxslt_transform_h=no
  11749. fi
  11750. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11751. CC=$ac_wine_check_headers_saved_cc
  11752. ac_exeext=$ac_wine_check_headers_saved_exeext
  11753. fi
  11754. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
  11755. printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
  11756. if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
  11757. then :
  11758. fi
  11759. if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
  11760. then
  11761. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
  11762. printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
  11763. if test ${ac_cv_mingw_lib_xslt+y}
  11764. then :
  11765. printf %s "(cached) " >&6
  11766. else $as_nop
  11767. ac_wine_check_headers_saved_cc=$CC
  11768. ac_wine_check_headers_saved_exeext=$ac_exeext
  11769. ac_wine_check_headers_saved_libs=$LIBS
  11770. CC="$CROSSCC"
  11771. ac_exeext=".exe"
  11772. LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
  11773. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11774. /* end confdefs.h. */
  11775. /* Override any GCC internal prototype to avoid an error.
  11776. Use char because int might match the return type of a GCC
  11777. builtin and then its argument prototype would still apply. */
  11778. char xsltCompilePattern ();
  11779. int
  11780. main (void)
  11781. {
  11782. return xsltCompilePattern ();
  11783. ;
  11784. return 0;
  11785. }
  11786. _ACEOF
  11787. if ac_fn_c_try_link "$LINENO"
  11788. then :
  11789. ac_cv_mingw_lib_xslt=yes
  11790. else $as_nop
  11791. ac_cv_mingw_lib_xslt=no
  11792. fi
  11793. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11794. conftest$ac_exeext conftest.$ac_ext
  11795. CC=$ac_wine_check_headers_saved_cc
  11796. ac_exeext=$ac_wine_check_headers_saved_exeext
  11797. LIBS=$ac_wine_check_headers_saved_libs
  11798. fi
  11799. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
  11800. printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
  11801. if test "x$ac_cv_mingw_lib_xslt" = xyes
  11802. then :
  11803. :
  11804. else $as_nop
  11805. XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
  11806. fi
  11807. else
  11808. XSLT_PE_CFLAGS=""
  11809. XSLT_PE_LIBS=""
  11810. fi
  11811. CPPFLAGS=$ac_save_CPPFLAGS
  11812. if test "x$XSLT_PE_LIBS" = "x"
  11813. then
  11814. as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
  11815. fi
  11816. if ${VKD3D_PE_CFLAGS:+false} :
  11817. then :
  11818. if test ${MINGW_PKG_CONFIG+y}
  11819. then :
  11820. VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
  11821. fi
  11822. fi
  11823. if ${VKD3D_PE_LIBS:+false} :
  11824. then :
  11825. if test ${MINGW_PKG_CONFIG+y}
  11826. then :
  11827. VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
  11828. fi
  11829. fi
  11830. VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
  11831. ac_save_CPPFLAGS=$CPPFLAGS
  11832. CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
  11833. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
  11834. printf %s "checking for MinGW vkd3d.h... " >&6; }
  11835. if test ${ac_cv_mingw_header_vkd3d_h+y}
  11836. then :
  11837. printf %s "(cached) " >&6
  11838. else $as_nop
  11839. ac_wine_check_headers_saved_cc=$CC
  11840. ac_wine_check_headers_saved_exeext=$ac_exeext
  11841. CC="$CROSSCC"
  11842. ac_exeext=".exe"
  11843. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11844. /* end confdefs.h. */
  11845. #include <vkd3d.h>
  11846. int
  11847. main (void)
  11848. {
  11849. ;
  11850. return 0;
  11851. }
  11852. _ACEOF
  11853. if ac_fn_c_try_compile "$LINENO"
  11854. then :
  11855. ac_cv_mingw_header_vkd3d_h=yes
  11856. else $as_nop
  11857. ac_cv_mingw_header_vkd3d_h=no
  11858. fi
  11859. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11860. CC=$ac_wine_check_headers_saved_cc
  11861. ac_exeext=$ac_wine_check_headers_saved_exeext
  11862. fi
  11863. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
  11864. printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
  11865. if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
  11866. then :
  11867. fi
  11868. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
  11869. printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
  11870. if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
  11871. then :
  11872. printf %s "(cached) " >&6
  11873. else $as_nop
  11874. ac_wine_check_headers_saved_cc=$CC
  11875. ac_wine_check_headers_saved_exeext=$ac_exeext
  11876. CC="$CROSSCC"
  11877. ac_exeext=".exe"
  11878. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11879. /* end confdefs.h. */
  11880. #include <vkd3d_shader.h>
  11881. int
  11882. main (void)
  11883. {
  11884. ;
  11885. return 0;
  11886. }
  11887. _ACEOF
  11888. if ac_fn_c_try_compile "$LINENO"
  11889. then :
  11890. ac_cv_mingw_header_vkd3d_shader_h=yes
  11891. else $as_nop
  11892. ac_cv_mingw_header_vkd3d_shader_h=no
  11893. fi
  11894. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11895. CC=$ac_wine_check_headers_saved_cc
  11896. ac_exeext=$ac_wine_check_headers_saved_exeext
  11897. fi
  11898. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
  11899. printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
  11900. if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
  11901. then :
  11902. fi
  11903. if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
  11904. then
  11905. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
  11906. printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
  11907. if test ${ac_cv_mingw_lib_vkd3d+y}
  11908. then :
  11909. printf %s "(cached) " >&6
  11910. else $as_nop
  11911. ac_wine_check_headers_saved_cc=$CC
  11912. ac_wine_check_headers_saved_exeext=$ac_exeext
  11913. ac_wine_check_headers_saved_libs=$LIBS
  11914. CC="$CROSSCC"
  11915. ac_exeext=".exe"
  11916. LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
  11917. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11918. /* end confdefs.h. */
  11919. /* Override any GCC internal prototype to avoid an error.
  11920. Use char because int might match the return type of a GCC
  11921. builtin and then its argument prototype would still apply. */
  11922. char vkd3d_serialize_versioned_root_signature ();
  11923. int
  11924. main (void)
  11925. {
  11926. return vkd3d_serialize_versioned_root_signature ();
  11927. ;
  11928. return 0;
  11929. }
  11930. _ACEOF
  11931. if ac_fn_c_try_link "$LINENO"
  11932. then :
  11933. ac_cv_mingw_lib_vkd3d=yes
  11934. else $as_nop
  11935. ac_cv_mingw_lib_vkd3d=no
  11936. fi
  11937. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11938. conftest$ac_exeext conftest.$ac_ext
  11939. CC=$ac_wine_check_headers_saved_cc
  11940. ac_exeext=$ac_wine_check_headers_saved_exeext
  11941. LIBS=$ac_wine_check_headers_saved_libs
  11942. fi
  11943. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
  11944. printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
  11945. if test "x$ac_cv_mingw_lib_vkd3d" = xyes
  11946. then :
  11947. :
  11948. else $as_nop
  11949. :
  11950. fi
  11951. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
  11952. printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
  11953. if test ${ac_cv_mingw_lib_vkd3d_shader+y}
  11954. then :
  11955. printf %s "(cached) " >&6
  11956. else $as_nop
  11957. ac_wine_check_headers_saved_cc=$CC
  11958. ac_wine_check_headers_saved_exeext=$ac_exeext
  11959. ac_wine_check_headers_saved_libs=$LIBS
  11960. CC="$CROSSCC"
  11961. ac_exeext=".exe"
  11962. LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
  11963. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11964. /* end confdefs.h. */
  11965. /* Override any GCC internal prototype to avoid an error.
  11966. Use char because int might match the return type of a GCC
  11967. builtin and then its argument prototype would still apply. */
  11968. char vkd3d_shader_compile ();
  11969. int
  11970. main (void)
  11971. {
  11972. return vkd3d_shader_compile ();
  11973. ;
  11974. return 0;
  11975. }
  11976. _ACEOF
  11977. if ac_fn_c_try_link "$LINENO"
  11978. then :
  11979. ac_cv_mingw_lib_vkd3d_shader=yes
  11980. else $as_nop
  11981. ac_cv_mingw_lib_vkd3d_shader=no
  11982. fi
  11983. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11984. conftest$ac_exeext conftest.$ac_ext
  11985. CC=$ac_wine_check_headers_saved_cc
  11986. ac_exeext=$ac_wine_check_headers_saved_exeext
  11987. LIBS=$ac_wine_check_headers_saved_libs
  11988. fi
  11989. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
  11990. printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
  11991. if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
  11992. then :
  11993. :
  11994. else $as_nop
  11995. :
  11996. fi
  11997. if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
  11998. then
  11999. VKD3D_PE_CFLAGS=""
  12000. VKD3D_PE_LIBS=""
  12001. fi
  12002. else
  12003. VKD3D_PE_CFLAGS=""
  12004. VKD3D_PE_LIBS=""
  12005. fi
  12006. CPPFLAGS=$ac_save_CPPFLAGS
  12007. if test "x$VKD3D_PE_LIBS" = "x"
  12008. then
  12009. as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
  12010. fi
  12011. if ${ZLIB_PE_CFLAGS:+false} :
  12012. then :
  12013. if test ${MINGW_PKG_CONFIG+y}
  12014. then :
  12015. ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
  12016. fi
  12017. fi
  12018. if ${ZLIB_PE_LIBS:+false} :
  12019. then :
  12020. if test ${MINGW_PKG_CONFIG+y}
  12021. then :
  12022. ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
  12023. fi
  12024. fi
  12025. ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
  12026. ac_save_CPPFLAGS=$CPPFLAGS
  12027. CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
  12028. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
  12029. printf %s "checking for MinGW zlib.h... " >&6; }
  12030. if test ${ac_cv_mingw_header_zlib_h+y}
  12031. then :
  12032. printf %s "(cached) " >&6
  12033. else $as_nop
  12034. ac_wine_check_headers_saved_cc=$CC
  12035. ac_wine_check_headers_saved_exeext=$ac_exeext
  12036. CC="$CROSSCC"
  12037. ac_exeext=".exe"
  12038. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12039. /* end confdefs.h. */
  12040. #include <zlib.h>
  12041. int
  12042. main (void)
  12043. {
  12044. ;
  12045. return 0;
  12046. }
  12047. _ACEOF
  12048. if ac_fn_c_try_compile "$LINENO"
  12049. then :
  12050. ac_cv_mingw_header_zlib_h=yes
  12051. else $as_nop
  12052. ac_cv_mingw_header_zlib_h=no
  12053. fi
  12054. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  12055. CC=$ac_wine_check_headers_saved_cc
  12056. ac_exeext=$ac_wine_check_headers_saved_exeext
  12057. fi
  12058. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
  12059. printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
  12060. if test "x$ac_cv_mingw_header_zlib_h" = xyes
  12061. then :
  12062. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
  12063. printf %s "checking for inflate in MinGW -lz... " >&6; }
  12064. if test ${ac_cv_mingw_lib_z+y}
  12065. then :
  12066. printf %s "(cached) " >&6
  12067. else $as_nop
  12068. ac_wine_check_headers_saved_cc=$CC
  12069. ac_wine_check_headers_saved_exeext=$ac_exeext
  12070. ac_wine_check_headers_saved_libs=$LIBS
  12071. CC="$CROSSCC"
  12072. ac_exeext=".exe"
  12073. LIBS="-lz $ZLIB_PE_LIBS $LIBS"
  12074. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12075. /* end confdefs.h. */
  12076. /* Override any GCC internal prototype to avoid an error.
  12077. Use char because int might match the return type of a GCC
  12078. builtin and then its argument prototype would still apply. */
  12079. char inflate ();
  12080. int
  12081. main (void)
  12082. {
  12083. return inflate ();
  12084. ;
  12085. return 0;
  12086. }
  12087. _ACEOF
  12088. if ac_fn_c_try_link "$LINENO"
  12089. then :
  12090. ac_cv_mingw_lib_z=yes
  12091. else $as_nop
  12092. ac_cv_mingw_lib_z=no
  12093. fi
  12094. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12095. conftest$ac_exeext conftest.$ac_ext
  12096. CC=$ac_wine_check_headers_saved_cc
  12097. ac_exeext=$ac_wine_check_headers_saved_exeext
  12098. LIBS=$ac_wine_check_headers_saved_libs
  12099. fi
  12100. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
  12101. printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
  12102. if test "x$ac_cv_mingw_lib_z" = xyes
  12103. then :
  12104. :
  12105. else $as_nop
  12106. ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
  12107. fi
  12108. else $as_nop
  12109. ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
  12110. fi
  12111. CPPFLAGS=$ac_save_CPPFLAGS
  12112. if test "x$ZLIB_PE_LIBS" = "x"
  12113. then
  12114. as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
  12115. fi
  12116. fi
  12117. if ${FAUDIO_PE_LIBS:+false} :
  12118. then :
  12119. FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
  12120. if ${FAUDIO_PE_CFLAGS:+false} :
  12121. then :
  12122. FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
  12123. else $as_nop
  12124. enable_faudio=no
  12125. fi
  12126. else $as_nop
  12127. enable_faudio=no
  12128. fi
  12129. printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
  12130. printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
  12131. if ${GSM_PE_LIBS:+false} :
  12132. then :
  12133. GSM_PE_LIBS=gsm
  12134. if ${GSM_PE_CFLAGS:+false} :
  12135. then :
  12136. GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
  12137. else $as_nop
  12138. enable_gsm=no
  12139. fi
  12140. else $as_nop
  12141. enable_gsm=no
  12142. fi
  12143. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
  12144. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
  12145. if ${JPEG_PE_LIBS:+false} :
  12146. then :
  12147. JPEG_PE_LIBS=jpeg
  12148. if ${JPEG_PE_CFLAGS:+false} :
  12149. then :
  12150. JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
  12151. else $as_nop
  12152. enable_jpeg=no
  12153. fi
  12154. else $as_nop
  12155. enable_jpeg=no
  12156. fi
  12157. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
  12158. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
  12159. if ${JXR_PE_LIBS:+false} :
  12160. then :
  12161. JXR_PE_LIBS=jxr
  12162. if ${JXR_PE_CFLAGS:+false} :
  12163. then :
  12164. JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
  12165. else $as_nop
  12166. enable_jxr=no
  12167. fi
  12168. else $as_nop
  12169. enable_jxr=no
  12170. fi
  12171. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
  12172. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
  12173. if ${LCMS2_PE_LIBS:+false} :
  12174. then :
  12175. LCMS2_PE_LIBS=lcms2
  12176. if ${LCMS2_PE_CFLAGS:+false} :
  12177. then :
  12178. LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
  12179. else $as_nop
  12180. enable_lcms2=no
  12181. fi
  12182. else $as_nop
  12183. enable_lcms2=no
  12184. fi
  12185. printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
  12186. printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
  12187. if ${MPG123_PE_LIBS:+false} :
  12188. then :
  12189. MPG123_PE_LIBS=mpg123
  12190. if ${MPG123_PE_CFLAGS:+false} :
  12191. then :
  12192. MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
  12193. else $as_nop
  12194. enable_mpg123=no
  12195. fi
  12196. else $as_nop
  12197. enable_mpg123=no
  12198. fi
  12199. printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
  12200. printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
  12201. if ${PNG_PE_LIBS:+false} :
  12202. then :
  12203. PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
  12204. if ${PNG_PE_CFLAGS:+false} :
  12205. then :
  12206. PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
  12207. else $as_nop
  12208. enable_png=no
  12209. fi
  12210. else $as_nop
  12211. enable_png=no
  12212. fi
  12213. printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
  12214. printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
  12215. if ${TIFF_PE_LIBS:+false} :
  12216. then :
  12217. TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
  12218. if ${TIFF_PE_CFLAGS:+false} :
  12219. then :
  12220. TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
  12221. else $as_nop
  12222. enable_tiff=no
  12223. fi
  12224. else $as_nop
  12225. enable_tiff=no
  12226. fi
  12227. printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
  12228. printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
  12229. if ${VKD3D_PE_LIBS:+false} :
  12230. then :
  12231. VKD3D_PE_LIBS=vkd3d
  12232. if ${VKD3D_PE_CFLAGS:+false} :
  12233. then :
  12234. VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
  12235. else $as_nop
  12236. enable_vkd3d=no
  12237. fi
  12238. else $as_nop
  12239. enable_vkd3d=no
  12240. fi
  12241. printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
  12242. printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
  12243. if ${XML2_PE_LIBS:+false} :
  12244. then :
  12245. XML2_PE_LIBS=xml2
  12246. if ${XML2_PE_CFLAGS:+false} :
  12247. then :
  12248. XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
  12249. else $as_nop
  12250. enable_xml2=no
  12251. fi
  12252. else $as_nop
  12253. enable_xml2=no
  12254. fi
  12255. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
  12256. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
  12257. if ${XSLT_PE_LIBS:+false} :
  12258. then :
  12259. XSLT_PE_LIBS=xslt
  12260. if ${XSLT_PE_CFLAGS:+false} :
  12261. then :
  12262. XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
  12263. else $as_nop
  12264. enable_xslt=no
  12265. fi
  12266. else $as_nop
  12267. enable_xslt=no
  12268. fi
  12269. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
  12270. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
  12271. if ${ZLIB_PE_LIBS:+false} :
  12272. then :
  12273. ZLIB_PE_LIBS=z
  12274. if ${ZLIB_PE_CFLAGS:+false} :
  12275. then :
  12276. ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
  12277. else $as_nop
  12278. enable_zlib=no
  12279. fi
  12280. else $as_nop
  12281. enable_zlib=no
  12282. fi
  12283. printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
  12284. printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
  12285. if test "$ac_cv_header_pthread_h" = "yes"
  12286. then
  12287. ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
  12288. if test "x$ac_cv_func_pthread_create" = xyes
  12289. then :
  12290. else $as_nop
  12291. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  12292. printf %s "checking for pthread_create in -lpthread... " >&6; }
  12293. if test ${ac_cv_lib_pthread_pthread_create+y}
  12294. then :
  12295. printf %s "(cached) " >&6
  12296. else $as_nop
  12297. ac_check_lib_save_LIBS=$LIBS
  12298. LIBS="-lpthread $LIBS"
  12299. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12300. /* end confdefs.h. */
  12301. /* Override any GCC internal prototype to avoid an error.
  12302. Use char because int might match the return type of a GCC
  12303. builtin and then its argument prototype would still apply. */
  12304. char pthread_create ();
  12305. int
  12306. main (void)
  12307. {
  12308. return pthread_create ();
  12309. ;
  12310. return 0;
  12311. }
  12312. _ACEOF
  12313. if ac_fn_c_try_link "$LINENO"
  12314. then :
  12315. ac_cv_lib_pthread_pthread_create=yes
  12316. else $as_nop
  12317. ac_cv_lib_pthread_pthread_create=no
  12318. fi
  12319. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12320. conftest$ac_exeext conftest.$ac_ext
  12321. LIBS=$ac_check_lib_save_LIBS
  12322. fi
  12323. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  12324. printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
  12325. if test "x$ac_cv_lib_pthread_pthread_create" = xyes
  12326. then :
  12327. PTHREAD_LIBS="-lpthread"
  12328. fi
  12329. fi
  12330. fi
  12331. if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
  12332. then :
  12333. case "x$with_pthread" in
  12334. xno) ;;
  12335. *) as_fn_error $? "pthread ${notice_platform}development files not found.
  12336. Wine cannot support threads without libpthread.
  12337. Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
  12338. esac
  12339. fi
  12340. ac_ext=c
  12341. ac_cpp='$CPP $CPPFLAGS'
  12342. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12343. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12344. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12345. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  12346. printf %s "checking how to run the C preprocessor... " >&6; }
  12347. # On Suns, sometimes $CPP names a directory.
  12348. if test -n "$CPP" && test -d "$CPP"; then
  12349. CPP=
  12350. fi
  12351. if test -z "$CPP"; then
  12352. if test ${ac_cv_prog_CPP+y}
  12353. then :
  12354. printf %s "(cached) " >&6
  12355. else $as_nop
  12356. # Double quotes because $CC needs to be expanded
  12357. for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
  12358. do
  12359. ac_preproc_ok=false
  12360. for ac_c_preproc_warn_flag in '' yes
  12361. do
  12362. # Use a header file that comes with gcc, so configuring glibc
  12363. # with a fresh cross-compiler works.
  12364. # On the NeXT, cc -E runs the code through the compiler's parser,
  12365. # not just through cpp. "Syntax error" is here to catch this case.
  12366. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12367. /* end confdefs.h. */
  12368. #include <limits.h>
  12369. Syntax error
  12370. _ACEOF
  12371. if ac_fn_c_try_cpp "$LINENO"
  12372. then :
  12373. else $as_nop
  12374. # Broken: fails on valid input.
  12375. continue
  12376. fi
  12377. rm -f conftest.err conftest.i conftest.$ac_ext
  12378. # OK, works on sane cases. Now check whether nonexistent headers
  12379. # can be detected and how.
  12380. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12381. /* end confdefs.h. */
  12382. #include <ac_nonexistent.h>
  12383. _ACEOF
  12384. if ac_fn_c_try_cpp "$LINENO"
  12385. then :
  12386. # Broken: success on invalid input.
  12387. continue
  12388. else $as_nop
  12389. # Passes both tests.
  12390. ac_preproc_ok=:
  12391. break
  12392. fi
  12393. rm -f conftest.err conftest.i conftest.$ac_ext
  12394. done
  12395. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  12396. rm -f conftest.i conftest.err conftest.$ac_ext
  12397. if $ac_preproc_ok
  12398. then :
  12399. break
  12400. fi
  12401. done
  12402. ac_cv_prog_CPP=$CPP
  12403. fi
  12404. CPP=$ac_cv_prog_CPP
  12405. else
  12406. ac_cv_prog_CPP=$CPP
  12407. fi
  12408. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  12409. printf "%s\n" "$CPP" >&6; }
  12410. ac_preproc_ok=false
  12411. for ac_c_preproc_warn_flag in '' yes
  12412. do
  12413. # Use a header file that comes with gcc, so configuring glibc
  12414. # with a fresh cross-compiler works.
  12415. # On the NeXT, cc -E runs the code through the compiler's parser,
  12416. # not just through cpp. "Syntax error" is here to catch this case.
  12417. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12418. /* end confdefs.h. */
  12419. #include <limits.h>
  12420. Syntax error
  12421. _ACEOF
  12422. if ac_fn_c_try_cpp "$LINENO"
  12423. then :
  12424. else $as_nop
  12425. # Broken: fails on valid input.
  12426. continue
  12427. fi
  12428. rm -f conftest.err conftest.i conftest.$ac_ext
  12429. # OK, works on sane cases. Now check whether nonexistent headers
  12430. # can be detected and how.
  12431. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12432. /* end confdefs.h. */
  12433. #include <ac_nonexistent.h>
  12434. _ACEOF
  12435. if ac_fn_c_try_cpp "$LINENO"
  12436. then :
  12437. # Broken: success on invalid input.
  12438. continue
  12439. else $as_nop
  12440. # Passes both tests.
  12441. ac_preproc_ok=:
  12442. break
  12443. fi
  12444. rm -f conftest.err conftest.i conftest.$ac_ext
  12445. done
  12446. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  12447. rm -f conftest.i conftest.err conftest.$ac_ext
  12448. if $ac_preproc_ok
  12449. then :
  12450. else $as_nop
  12451. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12452. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  12453. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  12454. See \`config.log' for more details" "$LINENO" 5; }
  12455. fi
  12456. ac_ext=c
  12457. ac_cpp='$CPP $CPPFLAGS'
  12458. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12459. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12460. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12461. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  12462. printf %s "checking for X... " >&6; }
  12463. # Check whether --with-x was given.
  12464. if test ${with_x+y}
  12465. then :
  12466. withval=$with_x;
  12467. fi
  12468. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  12469. if test "x$with_x" = xno; then
  12470. # The user explicitly disabled X.
  12471. have_x=disabled
  12472. else
  12473. case $x_includes,$x_libraries in #(
  12474. *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  12475. *,NONE | NONE,*) if test ${ac_cv_have_x+y}
  12476. then :
  12477. printf %s "(cached) " >&6
  12478. else $as_nop
  12479. # One or both of the vars are not set, and there is no cached value.
  12480. ac_x_includes=no
  12481. ac_x_libraries=no
  12482. # Do we need to do anything special at all?
  12483. ac_save_LIBS=$LIBS
  12484. LIBS="-lX11 $LIBS"
  12485. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12486. /* end confdefs.h. */
  12487. #include <X11/Xlib.h>
  12488. int
  12489. main (void)
  12490. {
  12491. XrmInitialize ()
  12492. ;
  12493. return 0;
  12494. }
  12495. _ACEOF
  12496. if ac_fn_c_try_link "$LINENO"
  12497. then :
  12498. # We can compile and link X programs with no special options.
  12499. ac_x_includes=
  12500. ac_x_libraries=
  12501. fi
  12502. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12503. conftest$ac_exeext conftest.$ac_ext
  12504. LIBS="$ac_save_LIBS"
  12505. # If that didn't work, only try xmkmf and file system searches
  12506. # for native compilation.
  12507. if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
  12508. then :
  12509. rm -f -r conftest.dir
  12510. if mkdir conftest.dir; then
  12511. cd conftest.dir
  12512. cat >Imakefile <<'_ACEOF'
  12513. incroot:
  12514. @echo incroot='${INCROOT}'
  12515. usrlibdir:
  12516. @echo usrlibdir='${USRLIBDIR}'
  12517. libdir:
  12518. @echo libdir='${LIBDIR}'
  12519. _ACEOF
  12520. if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  12521. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  12522. for ac_var in incroot usrlibdir libdir; do
  12523. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  12524. done
  12525. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  12526. for ac_extension in a so sl dylib la dll; do
  12527. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  12528. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  12529. ac_im_usrlibdir=$ac_im_libdir; break
  12530. fi
  12531. done
  12532. # Screen out bogus values from the imake configuration. They are
  12533. # bogus both because they are the default anyway, and because
  12534. # using them would break gcc on systems where it needs fixed includes.
  12535. case $ac_im_incroot in
  12536. /usr/include) ac_x_includes= ;;
  12537. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  12538. esac
  12539. case $ac_im_usrlibdir in
  12540. /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  12541. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  12542. esac
  12543. fi
  12544. cd ..
  12545. rm -f -r conftest.dir
  12546. fi
  12547. # Standard set of common directories for X headers.
  12548. # Check X11 before X11Rn because it is often a symlink to the current release.
  12549. ac_x_header_dirs='
  12550. /usr/X11/include
  12551. /usr/X11R7/include
  12552. /usr/X11R6/include
  12553. /usr/X11R5/include
  12554. /usr/X11R4/include
  12555. /usr/include/X11
  12556. /usr/include/X11R7
  12557. /usr/include/X11R6
  12558. /usr/include/X11R5
  12559. /usr/include/X11R4
  12560. /usr/local/X11/include
  12561. /usr/local/X11R7/include
  12562. /usr/local/X11R6/include
  12563. /usr/local/X11R5/include
  12564. /usr/local/X11R4/include
  12565. /usr/local/include/X11
  12566. /usr/local/include/X11R7
  12567. /usr/local/include/X11R6
  12568. /usr/local/include/X11R5
  12569. /usr/local/include/X11R4
  12570. /opt/X11/include
  12571. /usr/X386/include
  12572. /usr/x386/include
  12573. /usr/XFree86/include/X11
  12574. /usr/include
  12575. /usr/local/include
  12576. /usr/unsupported/include
  12577. /usr/athena/include
  12578. /usr/local/x11r5/include
  12579. /usr/lpp/Xamples/include
  12580. /usr/openwin/include
  12581. /usr/openwin/share/include'
  12582. if test "$ac_x_includes" = no; then
  12583. # Guess where to find include files, by looking for Xlib.h.
  12584. # First, try using that file with no special directory specified.
  12585. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12586. /* end confdefs.h. */
  12587. #include <X11/Xlib.h>
  12588. _ACEOF
  12589. if ac_fn_c_try_cpp "$LINENO"
  12590. then :
  12591. # We can compile using X headers with no special include directory.
  12592. ac_x_includes=
  12593. else $as_nop
  12594. for ac_dir in $ac_x_header_dirs; do
  12595. if test -r "$ac_dir/X11/Xlib.h"; then
  12596. ac_x_includes=$ac_dir
  12597. break
  12598. fi
  12599. done
  12600. fi
  12601. rm -f conftest.err conftest.i conftest.$ac_ext
  12602. fi # $ac_x_includes = no
  12603. if test "$ac_x_libraries" = no; then
  12604. # Check for the libraries.
  12605. # See if we find them without any special options.
  12606. # Don't add to $LIBS permanently.
  12607. ac_save_LIBS=$LIBS
  12608. LIBS="-lX11 $LIBS"
  12609. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12610. /* end confdefs.h. */
  12611. #include <X11/Xlib.h>
  12612. int
  12613. main (void)
  12614. {
  12615. XrmInitialize ()
  12616. ;
  12617. return 0;
  12618. }
  12619. _ACEOF
  12620. if ac_fn_c_try_link "$LINENO"
  12621. then :
  12622. LIBS=$ac_save_LIBS
  12623. # We can link X programs with no special library path.
  12624. ac_x_libraries=
  12625. else $as_nop
  12626. LIBS=$ac_save_LIBS
  12627. for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  12628. do
  12629. # Don't even attempt the hair of trying to link an X program!
  12630. for ac_extension in a so sl dylib la dll; do
  12631. if test -r "$ac_dir/libX11.$ac_extension"; then
  12632. ac_x_libraries=$ac_dir
  12633. break 2
  12634. fi
  12635. done
  12636. done
  12637. fi
  12638. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12639. conftest$ac_exeext conftest.$ac_ext
  12640. fi # $ac_x_libraries = no
  12641. fi
  12642. # Record the results.
  12643. case $ac_x_includes,$ac_x_libraries in #(
  12644. no,* | *,no | *\'*) :
  12645. # Didn't find X, or a directory has "'" in its name.
  12646. ac_cv_have_x="have_x=no" ;; #(
  12647. *) :
  12648. # Record where we found X for the cache.
  12649. ac_cv_have_x="have_x=yes\
  12650. ac_x_includes='$ac_x_includes'\
  12651. ac_x_libraries='$ac_x_libraries'" ;;
  12652. esac
  12653. fi
  12654. ;; #(
  12655. *) have_x=yes;;
  12656. esac
  12657. eval "$ac_cv_have_x"
  12658. fi # $with_x != no
  12659. if test "$have_x" != yes; then
  12660. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  12661. printf "%s\n" "$have_x" >&6; }
  12662. no_x=yes
  12663. else
  12664. # If each of the values was on the command line, it overrides each guess.
  12665. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  12666. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  12667. # Update the cache value to reflect the command line values.
  12668. ac_cv_have_x="have_x=yes\
  12669. ac_x_includes='$x_includes'\
  12670. ac_x_libraries='$x_libraries'"
  12671. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  12672. printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
  12673. fi
  12674. if test "$no_x" = yes; then
  12675. # Not all programs may use this symbol, but it does not hurt to define it.
  12676. printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
  12677. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  12678. else
  12679. if test -n "$x_includes"; then
  12680. X_CFLAGS="$X_CFLAGS -I$x_includes"
  12681. fi
  12682. # It would also be nice to do this for all -L options, not just this one.
  12683. if test -n "$x_libraries"; then
  12684. X_LIBS="$X_LIBS -L$x_libraries"
  12685. # For Solaris; some versions of Sun CC require a space after -R and
  12686. # others require no space. Words are not sufficient . . . .
  12687. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  12688. printf %s "checking whether -R must be followed by a space... " >&6; }
  12689. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  12690. ac_xsave_c_werror_flag=$ac_c_werror_flag
  12691. ac_c_werror_flag=yes
  12692. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12693. /* end confdefs.h. */
  12694. int
  12695. main (void)
  12696. {
  12697. ;
  12698. return 0;
  12699. }
  12700. _ACEOF
  12701. if ac_fn_c_try_link "$LINENO"
  12702. then :
  12703. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12704. printf "%s\n" "no" >&6; }
  12705. X_LIBS="$X_LIBS -R$x_libraries"
  12706. else $as_nop
  12707. LIBS="$ac_xsave_LIBS -R $x_libraries"
  12708. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12709. /* end confdefs.h. */
  12710. int
  12711. main (void)
  12712. {
  12713. ;
  12714. return 0;
  12715. }
  12716. _ACEOF
  12717. if ac_fn_c_try_link "$LINENO"
  12718. then :
  12719. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12720. printf "%s\n" "yes" >&6; }
  12721. X_LIBS="$X_LIBS -R $x_libraries"
  12722. else $as_nop
  12723. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  12724. printf "%s\n" "neither works" >&6; }
  12725. fi
  12726. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12727. conftest$ac_exeext conftest.$ac_ext
  12728. fi
  12729. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12730. conftest$ac_exeext conftest.$ac_ext
  12731. ac_c_werror_flag=$ac_xsave_c_werror_flag
  12732. LIBS=$ac_xsave_LIBS
  12733. fi
  12734. # Check for system-dependent libraries X programs must link with.
  12735. # Do this before checking for the system-independent R6 libraries
  12736. # (-lICE), since we may need -lsocket or whatever for X linking.
  12737. if test "$ISC" = yes; then
  12738. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  12739. else
  12740. # Martyn Johnson says this is needed for Ultrix, if the X
  12741. # libraries were built with DECnet support. And Karl Berry says
  12742. # the Alpha needs dnet_stub (dnet does not exist).
  12743. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  12744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12745. /* end confdefs.h. */
  12746. /* Override any GCC internal prototype to avoid an error.
  12747. Use char because int might match the return type of a GCC
  12748. builtin and then its argument prototype would still apply. */
  12749. char XOpenDisplay ();
  12750. int
  12751. main (void)
  12752. {
  12753. return XOpenDisplay ();
  12754. ;
  12755. return 0;
  12756. }
  12757. _ACEOF
  12758. if ac_fn_c_try_link "$LINENO"
  12759. then :
  12760. else $as_nop
  12761. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  12762. printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
  12763. if test ${ac_cv_lib_dnet_dnet_ntoa+y}
  12764. then :
  12765. printf %s "(cached) " >&6
  12766. else $as_nop
  12767. ac_check_lib_save_LIBS=$LIBS
  12768. LIBS="-ldnet $LIBS"
  12769. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12770. /* end confdefs.h. */
  12771. /* Override any GCC internal prototype to avoid an error.
  12772. Use char because int might match the return type of a GCC
  12773. builtin and then its argument prototype would still apply. */
  12774. char dnet_ntoa ();
  12775. int
  12776. main (void)
  12777. {
  12778. return dnet_ntoa ();
  12779. ;
  12780. return 0;
  12781. }
  12782. _ACEOF
  12783. if ac_fn_c_try_link "$LINENO"
  12784. then :
  12785. ac_cv_lib_dnet_dnet_ntoa=yes
  12786. else $as_nop
  12787. ac_cv_lib_dnet_dnet_ntoa=no
  12788. fi
  12789. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12790. conftest$ac_exeext conftest.$ac_ext
  12791. LIBS=$ac_check_lib_save_LIBS
  12792. fi
  12793. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  12794. printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  12795. if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
  12796. then :
  12797. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  12798. fi
  12799. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  12800. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  12801. printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  12802. if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
  12803. then :
  12804. printf %s "(cached) " >&6
  12805. else $as_nop
  12806. ac_check_lib_save_LIBS=$LIBS
  12807. LIBS="-ldnet_stub $LIBS"
  12808. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12809. /* end confdefs.h. */
  12810. /* Override any GCC internal prototype to avoid an error.
  12811. Use char because int might match the return type of a GCC
  12812. builtin and then its argument prototype would still apply. */
  12813. char dnet_ntoa ();
  12814. int
  12815. main (void)
  12816. {
  12817. return dnet_ntoa ();
  12818. ;
  12819. return 0;
  12820. }
  12821. _ACEOF
  12822. if ac_fn_c_try_link "$LINENO"
  12823. then :
  12824. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  12825. else $as_nop
  12826. ac_cv_lib_dnet_stub_dnet_ntoa=no
  12827. fi
  12828. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12829. conftest$ac_exeext conftest.$ac_ext
  12830. LIBS=$ac_check_lib_save_LIBS
  12831. fi
  12832. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  12833. printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  12834. if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
  12835. then :
  12836. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  12837. fi
  12838. fi
  12839. fi
  12840. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12841. conftest$ac_exeext conftest.$ac_ext
  12842. LIBS="$ac_xsave_LIBS"
  12843. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  12844. # to get the SysV transport functions.
  12845. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  12846. # needs -lnsl.
  12847. # The nsl library prevents programs from opening the X display
  12848. # on Irix 5.2, according to T.E. Dickey.
  12849. # The functions gethostbyname, getservbyname, and inet_addr are
  12850. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  12851. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  12852. if test "x$ac_cv_func_gethostbyname" = xyes
  12853. then :
  12854. fi
  12855. if test $ac_cv_func_gethostbyname = no; then
  12856. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  12857. printf %s "checking for gethostbyname in -lnsl... " >&6; }
  12858. if test ${ac_cv_lib_nsl_gethostbyname+y}
  12859. then :
  12860. printf %s "(cached) " >&6
  12861. else $as_nop
  12862. ac_check_lib_save_LIBS=$LIBS
  12863. LIBS="-lnsl $LIBS"
  12864. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12865. /* end confdefs.h. */
  12866. /* Override any GCC internal prototype to avoid an error.
  12867. Use char because int might match the return type of a GCC
  12868. builtin and then its argument prototype would still apply. */
  12869. char gethostbyname ();
  12870. int
  12871. main (void)
  12872. {
  12873. return gethostbyname ();
  12874. ;
  12875. return 0;
  12876. }
  12877. _ACEOF
  12878. if ac_fn_c_try_link "$LINENO"
  12879. then :
  12880. ac_cv_lib_nsl_gethostbyname=yes
  12881. else $as_nop
  12882. ac_cv_lib_nsl_gethostbyname=no
  12883. fi
  12884. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12885. conftest$ac_exeext conftest.$ac_ext
  12886. LIBS=$ac_check_lib_save_LIBS
  12887. fi
  12888. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  12889. printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
  12890. if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
  12891. then :
  12892. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  12893. fi
  12894. if test $ac_cv_lib_nsl_gethostbyname = no; then
  12895. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  12896. printf %s "checking for gethostbyname in -lbsd... " >&6; }
  12897. if test ${ac_cv_lib_bsd_gethostbyname+y}
  12898. then :
  12899. printf %s "(cached) " >&6
  12900. else $as_nop
  12901. ac_check_lib_save_LIBS=$LIBS
  12902. LIBS="-lbsd $LIBS"
  12903. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12904. /* end confdefs.h. */
  12905. /* Override any GCC internal prototype to avoid an error.
  12906. Use char because int might match the return type of a GCC
  12907. builtin and then its argument prototype would still apply. */
  12908. char gethostbyname ();
  12909. int
  12910. main (void)
  12911. {
  12912. return gethostbyname ();
  12913. ;
  12914. return 0;
  12915. }
  12916. _ACEOF
  12917. if ac_fn_c_try_link "$LINENO"
  12918. then :
  12919. ac_cv_lib_bsd_gethostbyname=yes
  12920. else $as_nop
  12921. ac_cv_lib_bsd_gethostbyname=no
  12922. fi
  12923. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12924. conftest$ac_exeext conftest.$ac_ext
  12925. LIBS=$ac_check_lib_save_LIBS
  12926. fi
  12927. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  12928. printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
  12929. if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
  12930. then :
  12931. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  12932. fi
  12933. fi
  12934. fi
  12935. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  12936. # socket/setsockopt and other routines are undefined under SCO ODT
  12937. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  12938. # on later versions), says Simon Leinen: it contains gethostby*
  12939. # variants that don't use the name server (or something). -lsocket
  12940. # must be given before -lnsl if both are needed. We assume that
  12941. # if connect needs -lnsl, so does gethostbyname.
  12942. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  12943. if test "x$ac_cv_func_connect" = xyes
  12944. then :
  12945. fi
  12946. if test $ac_cv_func_connect = no; then
  12947. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  12948. printf %s "checking for connect in -lsocket... " >&6; }
  12949. if test ${ac_cv_lib_socket_connect+y}
  12950. then :
  12951. printf %s "(cached) " >&6
  12952. else $as_nop
  12953. ac_check_lib_save_LIBS=$LIBS
  12954. LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  12955. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12956. /* end confdefs.h. */
  12957. /* Override any GCC internal prototype to avoid an error.
  12958. Use char because int might match the return type of a GCC
  12959. builtin and then its argument prototype would still apply. */
  12960. char connect ();
  12961. int
  12962. main (void)
  12963. {
  12964. return connect ();
  12965. ;
  12966. return 0;
  12967. }
  12968. _ACEOF
  12969. if ac_fn_c_try_link "$LINENO"
  12970. then :
  12971. ac_cv_lib_socket_connect=yes
  12972. else $as_nop
  12973. ac_cv_lib_socket_connect=no
  12974. fi
  12975. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12976. conftest$ac_exeext conftest.$ac_ext
  12977. LIBS=$ac_check_lib_save_LIBS
  12978. fi
  12979. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  12980. printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
  12981. if test "x$ac_cv_lib_socket_connect" = xyes
  12982. then :
  12983. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  12984. fi
  12985. fi
  12986. # Guillermo Gomez says -lposix is necessary on A/UX.
  12987. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  12988. if test "x$ac_cv_func_remove" = xyes
  12989. then :
  12990. fi
  12991. if test $ac_cv_func_remove = no; then
  12992. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  12993. printf %s "checking for remove in -lposix... " >&6; }
  12994. if test ${ac_cv_lib_posix_remove+y}
  12995. then :
  12996. printf %s "(cached) " >&6
  12997. else $as_nop
  12998. ac_check_lib_save_LIBS=$LIBS
  12999. LIBS="-lposix $LIBS"
  13000. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13001. /* end confdefs.h. */
  13002. /* Override any GCC internal prototype to avoid an error.
  13003. Use char because int might match the return type of a GCC
  13004. builtin and then its argument prototype would still apply. */
  13005. char remove ();
  13006. int
  13007. main (void)
  13008. {
  13009. return remove ();
  13010. ;
  13011. return 0;
  13012. }
  13013. _ACEOF
  13014. if ac_fn_c_try_link "$LINENO"
  13015. then :
  13016. ac_cv_lib_posix_remove=yes
  13017. else $as_nop
  13018. ac_cv_lib_posix_remove=no
  13019. fi
  13020. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13021. conftest$ac_exeext conftest.$ac_ext
  13022. LIBS=$ac_check_lib_save_LIBS
  13023. fi
  13024. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  13025. printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
  13026. if test "x$ac_cv_lib_posix_remove" = xyes
  13027. then :
  13028. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  13029. fi
  13030. fi
  13031. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  13032. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  13033. if test "x$ac_cv_func_shmat" = xyes
  13034. then :
  13035. fi
  13036. if test $ac_cv_func_shmat = no; then
  13037. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  13038. printf %s "checking for shmat in -lipc... " >&6; }
  13039. if test ${ac_cv_lib_ipc_shmat+y}
  13040. then :
  13041. printf %s "(cached) " >&6
  13042. else $as_nop
  13043. ac_check_lib_save_LIBS=$LIBS
  13044. LIBS="-lipc $LIBS"
  13045. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13046. /* end confdefs.h. */
  13047. /* Override any GCC internal prototype to avoid an error.
  13048. Use char because int might match the return type of a GCC
  13049. builtin and then its argument prototype would still apply. */
  13050. char shmat ();
  13051. int
  13052. main (void)
  13053. {
  13054. return shmat ();
  13055. ;
  13056. return 0;
  13057. }
  13058. _ACEOF
  13059. if ac_fn_c_try_link "$LINENO"
  13060. then :
  13061. ac_cv_lib_ipc_shmat=yes
  13062. else $as_nop
  13063. ac_cv_lib_ipc_shmat=no
  13064. fi
  13065. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13066. conftest$ac_exeext conftest.$ac_ext
  13067. LIBS=$ac_check_lib_save_LIBS
  13068. fi
  13069. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  13070. printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
  13071. if test "x$ac_cv_lib_ipc_shmat" = xyes
  13072. then :
  13073. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  13074. fi
  13075. fi
  13076. fi
  13077. # Check for libraries that X11R6 Xt/Xaw programs need.
  13078. ac_save_LDFLAGS=$LDFLAGS
  13079. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  13080. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  13081. # check for ICE first), but we must link in the order -lSM -lICE or
  13082. # we get undefined symbols. So assume we have SM if we have ICE.
  13083. # These have to be linked with before -lX11, unlike the other
  13084. # libraries we check for below, so use a different variable.
  13085. # John Interrante, Karl Berry
  13086. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  13087. printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
  13088. if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
  13089. then :
  13090. printf %s "(cached) " >&6
  13091. else $as_nop
  13092. ac_check_lib_save_LIBS=$LIBS
  13093. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  13094. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13095. /* end confdefs.h. */
  13096. /* Override any GCC internal prototype to avoid an error.
  13097. Use char because int might match the return type of a GCC
  13098. builtin and then its argument prototype would still apply. */
  13099. char IceConnectionNumber ();
  13100. int
  13101. main (void)
  13102. {
  13103. return IceConnectionNumber ();
  13104. ;
  13105. return 0;
  13106. }
  13107. _ACEOF
  13108. if ac_fn_c_try_link "$LINENO"
  13109. then :
  13110. ac_cv_lib_ICE_IceConnectionNumber=yes
  13111. else $as_nop
  13112. ac_cv_lib_ICE_IceConnectionNumber=no
  13113. fi
  13114. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13115. conftest$ac_exeext conftest.$ac_ext
  13116. LIBS=$ac_check_lib_save_LIBS
  13117. fi
  13118. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  13119. printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  13120. if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
  13121. then :
  13122. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  13123. fi
  13124. LDFLAGS=$ac_save_LDFLAGS
  13125. fi
  13126. if test "$have_x" = "yes"
  13127. then
  13128. ac_save_CPPFLAGS="$CPPFLAGS"
  13129. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  13130. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
  13131. printf %s "checking for -lX11... " >&6; }
  13132. if test ${ac_cv_lib_soname_X11+y}
  13133. then :
  13134. printf %s "(cached) " >&6
  13135. else $as_nop
  13136. ac_check_soname_save_LIBS=$LIBS
  13137. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  13138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13139. /* end confdefs.h. */
  13140. /* Override any GCC internal prototype to avoid an error.
  13141. Use char because int might match the return type of a GCC
  13142. builtin and then its argument prototype would still apply. */
  13143. char XCreateWindow ();
  13144. int
  13145. main (void)
  13146. {
  13147. return XCreateWindow ();
  13148. ;
  13149. return 0;
  13150. }
  13151. _ACEOF
  13152. if ac_fn_c_try_link "$LINENO"
  13153. then :
  13154. case "$LIBEXT" in
  13155. dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13156. 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'` ;;
  13157. *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13158. if ${ac_cv_lib_soname_X11:+false} :
  13159. then :
  13160. ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13161. fi ;;
  13162. esac
  13163. else $as_nop
  13164. ac_cv_lib_soname_X11=
  13165. fi
  13166. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13167. conftest$ac_exeext conftest.$ac_ext
  13168. LIBS=$ac_check_soname_save_LIBS
  13169. fi
  13170. if ${ac_cv_lib_soname_X11:+false} :
  13171. then :
  13172. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13173. printf "%s\n" "not found" >&6; }
  13174. else $as_nop
  13175. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
  13176. printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
  13177. printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
  13178. fi
  13179. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
  13180. printf %s "checking for -lXext... " >&6; }
  13181. if test ${ac_cv_lib_soname_Xext+y}
  13182. then :
  13183. printf %s "(cached) " >&6
  13184. else $as_nop
  13185. ac_check_soname_save_LIBS=$LIBS
  13186. LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
  13187. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13188. /* end confdefs.h. */
  13189. /* Override any GCC internal prototype to avoid an error.
  13190. Use char because int might match the return type of a GCC
  13191. builtin and then its argument prototype would still apply. */
  13192. char XextCreateExtension ();
  13193. int
  13194. main (void)
  13195. {
  13196. return XextCreateExtension ();
  13197. ;
  13198. return 0;
  13199. }
  13200. _ACEOF
  13201. if ac_fn_c_try_link "$LINENO"
  13202. then :
  13203. case "$LIBEXT" in
  13204. dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13205. 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'` ;;
  13206. *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13207. if ${ac_cv_lib_soname_Xext:+false} :
  13208. then :
  13209. ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13210. fi ;;
  13211. esac
  13212. else $as_nop
  13213. ac_cv_lib_soname_Xext=
  13214. fi
  13215. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13216. conftest$ac_exeext conftest.$ac_ext
  13217. LIBS=$ac_check_soname_save_LIBS
  13218. fi
  13219. if ${ac_cv_lib_soname_Xext:+false} :
  13220. then :
  13221. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13222. printf "%s\n" "not found" >&6; }
  13223. else $as_nop
  13224. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
  13225. printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
  13226. printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
  13227. X_LIBS="$X_LIBS -lXext"
  13228. fi
  13229. X_LIBS="$X_LIBS -lX11"
  13230. ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
  13231. # include <X11/Xlib.h>
  13232. #endif
  13233. #ifdef HAVE_X11_XUTIL_H
  13234. # include <X11/Xutil.h>
  13235. #endif
  13236. "
  13237. if test "x$ac_cv_header_X11_Xlib_h" = xyes
  13238. then :
  13239. printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
  13240. fi
  13241. ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
  13242. # include <X11/Xlib.h>
  13243. #endif
  13244. #ifdef HAVE_X11_XUTIL_H
  13245. # include <X11/Xutil.h>
  13246. #endif
  13247. "
  13248. if test "x$ac_cv_header_X11_XKBlib_h" = xyes
  13249. then :
  13250. printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
  13251. fi
  13252. ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
  13253. # include <X11/Xlib.h>
  13254. #endif
  13255. #ifdef HAVE_X11_XUTIL_H
  13256. # include <X11/Xutil.h>
  13257. #endif
  13258. "
  13259. if test "x$ac_cv_header_X11_Xutil_h" = xyes
  13260. then :
  13261. printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
  13262. fi
  13263. ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
  13264. # include <X11/Xlib.h>
  13265. #endif
  13266. #ifdef HAVE_X11_XUTIL_H
  13267. # include <X11/Xutil.h>
  13268. #endif
  13269. "
  13270. if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
  13271. then :
  13272. printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
  13273. fi
  13274. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
  13275. # include <X11/Xlib.h>
  13276. #endif
  13277. #ifdef HAVE_X11_XUTIL_H
  13278. # include <X11/Xutil.h>
  13279. #endif
  13280. "
  13281. if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
  13282. then :
  13283. printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
  13284. fi
  13285. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
  13286. # include <X11/Xlib.h>
  13287. #endif
  13288. #ifdef HAVE_X11_XUTIL_H
  13289. # include <X11/Xutil.h>
  13290. #endif
  13291. "
  13292. if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
  13293. then :
  13294. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
  13295. fi
  13296. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
  13297. # include <X11/Xlib.h>
  13298. #endif
  13299. #ifdef HAVE_X11_XUTIL_H
  13300. # include <X11/Xutil.h>
  13301. #endif
  13302. "
  13303. if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
  13304. then :
  13305. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
  13306. fi
  13307. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
  13308. # include <X11/Xlib.h>
  13309. #endif
  13310. #ifdef HAVE_X11_XUTIL_H
  13311. # include <X11/Xutil.h>
  13312. #endif
  13313. "
  13314. if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
  13315. then :
  13316. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
  13317. fi
  13318. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
  13319. # include <X11/Xlib.h>
  13320. #endif
  13321. #ifdef HAVE_X11_XUTIL_H
  13322. # include <X11/Xutil.h>
  13323. #endif
  13324. "
  13325. if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
  13326. then :
  13327. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
  13328. fi
  13329. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
  13330. # include <X11/Xlib.h>
  13331. #endif
  13332. #ifdef HAVE_X11_XUTIL_H
  13333. # include <X11/Xutil.h>
  13334. #endif
  13335. "
  13336. if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
  13337. then :
  13338. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
  13339. fi
  13340. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
  13341. # include <X11/Xlib.h>
  13342. #endif
  13343. #ifdef HAVE_X11_XUTIL_H
  13344. # include <X11/Xutil.h>
  13345. #endif
  13346. "
  13347. if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
  13348. then :
  13349. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
  13350. fi
  13351. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
  13352. # include <X11/Xlib.h>
  13353. #endif
  13354. #ifdef HAVE_X11_XUTIL_H
  13355. # include <X11/Xutil.h>
  13356. #endif
  13357. "
  13358. if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
  13359. then :
  13360. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
  13361. fi
  13362. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
  13363. # include <X11/Xlib.h>
  13364. #endif
  13365. #ifdef HAVE_X11_XUTIL_H
  13366. # include <X11/Xutil.h>
  13367. #endif
  13368. "
  13369. if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
  13370. then :
  13371. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
  13372. fi
  13373. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
  13374. # include <X11/Xlib.h>
  13375. #endif
  13376. #ifdef HAVE_X11_XUTIL_H
  13377. # include <X11/Xutil.h>
  13378. #endif
  13379. "
  13380. if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
  13381. then :
  13382. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
  13383. fi
  13384. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
  13385. # include <X11/Xlib.h>
  13386. #endif
  13387. #ifdef HAVE_X11_XUTIL_H
  13388. # include <X11/Xutil.h>
  13389. #endif
  13390. "
  13391. if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
  13392. then :
  13393. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
  13394. fi
  13395. if test "$ac_cv_header_X11_XKBlib_h" = "yes"
  13396. then
  13397. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
  13398. printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
  13399. if test ${ac_cv_lib_X11_XkbQueryExtension+y}
  13400. then :
  13401. printf %s "(cached) " >&6
  13402. else $as_nop
  13403. ac_check_lib_save_LIBS=$LIBS
  13404. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  13405. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13406. /* end confdefs.h. */
  13407. /* Override any GCC internal prototype to avoid an error.
  13408. Use char because int might match the return type of a GCC
  13409. builtin and then its argument prototype would still apply. */
  13410. char XkbQueryExtension ();
  13411. int
  13412. main (void)
  13413. {
  13414. return XkbQueryExtension ();
  13415. ;
  13416. return 0;
  13417. }
  13418. _ACEOF
  13419. if ac_fn_c_try_link "$LINENO"
  13420. then :
  13421. ac_cv_lib_X11_XkbQueryExtension=yes
  13422. else $as_nop
  13423. ac_cv_lib_X11_XkbQueryExtension=no
  13424. fi
  13425. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13426. conftest$ac_exeext conftest.$ac_ext
  13427. LIBS=$ac_check_lib_save_LIBS
  13428. fi
  13429. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
  13430. printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
  13431. if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
  13432. then :
  13433. printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
  13434. fi
  13435. fi
  13436. if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
  13437. then
  13438. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
  13439. printf %s "checking for -lXcursor... " >&6; }
  13440. if test ${ac_cv_lib_soname_Xcursor+y}
  13441. then :
  13442. printf %s "(cached) " >&6
  13443. else $as_nop
  13444. ac_check_soname_save_LIBS=$LIBS
  13445. LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
  13446. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13447. /* end confdefs.h. */
  13448. /* Override any GCC internal prototype to avoid an error.
  13449. Use char because int might match the return type of a GCC
  13450. builtin and then its argument prototype would still apply. */
  13451. char XcursorImageLoadCursor ();
  13452. int
  13453. main (void)
  13454. {
  13455. return XcursorImageLoadCursor ();
  13456. ;
  13457. return 0;
  13458. }
  13459. _ACEOF
  13460. if ac_fn_c_try_link "$LINENO"
  13461. then :
  13462. case "$LIBEXT" in
  13463. dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13464. 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'` ;;
  13465. *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13466. if ${ac_cv_lib_soname_Xcursor:+false} :
  13467. then :
  13468. ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13469. fi ;;
  13470. esac
  13471. else $as_nop
  13472. ac_cv_lib_soname_Xcursor=
  13473. fi
  13474. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13475. conftest$ac_exeext conftest.$ac_ext
  13476. LIBS=$ac_check_soname_save_LIBS
  13477. fi
  13478. if ${ac_cv_lib_soname_Xcursor:+false} :
  13479. then :
  13480. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13481. printf "%s\n" "not found" >&6; }
  13482. else $as_nop
  13483. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
  13484. printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
  13485. printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
  13486. fi
  13487. fi
  13488. if test "x$ac_cv_lib_soname_Xcursor" = "x"
  13489. then :
  13490. case "x$with_xcursor" in
  13491. x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
  13492. xno) ;;
  13493. *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
  13494. This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
  13495. esac
  13496. fi
  13497. if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
  13498. then
  13499. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
  13500. printf %s "checking for -lXi... " >&6; }
  13501. if test ${ac_cv_lib_soname_Xi+y}
  13502. then :
  13503. printf %s "(cached) " >&6
  13504. else $as_nop
  13505. ac_check_soname_save_LIBS=$LIBS
  13506. LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
  13507. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13508. /* end confdefs.h. */
  13509. /* Override any GCC internal prototype to avoid an error.
  13510. Use char because int might match the return type of a GCC
  13511. builtin and then its argument prototype would still apply. */
  13512. char XOpenDevice ();
  13513. int
  13514. main (void)
  13515. {
  13516. return XOpenDevice ();
  13517. ;
  13518. return 0;
  13519. }
  13520. _ACEOF
  13521. if ac_fn_c_try_link "$LINENO"
  13522. then :
  13523. case "$LIBEXT" in
  13524. dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13525. 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'` ;;
  13526. *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13527. if ${ac_cv_lib_soname_Xi:+false} :
  13528. then :
  13529. ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13530. fi ;;
  13531. esac
  13532. else $as_nop
  13533. ac_cv_lib_soname_Xi=
  13534. fi
  13535. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13536. conftest$ac_exeext conftest.$ac_ext
  13537. LIBS=$ac_check_soname_save_LIBS
  13538. fi
  13539. if ${ac_cv_lib_soname_Xi:+false} :
  13540. then :
  13541. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13542. printf "%s\n" "not found" >&6; }
  13543. else $as_nop
  13544. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
  13545. printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
  13546. printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
  13547. fi
  13548. fi
  13549. if test "x$ac_cv_lib_soname_Xi" = "x"
  13550. then :
  13551. case "x$with_xinput" in
  13552. x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
  13553. xno) ;;
  13554. *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
  13555. This is an error since --with-xinput was requested." "$LINENO" 5 ;;
  13556. esac
  13557. fi
  13558. if test "x$ac_cv_lib_soname_Xi" != x
  13559. then
  13560. if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
  13561. then :
  13562. case "x$with_xinput2" in
  13563. x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
  13564. xno) ;;
  13565. *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
  13566. This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
  13567. esac
  13568. fi
  13569. fi
  13570. if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
  13571. then
  13572. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
  13573. printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
  13574. if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
  13575. then :
  13576. printf %s "(cached) " >&6
  13577. else $as_nop
  13578. ac_check_lib_save_LIBS=$LIBS
  13579. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  13580. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13581. /* end confdefs.h. */
  13582. /* Override any GCC internal prototype to avoid an error.
  13583. Use char because int might match the return type of a GCC
  13584. builtin and then its argument prototype would still apply. */
  13585. char XShmQueryExtension ();
  13586. int
  13587. main (void)
  13588. {
  13589. return XShmQueryExtension ();
  13590. ;
  13591. return 0;
  13592. }
  13593. _ACEOF
  13594. if ac_fn_c_try_link "$LINENO"
  13595. then :
  13596. ac_cv_lib_Xext_XShmQueryExtension=yes
  13597. else $as_nop
  13598. ac_cv_lib_Xext_XShmQueryExtension=no
  13599. fi
  13600. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13601. conftest$ac_exeext conftest.$ac_ext
  13602. LIBS=$ac_check_lib_save_LIBS
  13603. fi
  13604. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
  13605. printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
  13606. if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
  13607. then :
  13608. printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
  13609. fi
  13610. fi
  13611. if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
  13612. then :
  13613. case "x$with_xshm" in
  13614. x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
  13615. xno) ;;
  13616. *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
  13617. This is an error since --with-xshm was requested." "$LINENO" 5 ;;
  13618. esac
  13619. fi
  13620. if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
  13621. then
  13622. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
  13623. printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
  13624. if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
  13625. then :
  13626. printf %s "(cached) " >&6
  13627. else $as_nop
  13628. ac_check_lib_save_LIBS=$LIBS
  13629. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  13630. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13631. /* end confdefs.h. */
  13632. /* Override any GCC internal prototype to avoid an error.
  13633. Use char because int might match the return type of a GCC
  13634. builtin and then its argument prototype would still apply. */
  13635. char XShapeQueryExtension ();
  13636. int
  13637. main (void)
  13638. {
  13639. return XShapeQueryExtension ();
  13640. ;
  13641. return 0;
  13642. }
  13643. _ACEOF
  13644. if ac_fn_c_try_link "$LINENO"
  13645. then :
  13646. ac_cv_lib_Xext_XShapeQueryExtension=yes
  13647. else $as_nop
  13648. ac_cv_lib_Xext_XShapeQueryExtension=no
  13649. fi
  13650. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13651. conftest$ac_exeext conftest.$ac_ext
  13652. LIBS=$ac_check_lib_save_LIBS
  13653. fi
  13654. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  13655. printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  13656. if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
  13657. then :
  13658. printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
  13659. fi
  13660. fi
  13661. if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
  13662. then :
  13663. case "x$with_xshape" in
  13664. x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
  13665. xno) ;;
  13666. *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
  13667. This is an error since --with-xshape was requested." "$LINENO" 5 ;;
  13668. esac
  13669. fi
  13670. if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
  13671. then
  13672. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
  13673. printf %s "checking for -lXxf86vm... " >&6; }
  13674. if test ${ac_cv_lib_soname_Xxf86vm+y}
  13675. then :
  13676. printf %s "(cached) " >&6
  13677. else $as_nop
  13678. ac_check_soname_save_LIBS=$LIBS
  13679. LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
  13680. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13681. /* end confdefs.h. */
  13682. /* Override any GCC internal prototype to avoid an error.
  13683. Use char because int might match the return type of a GCC
  13684. builtin and then its argument prototype would still apply. */
  13685. char XF86VidModeQueryExtension ();
  13686. int
  13687. main (void)
  13688. {
  13689. return XF86VidModeQueryExtension ();
  13690. ;
  13691. return 0;
  13692. }
  13693. _ACEOF
  13694. if ac_fn_c_try_link "$LINENO"
  13695. then :
  13696. case "$LIBEXT" in
  13697. dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13698. 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'` ;;
  13699. *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13700. if ${ac_cv_lib_soname_Xxf86vm:+false} :
  13701. then :
  13702. ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13703. fi ;;
  13704. esac
  13705. else $as_nop
  13706. ac_cv_lib_soname_Xxf86vm=
  13707. fi
  13708. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13709. conftest$ac_exeext conftest.$ac_ext
  13710. LIBS=$ac_check_soname_save_LIBS
  13711. fi
  13712. if ${ac_cv_lib_soname_Xxf86vm:+false} :
  13713. then :
  13714. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13715. printf "%s\n" "not found" >&6; }
  13716. else $as_nop
  13717. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
  13718. printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
  13719. printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
  13720. fi
  13721. fi
  13722. if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
  13723. then :
  13724. case "x$with_xxf86vm" in
  13725. x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
  13726. xno) ;;
  13727. *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
  13728. This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
  13729. esac
  13730. fi
  13731. if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
  13732. then
  13733. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
  13734. printf %s "checking for -lXrender... " >&6; }
  13735. if test ${ac_cv_lib_soname_Xrender+y}
  13736. then :
  13737. printf %s "(cached) " >&6
  13738. else $as_nop
  13739. ac_check_soname_save_LIBS=$LIBS
  13740. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13741. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13742. /* end confdefs.h. */
  13743. /* Override any GCC internal prototype to avoid an error.
  13744. Use char because int might match the return type of a GCC
  13745. builtin and then its argument prototype would still apply. */
  13746. char XRenderQueryExtension ();
  13747. int
  13748. main (void)
  13749. {
  13750. return XRenderQueryExtension ();
  13751. ;
  13752. return 0;
  13753. }
  13754. _ACEOF
  13755. if ac_fn_c_try_link "$LINENO"
  13756. then :
  13757. case "$LIBEXT" in
  13758. dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13759. 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'` ;;
  13760. *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13761. if ${ac_cv_lib_soname_Xrender:+false} :
  13762. then :
  13763. ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13764. fi ;;
  13765. esac
  13766. else $as_nop
  13767. ac_cv_lib_soname_Xrender=
  13768. fi
  13769. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13770. conftest$ac_exeext conftest.$ac_ext
  13771. LIBS=$ac_check_soname_save_LIBS
  13772. fi
  13773. if ${ac_cv_lib_soname_Xrender:+false} :
  13774. then :
  13775. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13776. printf "%s\n" "not found" >&6; }
  13777. else $as_nop
  13778. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
  13779. printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
  13780. printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
  13781. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
  13782. printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
  13783. if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
  13784. then :
  13785. printf %s "(cached) " >&6
  13786. else $as_nop
  13787. ac_check_lib_save_LIBS=$LIBS
  13788. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13789. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13790. /* end confdefs.h. */
  13791. /* Override any GCC internal prototype to avoid an error.
  13792. Use char because int might match the return type of a GCC
  13793. builtin and then its argument prototype would still apply. */
  13794. char XRenderSetPictureTransform ();
  13795. int
  13796. main (void)
  13797. {
  13798. return XRenderSetPictureTransform ();
  13799. ;
  13800. return 0;
  13801. }
  13802. _ACEOF
  13803. if ac_fn_c_try_link "$LINENO"
  13804. then :
  13805. ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
  13806. else $as_nop
  13807. ac_cv_lib_Xrender_XRenderSetPictureTransform=no
  13808. fi
  13809. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13810. conftest$ac_exeext conftest.$ac_ext
  13811. LIBS=$ac_check_lib_save_LIBS
  13812. fi
  13813. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
  13814. printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
  13815. if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
  13816. then :
  13817. printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
  13818. fi
  13819. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
  13820. printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
  13821. if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
  13822. then :
  13823. printf %s "(cached) " >&6
  13824. else $as_nop
  13825. ac_check_lib_save_LIBS=$LIBS
  13826. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13827. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13828. /* end confdefs.h. */
  13829. /* Override any GCC internal prototype to avoid an error.
  13830. Use char because int might match the return type of a GCC
  13831. builtin and then its argument prototype would still apply. */
  13832. char XRenderCreateLinearGradient ();
  13833. int
  13834. main (void)
  13835. {
  13836. return XRenderCreateLinearGradient ();
  13837. ;
  13838. return 0;
  13839. }
  13840. _ACEOF
  13841. if ac_fn_c_try_link "$LINENO"
  13842. then :
  13843. ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
  13844. else $as_nop
  13845. ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
  13846. fi
  13847. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13848. conftest$ac_exeext conftest.$ac_ext
  13849. LIBS=$ac_check_lib_save_LIBS
  13850. fi
  13851. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
  13852. printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
  13853. if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
  13854. then :
  13855. printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
  13856. fi
  13857. fi
  13858. fi
  13859. if test "x$ac_cv_lib_soname_Xrender" = "x"
  13860. then :
  13861. case "x$with_xrender" in
  13862. x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
  13863. xno) ;;
  13864. *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
  13865. This is an error since --with-xrender was requested." "$LINENO" 5 ;;
  13866. esac
  13867. fi
  13868. if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
  13869. then
  13870. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13871. /* end confdefs.h. */
  13872. #include <X11/Xlib.h>
  13873. #include <X11/extensions/Xrandr.h>
  13874. int
  13875. main (void)
  13876. {
  13877. static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
  13878. ;
  13879. return 0;
  13880. }
  13881. _ACEOF
  13882. if ac_fn_c_try_compile "$LINENO"
  13883. then :
  13884. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
  13885. printf %s "checking for -lXrandr... " >&6; }
  13886. if test ${ac_cv_lib_soname_Xrandr+y}
  13887. then :
  13888. printf %s "(cached) " >&6
  13889. else $as_nop
  13890. ac_check_soname_save_LIBS=$LIBS
  13891. LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
  13892. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13893. /* end confdefs.h. */
  13894. /* Override any GCC internal prototype to avoid an error.
  13895. Use char because int might match the return type of a GCC
  13896. builtin and then its argument prototype would still apply. */
  13897. char XRRQueryExtension ();
  13898. int
  13899. main (void)
  13900. {
  13901. return XRRQueryExtension ();
  13902. ;
  13903. return 0;
  13904. }
  13905. _ACEOF
  13906. if ac_fn_c_try_link "$LINENO"
  13907. then :
  13908. case "$LIBEXT" in
  13909. dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13910. 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'` ;;
  13911. *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13912. if ${ac_cv_lib_soname_Xrandr:+false} :
  13913. then :
  13914. ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13915. fi ;;
  13916. esac
  13917. else $as_nop
  13918. ac_cv_lib_soname_Xrandr=
  13919. fi
  13920. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13921. conftest$ac_exeext conftest.$ac_ext
  13922. LIBS=$ac_check_soname_save_LIBS
  13923. fi
  13924. if ${ac_cv_lib_soname_Xrandr:+false} :
  13925. then :
  13926. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13927. printf "%s\n" "not found" >&6; }
  13928. else $as_nop
  13929. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
  13930. printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
  13931. printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
  13932. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13933. /* end confdefs.h. */
  13934. #include <X11/Xlib.h>
  13935. #include <X11/extensions/Xrandr.h>
  13936. int
  13937. main (void)
  13938. {
  13939. static typeof(XRRGetProviderResources) *f; if (f) return 0;
  13940. ;
  13941. return 0;
  13942. }
  13943. _ACEOF
  13944. if ac_fn_c_try_compile "$LINENO"
  13945. then :
  13946. printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
  13947. else $as_nop
  13948. as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
  13949. fi
  13950. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13951. fi
  13952. fi
  13953. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13954. fi
  13955. if test "x$ac_cv_lib_soname_Xrandr" = "x"
  13956. then :
  13957. case "x$with_xrandr" in
  13958. x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
  13959. xno) ;;
  13960. *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
  13961. This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
  13962. esac
  13963. fi
  13964. if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
  13965. then
  13966. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13967. /* end confdefs.h. */
  13968. #include <X11/Xlib.h>
  13969. #include <X11/extensions/Xfixes.h>
  13970. int
  13971. main (void)
  13972. {
  13973. static typeof(XFixesQueryVersion) * func; if (func) return 0;
  13974. ;
  13975. return 0;
  13976. }
  13977. _ACEOF
  13978. if ac_fn_c_try_compile "$LINENO"
  13979. then :
  13980. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
  13981. printf %s "checking for -lXfixes... " >&6; }
  13982. if test ${ac_cv_lib_soname_Xfixes+y}
  13983. then :
  13984. printf %s "(cached) " >&6
  13985. else $as_nop
  13986. ac_check_soname_save_LIBS=$LIBS
  13987. LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
  13988. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13989. /* end confdefs.h. */
  13990. /* Override any GCC internal prototype to avoid an error.
  13991. Use char because int might match the return type of a GCC
  13992. builtin and then its argument prototype would still apply. */
  13993. char XFixesQueryVersion ();
  13994. int
  13995. main (void)
  13996. {
  13997. return XFixesQueryVersion ();
  13998. ;
  13999. return 0;
  14000. }
  14001. _ACEOF
  14002. if ac_fn_c_try_link "$LINENO"
  14003. then :
  14004. case "$LIBEXT" in
  14005. dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14006. 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'` ;;
  14007. *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14008. if ${ac_cv_lib_soname_Xfixes:+false} :
  14009. then :
  14010. ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14011. fi ;;
  14012. esac
  14013. else $as_nop
  14014. ac_cv_lib_soname_Xfixes=
  14015. fi
  14016. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14017. conftest$ac_exeext conftest.$ac_ext
  14018. LIBS=$ac_check_soname_save_LIBS
  14019. fi
  14020. if ${ac_cv_lib_soname_Xfixes:+false} :
  14021. then :
  14022. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14023. printf "%s\n" "not found" >&6; }
  14024. else $as_nop
  14025. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
  14026. printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
  14027. printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
  14028. fi
  14029. fi
  14030. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14031. fi
  14032. if test "x$ac_cv_lib_soname_Xfixes" = "x"
  14033. then :
  14034. case "x$with_xfixes" in
  14035. x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
  14036. xno) ;;
  14037. *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
  14038. This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
  14039. esac
  14040. fi
  14041. if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
  14042. then
  14043. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14044. /* end confdefs.h. */
  14045. #include <X11/Xlib.h>
  14046. #include <X11/extensions/Xinerama.h>
  14047. int
  14048. main (void)
  14049. {
  14050. static typeof(XineramaQueryScreens) * func; if (func) return 0;
  14051. ;
  14052. return 0;
  14053. }
  14054. _ACEOF
  14055. if ac_fn_c_try_compile "$LINENO"
  14056. then :
  14057. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
  14058. printf %s "checking for -lXinerama... " >&6; }
  14059. if test ${ac_cv_lib_soname_Xinerama+y}
  14060. then :
  14061. printf %s "(cached) " >&6
  14062. else $as_nop
  14063. ac_check_soname_save_LIBS=$LIBS
  14064. LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
  14065. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14066. /* end confdefs.h. */
  14067. /* Override any GCC internal prototype to avoid an error.
  14068. Use char because int might match the return type of a GCC
  14069. builtin and then its argument prototype would still apply. */
  14070. char XineramaQueryScreens ();
  14071. int
  14072. main (void)
  14073. {
  14074. return XineramaQueryScreens ();
  14075. ;
  14076. return 0;
  14077. }
  14078. _ACEOF
  14079. if ac_fn_c_try_link "$LINENO"
  14080. then :
  14081. case "$LIBEXT" in
  14082. dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14083. 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'` ;;
  14084. *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14085. if ${ac_cv_lib_soname_Xinerama:+false} :
  14086. then :
  14087. ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14088. fi ;;
  14089. esac
  14090. else $as_nop
  14091. ac_cv_lib_soname_Xinerama=
  14092. fi
  14093. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14094. conftest$ac_exeext conftest.$ac_ext
  14095. LIBS=$ac_check_soname_save_LIBS
  14096. fi
  14097. if ${ac_cv_lib_soname_Xinerama:+false} :
  14098. then :
  14099. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14100. printf "%s\n" "not found" >&6; }
  14101. else $as_nop
  14102. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
  14103. printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
  14104. printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
  14105. fi
  14106. fi
  14107. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14108. fi
  14109. if test "x$ac_cv_lib_soname_Xinerama" = "x"
  14110. then :
  14111. case "x$with_xinerama" in
  14112. x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
  14113. xno) ;;
  14114. *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
  14115. This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
  14116. esac
  14117. fi
  14118. if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
  14119. then
  14120. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
  14121. printf %s "checking for -lXcomposite... " >&6; }
  14122. if test ${ac_cv_lib_soname_Xcomposite+y}
  14123. then :
  14124. printf %s "(cached) " >&6
  14125. else $as_nop
  14126. ac_check_soname_save_LIBS=$LIBS
  14127. LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
  14128. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14129. /* end confdefs.h. */
  14130. /* Override any GCC internal prototype to avoid an error.
  14131. Use char because int might match the return type of a GCC
  14132. builtin and then its argument prototype would still apply. */
  14133. char XCompositeRedirectWindow ();
  14134. int
  14135. main (void)
  14136. {
  14137. return XCompositeRedirectWindow ();
  14138. ;
  14139. return 0;
  14140. }
  14141. _ACEOF
  14142. if ac_fn_c_try_link "$LINENO"
  14143. then :
  14144. case "$LIBEXT" in
  14145. dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14146. 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'` ;;
  14147. *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14148. if ${ac_cv_lib_soname_Xcomposite:+false} :
  14149. then :
  14150. ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14151. fi ;;
  14152. esac
  14153. else $as_nop
  14154. ac_cv_lib_soname_Xcomposite=
  14155. fi
  14156. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14157. conftest$ac_exeext conftest.$ac_ext
  14158. LIBS=$ac_check_soname_save_LIBS
  14159. fi
  14160. if ${ac_cv_lib_soname_Xcomposite:+false} :
  14161. then :
  14162. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14163. printf "%s\n" "not found" >&6; }
  14164. else $as_nop
  14165. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
  14166. printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
  14167. printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
  14168. fi
  14169. fi
  14170. if test "x$ac_cv_lib_soname_Xcomposite" = "x"
  14171. then :
  14172. case "x$with_xcomposite" in
  14173. x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
  14174. xno) ;;
  14175. *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
  14176. This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
  14177. esac
  14178. fi
  14179. ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
  14180. #include <X11/Xlib.h>
  14181. #endif
  14182. "
  14183. if test "x$ac_cv_member_XICCallback_callback" = xyes
  14184. then :
  14185. printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
  14186. fi
  14187. ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
  14188. #include <X11/Xlib.h>
  14189. #endif
  14190. "
  14191. if test "x$ac_cv_member_XEvent_xcookie" = xyes
  14192. then :
  14193. printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
  14194. fi
  14195. opengl_msg=""
  14196. if test "x$with_opengl" != "xno"
  14197. then
  14198. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  14199. printf %s "checking for -lGL... " >&6; }
  14200. if test ${ac_cv_lib_soname_GL+y}
  14201. then :
  14202. printf %s "(cached) " >&6
  14203. else $as_nop
  14204. ac_check_soname_save_LIBS=$LIBS
  14205. LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  14206. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14207. /* end confdefs.h. */
  14208. /* Override any GCC internal prototype to avoid an error.
  14209. Use char because int might match the return type of a GCC
  14210. builtin and then its argument prototype would still apply. */
  14211. char glXCreateContext ();
  14212. int
  14213. main (void)
  14214. {
  14215. return glXCreateContext ();
  14216. ;
  14217. return 0;
  14218. }
  14219. _ACEOF
  14220. if ac_fn_c_try_link "$LINENO"
  14221. then :
  14222. case "$LIBEXT" in
  14223. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14224. 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'` ;;
  14225. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14226. if ${ac_cv_lib_soname_GL:+false} :
  14227. then :
  14228. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14229. fi ;;
  14230. esac
  14231. else $as_nop
  14232. ac_cv_lib_soname_GL=
  14233. fi
  14234. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14235. conftest$ac_exeext conftest.$ac_ext
  14236. LIBS=$ac_check_soname_save_LIBS
  14237. fi
  14238. if ${ac_cv_lib_soname_GL:+false} :
  14239. then :
  14240. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14241. printf "%s\n" "not found" >&6; }
  14242. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  14243. printf %s "checking for -lGL... " >&6; }
  14244. if test ${ac_cv_lib_soname_GL+y}
  14245. then :
  14246. printf %s "(cached) " >&6
  14247. else $as_nop
  14248. ac_check_soname_save_LIBS=$LIBS
  14249. 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"
  14250. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14251. /* end confdefs.h. */
  14252. /* Override any GCC internal prototype to avoid an error.
  14253. Use char because int might match the return type of a GCC
  14254. builtin and then its argument prototype would still apply. */
  14255. char glXCreateContext ();
  14256. int
  14257. main (void)
  14258. {
  14259. return glXCreateContext ();
  14260. ;
  14261. return 0;
  14262. }
  14263. _ACEOF
  14264. if ac_fn_c_try_link "$LINENO"
  14265. then :
  14266. case "$LIBEXT" in
  14267. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14268. 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'` ;;
  14269. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14270. if ${ac_cv_lib_soname_GL:+false} :
  14271. then :
  14272. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14273. fi ;;
  14274. esac
  14275. else $as_nop
  14276. ac_cv_lib_soname_GL=
  14277. fi
  14278. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14279. conftest$ac_exeext conftest.$ac_ext
  14280. LIBS=$ac_check_soname_save_LIBS
  14281. fi
  14282. if ${ac_cv_lib_soname_GL:+false} :
  14283. then :
  14284. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14285. printf "%s\n" "not found" >&6; }
  14286. if test -f /usr/X11R6/lib/libGL.a
  14287. then
  14288. opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
  14289. This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
  14290. else
  14291. opengl_msg="No OpenGL library found on this system."
  14292. fi
  14293. else $as_nop
  14294. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  14295. printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
  14296. printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
  14297. 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"
  14298. fi
  14299. else $as_nop
  14300. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  14301. printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
  14302. printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
  14303. OPENGL_LIBS="-lGL"
  14304. fi
  14305. if test "x$with_osmesa" != "xno"
  14306. then
  14307. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
  14308. printf %s "checking for -lOSMesa... " >&6; }
  14309. if test ${ac_cv_lib_soname_OSMesa+y}
  14310. then :
  14311. printf %s "(cached) " >&6
  14312. else $as_nop
  14313. ac_check_soname_save_LIBS=$LIBS
  14314. LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_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. char OSMesaGetProcAddress ();
  14321. int
  14322. main (void)
  14323. {
  14324. return OSMesaGetProcAddress ();
  14325. ;
  14326. return 0;
  14327. }
  14328. _ACEOF
  14329. if ac_fn_c_try_link "$LINENO"
  14330. then :
  14331. case "$LIBEXT" in
  14332. dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14333. 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'` ;;
  14334. *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14335. if ${ac_cv_lib_soname_OSMesa:+false} :
  14336. then :
  14337. ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14338. fi ;;
  14339. esac
  14340. else $as_nop
  14341. ac_cv_lib_soname_OSMesa=
  14342. fi
  14343. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14344. conftest$ac_exeext conftest.$ac_ext
  14345. LIBS=$ac_check_soname_save_LIBS
  14346. fi
  14347. if ${ac_cv_lib_soname_OSMesa:+false} :
  14348. then :
  14349. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14350. printf "%s\n" "not found" >&6; }
  14351. else $as_nop
  14352. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
  14353. printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
  14354. printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
  14355. fi
  14356. if test "x$ac_cv_lib_soname_OSMesa" = "x"
  14357. then :
  14358. case "x$with_osmesa" in
  14359. x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
  14360. xno) ;;
  14361. *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
  14362. This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
  14363. esac
  14364. fi
  14365. fi
  14366. fi
  14367. if test -n "$opengl_msg"
  14368. then :
  14369. case "x$with_opengl" in
  14370. x) as_fn_append wine_warnings "|$opengl_msg
  14371. OpenGL and Direct3D won't be supported." ;;
  14372. xno) ;;
  14373. *) as_fn_error $? "$opengl_msg
  14374. OpenGL and Direct3D won't be supported.
  14375. This is an error since --with-opengl was requested." "$LINENO" 5 ;;
  14376. esac
  14377. fi
  14378. CPPFLAGS="$ac_save_CPPFLAGS"
  14379. else
  14380. X_CFLAGS=""
  14381. X_LIBS=""
  14382. fi
  14383. if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
  14384. then
  14385. if test "x$X_LIBS" = "x"
  14386. then :
  14387. case "x$with_x" in
  14388. xno) ;;
  14389. *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
  14390. without X support, which probably isn't what you want. You will need
  14391. to install ${notice_platform}development packages of Xlib at the very least.
  14392. Use the --without-x option if you really want this." "$LINENO" 5 ;;
  14393. esac
  14394. enable_winex11_drv=${enable_winex11_drv:-no}
  14395. fi
  14396. else
  14397. if test "x$X_LIBS" = "x"
  14398. then :
  14399. case "x$with_x" in
  14400. x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
  14401. xno) ;;
  14402. *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
  14403. This is an error since --with-x was requested." "$LINENO" 5 ;;
  14404. esac
  14405. enable_winex11_drv=${enable_winex11_drv:-no}
  14406. fi
  14407. fi
  14408. if test "$ac_cv_header_CL_cl_h" = "yes"
  14409. then
  14410. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
  14411. printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
  14412. if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
  14413. then :
  14414. printf %s "(cached) " >&6
  14415. else $as_nop
  14416. ac_check_lib_save_LIBS=$LIBS
  14417. LIBS="-lOpenCL $LIBS"
  14418. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14419. /* end confdefs.h. */
  14420. /* Override any GCC internal prototype to avoid an error.
  14421. Use char because int might match the return type of a GCC
  14422. builtin and then its argument prototype would still apply. */
  14423. char clGetPlatformInfo ();
  14424. int
  14425. main (void)
  14426. {
  14427. return clGetPlatformInfo ();
  14428. ;
  14429. return 0;
  14430. }
  14431. _ACEOF
  14432. if ac_fn_c_try_link "$LINENO"
  14433. then :
  14434. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  14435. else $as_nop
  14436. ac_cv_lib_OpenCL_clGetPlatformInfo=no
  14437. fi
  14438. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14439. conftest$ac_exeext conftest.$ac_ext
  14440. LIBS=$ac_check_lib_save_LIBS
  14441. fi
  14442. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
  14443. printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
  14444. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
  14445. then :
  14446. OPENCL_LIBS="-lOpenCL"
  14447. fi
  14448. fi
  14449. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
  14450. then :
  14451. case "x$with_opencl" in
  14452. x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
  14453. xno) ;;
  14454. *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
  14455. This is an error since --with-opencl was requested." "$LINENO" 5 ;;
  14456. esac
  14457. enable_opencl=${enable_opencl:-no}
  14458. fi
  14459. if test "$ac_cv_header_pcap_pcap_h" = "yes"
  14460. then
  14461. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
  14462. printf %s "checking for pcap_create in -lpcap... " >&6; }
  14463. if test ${ac_cv_lib_pcap_pcap_create+y}
  14464. then :
  14465. printf %s "(cached) " >&6
  14466. else $as_nop
  14467. ac_check_lib_save_LIBS=$LIBS
  14468. LIBS="-lpcap $LIBS"
  14469. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14470. /* end confdefs.h. */
  14471. /* Override any GCC internal prototype to avoid an error.
  14472. Use char because int might match the return type of a GCC
  14473. builtin and then its argument prototype would still apply. */
  14474. char pcap_create ();
  14475. int
  14476. main (void)
  14477. {
  14478. return pcap_create ();
  14479. ;
  14480. return 0;
  14481. }
  14482. _ACEOF
  14483. if ac_fn_c_try_link "$LINENO"
  14484. then :
  14485. ac_cv_lib_pcap_pcap_create=yes
  14486. else $as_nop
  14487. ac_cv_lib_pcap_pcap_create=no
  14488. fi
  14489. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14490. conftest$ac_exeext conftest.$ac_ext
  14491. LIBS=$ac_check_lib_save_LIBS
  14492. fi
  14493. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
  14494. printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
  14495. if test "x$ac_cv_lib_pcap_pcap_create" = xyes
  14496. then :
  14497. PCAP_LIBS="-lpcap"
  14498. fi
  14499. fi
  14500. if test "x$ac_cv_lib_pcap_pcap_create" != xyes
  14501. then :
  14502. case "x$with_pcap" in
  14503. x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
  14504. xno) ;;
  14505. *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
  14506. This is an error since --with-pcap was requested." "$LINENO" 5 ;;
  14507. esac
  14508. enable_wpcap=${enable_wpcap:-no}
  14509. fi
  14510. if test "x$with_inotify" != "xno"
  14511. then
  14512. if ${INOTIFY_CFLAGS:+false} :
  14513. then :
  14514. if test ${PKG_CONFIG+y}
  14515. then :
  14516. INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
  14517. fi
  14518. fi
  14519. if ${INOTIFY_LIBS:+false} :
  14520. then :
  14521. if test ${PKG_CONFIG+y}
  14522. then :
  14523. INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
  14524. fi
  14525. fi
  14526. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
  14527. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
  14528. ac_save_CPPFLAGS=$CPPFLAGS
  14529. CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
  14530. ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
  14531. if test "x$ac_cv_header_sys_inotify_h" = xyes
  14532. then :
  14533. printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
  14534. fi
  14535. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
  14536. printf %s "checking for inotify_add_watch in -linotify... " >&6; }
  14537. if test ${ac_cv_lib_inotify_inotify_add_watch+y}
  14538. then :
  14539. printf %s "(cached) " >&6
  14540. else $as_nop
  14541. ac_check_lib_save_LIBS=$LIBS
  14542. LIBS="-linotify $INOTIFY_LIBS $LIBS"
  14543. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14544. /* end confdefs.h. */
  14545. /* Override any GCC internal prototype to avoid an error.
  14546. Use char because int might match the return type of a GCC
  14547. builtin and then its argument prototype would still apply. */
  14548. char inotify_add_watch ();
  14549. int
  14550. main (void)
  14551. {
  14552. return inotify_add_watch ();
  14553. ;
  14554. return 0;
  14555. }
  14556. _ACEOF
  14557. if ac_fn_c_try_link "$LINENO"
  14558. then :
  14559. ac_cv_lib_inotify_inotify_add_watch=yes
  14560. else $as_nop
  14561. ac_cv_lib_inotify_inotify_add_watch=no
  14562. fi
  14563. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14564. conftest$ac_exeext conftest.$ac_ext
  14565. LIBS=$ac_check_lib_save_LIBS
  14566. fi
  14567. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
  14568. printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
  14569. if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
  14570. then :
  14571. :
  14572. else $as_nop
  14573. INOTIFY_LIBS=""
  14574. fi
  14575. CPPFLAGS=$ac_save_CPPFLAGS
  14576. fi
  14577. if test "$ac_cv_header_sys_inotify_h" != "yes"
  14578. then :
  14579. case "x$with_inotify" in
  14580. x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
  14581. xno) ;;
  14582. *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
  14583. This is an error since --with-inotify was requested." "$LINENO" 5 ;;
  14584. esac
  14585. fi
  14586. if test "x$with_dbus" != "xno"
  14587. then
  14588. if ${DBUS_CFLAGS:+false} :
  14589. then :
  14590. if test ${PKG_CONFIG+y}
  14591. then :
  14592. DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
  14593. fi
  14594. fi
  14595. if ${DBUS_LIBS:+false} :
  14596. then :
  14597. if test ${PKG_CONFIG+y}
  14598. then :
  14599. DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
  14600. fi
  14601. fi
  14602. printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
  14603. printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
  14604. ac_save_CPPFLAGS=$CPPFLAGS
  14605. CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
  14606. ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
  14607. if test "x$ac_cv_header_dbus_dbus_h" = xyes
  14608. then :
  14609. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
  14610. printf %s "checking for -ldbus-1... " >&6; }
  14611. if test ${ac_cv_lib_soname_dbus_1+y}
  14612. then :
  14613. printf %s "(cached) " >&6
  14614. else $as_nop
  14615. ac_check_soname_save_LIBS=$LIBS
  14616. LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
  14617. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14618. /* end confdefs.h. */
  14619. /* Override any GCC internal prototype to avoid an error.
  14620. Use char because int might match the return type of a GCC
  14621. builtin and then its argument prototype would still apply. */
  14622. char dbus_connection_close ();
  14623. int
  14624. main (void)
  14625. {
  14626. return dbus_connection_close ();
  14627. ;
  14628. return 0;
  14629. }
  14630. _ACEOF
  14631. if ac_fn_c_try_link "$LINENO"
  14632. then :
  14633. case "$LIBEXT" in
  14634. dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14635. 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'` ;;
  14636. *) 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'`
  14637. if ${ac_cv_lib_soname_dbus_1:+false} :
  14638. then :
  14639. ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14640. fi ;;
  14641. esac
  14642. else $as_nop
  14643. ac_cv_lib_soname_dbus_1=
  14644. fi
  14645. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14646. conftest$ac_exeext conftest.$ac_ext
  14647. LIBS=$ac_check_soname_save_LIBS
  14648. fi
  14649. if ${ac_cv_lib_soname_dbus_1:+false} :
  14650. then :
  14651. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14652. printf "%s\n" "not found" >&6; }
  14653. DBUS_CFLAGS=""
  14654. else $as_nop
  14655. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
  14656. printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
  14657. printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
  14658. fi
  14659. else $as_nop
  14660. DBUS_CFLAGS=""
  14661. fi
  14662. CPPFLAGS=$ac_save_CPPFLAGS
  14663. fi
  14664. if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
  14665. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
  14666. then :
  14667. case "x$with_dbus" in
  14668. x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
  14669. xno) ;;
  14670. *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
  14671. This is an error since --with-dbus was requested." "$LINENO" 5 ;;
  14672. esac
  14673. fi
  14674. if test "x$with_gnutls" != "xno"
  14675. then
  14676. if ${GNUTLS_CFLAGS:+false} :
  14677. then :
  14678. if test ${PKG_CONFIG+y}
  14679. then :
  14680. GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
  14681. fi
  14682. fi
  14683. if ${GNUTLS_LIBS:+false} :
  14684. then :
  14685. if test ${PKG_CONFIG+y}
  14686. then :
  14687. GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
  14688. fi
  14689. fi
  14690. GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
  14691. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
  14692. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
  14693. ac_save_CPPFLAGS=$CPPFLAGS
  14694. CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
  14695. ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
  14696. if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
  14697. then :
  14698. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14699. /* end confdefs.h. */
  14700. #include <gnutls/gnutls.h>
  14701. #include <gnutls/crypto.h>
  14702. int
  14703. main (void)
  14704. {
  14705. static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
  14706. ;
  14707. return 0;
  14708. }
  14709. _ACEOF
  14710. if ac_fn_c_try_compile "$LINENO"
  14711. then :
  14712. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
  14713. printf %s "checking for -lgnutls... " >&6; }
  14714. if test ${ac_cv_lib_soname_gnutls+y}
  14715. then :
  14716. printf %s "(cached) " >&6
  14717. else $as_nop
  14718. ac_check_soname_save_LIBS=$LIBS
  14719. LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
  14720. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14721. /* end confdefs.h. */
  14722. /* Override any GCC internal prototype to avoid an error.
  14723. Use char because int might match the return type of a GCC
  14724. builtin and then its argument prototype would still apply. */
  14725. char gnutls_global_init ();
  14726. int
  14727. main (void)
  14728. {
  14729. return gnutls_global_init ();
  14730. ;
  14731. return 0;
  14732. }
  14733. _ACEOF
  14734. if ac_fn_c_try_link "$LINENO"
  14735. then :
  14736. case "$LIBEXT" in
  14737. dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14738. 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'` ;;
  14739. *) 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'`
  14740. if ${ac_cv_lib_soname_gnutls:+false} :
  14741. then :
  14742. 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'`
  14743. fi ;;
  14744. esac
  14745. else $as_nop
  14746. ac_cv_lib_soname_gnutls=
  14747. fi
  14748. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14749. conftest$ac_exeext conftest.$ac_ext
  14750. LIBS=$ac_check_soname_save_LIBS
  14751. fi
  14752. if ${ac_cv_lib_soname_gnutls:+false} :
  14753. then :
  14754. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14755. printf "%s\n" "not found" >&6; }
  14756. GNUTLS_CFLAGS=""
  14757. else $as_nop
  14758. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
  14759. printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
  14760. printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
  14761. fi
  14762. ac_wine_check_funcs_save_LIBS="$LIBS"
  14763. LIBS="$LIBS $GNUTLS_LIBS"
  14764. for ac_func in gnutls_cipher_init
  14765. do :
  14766. ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
  14767. if test "x$ac_cv_func_gnutls_cipher_init" = xyes
  14768. then :
  14769. printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
  14770. else $as_nop
  14771. as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
  14772. fi
  14773. done
  14774. LIBS="$ac_wine_check_funcs_save_LIBS"
  14775. fi
  14776. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14777. else $as_nop
  14778. GNUTLS_CFLAGS=""
  14779. fi
  14780. CPPFLAGS=$ac_save_CPPFLAGS
  14781. fi
  14782. if test "x$ac_cv_lib_soname_gnutls" = "x"
  14783. then :
  14784. case "x$with_gnutls" in
  14785. x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
  14786. xno) ;;
  14787. *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
  14788. This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
  14789. esac
  14790. fi
  14791. if test "x$with_sane" != "xno"
  14792. then
  14793. if ${SANE_CFLAGS:+false} :
  14794. then :
  14795. if test ${PKG_CONFIG+y}
  14796. then :
  14797. SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
  14798. fi
  14799. fi
  14800. test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
  14801. if ${SANE_LIBS:+false} :
  14802. then :
  14803. if test ${PKG_CONFIG+y}
  14804. then :
  14805. SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
  14806. fi
  14807. fi
  14808. test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
  14809. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
  14810. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
  14811. ac_save_CPPFLAGS=$CPPFLAGS
  14812. CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
  14813. ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
  14814. if test "x$ac_cv_header_sane_sane_h" = xyes
  14815. then :
  14816. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
  14817. printf %s "checking for sane_init in -lsane... " >&6; }
  14818. if test ${ac_cv_lib_sane_sane_init+y}
  14819. then :
  14820. printf %s "(cached) " >&6
  14821. else $as_nop
  14822. ac_check_lib_save_LIBS=$LIBS
  14823. LIBS="-lsane $SANE_LIBS $LIBS"
  14824. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14825. /* end confdefs.h. */
  14826. /* Override any GCC internal prototype to avoid an error.
  14827. Use char because int might match the return type of a GCC
  14828. builtin and then its argument prototype would still apply. */
  14829. char sane_init ();
  14830. int
  14831. main (void)
  14832. {
  14833. return sane_init ();
  14834. ;
  14835. return 0;
  14836. }
  14837. _ACEOF
  14838. if ac_fn_c_try_link "$LINENO"
  14839. then :
  14840. ac_cv_lib_sane_sane_init=yes
  14841. else $as_nop
  14842. ac_cv_lib_sane_sane_init=no
  14843. fi
  14844. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14845. conftest$ac_exeext conftest.$ac_ext
  14846. LIBS=$ac_check_lib_save_LIBS
  14847. fi
  14848. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
  14849. printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
  14850. if test "x$ac_cv_lib_sane_sane_init" = xyes
  14851. then :
  14852. :
  14853. fi
  14854. fi
  14855. CPPFLAGS=$ac_save_CPPFLAGS
  14856. fi
  14857. if test "$ac_cv_lib_sane_sane_init" != "yes"
  14858. then :
  14859. case "x$with_sane" in
  14860. x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
  14861. xno) ;;
  14862. *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
  14863. This is an error since --with-sane was requested." "$LINENO" 5 ;;
  14864. esac
  14865. enable_sane_ds=${enable_sane_ds:-no}
  14866. fi
  14867. if test "x$with_usb" != "xno"
  14868. then
  14869. if ${USB_CFLAGS:+false} :
  14870. then :
  14871. if test ${PKG_CONFIG+y}
  14872. then :
  14873. USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
  14874. fi
  14875. fi
  14876. if ${USB_LIBS:+false} :
  14877. then :
  14878. if test ${PKG_CONFIG+y}
  14879. then :
  14880. USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
  14881. fi
  14882. fi
  14883. USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
  14884. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
  14885. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
  14886. ac_save_CPPFLAGS=$CPPFLAGS
  14887. CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
  14888. ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
  14889. if test "x$ac_cv_header_libusb_h" = xyes
  14890. then :
  14891. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
  14892. printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
  14893. if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
  14894. then :
  14895. printf %s "(cached) " >&6
  14896. else $as_nop
  14897. ac_check_lib_save_LIBS=$LIBS
  14898. LIBS="-lusb-1.0 $USB_LIBS $LIBS"
  14899. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14900. /* end confdefs.h. */
  14901. /* Override any GCC internal prototype to avoid an error.
  14902. Use char because int might match the return type of a GCC
  14903. builtin and then its argument prototype would still apply. */
  14904. char libusb_interrupt_event_handler ();
  14905. int
  14906. main (void)
  14907. {
  14908. return libusb_interrupt_event_handler ();
  14909. ;
  14910. return 0;
  14911. }
  14912. _ACEOF
  14913. if ac_fn_c_try_link "$LINENO"
  14914. then :
  14915. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
  14916. else $as_nop
  14917. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
  14918. fi
  14919. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14920. conftest$ac_exeext conftest.$ac_ext
  14921. LIBS=$ac_check_lib_save_LIBS
  14922. fi
  14923. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
  14924. printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
  14925. if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
  14926. then :
  14927. :
  14928. else $as_nop
  14929. USB_LIBS=""
  14930. fi
  14931. else $as_nop
  14932. USB_LIBS=""
  14933. fi
  14934. CPPFLAGS=$ac_save_CPPFLAGS
  14935. fi
  14936. if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
  14937. then :
  14938. case "x$with_usb" in
  14939. x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
  14940. xno) ;;
  14941. *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
  14942. This is an error since --with-usb was requested." "$LINENO" 5 ;;
  14943. esac
  14944. enable_wineusb_sys=${enable_wineusb_sys:-no}
  14945. fi
  14946. if test "x$with_v4l2" != "xno"
  14947. then
  14948. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
  14949. printf %s "checking for -lv4l2... " >&6; }
  14950. if test ${ac_cv_lib_soname_v4l2+y}
  14951. then :
  14952. printf %s "(cached) " >&6
  14953. else $as_nop
  14954. ac_check_soname_save_LIBS=$LIBS
  14955. LIBS="-lv4l2 $LIBS"
  14956. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14957. /* end confdefs.h. */
  14958. /* Override any GCC internal prototype to avoid an error.
  14959. Use char because int might match the return type of a GCC
  14960. builtin and then its argument prototype would still apply. */
  14961. char v4l2_open ();
  14962. int
  14963. main (void)
  14964. {
  14965. return v4l2_open ();
  14966. ;
  14967. return 0;
  14968. }
  14969. _ACEOF
  14970. if ac_fn_c_try_link "$LINENO"
  14971. then :
  14972. case "$LIBEXT" in
  14973. dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14974. 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'` ;;
  14975. *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14976. if ${ac_cv_lib_soname_v4l2:+false} :
  14977. then :
  14978. ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14979. fi ;;
  14980. esac
  14981. else $as_nop
  14982. ac_cv_lib_soname_v4l2=
  14983. fi
  14984. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14985. conftest$ac_exeext conftest.$ac_ext
  14986. LIBS=$ac_check_soname_save_LIBS
  14987. fi
  14988. if ${ac_cv_lib_soname_v4l2:+false} :
  14989. then :
  14990. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14991. printf "%s\n" "not found" >&6; }
  14992. else $as_nop
  14993. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
  14994. printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
  14995. printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
  14996. fi
  14997. fi
  14998. if test "x$ac_cv_lib_soname_v4l2" = "x"
  14999. then :
  15000. case "x$with_v4l2" in
  15001. x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
  15002. xno) ;;
  15003. *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
  15004. This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
  15005. esac
  15006. fi
  15007. if test "x$with_gphoto" != "xno"
  15008. then
  15009. if ${GPHOTO2_CFLAGS:+false} :
  15010. then :
  15011. if test ${PKG_CONFIG+y}
  15012. then :
  15013. GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
  15014. fi
  15015. fi
  15016. test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
  15017. if ${GPHOTO2_LIBS:+false} :
  15018. then :
  15019. if test ${PKG_CONFIG+y}
  15020. then :
  15021. GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
  15022. fi
  15023. fi
  15024. test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
  15025. GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
  15026. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
  15027. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
  15028. ac_save_CPPFLAGS=$CPPFLAGS
  15029. CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
  15030. ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
  15031. if test "x$ac_cv_header_gphoto2_camera_h" = xyes
  15032. then :
  15033. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
  15034. printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
  15035. if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
  15036. then :
  15037. printf %s "(cached) " >&6
  15038. else $as_nop
  15039. ac_check_lib_save_LIBS=$LIBS
  15040. LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
  15041. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15042. /* end confdefs.h. */
  15043. /* Override any GCC internal prototype to avoid an error.
  15044. Use char because int might match the return type of a GCC
  15045. builtin and then its argument prototype would still apply. */
  15046. char gp_camera_new ();
  15047. int
  15048. main (void)
  15049. {
  15050. return gp_camera_new ();
  15051. ;
  15052. return 0;
  15053. }
  15054. _ACEOF
  15055. if ac_fn_c_try_link "$LINENO"
  15056. then :
  15057. ac_cv_lib_gphoto2_gp_camera_new=yes
  15058. else $as_nop
  15059. ac_cv_lib_gphoto2_gp_camera_new=no
  15060. fi
  15061. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15062. conftest$ac_exeext conftest.$ac_ext
  15063. LIBS=$ac_check_lib_save_LIBS
  15064. fi
  15065. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
  15066. printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
  15067. if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
  15068. then :
  15069. :
  15070. fi
  15071. fi
  15072. CPPFLAGS=$ac_save_CPPFLAGS
  15073. if ${GPHOTO2_PORT_CFLAGS:+false} :
  15074. then :
  15075. if test ${PKG_CONFIG+y}
  15076. then :
  15077. GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
  15078. fi
  15079. fi
  15080. test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
  15081. if ${GPHOTO2_PORT_LIBS:+false} :
  15082. then :
  15083. if test ${PKG_CONFIG+y}
  15084. then :
  15085. GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
  15086. fi
  15087. fi
  15088. test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
  15089. GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
  15090. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
  15091. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
  15092. ac_save_CPPFLAGS=$CPPFLAGS
  15093. CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
  15094. ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
  15095. if test "x$ac_cv_header_gphoto2_port_h" = xyes
  15096. then :
  15097. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
  15098. printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
  15099. if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
  15100. then :
  15101. printf %s "(cached) " >&6
  15102. else $as_nop
  15103. ac_check_lib_save_LIBS=$LIBS
  15104. LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
  15105. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15106. /* end confdefs.h. */
  15107. /* Override any GCC internal prototype to avoid an error.
  15108. Use char because int might match the return type of a GCC
  15109. builtin and then its argument prototype would still apply. */
  15110. char gp_port_info_list_new ();
  15111. int
  15112. main (void)
  15113. {
  15114. return gp_port_info_list_new ();
  15115. ;
  15116. return 0;
  15117. }
  15118. _ACEOF
  15119. if ac_fn_c_try_link "$LINENO"
  15120. then :
  15121. ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
  15122. else $as_nop
  15123. ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
  15124. fi
  15125. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15126. conftest$ac_exeext conftest.$ac_ext
  15127. LIBS=$ac_check_lib_save_LIBS
  15128. fi
  15129. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
  15130. printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
  15131. if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
  15132. then :
  15133. printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
  15134. else $as_nop
  15135. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  15136. fi
  15137. else $as_nop
  15138. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  15139. fi
  15140. CPPFLAGS=$ac_save_CPPFLAGS
  15141. fi
  15142. if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
  15143. then :
  15144. case "x$with_gphoto" in
  15145. x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
  15146. xno) ;;
  15147. *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
  15148. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  15149. esac
  15150. enable_gphoto2_ds=${enable_gphoto2_ds:-no}
  15151. fi
  15152. if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
  15153. then :
  15154. case "x$with_gphoto" in
  15155. x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
  15156. xno) ;;
  15157. *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
  15158. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  15159. esac
  15160. fi
  15161. if test "$ac_cv_header_resolv_h" = "yes"
  15162. then
  15163. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
  15164. printf %s "checking for resolver library... " >&6; }
  15165. if test ${ac_cv_have_resolv+y}
  15166. then :
  15167. printf %s "(cached) " >&6
  15168. else $as_nop
  15169. ac_save_LIBS="$LIBS"
  15170. for lib in '' -lresolv
  15171. do
  15172. LIBS="$lib $ac_save_LIBS"
  15173. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15174. /* end confdefs.h. */
  15175. #ifdef HAVE_NETINET_IN_H
  15176. #include <netinet/in.h>
  15177. #endif
  15178. #include <resolv.h>
  15179. int
  15180. main (void)
  15181. {
  15182. if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
  15183. ;
  15184. return 0;
  15185. }
  15186. _ACEOF
  15187. if ac_fn_c_try_link "$LINENO"
  15188. then :
  15189. ac_cv_have_resolv=${lib:-"none required"}
  15190. else $as_nop
  15191. ac_cv_have_resolv="not found"
  15192. fi
  15193. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15194. conftest$ac_exeext conftest.$ac_ext
  15195. test "x$ac_cv_have_resolv" = "xnot found" || break
  15196. done
  15197. LIBS="$ac_save_LIBS"
  15198. fi
  15199. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
  15200. printf "%s\n" "$ac_cv_have_resolv" >&6; }
  15201. case "$ac_cv_have_resolv" in
  15202. "not found") ;;
  15203. "none required")
  15204. printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
  15205. ;;
  15206. *)
  15207. printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
  15208. RESOLV_LIBS=$ac_cv_have_resolv
  15209. ;;
  15210. esac
  15211. if test "x$ac_cv_have_resolv" != "xnot found"
  15212. then
  15213. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
  15214. printf %s "checking for res_getservers... " >&6; }
  15215. if test ${ac_cv_have_res_getservers+y}
  15216. then :
  15217. printf %s "(cached) " >&6
  15218. else $as_nop
  15219. ac_save_LIBS="$LIBS"
  15220. LIBS="$RESOLV_LIBS $LIBS"
  15221. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15222. /* end confdefs.h. */
  15223. #include <resolv.h>
  15224. int
  15225. main (void)
  15226. {
  15227. res_getservers(NULL, NULL, 0);
  15228. ;
  15229. return 0;
  15230. }
  15231. _ACEOF
  15232. if ac_fn_c_try_link "$LINENO"
  15233. then :
  15234. ac_cv_have_res_getservers=yes
  15235. else $as_nop
  15236. ac_cv_have_res_getservers=no
  15237. fi
  15238. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15239. conftest$ac_exeext conftest.$ac_ext
  15240. LIBS="$ac_save_LIBS"
  15241. fi
  15242. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
  15243. printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
  15244. if test "$ac_cv_have_res_getservers" = "yes"
  15245. then
  15246. printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
  15247. fi
  15248. fi
  15249. fi
  15250. if test "x$with_freetype" != "xno"
  15251. then
  15252. if ${FREETYPE_CFLAGS:+false} :
  15253. then :
  15254. if test ${PKG_CONFIG+y}
  15255. then :
  15256. FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
  15257. fi
  15258. fi
  15259. test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
  15260. if ${FREETYPE_LIBS:+false} :
  15261. then :
  15262. if test ${PKG_CONFIG+y}
  15263. then :
  15264. FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
  15265. fi
  15266. fi
  15267. test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
  15268. FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
  15269. printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
  15270. printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
  15271. ac_save_CPPFLAGS=$CPPFLAGS
  15272. CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
  15273. ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
  15274. if test "x$ac_cv_header_ft2build_h" = xyes
  15275. then :
  15276. printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
  15277. fi
  15278. if test "$ac_cv_header_ft2build_h" = "yes"
  15279. then
  15280. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
  15281. printf %s "checking for -lfreetype... " >&6; }
  15282. if test ${ac_cv_lib_soname_freetype+y}
  15283. then :
  15284. printf %s "(cached) " >&6
  15285. else $as_nop
  15286. ac_check_soname_save_LIBS=$LIBS
  15287. LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
  15288. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15289. /* end confdefs.h. */
  15290. /* Override any GCC internal prototype to avoid an error.
  15291. Use char because int might match the return type of a GCC
  15292. builtin and then its argument prototype would still apply. */
  15293. char FT_Init_FreeType ();
  15294. int
  15295. main (void)
  15296. {
  15297. return FT_Init_FreeType ();
  15298. ;
  15299. return 0;
  15300. }
  15301. _ACEOF
  15302. if ac_fn_c_try_link "$LINENO"
  15303. then :
  15304. case "$LIBEXT" in
  15305. dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15306. 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'` ;;
  15307. *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15308. if ${ac_cv_lib_soname_freetype:+false} :
  15309. then :
  15310. ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15311. fi ;;
  15312. esac
  15313. else $as_nop
  15314. ac_cv_lib_soname_freetype=
  15315. fi
  15316. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15317. conftest$ac_exeext conftest.$ac_ext
  15318. LIBS=$ac_check_soname_save_LIBS
  15319. fi
  15320. if ${ac_cv_lib_soname_freetype:+false} :
  15321. then :
  15322. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15323. printf "%s\n" "not found" >&6; }
  15324. FREETYPE_LIBS=""
  15325. else $as_nop
  15326. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
  15327. printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
  15328. printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
  15329. printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
  15330. ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
  15331. #include FT_MODULE_H
  15332. "
  15333. if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
  15334. then :
  15335. printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
  15336. fi
  15337. fi
  15338. else
  15339. FREETYPE_CFLAGS=""
  15340. FREETYPE_LIBS=""
  15341. fi
  15342. CPPFLAGS=$ac_save_CPPFLAGS
  15343. fi
  15344. if test "x$ac_cv_lib_soname_freetype" = x
  15345. then :
  15346. case "x$with_freetype" in
  15347. xno) ;;
  15348. *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
  15349. Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
  15350. esac
  15351. enable_fonts=${enable_fonts:-no}
  15352. fi
  15353. ac_wine_check_funcs_save_LIBS="$LIBS"
  15354. LIBS="$LIBS $PTHREAD_LIBS"
  15355. ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
  15356. if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
  15357. then :
  15358. printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
  15359. fi
  15360. LIBS="$ac_wine_check_funcs_save_LIBS"
  15361. if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
  15362. then
  15363. if test "$ac_cv_header_gettext_po_h" = "yes"
  15364. then
  15365. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
  15366. printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
  15367. if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
  15368. then :
  15369. printf %s "(cached) " >&6
  15370. else $as_nop
  15371. ac_check_lib_save_LIBS=$LIBS
  15372. LIBS="-lgettextpo $LIBS"
  15373. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15374. /* end confdefs.h. */
  15375. /* Override any GCC internal prototype to avoid an error.
  15376. Use char because int might match the return type of a GCC
  15377. builtin and then its argument prototype would still apply. */
  15378. char po_message_msgctxt ();
  15379. int
  15380. main (void)
  15381. {
  15382. return po_message_msgctxt ();
  15383. ;
  15384. return 0;
  15385. }
  15386. _ACEOF
  15387. if ac_fn_c_try_link "$LINENO"
  15388. then :
  15389. ac_cv_lib_gettextpo_po_message_msgctxt=yes
  15390. else $as_nop
  15391. ac_cv_lib_gettextpo_po_message_msgctxt=no
  15392. fi
  15393. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15394. conftest$ac_exeext conftest.$ac_ext
  15395. LIBS=$ac_check_lib_save_LIBS
  15396. fi
  15397. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
  15398. printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
  15399. if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
  15400. then :
  15401. printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
  15402. GETTEXTPO_LIBS="-lgettextpo"
  15403. fi
  15404. fi
  15405. if test "x$GETTEXTPO_LIBS" = "x"
  15406. then :
  15407. case "x$with_gettextpo" in
  15408. x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
  15409. xno) ;;
  15410. *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
  15411. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  15412. esac
  15413. fi
  15414. if test "$srcdir" != .
  15415. then :
  15416. case "x$with_gettextpo" in
  15417. x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
  15418. xno) ;;
  15419. *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
  15420. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  15421. esac
  15422. fi
  15423. fi
  15424. if test "x$with_pulse" != "xno";
  15425. then
  15426. if ${PULSE_CFLAGS:+false} :
  15427. then :
  15428. if test ${PKG_CONFIG+y}
  15429. then :
  15430. PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
  15431. fi
  15432. fi
  15433. if ${PULSE_LIBS:+false} :
  15434. then :
  15435. if test ${PKG_CONFIG+y}
  15436. then :
  15437. PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
  15438. fi
  15439. fi
  15440. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
  15441. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
  15442. ac_save_CPPFLAGS=$CPPFLAGS
  15443. CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
  15444. for ac_header in pulse/pulseaudio.h
  15445. do :
  15446. ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
  15447. if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
  15448. then :
  15449. printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
  15450. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
  15451. printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
  15452. if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
  15453. then :
  15454. printf %s "(cached) " >&6
  15455. else $as_nop
  15456. ac_check_lib_save_LIBS=$LIBS
  15457. LIBS="-lpulse $PULSE_LIBS $LIBS"
  15458. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15459. /* end confdefs.h. */
  15460. /* Override any GCC internal prototype to avoid an error.
  15461. Use char because int might match the return type of a GCC
  15462. builtin and then its argument prototype would still apply. */
  15463. char pa_stream_is_corked ();
  15464. int
  15465. main (void)
  15466. {
  15467. return pa_stream_is_corked ();
  15468. ;
  15469. return 0;
  15470. }
  15471. _ACEOF
  15472. if ac_fn_c_try_link "$LINENO"
  15473. then :
  15474. ac_cv_lib_pulse_pa_stream_is_corked=yes
  15475. else $as_nop
  15476. ac_cv_lib_pulse_pa_stream_is_corked=no
  15477. fi
  15478. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15479. conftest$ac_exeext conftest.$ac_ext
  15480. LIBS=$ac_check_lib_save_LIBS
  15481. fi
  15482. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
  15483. printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
  15484. if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
  15485. then :
  15486. :
  15487. else $as_nop
  15488. PULSE_LIBS=""
  15489. fi
  15490. else $as_nop
  15491. PULSE_LIBS=""
  15492. fi
  15493. done
  15494. CPPFLAGS=$ac_save_CPPFLAGS
  15495. fi
  15496. if test -z "$PULSE_LIBS"
  15497. then :
  15498. case "x$with_pulse" in
  15499. x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
  15500. xno) ;;
  15501. *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
  15502. This is an error since --with-pulse was requested." "$LINENO" 5 ;;
  15503. esac
  15504. enable_winepulse_drv=${enable_winepulse_drv:-no}
  15505. fi
  15506. if test "x$with_gstreamer" != "xno"
  15507. then
  15508. if ${GSTREAMER_CFLAGS:+false} :
  15509. then :
  15510. if test ${PKG_CONFIG+y}
  15511. then :
  15512. GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  15513. fi
  15514. fi
  15515. if ${GSTREAMER_LIBS:+false} :
  15516. then :
  15517. if test ${PKG_CONFIG+y}
  15518. then :
  15519. GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  15520. fi
  15521. fi
  15522. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
  15523. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
  15524. ac_save_CPPFLAGS=$CPPFLAGS
  15525. CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
  15526. ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
  15527. if test "x$ac_cv_header_gst_gst_h" = xyes
  15528. then :
  15529. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
  15530. printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
  15531. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15532. /* end confdefs.h. */
  15533. #include <gst/gst.h>
  15534. int
  15535. main (void)
  15536. {
  15537. static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
  15538. ;
  15539. return 0;
  15540. }
  15541. _ACEOF
  15542. if ac_fn_c_try_compile "$LINENO"
  15543. then :
  15544. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15545. printf "%s\n" "yes" >&6; }
  15546. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
  15547. printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
  15548. if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
  15549. then :
  15550. printf %s "(cached) " >&6
  15551. else $as_nop
  15552. ac_check_lib_save_LIBS=$LIBS
  15553. LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
  15554. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15555. /* end confdefs.h. */
  15556. /* Override any GCC internal prototype to avoid an error.
  15557. Use char because int might match the return type of a GCC
  15558. builtin and then its argument prototype would still apply. */
  15559. char gst_pad_new ();
  15560. int
  15561. main (void)
  15562. {
  15563. return gst_pad_new ();
  15564. ;
  15565. return 0;
  15566. }
  15567. _ACEOF
  15568. if ac_fn_c_try_link "$LINENO"
  15569. then :
  15570. ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
  15571. else $as_nop
  15572. ac_cv_lib_gstreamer_1_0_gst_pad_new=no
  15573. fi
  15574. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15575. conftest$ac_exeext conftest.$ac_ext
  15576. LIBS=$ac_check_lib_save_LIBS
  15577. fi
  15578. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
  15579. printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
  15580. if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
  15581. then :
  15582. :
  15583. fi
  15584. else $as_nop
  15585. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15586. printf "%s\n" "no" >&6; }
  15587. ac_glib2_broken=yes
  15588. as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
  15589. fi
  15590. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  15591. fi
  15592. CPPFLAGS=$ac_save_CPPFLAGS
  15593. fi
  15594. if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
  15595. then :
  15596. case "x$with_gstreamer" in
  15597. x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
  15598. xno) ;;
  15599. *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
  15600. This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
  15601. esac
  15602. enable_winegstreamer=${enable_winegstreamer:-no}
  15603. fi
  15604. ALSA_LIBS=""
  15605. if test "x$with_alsa" != "xno"
  15606. then
  15607. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
  15608. printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
  15609. if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
  15610. then :
  15611. printf %s "(cached) " >&6
  15612. else $as_nop
  15613. ac_check_lib_save_LIBS=$LIBS
  15614. LIBS="-lasound $LIBS"
  15615. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15616. /* end confdefs.h. */
  15617. /* Override any GCC internal prototype to avoid an error.
  15618. Use char because int might match the return type of a GCC
  15619. builtin and then its argument prototype would still apply. */
  15620. char snd_pcm_hw_params_get_access_mask ();
  15621. int
  15622. main (void)
  15623. {
  15624. return snd_pcm_hw_params_get_access_mask ();
  15625. ;
  15626. return 0;
  15627. }
  15628. _ACEOF
  15629. if ac_fn_c_try_link "$LINENO"
  15630. then :
  15631. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
  15632. else $as_nop
  15633. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
  15634. fi
  15635. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15636. conftest$ac_exeext conftest.$ac_ext
  15637. LIBS=$ac_check_lib_save_LIBS
  15638. fi
  15639. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
  15640. printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
  15641. if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
  15642. then :
  15643. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15644. /* end confdefs.h. */
  15645. #include <alsa/asoundlib.h>
  15646. int
  15647. main (void)
  15648. {
  15649. snd_pcm_hw_params_get_access_mask(NULL, NULL)
  15650. ;
  15651. return 0;
  15652. }
  15653. _ACEOF
  15654. if ac_fn_c_try_compile "$LINENO"
  15655. then :
  15656. ALSA_LIBS="-lasound"
  15657. fi
  15658. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  15659. fi
  15660. fi
  15661. test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
  15662. if test "x$with_oss" != xno
  15663. then
  15664. ac_save_CPPFLAGS="$CPPFLAGS"
  15665. if test -f /etc/oss.conf
  15666. then
  15667. . /etc/oss.conf
  15668. fi
  15669. ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
  15670. CPPFLAGS="$CPPFLAGS $ac_oss_incl"
  15671. ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
  15672. if test "x$ac_cv_header_sys_soundcard_h" = xyes
  15673. then :
  15674. ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
  15675. "
  15676. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
  15677. then :
  15678. printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
  15679. OSS4_CFLAGS="$ac_oss_incl"
  15680. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
  15681. printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
  15682. if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
  15683. then :
  15684. printf %s "(cached) " >&6
  15685. else $as_nop
  15686. ac_check_lib_save_LIBS=$LIBS
  15687. LIBS="-lossaudio $LIBS"
  15688. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15689. /* end confdefs.h. */
  15690. /* Override any GCC internal prototype to avoid an error.
  15691. Use char because int might match the return type of a GCC
  15692. builtin and then its argument prototype would still apply. */
  15693. char _oss_ioctl ();
  15694. int
  15695. main (void)
  15696. {
  15697. return _oss_ioctl ();
  15698. ;
  15699. return 0;
  15700. }
  15701. _ACEOF
  15702. if ac_fn_c_try_link "$LINENO"
  15703. then :
  15704. ac_cv_lib_ossaudio__oss_ioctl=yes
  15705. else $as_nop
  15706. ac_cv_lib_ossaudio__oss_ioctl=no
  15707. fi
  15708. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15709. conftest$ac_exeext conftest.$ac_ext
  15710. LIBS=$ac_check_lib_save_LIBS
  15711. fi
  15712. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  15713. printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
  15714. if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
  15715. then :
  15716. OSS4_LIBS="-lossaudio"
  15717. fi
  15718. fi
  15719. fi
  15720. CPPFLAGS="$ac_save_CPPFLAGS"
  15721. fi
  15722. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
  15723. then :
  15724. case "x$with_oss" in
  15725. x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
  15726. xno) ;;
  15727. *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
  15728. This is an error since --with-oss was requested." "$LINENO" 5 ;;
  15729. esac
  15730. enable_wineoss_drv=${enable_wineoss_drv:-no}
  15731. fi
  15732. if test "x$with_udev" != "xno"
  15733. then
  15734. if ${UDEV_CFLAGS:+false} :
  15735. then :
  15736. if test ${PKG_CONFIG+y}
  15737. then :
  15738. UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
  15739. fi
  15740. fi
  15741. if ${UDEV_LIBS:+false} :
  15742. then :
  15743. if test ${PKG_CONFIG+y}
  15744. then :
  15745. UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
  15746. fi
  15747. fi
  15748. UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
  15749. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
  15750. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
  15751. ac_save_CPPFLAGS=$CPPFLAGS
  15752. CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
  15753. for ac_header in libudev.h
  15754. do :
  15755. ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
  15756. if test "x$ac_cv_header_libudev_h" = xyes
  15757. then :
  15758. printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
  15759. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
  15760. printf %s "checking for udev_new in -ludev... " >&6; }
  15761. if test ${ac_cv_lib_udev_udev_new+y}
  15762. then :
  15763. printf %s "(cached) " >&6
  15764. else $as_nop
  15765. ac_check_lib_save_LIBS=$LIBS
  15766. LIBS="-ludev $UDEV_LIBS $LIBS"
  15767. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15768. /* end confdefs.h. */
  15769. /* Override any GCC internal prototype to avoid an error.
  15770. Use char because int might match the return type of a GCC
  15771. builtin and then its argument prototype would still apply. */
  15772. char udev_new ();
  15773. int
  15774. main (void)
  15775. {
  15776. return udev_new ();
  15777. ;
  15778. return 0;
  15779. }
  15780. _ACEOF
  15781. if ac_fn_c_try_link "$LINENO"
  15782. then :
  15783. ac_cv_lib_udev_udev_new=yes
  15784. else $as_nop
  15785. ac_cv_lib_udev_udev_new=no
  15786. fi
  15787. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15788. conftest$ac_exeext conftest.$ac_ext
  15789. LIBS=$ac_check_lib_save_LIBS
  15790. fi
  15791. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
  15792. printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
  15793. if test "x$ac_cv_lib_udev_udev_new" = xyes
  15794. then :
  15795. printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
  15796. else $as_nop
  15797. UDEV_LIBS=""
  15798. fi
  15799. else $as_nop
  15800. UDEV_LIBS=""
  15801. fi
  15802. done
  15803. CPPFLAGS=$ac_save_CPPFLAGS
  15804. fi
  15805. if test "x$UDEV_LIBS" = "x"
  15806. then :
  15807. case "x$with_udev" in
  15808. x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
  15809. xno) ;;
  15810. *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
  15811. This is an error since --with-udev was requested." "$LINENO" 5 ;;
  15812. esac
  15813. fi
  15814. if test "x$with_unwind" != xno
  15815. then
  15816. if ${UNWIND_CFLAGS:+false} :
  15817. then :
  15818. if test ${PKG_CONFIG+y}
  15819. then :
  15820. UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
  15821. fi
  15822. fi
  15823. if ${UNWIND_LIBS:+false} :
  15824. then :
  15825. if test ${PKG_CONFIG+y}
  15826. then :
  15827. UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
  15828. fi
  15829. fi
  15830. UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
  15831. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
  15832. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
  15833. ac_save_CPPFLAGS=$CPPFLAGS
  15834. CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
  15835. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
  15836. printf %s "checking for unw_step... " >&6; }
  15837. if test ${wine_cv_have_unw_step+y}
  15838. then :
  15839. printf %s "(cached) " >&6
  15840. else $as_nop
  15841. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15842. /* end confdefs.h. */
  15843. #define UNW_LOCAL_ONLY
  15844. #include <libunwind.h>
  15845. int
  15846. main (void)
  15847. {
  15848. unw_cursor_t cursor; unw_step( &cursor );
  15849. ;
  15850. return 0;
  15851. }
  15852. _ACEOF
  15853. if ac_fn_c_try_link "$LINENO"
  15854. then :
  15855. wine_cv_have_unw_step="yes"
  15856. else $as_nop
  15857. wine_cv_have_unw_step="no"
  15858. fi
  15859. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15860. conftest$ac_exeext conftest.$ac_ext
  15861. fi
  15862. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
  15863. printf "%s\n" "$wine_cv_have_unw_step" >&6; }
  15864. if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
  15865. then
  15866. save_libs=$LIBS
  15867. UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
  15868. LIBS="$UNWIND_LIBS $LIBS"
  15869. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
  15870. printf %s "checking for unw_step in libunwind... " >&6; }
  15871. if test ${wine_cv_have_libunwind_unw_step+y}
  15872. then :
  15873. printf %s "(cached) " >&6
  15874. else $as_nop
  15875. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15876. /* end confdefs.h. */
  15877. #define UNW_LOCAL_ONLY
  15878. #include <libunwind.h>
  15879. int
  15880. main (void)
  15881. {
  15882. unw_cursor_t cursor; unw_step( &cursor );
  15883. ;
  15884. return 0;
  15885. }
  15886. _ACEOF
  15887. if ac_fn_c_try_link "$LINENO"
  15888. then :
  15889. wine_cv_have_libunwind_unw_step="yes"
  15890. else $as_nop
  15891. wine_cv_have_libunwind_unw_step="no"
  15892. fi
  15893. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15894. conftest$ac_exeext conftest.$ac_ext
  15895. fi
  15896. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
  15897. printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
  15898. LIBS=$save_libs
  15899. fi
  15900. test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
  15901. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
  15902. then
  15903. printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
  15904. fi
  15905. CPPFLAGS=$ac_save_CPPFLAGS
  15906. fi
  15907. case $host in
  15908. aarch64*|*-darwin*)
  15909. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
  15910. then :
  15911. case "x$with_unwind" in
  15912. x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
  15913. xno) ;;
  15914. *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
  15915. This is an error since --with-unwind was requested." "$LINENO" 5 ;;
  15916. esac
  15917. fi ;;
  15918. esac
  15919. if test "x$with_sdl" != "xno"
  15920. then
  15921. if ${SDL2_CFLAGS:+false} :
  15922. then :
  15923. if test ${PKG_CONFIG+y}
  15924. then :
  15925. SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
  15926. fi
  15927. fi
  15928. if ${SDL2_LIBS:+false} :
  15929. then :
  15930. if test ${PKG_CONFIG+y}
  15931. then :
  15932. SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
  15933. fi
  15934. fi
  15935. SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
  15936. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
  15937. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
  15938. ac_save_CPPFLAGS=$CPPFLAGS
  15939. CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
  15940. for ac_header in SDL.h
  15941. do :
  15942. ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
  15943. if test "x$ac_cv_header_SDL_h" = xyes
  15944. then :
  15945. printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
  15946. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
  15947. printf %s "checking for -lSDL2... " >&6; }
  15948. if test ${ac_cv_lib_soname_SDL2+y}
  15949. then :
  15950. printf %s "(cached) " >&6
  15951. else $as_nop
  15952. ac_check_soname_save_LIBS=$LIBS
  15953. LIBS="-lSDL2 $SDL2_LIBS $LIBS"
  15954. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15955. /* end confdefs.h. */
  15956. /* Override any GCC internal prototype to avoid an error.
  15957. Use char because int might match the return type of a GCC
  15958. builtin and then its argument prototype would still apply. */
  15959. char SDL_Init ();
  15960. int
  15961. main (void)
  15962. {
  15963. return SDL_Init ();
  15964. ;
  15965. return 0;
  15966. }
  15967. _ACEOF
  15968. if ac_fn_c_try_link "$LINENO"
  15969. then :
  15970. case "$LIBEXT" in
  15971. dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15972. 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'` ;;
  15973. *) 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'`
  15974. if ${ac_cv_lib_soname_SDL2:+false} :
  15975. then :
  15976. ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15977. fi ;;
  15978. esac
  15979. else $as_nop
  15980. ac_cv_lib_soname_SDL2=
  15981. fi
  15982. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15983. conftest$ac_exeext conftest.$ac_ext
  15984. LIBS=$ac_check_soname_save_LIBS
  15985. fi
  15986. if ${ac_cv_lib_soname_SDL2:+false} :
  15987. then :
  15988. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15989. printf "%s\n" "not found" >&6; }
  15990. else $as_nop
  15991. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
  15992. printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
  15993. printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
  15994. fi
  15995. fi
  15996. done
  15997. CPPFLAGS=$ac_save_CPPFLAGS
  15998. fi
  15999. if test "x$ac_cv_lib_soname_SDL2" = "x"
  16000. then :
  16001. case "x$with_sdl" in
  16002. x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
  16003. xno) ;;
  16004. *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
  16005. This is an error since --with-sdl was requested." "$LINENO" 5 ;;
  16006. esac
  16007. fi
  16008. if test "x$with_capi" != "xno"
  16009. then
  16010. if ${CAPI20_CFLAGS:+false} :
  16011. then :
  16012. if test ${PKG_CONFIG+y}
  16013. then :
  16014. CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
  16015. fi
  16016. fi
  16017. if ${CAPI20_LIBS:+false} :
  16018. then :
  16019. if test ${PKG_CONFIG+y}
  16020. then :
  16021. CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
  16022. fi
  16023. fi
  16024. printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
  16025. printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
  16026. ac_save_CPPFLAGS=$CPPFLAGS
  16027. CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
  16028. ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
  16029. "
  16030. if test "x$ac_cv_header_capi20_h" = xyes
  16031. then :
  16032. printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
  16033. fi
  16034. ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
  16035. "
  16036. if test "x$ac_cv_header_linux_capi_h" = xyes
  16037. then :
  16038. printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
  16039. fi
  16040. if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
  16041. then
  16042. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
  16043. printf %s "checking for capi20_register in -lcapi20... " >&6; }
  16044. if test ${ac_cv_lib_capi20_capi20_register+y}
  16045. then :
  16046. printf %s "(cached) " >&6
  16047. else $as_nop
  16048. ac_check_lib_save_LIBS=$LIBS
  16049. LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
  16050. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16051. /* end confdefs.h. */
  16052. /* Override any GCC internal prototype to avoid an error.
  16053. Use char because int might match the return type of a GCC
  16054. builtin and then its argument prototype would still apply. */
  16055. char capi20_register ();
  16056. int
  16057. main (void)
  16058. {
  16059. return capi20_register ();
  16060. ;
  16061. return 0;
  16062. }
  16063. _ACEOF
  16064. if ac_fn_c_try_link "$LINENO"
  16065. then :
  16066. ac_cv_lib_capi20_capi20_register=yes
  16067. else $as_nop
  16068. ac_cv_lib_capi20_capi20_register=no
  16069. fi
  16070. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16071. conftest$ac_exeext conftest.$ac_ext
  16072. LIBS=$ac_check_lib_save_LIBS
  16073. fi
  16074. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
  16075. printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
  16076. if test "x$ac_cv_lib_capi20_capi20_register" = xyes
  16077. then :
  16078. :
  16079. else $as_nop
  16080. CAPI20_LIBS=""
  16081. fi
  16082. fi
  16083. CPPFLAGS=$ac_save_CPPFLAGS
  16084. fi
  16085. if test "x$ac_cv_lib_capi20_capi20_register" != xyes
  16086. then :
  16087. case "x$with_capi" in
  16088. x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
  16089. xno) ;;
  16090. *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
  16091. This is an error since --with-capi was requested." "$LINENO" 5 ;;
  16092. esac
  16093. enable_capi2032=${enable_capi2032:-no}
  16094. fi
  16095. if test "x$with_cups" != "xno"
  16096. then
  16097. if ${CUPS_CFLAGS:+false} :
  16098. then :
  16099. if test ${PKG_CONFIG+y}
  16100. then :
  16101. CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
  16102. fi
  16103. fi
  16104. test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
  16105. if ${CUPS_LIBS:+false} :
  16106. then :
  16107. if test ${PKG_CONFIG+y}
  16108. then :
  16109. CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
  16110. fi
  16111. fi
  16112. test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
  16113. CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
  16114. printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
  16115. printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
  16116. ac_save_CPPFLAGS=$CPPFLAGS
  16117. CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
  16118. ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
  16119. if test "x$ac_cv_header_cups_cups_h" = xyes
  16120. then :
  16121. printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
  16122. fi
  16123. ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
  16124. if test "x$ac_cv_header_cups_ppd_h" = xyes
  16125. then :
  16126. printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
  16127. fi
  16128. if test "$ac_cv_header_cups_cups_h" = "yes"
  16129. then
  16130. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
  16131. printf %s "checking for -lcups... " >&6; }
  16132. if test ${ac_cv_lib_soname_cups+y}
  16133. then :
  16134. printf %s "(cached) " >&6
  16135. else $as_nop
  16136. ac_check_soname_save_LIBS=$LIBS
  16137. LIBS="-lcups $CUPS_LIBS $LIBS"
  16138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16139. /* end confdefs.h. */
  16140. /* Override any GCC internal prototype to avoid an error.
  16141. Use char because int might match the return type of a GCC
  16142. builtin and then its argument prototype would still apply. */
  16143. char cupsGetDefault ();
  16144. int
  16145. main (void)
  16146. {
  16147. return cupsGetDefault ();
  16148. ;
  16149. return 0;
  16150. }
  16151. _ACEOF
  16152. if ac_fn_c_try_link "$LINENO"
  16153. then :
  16154. case "$LIBEXT" in
  16155. dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16156. 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'` ;;
  16157. *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16158. if ${ac_cv_lib_soname_cups:+false} :
  16159. then :
  16160. ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16161. fi ;;
  16162. esac
  16163. else $as_nop
  16164. ac_cv_lib_soname_cups=
  16165. fi
  16166. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16167. conftest$ac_exeext conftest.$ac_ext
  16168. LIBS=$ac_check_soname_save_LIBS
  16169. fi
  16170. if ${ac_cv_lib_soname_cups:+false} :
  16171. then :
  16172. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16173. printf "%s\n" "not found" >&6; }
  16174. CUPS_LIBS=""
  16175. else $as_nop
  16176. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
  16177. printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
  16178. printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
  16179. fi
  16180. else
  16181. CUPS_CFLAGS=""
  16182. CUPS_LIBS=""
  16183. fi
  16184. CPPFLAGS=$ac_save_CPPFLAGS
  16185. fi
  16186. if test "x$ac_cv_lib_soname_cups" = "x"
  16187. then :
  16188. case "x$with_cups" in
  16189. x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
  16190. xno) ;;
  16191. *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
  16192. This is an error since --with-cups was requested." "$LINENO" 5 ;;
  16193. esac
  16194. fi
  16195. if test "x$with_fontconfig" != "xno"
  16196. then
  16197. if ${FONTCONFIG_CFLAGS:+false} :
  16198. then :
  16199. if test ${PKG_CONFIG+y}
  16200. then :
  16201. FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
  16202. fi
  16203. fi
  16204. test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
  16205. if ${FONTCONFIG_LIBS:+false} :
  16206. then :
  16207. if test ${PKG_CONFIG+y}
  16208. then :
  16209. FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
  16210. fi
  16211. fi
  16212. test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
  16213. printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
  16214. printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
  16215. ac_save_CPPFLAGS=$CPPFLAGS
  16216. CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
  16217. ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
  16218. if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
  16219. then :
  16220. printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
  16221. fi
  16222. if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
  16223. then
  16224. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
  16225. printf %s "checking for -lfontconfig... " >&6; }
  16226. if test ${ac_cv_lib_soname_fontconfig+y}
  16227. then :
  16228. printf %s "(cached) " >&6
  16229. else $as_nop
  16230. ac_check_soname_save_LIBS=$LIBS
  16231. LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
  16232. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16233. /* end confdefs.h. */
  16234. /* Override any GCC internal prototype to avoid an error.
  16235. Use char because int might match the return type of a GCC
  16236. builtin and then its argument prototype would still apply. */
  16237. char FcInit ();
  16238. int
  16239. main (void)
  16240. {
  16241. return FcInit ();
  16242. ;
  16243. return 0;
  16244. }
  16245. _ACEOF
  16246. if ac_fn_c_try_link "$LINENO"
  16247. then :
  16248. case "$LIBEXT" in
  16249. dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16250. 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'` ;;
  16251. *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16252. if ${ac_cv_lib_soname_fontconfig:+false} :
  16253. then :
  16254. ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16255. fi ;;
  16256. esac
  16257. else $as_nop
  16258. ac_cv_lib_soname_fontconfig=
  16259. fi
  16260. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16261. conftest$ac_exeext conftest.$ac_ext
  16262. LIBS=$ac_check_soname_save_LIBS
  16263. fi
  16264. if ${ac_cv_lib_soname_fontconfig:+false} :
  16265. then :
  16266. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16267. printf "%s\n" "not found" >&6; }
  16268. FONTCONFIG_CFLAGS=""
  16269. else $as_nop
  16270. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
  16271. printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
  16272. printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
  16273. fi
  16274. else
  16275. FONTCONFIG_CFLAGS=""
  16276. fi
  16277. CPPFLAGS=$ac_save_CPPFLAGS
  16278. fi
  16279. if test "x$ac_cv_lib_soname_fontconfig" = "x"
  16280. then :
  16281. case "x$with_fontconfig" in
  16282. x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
  16283. xno) ;;
  16284. *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
  16285. This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
  16286. esac
  16287. fi
  16288. if test "x$with_krb5" != "xno"
  16289. then
  16290. if ${KRB5_CFLAGS:+false} :
  16291. then :
  16292. if test ${PKG_CONFIG+y}
  16293. then :
  16294. KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
  16295. fi
  16296. fi
  16297. test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
  16298. if ${KRB5_LIBS:+false} :
  16299. then :
  16300. if test ${PKG_CONFIG+y}
  16301. then :
  16302. KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
  16303. fi
  16304. fi
  16305. test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
  16306. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
  16307. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
  16308. ac_save_CPPFLAGS=$CPPFLAGS
  16309. CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
  16310. ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
  16311. if test "x$ac_cv_header_krb5_krb5_h" = xyes
  16312. then :
  16313. printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
  16314. fi
  16315. if test "$ac_cv_header_krb5_krb5_h" = "yes"
  16316. then
  16317. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
  16318. printf %s "checking for -lkrb5... " >&6; }
  16319. if test ${ac_cv_lib_soname_krb5+y}
  16320. then :
  16321. printf %s "(cached) " >&6
  16322. else $as_nop
  16323. ac_check_soname_save_LIBS=$LIBS
  16324. LIBS="-lkrb5 $KRB5_LIBS $LIBS"
  16325. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16326. /* end confdefs.h. */
  16327. /* Override any GCC internal prototype to avoid an error.
  16328. Use char because int might match the return type of a GCC
  16329. builtin and then its argument prototype would still apply. */
  16330. char krb5_is_config_principal ();
  16331. int
  16332. main (void)
  16333. {
  16334. return krb5_is_config_principal ();
  16335. ;
  16336. return 0;
  16337. }
  16338. _ACEOF
  16339. if ac_fn_c_try_link "$LINENO"
  16340. then :
  16341. case "$LIBEXT" in
  16342. dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16343. 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'` ;;
  16344. *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16345. if ${ac_cv_lib_soname_krb5:+false} :
  16346. then :
  16347. ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16348. fi ;;
  16349. esac
  16350. else $as_nop
  16351. ac_cv_lib_soname_krb5=
  16352. fi
  16353. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16354. conftest$ac_exeext conftest.$ac_ext
  16355. LIBS=$ac_check_soname_save_LIBS
  16356. fi
  16357. if ${ac_cv_lib_soname_krb5:+false} :
  16358. then :
  16359. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16360. printf "%s\n" "not found" >&6; }
  16361. KRB5_CFLAGS=""
  16362. else $as_nop
  16363. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
  16364. printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
  16365. printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
  16366. fi
  16367. else
  16368. KRB5_CFLAGS=""
  16369. fi
  16370. CPPFLAGS=$ac_save_CPPFLAGS
  16371. fi
  16372. if test "x$ac_cv_lib_soname_krb5" = "x"
  16373. then :
  16374. case "x$with_krb5" in
  16375. x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
  16376. xno) ;;
  16377. *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
  16378. This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
  16379. esac
  16380. fi
  16381. test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
  16382. if test "x$with_gssapi" != "xno"
  16383. then
  16384. if ${GSSAPI_CFLAGS:+false} :
  16385. then :
  16386. if test ${PKG_CONFIG+y}
  16387. then :
  16388. GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
  16389. fi
  16390. fi
  16391. test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
  16392. if ${GSSAPI_LIBS:+false} :
  16393. then :
  16394. if test ${PKG_CONFIG+y}
  16395. then :
  16396. GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
  16397. fi
  16398. fi
  16399. test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
  16400. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
  16401. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
  16402. ac_save_CPPFLAGS=$CPPFLAGS
  16403. CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
  16404. ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
  16405. if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
  16406. then :
  16407. printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
  16408. fi
  16409. ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
  16410. if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
  16411. then :
  16412. printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
  16413. fi
  16414. if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
  16415. then
  16416. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
  16417. printf %s "checking for -lgssapi_krb5... " >&6; }
  16418. if test ${ac_cv_lib_soname_gssapi_krb5+y}
  16419. then :
  16420. printf %s "(cached) " >&6
  16421. else $as_nop
  16422. ac_check_soname_save_LIBS=$LIBS
  16423. LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
  16424. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16425. /* end confdefs.h. */
  16426. /* Override any GCC internal prototype to avoid an error.
  16427. Use char because int might match the return type of a GCC
  16428. builtin and then its argument prototype would still apply. */
  16429. char gss_init_sec_context ();
  16430. int
  16431. main (void)
  16432. {
  16433. return gss_init_sec_context ();
  16434. ;
  16435. return 0;
  16436. }
  16437. _ACEOF
  16438. if ac_fn_c_try_link "$LINENO"
  16439. then :
  16440. case "$LIBEXT" in
  16441. dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16442. 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'` ;;
  16443. *) 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'`
  16444. if ${ac_cv_lib_soname_gssapi_krb5:+false} :
  16445. then :
  16446. ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16447. fi ;;
  16448. esac
  16449. else $as_nop
  16450. ac_cv_lib_soname_gssapi_krb5=
  16451. fi
  16452. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16453. conftest$ac_exeext conftest.$ac_ext
  16454. LIBS=$ac_check_soname_save_LIBS
  16455. fi
  16456. if ${ac_cv_lib_soname_gssapi_krb5:+false} :
  16457. then :
  16458. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16459. printf "%s\n" "not found" >&6; }
  16460. GSSAPI_CFLAGS=""
  16461. else $as_nop
  16462. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
  16463. printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
  16464. printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
  16465. fi
  16466. else
  16467. GSSAPI_CFLAGS=""
  16468. fi
  16469. CPPFLAGS=$ac_save_CPPFLAGS
  16470. fi
  16471. if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
  16472. then :
  16473. case "x$with_gssapi" in
  16474. x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
  16475. xno) ;;
  16476. *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
  16477. This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
  16478. esac
  16479. fi
  16480. if test "$ac_cv_header_AL_al_h" = "yes"
  16481. then
  16482. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
  16483. printf %s "checking for -lopenal... " >&6; }
  16484. if test ${ac_cv_lib_soname_openal+y}
  16485. then :
  16486. printf %s "(cached) " >&6
  16487. else $as_nop
  16488. ac_check_soname_save_LIBS=$LIBS
  16489. LIBS="-lopenal $LIBS"
  16490. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16491. /* end confdefs.h. */
  16492. /* Override any GCC internal prototype to avoid an error.
  16493. Use char because int might match the return type of a GCC
  16494. builtin and then its argument prototype would still apply. */
  16495. char alGetSource3i ();
  16496. int
  16497. main (void)
  16498. {
  16499. return alGetSource3i ();
  16500. ;
  16501. return 0;
  16502. }
  16503. _ACEOF
  16504. if ac_fn_c_try_link "$LINENO"
  16505. then :
  16506. case "$LIBEXT" in
  16507. dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16508. 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'` ;;
  16509. *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16510. if ${ac_cv_lib_soname_openal:+false} :
  16511. then :
  16512. ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16513. fi ;;
  16514. esac
  16515. else $as_nop
  16516. ac_cv_lib_soname_openal=
  16517. fi
  16518. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16519. conftest$ac_exeext conftest.$ac_ext
  16520. LIBS=$ac_check_soname_save_LIBS
  16521. fi
  16522. if ${ac_cv_lib_soname_openal:+false} :
  16523. then :
  16524. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16525. printf "%s\n" "not found" >&6; }
  16526. else $as_nop
  16527. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
  16528. printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
  16529. printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
  16530. OPENAL_LIBS="-lopenal"
  16531. ac_cv_lib_openal=yes
  16532. printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
  16533. fi
  16534. fi
  16535. if test "x$ac_cv_lib_openal" != xyes
  16536. then :
  16537. case "x$with_openal" in
  16538. x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
  16539. xno) ;;
  16540. *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
  16541. This is an error since --with-openal was requested." "$LINENO" 5 ;;
  16542. esac
  16543. enable_openal32=${enable_openal32:-no}
  16544. fi
  16545. if test "$ac_cv_header_libprocstat_h" = "yes"
  16546. then
  16547. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
  16548. printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
  16549. if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
  16550. then :
  16551. printf %s "(cached) " >&6
  16552. else $as_nop
  16553. ac_check_lib_save_LIBS=$LIBS
  16554. LIBS="-lprocstat $LIBS"
  16555. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16556. /* end confdefs.h. */
  16557. /* Override any GCC internal prototype to avoid an error.
  16558. Use char because int might match the return type of a GCC
  16559. builtin and then its argument prototype would still apply. */
  16560. char procstat_open_sysctl ();
  16561. int
  16562. main (void)
  16563. {
  16564. return procstat_open_sysctl ();
  16565. ;
  16566. return 0;
  16567. }
  16568. _ACEOF
  16569. if ac_fn_c_try_link "$LINENO"
  16570. then :
  16571. ac_cv_lib_procstat_procstat_open_sysctl=yes
  16572. else $as_nop
  16573. ac_cv_lib_procstat_procstat_open_sysctl=no
  16574. fi
  16575. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16576. conftest$ac_exeext conftest.$ac_ext
  16577. LIBS=$ac_check_lib_save_LIBS
  16578. fi
  16579. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
  16580. printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
  16581. if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
  16582. then :
  16583. printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
  16584. PROCSTAT_LIBS="-lprocstat"
  16585. fi
  16586. fi
  16587. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
  16588. printf %s "checking for -lodbc... " >&6; }
  16589. if test ${ac_cv_lib_soname_odbc+y}
  16590. then :
  16591. printf %s "(cached) " >&6
  16592. else $as_nop
  16593. ac_check_soname_save_LIBS=$LIBS
  16594. LIBS="-lodbc $LIBS"
  16595. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16596. /* end confdefs.h. */
  16597. /* Override any GCC internal prototype to avoid an error.
  16598. Use char because int might match the return type of a GCC
  16599. builtin and then its argument prototype would still apply. */
  16600. char SQLConnect ();
  16601. int
  16602. main (void)
  16603. {
  16604. return SQLConnect ();
  16605. ;
  16606. return 0;
  16607. }
  16608. _ACEOF
  16609. if ac_fn_c_try_link "$LINENO"
  16610. then :
  16611. case "$LIBEXT" in
  16612. dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16613. 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'` ;;
  16614. *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16615. if ${ac_cv_lib_soname_odbc:+false} :
  16616. then :
  16617. ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16618. fi ;;
  16619. esac
  16620. else $as_nop
  16621. ac_cv_lib_soname_odbc=
  16622. fi
  16623. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16624. conftest$ac_exeext conftest.$ac_ext
  16625. LIBS=$ac_check_soname_save_LIBS
  16626. fi
  16627. if ${ac_cv_lib_soname_odbc:+false} :
  16628. then :
  16629. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16630. printf "%s\n" "not found" >&6; }
  16631. printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
  16632. else $as_nop
  16633. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
  16634. printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
  16635. printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
  16636. fi
  16637. if test "x$with_netapi" != "xno"
  16638. then
  16639. if ${NETAPI_CFLAGS:+false} :
  16640. then :
  16641. if test ${PKG_CONFIG+y}
  16642. then :
  16643. NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
  16644. fi
  16645. fi
  16646. if ${NETAPI_LIBS:+false} :
  16647. then :
  16648. if test ${PKG_CONFIG+y}
  16649. then :
  16650. NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
  16651. fi
  16652. fi
  16653. printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
  16654. printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
  16655. ac_save_CPPFLAGS=$CPPFLAGS
  16656. CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
  16657. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
  16658. printf %s "checking for -lnetapi... " >&6; }
  16659. if test ${ac_cv_lib_soname_netapi+y}
  16660. then :
  16661. printf %s "(cached) " >&6
  16662. else $as_nop
  16663. ac_check_soname_save_LIBS=$LIBS
  16664. LIBS="-lnetapi $NETAPI_LIBS $LIBS"
  16665. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16666. /* end confdefs.h. */
  16667. /* Override any GCC internal prototype to avoid an error.
  16668. Use char because int might match the return type of a GCC
  16669. builtin and then its argument prototype would still apply. */
  16670. char libnetapi_init ();
  16671. int
  16672. main (void)
  16673. {
  16674. return libnetapi_init ();
  16675. ;
  16676. return 0;
  16677. }
  16678. _ACEOF
  16679. if ac_fn_c_try_link "$LINENO"
  16680. then :
  16681. case "$LIBEXT" in
  16682. dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16683. 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'` ;;
  16684. *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16685. if ${ac_cv_lib_soname_netapi:+false} :
  16686. then :
  16687. ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16688. fi ;;
  16689. esac
  16690. else $as_nop
  16691. ac_cv_lib_soname_netapi=
  16692. fi
  16693. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16694. conftest$ac_exeext conftest.$ac_ext
  16695. LIBS=$ac_check_soname_save_LIBS
  16696. fi
  16697. if ${ac_cv_lib_soname_netapi:+false} :
  16698. then :
  16699. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16700. printf "%s\n" "not found" >&6; }
  16701. printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
  16702. else $as_nop
  16703. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
  16704. printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
  16705. printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
  16706. fi
  16707. CPPFLAGS=$ac_save_CPPFLAGS
  16708. fi
  16709. if test "x$ac_cv_lib_soname_netapi" = "x"
  16710. then :
  16711. case "x$with_netapi" in
  16712. x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
  16713. xno) ;;
  16714. *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
  16715. This is an error since --with-netapi was requested." "$LINENO" 5 ;;
  16716. esac
  16717. enable_netapi=${enable_netapi:-no}
  16718. fi
  16719. if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
  16720. "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
  16721. then
  16722. as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
  16723. fi
  16724. if test "x$with_vulkan" != "xno"
  16725. then
  16726. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
  16727. printf %s "checking for -lvulkan... " >&6; }
  16728. if test ${ac_cv_lib_soname_vulkan+y}
  16729. then :
  16730. printf %s "(cached) " >&6
  16731. else $as_nop
  16732. ac_check_soname_save_LIBS=$LIBS
  16733. LIBS="-lvulkan $LIBS"
  16734. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16735. /* end confdefs.h. */
  16736. /* Override any GCC internal prototype to avoid an error.
  16737. Use char because int might match the return type of a GCC
  16738. builtin and then its argument prototype would still apply. */
  16739. char vkGetInstanceProcAddr ();
  16740. int
  16741. main (void)
  16742. {
  16743. return vkGetInstanceProcAddr ();
  16744. ;
  16745. return 0;
  16746. }
  16747. _ACEOF
  16748. if ac_fn_c_try_link "$LINENO"
  16749. then :
  16750. case "$LIBEXT" in
  16751. dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16752. 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'` ;;
  16753. *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16754. if ${ac_cv_lib_soname_vulkan:+false} :
  16755. then :
  16756. ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16757. fi ;;
  16758. esac
  16759. else $as_nop
  16760. ac_cv_lib_soname_vulkan=
  16761. fi
  16762. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16763. conftest$ac_exeext conftest.$ac_ext
  16764. LIBS=$ac_check_soname_save_LIBS
  16765. fi
  16766. if ${ac_cv_lib_soname_vulkan:+false} :
  16767. then :
  16768. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16769. printf "%s\n" "not found" >&6; }
  16770. else $as_nop
  16771. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
  16772. printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
  16773. printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
  16774. fi
  16775. if test "x$ac_cv_lib_soname_vulkan" = "x"
  16776. then
  16777. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
  16778. printf %s "checking for -lMoltenVK... " >&6; }
  16779. if test ${ac_cv_lib_soname_MoltenVK+y}
  16780. then :
  16781. printf %s "(cached) " >&6
  16782. else $as_nop
  16783. ac_check_soname_save_LIBS=$LIBS
  16784. LIBS="-lMoltenVK $LIBS"
  16785. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16786. /* end confdefs.h. */
  16787. /* Override any GCC internal prototype to avoid an error.
  16788. Use char because int might match the return type of a GCC
  16789. builtin and then its argument prototype would still apply. */
  16790. char vkGetInstanceProcAddr ();
  16791. int
  16792. main (void)
  16793. {
  16794. return vkGetInstanceProcAddr ();
  16795. ;
  16796. return 0;
  16797. }
  16798. _ACEOF
  16799. if ac_fn_c_try_link "$LINENO"
  16800. then :
  16801. case "$LIBEXT" in
  16802. dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16803. 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'` ;;
  16804. *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16805. if ${ac_cv_lib_soname_MoltenVK:+false} :
  16806. then :
  16807. ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16808. fi ;;
  16809. esac
  16810. else $as_nop
  16811. ac_cv_lib_soname_MoltenVK=
  16812. fi
  16813. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16814. conftest$ac_exeext conftest.$ac_ext
  16815. LIBS=$ac_check_soname_save_LIBS
  16816. fi
  16817. if ${ac_cv_lib_soname_MoltenVK:+false} :
  16818. then :
  16819. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16820. printf "%s\n" "not found" >&6; }
  16821. else $as_nop
  16822. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
  16823. printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
  16824. printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
  16825. fi
  16826. fi
  16827. fi
  16828. if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
  16829. then :
  16830. case "x$with_vulkan" in
  16831. x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
  16832. xno) ;;
  16833. *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
  16834. This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
  16835. esac
  16836. fi
  16837. if test "x${GCC}" = "xyes"
  16838. then
  16839. EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
  16840. saved_CFLAGS=$CFLAGS
  16841. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
  16842. printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
  16843. if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
  16844. then :
  16845. printf %s "(cached) " >&6
  16846. else $as_nop
  16847. ac_wine_try_cflags_saved=$CFLAGS
  16848. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  16849. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16850. /* end confdefs.h. */
  16851. int main(int argc, char **argv) { return 0; }
  16852. _ACEOF
  16853. if ac_fn_c_try_link "$LINENO"
  16854. then :
  16855. ac_cv_cflags__Werror_unknown_warning_option=yes
  16856. else $as_nop
  16857. ac_cv_cflags__Werror_unknown_warning_option=no
  16858. fi
  16859. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16860. conftest$ac_exeext conftest.$ac_ext
  16861. CFLAGS=$ac_wine_try_cflags_saved
  16862. fi
  16863. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
  16864. printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
  16865. if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
  16866. then :
  16867. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  16868. fi
  16869. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
  16870. printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
  16871. if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
  16872. then :
  16873. printf %s "(cached) " >&6
  16874. else $as_nop
  16875. ac_wine_try_cflags_saved=$CFLAGS
  16876. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  16877. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16878. /* end confdefs.h. */
  16879. int main(int argc, char **argv) { return 0; }
  16880. _ACEOF
  16881. if ac_fn_c_try_link "$LINENO"
  16882. then :
  16883. ac_cv_cflags__Werror_unused_command_line_argument=yes
  16884. else $as_nop
  16885. ac_cv_cflags__Werror_unused_command_line_argument=no
  16886. fi
  16887. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16888. conftest$ac_exeext conftest.$ac_ext
  16889. CFLAGS=$ac_wine_try_cflags_saved
  16890. fi
  16891. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
  16892. printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
  16893. if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
  16894. then :
  16895. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  16896. fi
  16897. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
  16898. printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
  16899. if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
  16900. then :
  16901. printf %s "(cached) " >&6
  16902. else $as_nop
  16903. ac_wine_try_cflags_saved=$CFLAGS
  16904. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  16905. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16906. /* end confdefs.h. */
  16907. int main(int argc, char **argv) { return 0; }
  16908. _ACEOF
  16909. if ac_fn_c_try_link "$LINENO"
  16910. then :
  16911. ac_cv_cflags__Werror_ignored_optimization_argument=yes
  16912. else $as_nop
  16913. ac_cv_cflags__Werror_ignored_optimization_argument=no
  16914. fi
  16915. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16916. conftest$ac_exeext conftest.$ac_ext
  16917. CFLAGS=$ac_wine_try_cflags_saved
  16918. fi
  16919. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
  16920. printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
  16921. if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
  16922. then :
  16923. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  16924. fi
  16925. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
  16926. printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
  16927. if test ${ac_cv_cflags__fcf_protection_none+y}
  16928. then :
  16929. printf %s "(cached) " >&6
  16930. else $as_nop
  16931. ac_wine_try_cflags_saved=$CFLAGS
  16932. CFLAGS="$CFLAGS -fcf-protection=none"
  16933. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16934. /* end confdefs.h. */
  16935. int main(int argc, char **argv) { return 0; }
  16936. _ACEOF
  16937. if ac_fn_c_try_link "$LINENO"
  16938. then :
  16939. ac_cv_cflags__fcf_protection_none=yes
  16940. else $as_nop
  16941. ac_cv_cflags__fcf_protection_none=no
  16942. fi
  16943. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16944. conftest$ac_exeext conftest.$ac_ext
  16945. CFLAGS=$ac_wine_try_cflags_saved
  16946. fi
  16947. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
  16948. printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
  16949. if test "x$ac_cv_cflags__fcf_protection_none" = xyes
  16950. then :
  16951. EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
  16952. fi
  16953. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
  16954. printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
  16955. if test ${ac_cv_cflags__fno_stack_protector+y}
  16956. then :
  16957. printf %s "(cached) " >&6
  16958. else $as_nop
  16959. ac_wine_try_cflags_saved=$CFLAGS
  16960. CFLAGS="$CFLAGS -fno-stack-protector"
  16961. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16962. /* end confdefs.h. */
  16963. int main(int argc, char **argv) { return 0; }
  16964. _ACEOF
  16965. if ac_fn_c_try_link "$LINENO"
  16966. then :
  16967. ac_cv_cflags__fno_stack_protector=yes
  16968. else $as_nop
  16969. ac_cv_cflags__fno_stack_protector=no
  16970. fi
  16971. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16972. conftest$ac_exeext conftest.$ac_ext
  16973. CFLAGS=$ac_wine_try_cflags_saved
  16974. fi
  16975. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
  16976. printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
  16977. if test "x$ac_cv_cflags__fno_stack_protector" = xyes
  16978. then :
  16979. EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
  16980. fi
  16981. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
  16982. printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
  16983. if test ${ac_cv_cflags__fno_strict_aliasing+y}
  16984. then :
  16985. printf %s "(cached) " >&6
  16986. else $as_nop
  16987. ac_wine_try_cflags_saved=$CFLAGS
  16988. CFLAGS="$CFLAGS -fno-strict-aliasing"
  16989. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16990. /* end confdefs.h. */
  16991. int main(int argc, char **argv) { return 0; }
  16992. _ACEOF
  16993. if ac_fn_c_try_link "$LINENO"
  16994. then :
  16995. ac_cv_cflags__fno_strict_aliasing=yes
  16996. else $as_nop
  16997. ac_cv_cflags__fno_strict_aliasing=no
  16998. fi
  16999. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17000. conftest$ac_exeext conftest.$ac_ext
  17001. CFLAGS=$ac_wine_try_cflags_saved
  17002. fi
  17003. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
  17004. printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
  17005. if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
  17006. then :
  17007. EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
  17008. fi
  17009. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
  17010. printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
  17011. if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
  17012. then :
  17013. printf %s "(cached) " >&6
  17014. else $as_nop
  17015. ac_wine_try_cflags_saved=$CFLAGS
  17016. CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  17017. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17018. /* end confdefs.h. */
  17019. int main(int argc, char **argv) { return 0; }
  17020. _ACEOF
  17021. if ac_fn_c_try_link "$LINENO"
  17022. then :
  17023. ac_cv_cflags__Wdeclaration_after_statement=yes
  17024. else $as_nop
  17025. ac_cv_cflags__Wdeclaration_after_statement=no
  17026. fi
  17027. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17028. conftest$ac_exeext conftest.$ac_ext
  17029. CFLAGS=$ac_wine_try_cflags_saved
  17030. fi
  17031. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
  17032. printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
  17033. if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
  17034. then :
  17035. EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
  17036. fi
  17037. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
  17038. printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
  17039. if test ${ac_cv_cflags__Wempty_body+y}
  17040. then :
  17041. printf %s "(cached) " >&6
  17042. else $as_nop
  17043. ac_wine_try_cflags_saved=$CFLAGS
  17044. CFLAGS="$CFLAGS -Wempty-body"
  17045. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17046. /* end confdefs.h. */
  17047. int main(int argc, char **argv) { return 0; }
  17048. _ACEOF
  17049. if ac_fn_c_try_link "$LINENO"
  17050. then :
  17051. ac_cv_cflags__Wempty_body=yes
  17052. else $as_nop
  17053. ac_cv_cflags__Wempty_body=no
  17054. fi
  17055. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17056. conftest$ac_exeext conftest.$ac_ext
  17057. CFLAGS=$ac_wine_try_cflags_saved
  17058. fi
  17059. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
  17060. printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
  17061. if test "x$ac_cv_cflags__Wempty_body" = xyes
  17062. then :
  17063. EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
  17064. fi
  17065. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
  17066. printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
  17067. if test ${ac_cv_cflags__Wignored_qualifiers+y}
  17068. then :
  17069. printf %s "(cached) " >&6
  17070. else $as_nop
  17071. ac_wine_try_cflags_saved=$CFLAGS
  17072. CFLAGS="$CFLAGS -Wignored-qualifiers"
  17073. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17074. /* end confdefs.h. */
  17075. int main(int argc, char **argv) { return 0; }
  17076. _ACEOF
  17077. if ac_fn_c_try_link "$LINENO"
  17078. then :
  17079. ac_cv_cflags__Wignored_qualifiers=yes
  17080. else $as_nop
  17081. ac_cv_cflags__Wignored_qualifiers=no
  17082. fi
  17083. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17084. conftest$ac_exeext conftest.$ac_ext
  17085. CFLAGS=$ac_wine_try_cflags_saved
  17086. fi
  17087. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
  17088. printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
  17089. if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
  17090. then :
  17091. EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
  17092. fi
  17093. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
  17094. printf %s "checking whether the compiler supports -Winit-self... " >&6; }
  17095. if test ${ac_cv_cflags__Winit_self+y}
  17096. then :
  17097. printf %s "(cached) " >&6
  17098. else $as_nop
  17099. ac_wine_try_cflags_saved=$CFLAGS
  17100. CFLAGS="$CFLAGS -Winit-self"
  17101. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17102. /* end confdefs.h. */
  17103. int main(int argc, char **argv) { return 0; }
  17104. _ACEOF
  17105. if ac_fn_c_try_link "$LINENO"
  17106. then :
  17107. ac_cv_cflags__Winit_self=yes
  17108. else $as_nop
  17109. ac_cv_cflags__Winit_self=no
  17110. fi
  17111. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17112. conftest$ac_exeext conftest.$ac_ext
  17113. CFLAGS=$ac_wine_try_cflags_saved
  17114. fi
  17115. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
  17116. printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
  17117. if test "x$ac_cv_cflags__Winit_self" = xyes
  17118. then :
  17119. EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
  17120. fi
  17121. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
  17122. printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
  17123. if test ${ac_cv_cflags__Wpacked_not_aligned+y}
  17124. then :
  17125. printf %s "(cached) " >&6
  17126. else $as_nop
  17127. ac_wine_try_cflags_saved=$CFLAGS
  17128. CFLAGS="$CFLAGS -Wpacked-not-aligned"
  17129. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17130. /* end confdefs.h. */
  17131. int main(int argc, char **argv) { return 0; }
  17132. _ACEOF
  17133. if ac_fn_c_try_link "$LINENO"
  17134. then :
  17135. ac_cv_cflags__Wpacked_not_aligned=yes
  17136. else $as_nop
  17137. ac_cv_cflags__Wpacked_not_aligned=no
  17138. fi
  17139. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17140. conftest$ac_exeext conftest.$ac_ext
  17141. CFLAGS=$ac_wine_try_cflags_saved
  17142. fi
  17143. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
  17144. printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
  17145. if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
  17146. then :
  17147. EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
  17148. fi
  17149. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
  17150. printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
  17151. if test ${ac_cv_cflags__Wpragma_pack+y}
  17152. then :
  17153. printf %s "(cached) " >&6
  17154. else $as_nop
  17155. ac_wine_try_cflags_saved=$CFLAGS
  17156. CFLAGS="$CFLAGS -Wpragma-pack"
  17157. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17158. /* end confdefs.h. */
  17159. int main(int argc, char **argv) { return 0; }
  17160. _ACEOF
  17161. if ac_fn_c_try_link "$LINENO"
  17162. then :
  17163. ac_cv_cflags__Wpragma_pack=yes
  17164. else $as_nop
  17165. ac_cv_cflags__Wpragma_pack=no
  17166. fi
  17167. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17168. conftest$ac_exeext conftest.$ac_ext
  17169. CFLAGS=$ac_wine_try_cflags_saved
  17170. fi
  17171. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
  17172. printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
  17173. if test "x$ac_cv_cflags__Wpragma_pack" = xyes
  17174. then :
  17175. EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
  17176. fi
  17177. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
  17178. printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
  17179. if test ${ac_cv_cflags__Wshift_overflow_2+y}
  17180. then :
  17181. printf %s "(cached) " >&6
  17182. else $as_nop
  17183. ac_wine_try_cflags_saved=$CFLAGS
  17184. CFLAGS="$CFLAGS -Wshift-overflow=2"
  17185. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17186. /* end confdefs.h. */
  17187. int main(int argc, char **argv) { return 0; }
  17188. _ACEOF
  17189. if ac_fn_c_try_link "$LINENO"
  17190. then :
  17191. ac_cv_cflags__Wshift_overflow_2=yes
  17192. else $as_nop
  17193. ac_cv_cflags__Wshift_overflow_2=no
  17194. fi
  17195. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17196. conftest$ac_exeext conftest.$ac_ext
  17197. CFLAGS=$ac_wine_try_cflags_saved
  17198. fi
  17199. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
  17200. printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
  17201. if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
  17202. then :
  17203. EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
  17204. fi
  17205. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
  17206. printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
  17207. if test ${ac_cv_cflags__Wstrict_prototypes+y}
  17208. then :
  17209. printf %s "(cached) " >&6
  17210. else $as_nop
  17211. ac_wine_try_cflags_saved=$CFLAGS
  17212. CFLAGS="$CFLAGS -Wstrict-prototypes"
  17213. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17214. /* end confdefs.h. */
  17215. int main(int argc, char **argv) { return 0; }
  17216. _ACEOF
  17217. if ac_fn_c_try_link "$LINENO"
  17218. then :
  17219. ac_cv_cflags__Wstrict_prototypes=yes
  17220. else $as_nop
  17221. ac_cv_cflags__Wstrict_prototypes=no
  17222. fi
  17223. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17224. conftest$ac_exeext conftest.$ac_ext
  17225. CFLAGS=$ac_wine_try_cflags_saved
  17226. fi
  17227. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
  17228. printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
  17229. if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
  17230. then :
  17231. EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
  17232. fi
  17233. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
  17234. printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
  17235. if test ${ac_cv_cflags__Wtype_limits+y}
  17236. then :
  17237. printf %s "(cached) " >&6
  17238. else $as_nop
  17239. ac_wine_try_cflags_saved=$CFLAGS
  17240. CFLAGS="$CFLAGS -Wtype-limits"
  17241. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17242. /* end confdefs.h. */
  17243. int main(int argc, char **argv) { return 0; }
  17244. _ACEOF
  17245. if ac_fn_c_try_link "$LINENO"
  17246. then :
  17247. ac_cv_cflags__Wtype_limits=yes
  17248. else $as_nop
  17249. ac_cv_cflags__Wtype_limits=no
  17250. fi
  17251. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17252. conftest$ac_exeext conftest.$ac_ext
  17253. CFLAGS=$ac_wine_try_cflags_saved
  17254. fi
  17255. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
  17256. printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
  17257. if test "x$ac_cv_cflags__Wtype_limits" = xyes
  17258. then :
  17259. EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
  17260. fi
  17261. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
  17262. printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
  17263. if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
  17264. then :
  17265. printf %s "(cached) " >&6
  17266. else $as_nop
  17267. ac_wine_try_cflags_saved=$CFLAGS
  17268. CFLAGS="$CFLAGS -Wunused-but-set-parameter"
  17269. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17270. /* end confdefs.h. */
  17271. int main(int argc, char **argv) { return 0; }
  17272. _ACEOF
  17273. if ac_fn_c_try_link "$LINENO"
  17274. then :
  17275. ac_cv_cflags__Wunused_but_set_parameter=yes
  17276. else $as_nop
  17277. ac_cv_cflags__Wunused_but_set_parameter=no
  17278. fi
  17279. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17280. conftest$ac_exeext conftest.$ac_ext
  17281. CFLAGS=$ac_wine_try_cflags_saved
  17282. fi
  17283. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
  17284. printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
  17285. if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
  17286. then :
  17287. EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
  17288. fi
  17289. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
  17290. printf %s "checking whether the compiler supports -Wvla... " >&6; }
  17291. if test ${ac_cv_cflags__Wvla+y}
  17292. then :
  17293. printf %s "(cached) " >&6
  17294. else $as_nop
  17295. ac_wine_try_cflags_saved=$CFLAGS
  17296. CFLAGS="$CFLAGS -Wvla"
  17297. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17298. /* end confdefs.h. */
  17299. int main(int argc, char **argv) { return 0; }
  17300. _ACEOF
  17301. if ac_fn_c_try_link "$LINENO"
  17302. then :
  17303. ac_cv_cflags__Wvla=yes
  17304. else $as_nop
  17305. ac_cv_cflags__Wvla=no
  17306. fi
  17307. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17308. conftest$ac_exeext conftest.$ac_ext
  17309. CFLAGS=$ac_wine_try_cflags_saved
  17310. fi
  17311. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
  17312. printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
  17313. if test "x$ac_cv_cflags__Wvla" = xyes
  17314. then :
  17315. EXTRACFLAGS="$EXTRACFLAGS -Wvla"
  17316. fi
  17317. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
  17318. printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
  17319. if test ${ac_cv_cflags__Wwrite_strings+y}
  17320. then :
  17321. printf %s "(cached) " >&6
  17322. else $as_nop
  17323. ac_wine_try_cflags_saved=$CFLAGS
  17324. CFLAGS="$CFLAGS -Wwrite-strings"
  17325. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17326. /* end confdefs.h. */
  17327. int main(int argc, char **argv) { return 0; }
  17328. _ACEOF
  17329. if ac_fn_c_try_link "$LINENO"
  17330. then :
  17331. ac_cv_cflags__Wwrite_strings=yes
  17332. else $as_nop
  17333. ac_cv_cflags__Wwrite_strings=no
  17334. fi
  17335. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17336. conftest$ac_exeext conftest.$ac_ext
  17337. CFLAGS=$ac_wine_try_cflags_saved
  17338. fi
  17339. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
  17340. printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
  17341. if test "x$ac_cv_cflags__Wwrite_strings" = xyes
  17342. then :
  17343. EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
  17344. fi
  17345. if test -z "$CROSSTARGET"
  17346. then
  17347. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
  17348. printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
  17349. if test ${ac_cv_cflags__fexcess_precision_standard+y}
  17350. then :
  17351. printf %s "(cached) " >&6
  17352. else $as_nop
  17353. ac_wine_try_cflags_saved=$CFLAGS
  17354. CFLAGS="$CFLAGS -fexcess-precision=standard"
  17355. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17356. /* end confdefs.h. */
  17357. int main(int argc, char **argv) { return 0; }
  17358. _ACEOF
  17359. if ac_fn_c_try_link "$LINENO"
  17360. then :
  17361. ac_cv_cflags__fexcess_precision_standard=yes
  17362. else $as_nop
  17363. ac_cv_cflags__fexcess_precision_standard=no
  17364. fi
  17365. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17366. conftest$ac_exeext conftest.$ac_ext
  17367. CFLAGS=$ac_wine_try_cflags_saved
  17368. fi
  17369. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
  17370. printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
  17371. if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
  17372. then :
  17373. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  17374. fi
  17375. fi
  17376. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
  17377. printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
  17378. if test ${ac_cv_cflags__Wpointer_arith+y}
  17379. then :
  17380. printf %s "(cached) " >&6
  17381. else $as_nop
  17382. ac_wine_try_cflags_saved=$CFLAGS
  17383. CFLAGS="$CFLAGS -Wpointer-arith"
  17384. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17385. /* end confdefs.h. */
  17386. int main(int argc, char **argv) { return 0; }
  17387. _ACEOF
  17388. if ac_fn_c_try_link "$LINENO"
  17389. then :
  17390. ac_cv_cflags__Wpointer_arith=yes
  17391. else $as_nop
  17392. ac_cv_cflags__Wpointer_arith=no
  17393. fi
  17394. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17395. conftest$ac_exeext conftest.$ac_ext
  17396. CFLAGS=$ac_wine_try_cflags_saved
  17397. fi
  17398. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
  17399. printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
  17400. if test "x$ac_cv_cflags__Wpointer_arith" = xyes
  17401. then :
  17402. saved_string_h_CFLAGS=$CFLAGS
  17403. CFLAGS="$CFLAGS -Wpointer-arith -Werror"
  17404. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
  17405. printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
  17406. if test ${ac_cv_c_string_h_warnings+y}
  17407. then :
  17408. printf %s "(cached) " >&6
  17409. else $as_nop
  17410. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17411. /* end confdefs.h. */
  17412. #include <string.h>
  17413. int
  17414. main (void)
  17415. {
  17416. ;
  17417. return 0;
  17418. }
  17419. _ACEOF
  17420. if ac_fn_c_try_compile "$LINENO"
  17421. then :
  17422. ac_cv_c_string_h_warnings=no
  17423. else $as_nop
  17424. ac_cv_c_string_h_warnings=yes
  17425. fi
  17426. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17427. fi
  17428. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
  17429. printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
  17430. test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
  17431. CFLAGS=$saved_string_h_CFLAGS
  17432. fi
  17433. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
  17434. printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
  17435. if test ${ac_cv_cflags__Wlogical_op+y}
  17436. then :
  17437. printf %s "(cached) " >&6
  17438. else $as_nop
  17439. ac_wine_try_cflags_saved=$CFLAGS
  17440. CFLAGS="$CFLAGS -Wlogical-op"
  17441. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17442. /* end confdefs.h. */
  17443. int main(int argc, char **argv) { return 0; }
  17444. _ACEOF
  17445. if ac_fn_c_try_link "$LINENO"
  17446. then :
  17447. ac_cv_cflags__Wlogical_op=yes
  17448. else $as_nop
  17449. ac_cv_cflags__Wlogical_op=no
  17450. fi
  17451. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17452. conftest$ac_exeext conftest.$ac_ext
  17453. CFLAGS=$ac_wine_try_cflags_saved
  17454. fi
  17455. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
  17456. printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
  17457. if test "x$ac_cv_cflags__Wlogical_op" = xyes
  17458. then :
  17459. saved_string_h_CFLAGS=$CFLAGS
  17460. CFLAGS="$CFLAGS -Wlogical-op -Werror"
  17461. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
  17462. printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
  17463. if test ${ac_cv_c_logicalop_noisy+y}
  17464. then :
  17465. printf %s "(cached) " >&6
  17466. else $as_nop
  17467. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17468. /* end confdefs.h. */
  17469. #include <string.h>
  17470. char*f(const char *h,char n) {return strchr(h,n);}
  17471. int
  17472. main (void)
  17473. {
  17474. ;
  17475. return 0;
  17476. }
  17477. _ACEOF
  17478. if ac_fn_c_try_compile "$LINENO"
  17479. then :
  17480. ac_cv_c_logicalop_noisy=no
  17481. else $as_nop
  17482. ac_cv_c_logicalop_noisy=yes
  17483. fi
  17484. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17485. fi
  17486. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
  17487. printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
  17488. CFLAGS=$saved_string_h_CFLAGS
  17489. test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
  17490. fi
  17491. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
  17492. printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
  17493. if test ${wine_cv_64bit_compare_swap+y}
  17494. then :
  17495. printf %s "(cached) " >&6
  17496. else $as_nop
  17497. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17498. /* end confdefs.h. */
  17499. #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  17500. #error no
  17501. #endif
  17502. int
  17503. main (void)
  17504. {
  17505. ;
  17506. return 0;
  17507. }
  17508. _ACEOF
  17509. if ac_fn_c_try_compile "$LINENO"
  17510. then :
  17511. wine_cv_64bit_compare_swap="none needed"
  17512. else $as_nop
  17513. case $host_cpu in
  17514. *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
  17515. *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
  17516. *) wine_cv_64bit_compare_swap="unknown" ;;
  17517. esac
  17518. if test "x$wine_cv_64bit_compare_swap" != xunknown
  17519. then
  17520. CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
  17521. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17522. /* end confdefs.h. */
  17523. #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  17524. #error no
  17525. #endif
  17526. int
  17527. main (void)
  17528. {
  17529. ;
  17530. return 0;
  17531. }
  17532. _ACEOF
  17533. if ac_fn_c_try_compile "$LINENO"
  17534. then :
  17535. else $as_nop
  17536. wine_cv_64bit_compare_swap="unknown"
  17537. fi
  17538. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17539. CFLAGS=$saved_CFLAGS
  17540. fi
  17541. fi
  17542. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17543. fi
  17544. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
  17545. printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
  17546. case "$wine_cv_64bit_compare_swap" in
  17547. unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
  17548. "none needed") ;;
  17549. *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
  17550. esac
  17551. ac_debug_format_seen=""
  17552. for ac_flag in $CFLAGS; do
  17553. case $ac_flag in
  17554. -gdwarf*) ac_debug_format_seen=yes ;;
  17555. -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
  17556. esac
  17557. done
  17558. if test "x$ac_debug_format_seen" = xdefault
  17559. then
  17560. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
  17561. printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
  17562. if test ${ac_cv_cflags__gdwarf_4+y}
  17563. then :
  17564. printf %s "(cached) " >&6
  17565. else $as_nop
  17566. ac_wine_try_cflags_saved=$CFLAGS
  17567. CFLAGS="$CFLAGS -gdwarf-4"
  17568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17569. /* end confdefs.h. */
  17570. int main(int argc, char **argv) { return 0; }
  17571. _ACEOF
  17572. if ac_fn_c_try_link "$LINENO"
  17573. then :
  17574. ac_cv_cflags__gdwarf_4=yes
  17575. else $as_nop
  17576. ac_cv_cflags__gdwarf_4=no
  17577. fi
  17578. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17579. conftest$ac_exeext conftest.$ac_ext
  17580. CFLAGS=$ac_wine_try_cflags_saved
  17581. fi
  17582. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
  17583. printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
  17584. if test "x$ac_cv_cflags__gdwarf_4" = xyes
  17585. then :
  17586. EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
  17587. fi
  17588. fi
  17589. MSVCRTFLAGS=""
  17590. case $host_os in
  17591. mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
  17592. printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
  17593. if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
  17594. then :
  17595. printf %s "(cached) " >&6
  17596. else $as_nop
  17597. ac_wine_try_cflags_saved=$CFLAGS
  17598. CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
  17599. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17600. /* end confdefs.h. */
  17601. int main(int argc, char **argv) { return 0; }
  17602. _ACEOF
  17603. if ac_fn_c_try_link "$LINENO"
  17604. then :
  17605. ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
  17606. else $as_nop
  17607. ac_cv_cflags__Wl__delayload_autoconftest_dll=no
  17608. fi
  17609. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17610. conftest$ac_exeext conftest.$ac_ext
  17611. CFLAGS=$ac_wine_try_cflags_saved
  17612. fi
  17613. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
  17614. printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
  17615. if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
  17616. then :
  17617. DELAYLOADFLAG="-Wl,-delayload,"
  17618. fi ;;
  17619. *) MSVCRTFLAGS="-D_WIN32"
  17620. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
  17621. printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
  17622. if test ${ac_cv_cflags__fno_builtin+y}
  17623. then :
  17624. printf %s "(cached) " >&6
  17625. else $as_nop
  17626. ac_wine_try_cflags_saved=$CFLAGS
  17627. CFLAGS="$CFLAGS -fno-builtin"
  17628. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17629. /* end confdefs.h. */
  17630. int main(int argc, char **argv) { return 0; }
  17631. _ACEOF
  17632. if ac_fn_c_try_link "$LINENO"
  17633. then :
  17634. ac_cv_cflags__fno_builtin=yes
  17635. else $as_nop
  17636. ac_cv_cflags__fno_builtin=no
  17637. fi
  17638. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17639. conftest$ac_exeext conftest.$ac_ext
  17640. CFLAGS=$ac_wine_try_cflags_saved
  17641. fi
  17642. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
  17643. printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
  17644. if test "x$ac_cv_cflags__fno_builtin" = xyes
  17645. then :
  17646. MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
  17647. fi
  17648. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
  17649. printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
  17650. if test ${ac_cv_cflags__fshort_wchar+y}
  17651. then :
  17652. printf %s "(cached) " >&6
  17653. else $as_nop
  17654. ac_wine_try_cflags_saved=$CFLAGS
  17655. CFLAGS="$CFLAGS -fshort-wchar"
  17656. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17657. /* end confdefs.h. */
  17658. int main(int argc, char **argv) { return 0; }
  17659. _ACEOF
  17660. if ac_fn_c_try_link "$LINENO"
  17661. then :
  17662. ac_cv_cflags__fshort_wchar=yes
  17663. else $as_nop
  17664. ac_cv_cflags__fshort_wchar=no
  17665. fi
  17666. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17667. conftest$ac_exeext conftest.$ac_ext
  17668. CFLAGS=$ac_wine_try_cflags_saved
  17669. fi
  17670. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
  17671. printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
  17672. if test "x$ac_cv_cflags__fshort_wchar" = xyes
  17673. then :
  17674. MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
  17675. fi
  17676. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  17677. printf %s "checking whether the compiler supports -Wno-format... " >&6; }
  17678. if test ${ac_cv_cflags__Wno_format+y}
  17679. then :
  17680. printf %s "(cached) " >&6
  17681. else $as_nop
  17682. ac_wine_try_cflags_saved=$CFLAGS
  17683. CFLAGS="$CFLAGS -Wno-format"
  17684. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17685. /* end confdefs.h. */
  17686. int main(int argc, char **argv) { return 0; }
  17687. _ACEOF
  17688. if ac_fn_c_try_link "$LINENO"
  17689. then :
  17690. ac_cv_cflags__Wno_format=yes
  17691. else $as_nop
  17692. ac_cv_cflags__Wno_format=no
  17693. fi
  17694. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17695. conftest$ac_exeext conftest.$ac_ext
  17696. CFLAGS=$ac_wine_try_cflags_saved
  17697. fi
  17698. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  17699. printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
  17700. if test "x$ac_cv_cflags__Wno_format" = xyes
  17701. then :
  17702. MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
  17703. fi ;;
  17704. esac
  17705. case $host_cpu in
  17706. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
  17707. printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
  17708. if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
  17709. then :
  17710. printf %s "(cached) " >&6
  17711. else $as_nop
  17712. ac_wine_try_cflags_saved=$CFLAGS
  17713. CFLAGS="$CFLAGS -fno-omit-frame-pointer"
  17714. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17715. /* end confdefs.h. */
  17716. int main(int argc, char **argv) { return 0; }
  17717. _ACEOF
  17718. if ac_fn_c_try_link "$LINENO"
  17719. then :
  17720. ac_cv_cflags__fno_omit_frame_pointer=yes
  17721. else $as_nop
  17722. ac_cv_cflags__fno_omit_frame_pointer=no
  17723. fi
  17724. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17725. conftest$ac_exeext conftest.$ac_ext
  17726. CFLAGS=$ac_wine_try_cflags_saved
  17727. fi
  17728. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
  17729. printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
  17730. if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
  17731. then :
  17732. EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
  17733. fi ;;
  17734. *x86_64*)
  17735. case $host_os in
  17736. cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  17737. printf %s "checking whether the compiler supports -Wno-format... " >&6; }
  17738. if test ${ac_cv_cflags__Wno_format+y}
  17739. then :
  17740. printf %s "(cached) " >&6
  17741. else $as_nop
  17742. ac_wine_try_cflags_saved=$CFLAGS
  17743. CFLAGS="$CFLAGS -Wno-format"
  17744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17745. /* end confdefs.h. */
  17746. int main(int argc, char **argv) { return 0; }
  17747. _ACEOF
  17748. if ac_fn_c_try_link "$LINENO"
  17749. then :
  17750. ac_cv_cflags__Wno_format=yes
  17751. else $as_nop
  17752. ac_cv_cflags__Wno_format=no
  17753. fi
  17754. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17755. conftest$ac_exeext conftest.$ac_ext
  17756. CFLAGS=$ac_wine_try_cflags_saved
  17757. fi
  17758. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  17759. printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
  17760. if test "x$ac_cv_cflags__Wno_format" = xyes
  17761. then :
  17762. EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
  17763. fi ;;
  17764. *) if test -z "$CROSSTARGET"
  17765. then
  17766. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
  17767. printf %s "checking for working -mabi=ms... " >&6; }
  17768. if test ${ac_cv_mabi_ms+y}
  17769. then :
  17770. printf %s "(cached) " >&6
  17771. else $as_nop
  17772. CFLAGS="$CFLAGS -mabi=ms"
  17773. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17774. /* end confdefs.h. */
  17775. #include <stdarg.h>
  17776. int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
  17777. int
  17778. main (void)
  17779. {
  17780. ;
  17781. return 0;
  17782. }
  17783. _ACEOF
  17784. if ac_fn_c_try_compile "$LINENO"
  17785. then :
  17786. ac_cv_mabi_ms=yes
  17787. else $as_nop
  17788. ac_cv_mabi_ms=no
  17789. fi
  17790. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17791. CFLAGS=$saved_CFLAGS
  17792. fi
  17793. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
  17794. printf "%s\n" "$ac_cv_mabi_ms" >&6; }
  17795. test $ac_cv_mabi_ms = yes || as_fn_error $? "The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
  17796. fi
  17797. MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
  17798. esac ;;
  17799. esac
  17800. CFLAGS=$saved_CFLAGS
  17801. if test "x$enable_werror" = "xyes"
  17802. then
  17803. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
  17804. printf %s "checking whether the compiler supports -Werror... " >&6; }
  17805. if test ${ac_cv_cflags__Werror+y}
  17806. then :
  17807. printf %s "(cached) " >&6
  17808. else $as_nop
  17809. ac_wine_try_cflags_saved=$CFLAGS
  17810. CFLAGS="$CFLAGS -Werror"
  17811. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17812. /* end confdefs.h. */
  17813. int main(int argc, char **argv) { return 0; }
  17814. _ACEOF
  17815. if ac_fn_c_try_link "$LINENO"
  17816. then :
  17817. ac_cv_cflags__Werror=yes
  17818. else $as_nop
  17819. ac_cv_cflags__Werror=no
  17820. fi
  17821. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17822. conftest$ac_exeext conftest.$ac_ext
  17823. CFLAGS=$ac_wine_try_cflags_saved
  17824. fi
  17825. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
  17826. printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
  17827. if test "x$ac_cv_cflags__Werror" = xyes
  17828. then :
  17829. EXTRACFLAGS="$EXTRACFLAGS -Werror"
  17830. fi
  17831. fi
  17832. if test "x$enable_build_id" = "xyes"
  17833. then
  17834. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
  17835. printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
  17836. if test ${ac_cv_cflags__Wl___build_id+y}
  17837. then :
  17838. printf %s "(cached) " >&6
  17839. else $as_nop
  17840. ac_wine_try_cflags_saved=$CFLAGS
  17841. CFLAGS="$CFLAGS -Wl,--build-id"
  17842. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17843. /* end confdefs.h. */
  17844. int main(int argc, char **argv) { return 0; }
  17845. _ACEOF
  17846. if ac_fn_c_try_link "$LINENO"
  17847. then :
  17848. ac_cv_cflags__Wl___build_id=yes
  17849. else $as_nop
  17850. ac_cv_cflags__Wl___build_id=no
  17851. fi
  17852. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17853. conftest$ac_exeext conftest.$ac_ext
  17854. CFLAGS=$ac_wine_try_cflags_saved
  17855. fi
  17856. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
  17857. printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
  17858. if test "x$ac_cv_cflags__Wl___build_id" = xyes
  17859. then :
  17860. CFLAGS="$CFLAGS -Wl,--build-id"
  17861. LDFLAGS="$LDFLAGS -Wl,--build-id"
  17862. fi
  17863. fi
  17864. fi
  17865. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
  17866. printf %s "checking for the need to disable Fortify... " >&6; }
  17867. if test ${ac_cv_c_fortify_enabled+y}
  17868. then :
  17869. printf %s "(cached) " >&6
  17870. else $as_nop
  17871. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17872. /* end confdefs.h. */
  17873. #include <string.h>
  17874. int
  17875. main (void)
  17876. {
  17877. #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
  17878. #error Fortify enabled
  17879. #endif
  17880. ;
  17881. return 0;
  17882. }
  17883. _ACEOF
  17884. if ac_fn_c_try_compile "$LINENO"
  17885. then :
  17886. ac_cv_c_fortify_enabled=no
  17887. else $as_nop
  17888. ac_cv_c_fortify_enabled=yes
  17889. fi
  17890. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17891. fi
  17892. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
  17893. printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
  17894. if test "$ac_cv_c_fortify_enabled" = yes
  17895. then
  17896. CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
  17897. fi
  17898. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
  17899. printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
  17900. if test ${ac_cv_c_cfi_support+y}
  17901. then :
  17902. printf %s "(cached) " >&6
  17903. else $as_nop
  17904. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17905. /* end confdefs.h. */
  17906. asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
  17907. int
  17908. main (void)
  17909. {
  17910. ;
  17911. return 0;
  17912. }
  17913. _ACEOF
  17914. if ac_fn_c_try_compile "$LINENO"
  17915. then :
  17916. ac_cv_c_cfi_support="yes"
  17917. else $as_nop
  17918. ac_cv_c_cfi_support="no"
  17919. fi
  17920. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17921. fi
  17922. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
  17923. printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
  17924. if test "$ac_cv_c_cfi_support" = "yes"
  17925. then
  17926. DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
  17927. LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
  17928. UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
  17929. else
  17930. if test "x$enable_win64" = "xyes"
  17931. then
  17932. as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
  17933. fi
  17934. fi
  17935. case $host_os in
  17936. linux*)
  17937. case $host_cpu in
  17938. *i[3456789]86*|x86_64*|*aarch64*|arm*)
  17939. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  17940. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  17941. ;;
  17942. esac
  17943. ;;
  17944. esac
  17945. ac_save_CFLAGS="$CFLAGS"
  17946. CFLAGS="$CFLAGS $BUILTINFLAG"
  17947. ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
  17948. if test "x$ac_cv_func_epoll_create" = xyes
  17949. then :
  17950. printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
  17951. fi
  17952. ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
  17953. if test "x$ac_cv_func_fstatfs" = xyes
  17954. then :
  17955. printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
  17956. fi
  17957. ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
  17958. if test "x$ac_cv_func_futimens" = xyes
  17959. then :
  17960. printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
  17961. fi
  17962. ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
  17963. if test "x$ac_cv_func_futimes" = xyes
  17964. then :
  17965. printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
  17966. fi
  17967. ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
  17968. if test "x$ac_cv_func_futimesat" = xyes
  17969. then :
  17970. printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
  17971. fi
  17972. ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
  17973. if test "x$ac_cv_func_getattrlist" = xyes
  17974. then :
  17975. printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
  17976. fi
  17977. ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
  17978. if test "x$ac_cv_func_getauxval" = xyes
  17979. then :
  17980. printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
  17981. fi
  17982. ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
  17983. if test "x$ac_cv_func_getifaddrs" = xyes
  17984. then :
  17985. printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
  17986. fi
  17987. ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
  17988. if test "x$ac_cv_func_getrandom" = xyes
  17989. then :
  17990. printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
  17991. fi
  17992. ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
  17993. if test "x$ac_cv_func_kqueue" = xyes
  17994. then :
  17995. printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
  17996. fi
  17997. ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
  17998. if test "x$ac_cv_func_mach_continuous_time" = xyes
  17999. then :
  18000. printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
  18001. fi
  18002. ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
  18003. if test "x$ac_cv_func_pipe2" = xyes
  18004. then :
  18005. printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
  18006. fi
  18007. ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
  18008. if test "x$ac_cv_func_port_create" = xyes
  18009. then :
  18010. printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
  18011. fi
  18012. ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
  18013. if test "x$ac_cv_func_posix_fadvise" = xyes
  18014. then :
  18015. printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
  18016. fi
  18017. ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
  18018. if test "x$ac_cv_func_posix_fallocate" = xyes
  18019. then :
  18020. printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
  18021. fi
  18022. ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
  18023. if test "x$ac_cv_func_prctl" = xyes
  18024. then :
  18025. printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
  18026. fi
  18027. ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
  18028. if test "x$ac_cv_func_proc_pidinfo" = xyes
  18029. then :
  18030. printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
  18031. fi
  18032. ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
  18033. if test "x$ac_cv_func_sched_yield" = xyes
  18034. then :
  18035. printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
  18036. fi
  18037. ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
  18038. if test "x$ac_cv_func_setproctitle" = xyes
  18039. then :
  18040. printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
  18041. fi
  18042. ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
  18043. if test "x$ac_cv_func_setprogname" = xyes
  18044. then :
  18045. printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
  18046. fi
  18047. ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
  18048. if test "x$ac_cv_func_sigprocmask" = xyes
  18049. then :
  18050. printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
  18051. fi
  18052. ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
  18053. if test "x$ac_cv_func_sysinfo" = xyes
  18054. then :
  18055. printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
  18056. fi
  18057. ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
  18058. if test "x$ac_cv_func_tcdrain" = xyes
  18059. then :
  18060. printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
  18061. fi
  18062. ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
  18063. if test "x$ac_cv_func_thr_kill2" = xyes
  18064. then :
  18065. printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
  18066. fi
  18067. CFLAGS="$ac_save_CFLAGS"
  18068. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  18069. printf %s "checking for library containing dlopen... " >&6; }
  18070. if test ${ac_cv_search_dlopen+y}
  18071. then :
  18072. printf %s "(cached) " >&6
  18073. else $as_nop
  18074. ac_func_search_save_LIBS=$LIBS
  18075. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18076. /* end confdefs.h. */
  18077. /* Override any GCC internal prototype to avoid an error.
  18078. Use char because int might match the return type of a GCC
  18079. builtin and then its argument prototype would still apply. */
  18080. char dlopen ();
  18081. int
  18082. main (void)
  18083. {
  18084. return dlopen ();
  18085. ;
  18086. return 0;
  18087. }
  18088. _ACEOF
  18089. for ac_lib in '' dl
  18090. do
  18091. if test -z "$ac_lib"; then
  18092. ac_res="none required"
  18093. else
  18094. ac_res=-l$ac_lib
  18095. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18096. fi
  18097. if ac_fn_c_try_link "$LINENO"
  18098. then :
  18099. ac_cv_search_dlopen=$ac_res
  18100. fi
  18101. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18102. conftest$ac_exeext
  18103. if test ${ac_cv_search_dlopen+y}
  18104. then :
  18105. break
  18106. fi
  18107. done
  18108. if test ${ac_cv_search_dlopen+y}
  18109. then :
  18110. else $as_nop
  18111. ac_cv_search_dlopen=no
  18112. fi
  18113. rm conftest.$ac_ext
  18114. LIBS=$ac_func_search_save_LIBS
  18115. fi
  18116. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  18117. printf "%s\n" "$ac_cv_search_dlopen" >&6; }
  18118. ac_res=$ac_cv_search_dlopen
  18119. if test "$ac_res" != no
  18120. then :
  18121. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18122. fi
  18123. ac_wine_check_funcs_save_LIBS="$LIBS"
  18124. LIBS="$LIBS $DL_LIBS"
  18125. ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
  18126. if test "x$ac_cv_func_dlinfo" = xyes
  18127. then :
  18128. printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
  18129. fi
  18130. LIBS="$ac_wine_check_funcs_save_LIBS"
  18131. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
  18132. printf %s "checking for library containing gethostbyname... " >&6; }
  18133. if test ${ac_cv_search_gethostbyname+y}
  18134. then :
  18135. printf %s "(cached) " >&6
  18136. else $as_nop
  18137. ac_func_search_save_LIBS=$LIBS
  18138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18139. /* end confdefs.h. */
  18140. /* Override any GCC internal prototype to avoid an error.
  18141. Use char because int might match the return type of a GCC
  18142. builtin and then its argument prototype would still apply. */
  18143. char gethostbyname ();
  18144. int
  18145. main (void)
  18146. {
  18147. return gethostbyname ();
  18148. ;
  18149. return 0;
  18150. }
  18151. _ACEOF
  18152. for ac_lib in '' nsl
  18153. do
  18154. if test -z "$ac_lib"; then
  18155. ac_res="none required"
  18156. else
  18157. ac_res=-l$ac_lib
  18158. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18159. fi
  18160. if ac_fn_c_try_link "$LINENO"
  18161. then :
  18162. ac_cv_search_gethostbyname=$ac_res
  18163. fi
  18164. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18165. conftest$ac_exeext
  18166. if test ${ac_cv_search_gethostbyname+y}
  18167. then :
  18168. break
  18169. fi
  18170. done
  18171. if test ${ac_cv_search_gethostbyname+y}
  18172. then :
  18173. else $as_nop
  18174. ac_cv_search_gethostbyname=no
  18175. fi
  18176. rm conftest.$ac_ext
  18177. LIBS=$ac_func_search_save_LIBS
  18178. fi
  18179. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
  18180. printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
  18181. ac_res=$ac_cv_search_gethostbyname
  18182. if test "$ac_res" != no
  18183. then :
  18184. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18185. fi
  18186. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
  18187. printf %s "checking for library containing connect... " >&6; }
  18188. if test ${ac_cv_search_connect+y}
  18189. then :
  18190. printf %s "(cached) " >&6
  18191. else $as_nop
  18192. ac_func_search_save_LIBS=$LIBS
  18193. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18194. /* end confdefs.h. */
  18195. /* Override any GCC internal prototype to avoid an error.
  18196. Use char because int might match the return type of a GCC
  18197. builtin and then its argument prototype would still apply. */
  18198. char connect ();
  18199. int
  18200. main (void)
  18201. {
  18202. return connect ();
  18203. ;
  18204. return 0;
  18205. }
  18206. _ACEOF
  18207. for ac_lib in '' socket
  18208. do
  18209. if test -z "$ac_lib"; then
  18210. ac_res="none required"
  18211. else
  18212. ac_res=-l$ac_lib
  18213. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18214. fi
  18215. if ac_fn_c_try_link "$LINENO"
  18216. then :
  18217. ac_cv_search_connect=$ac_res
  18218. fi
  18219. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18220. conftest$ac_exeext
  18221. if test ${ac_cv_search_connect+y}
  18222. then :
  18223. break
  18224. fi
  18225. done
  18226. if test ${ac_cv_search_connect+y}
  18227. then :
  18228. else $as_nop
  18229. ac_cv_search_connect=no
  18230. fi
  18231. rm conftest.$ac_ext
  18232. LIBS=$ac_func_search_save_LIBS
  18233. fi
  18234. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
  18235. printf "%s\n" "$ac_cv_search_connect" >&6; }
  18236. ac_res=$ac_cv_search_connect
  18237. if test "$ac_res" != no
  18238. then :
  18239. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18240. fi
  18241. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
  18242. printf %s "checking for library containing inet_aton... " >&6; }
  18243. if test ${ac_cv_search_inet_aton+y}
  18244. then :
  18245. printf %s "(cached) " >&6
  18246. else $as_nop
  18247. ac_func_search_save_LIBS=$LIBS
  18248. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18249. /* end confdefs.h. */
  18250. /* Override any GCC internal prototype to avoid an error.
  18251. Use char because int might match the return type of a GCC
  18252. builtin and then its argument prototype would still apply. */
  18253. char inet_aton ();
  18254. int
  18255. main (void)
  18256. {
  18257. return inet_aton ();
  18258. ;
  18259. return 0;
  18260. }
  18261. _ACEOF
  18262. for ac_lib in '' resolv
  18263. do
  18264. if test -z "$ac_lib"; then
  18265. ac_res="none required"
  18266. else
  18267. ac_res=-l$ac_lib
  18268. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18269. fi
  18270. if ac_fn_c_try_link "$LINENO"
  18271. then :
  18272. ac_cv_search_inet_aton=$ac_res
  18273. fi
  18274. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18275. conftest$ac_exeext
  18276. if test ${ac_cv_search_inet_aton+y}
  18277. then :
  18278. break
  18279. fi
  18280. done
  18281. if test ${ac_cv_search_inet_aton+y}
  18282. then :
  18283. else $as_nop
  18284. ac_cv_search_inet_aton=no
  18285. fi
  18286. rm conftest.$ac_ext
  18287. LIBS=$ac_func_search_save_LIBS
  18288. fi
  18289. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
  18290. printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
  18291. ac_res=$ac_cv_search_inet_aton
  18292. if test "$ac_res" != no
  18293. then :
  18294. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18295. fi
  18296. ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
  18297. if test "x$ac_cv_func_getaddrinfo" = xyes
  18298. then :
  18299. printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
  18300. fi
  18301. case $host_os in
  18302. darwin*|macosx*) ;;
  18303. *) ac_save_LIBS=$LIBS
  18304. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  18305. printf %s "checking for library containing clock_gettime... " >&6; }
  18306. if test ${ac_cv_search_clock_gettime+y}
  18307. then :
  18308. printf %s "(cached) " >&6
  18309. else $as_nop
  18310. ac_func_search_save_LIBS=$LIBS
  18311. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18312. /* end confdefs.h. */
  18313. /* Override any GCC internal prototype to avoid an error.
  18314. Use char because int might match the return type of a GCC
  18315. builtin and then its argument prototype would still apply. */
  18316. char clock_gettime ();
  18317. int
  18318. main (void)
  18319. {
  18320. return clock_gettime ();
  18321. ;
  18322. return 0;
  18323. }
  18324. _ACEOF
  18325. for ac_lib in '' rt
  18326. do
  18327. if test -z "$ac_lib"; then
  18328. ac_res="none required"
  18329. else
  18330. ac_res=-l$ac_lib
  18331. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18332. fi
  18333. if ac_fn_c_try_link "$LINENO"
  18334. then :
  18335. ac_cv_search_clock_gettime=$ac_res
  18336. fi
  18337. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18338. conftest$ac_exeext
  18339. if test ${ac_cv_search_clock_gettime+y}
  18340. then :
  18341. break
  18342. fi
  18343. done
  18344. if test ${ac_cv_search_clock_gettime+y}
  18345. then :
  18346. else $as_nop
  18347. ac_cv_search_clock_gettime=no
  18348. fi
  18349. rm conftest.$ac_ext
  18350. LIBS=$ac_func_search_save_LIBS
  18351. fi
  18352. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  18353. printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
  18354. ac_res=$ac_cv_search_clock_gettime
  18355. if test "$ac_res" != no
  18356. then :
  18357. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18358. printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  18359. test "$ac_res" = "none required" || RT_LIBS="$ac_res"
  18360. fi
  18361. LIBS=$ac_save_LIBS
  18362. ;;
  18363. esac
  18364. if test "x$with_ldap" != "xno"
  18365. then
  18366. if ${LDAP_CFLAGS:+false} :
  18367. then :
  18368. if test ${PKG_CONFIG+y}
  18369. then :
  18370. LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
  18371. fi
  18372. fi
  18373. if ${LDAP_LIBS:+false} :
  18374. then :
  18375. if test ${PKG_CONFIG+y}
  18376. then :
  18377. LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
  18378. fi
  18379. fi
  18380. LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
  18381. printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
  18382. printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
  18383. ac_save_CPPFLAGS=$CPPFLAGS
  18384. CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
  18385. ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
  18386. if test "x$ac_cv_header_ldap_h" = xyes
  18387. then :
  18388. printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
  18389. fi
  18390. ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
  18391. if test "x$ac_cv_header_lber_h" = xyes
  18392. then :
  18393. printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
  18394. fi
  18395. if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
  18396. then
  18397. ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
  18398. "
  18399. if test "x$ac_cv_type_LDAPSortKey" = xyes
  18400. then :
  18401. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
  18402. printf %s "checking for ldap_initialize in -lldap... " >&6; }
  18403. if test ${ac_cv_lib_ldap_ldap_initialize+y}
  18404. then :
  18405. printf %s "(cached) " >&6
  18406. else $as_nop
  18407. ac_check_lib_save_LIBS=$LIBS
  18408. LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  18409. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18410. /* end confdefs.h. */
  18411. /* Override any GCC internal prototype to avoid an error.
  18412. Use char because int might match the return type of a GCC
  18413. builtin and then its argument prototype would still apply. */
  18414. char ldap_initialize ();
  18415. int
  18416. main (void)
  18417. {
  18418. return ldap_initialize ();
  18419. ;
  18420. return 0;
  18421. }
  18422. _ACEOF
  18423. if ac_fn_c_try_link "$LINENO"
  18424. then :
  18425. ac_cv_lib_ldap_ldap_initialize=yes
  18426. else $as_nop
  18427. ac_cv_lib_ldap_ldap_initialize=no
  18428. fi
  18429. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18430. conftest$ac_exeext conftest.$ac_ext
  18431. LIBS=$ac_check_lib_save_LIBS
  18432. fi
  18433. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
  18434. printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
  18435. if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
  18436. then :
  18437. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
  18438. printf %s "checking for ber_init in -llber... " >&6; }
  18439. if test ${ac_cv_lib_lber_ber_init+y}
  18440. then :
  18441. printf %s "(cached) " >&6
  18442. else $as_nop
  18443. ac_check_lib_save_LIBS=$LIBS
  18444. LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  18445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18446. /* end confdefs.h. */
  18447. /* Override any GCC internal prototype to avoid an error.
  18448. Use char because int might match the return type of a GCC
  18449. builtin and then its argument prototype would still apply. */
  18450. char ber_init ();
  18451. int
  18452. main (void)
  18453. {
  18454. return ber_init ();
  18455. ;
  18456. return 0;
  18457. }
  18458. _ACEOF
  18459. if ac_fn_c_try_link "$LINENO"
  18460. then :
  18461. ac_cv_lib_lber_ber_init=yes
  18462. else $as_nop
  18463. ac_cv_lib_lber_ber_init=no
  18464. fi
  18465. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18466. conftest$ac_exeext conftest.$ac_ext
  18467. LIBS=$ac_check_lib_save_LIBS
  18468. fi
  18469. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
  18470. printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
  18471. if test "x$ac_cv_lib_lber_ber_init" = xyes
  18472. then :
  18473. printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
  18474. else $as_nop
  18475. LDAP_LIBS=""
  18476. fi
  18477. else $as_nop
  18478. LDAP_LIBS=""
  18479. fi
  18480. else $as_nop
  18481. LDAP_LIBS=""
  18482. fi
  18483. else
  18484. LDAP_LIBS=""
  18485. fi
  18486. CPPFLAGS=$ac_save_CPPFLAGS
  18487. fi
  18488. if test "x$LDAP_LIBS" = "x"
  18489. then :
  18490. case "x$with_ldap" in
  18491. x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
  18492. xno) ;;
  18493. *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
  18494. This is an error since --with-ldap was requested." "$LINENO" 5 ;;
  18495. esac
  18496. fi
  18497. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
  18498. printf %s "checking for sched_setaffinity... " >&6; }
  18499. if test ${wine_cv_have_sched_setaffinity+y}
  18500. then :
  18501. printf %s "(cached) " >&6
  18502. else $as_nop
  18503. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18504. /* end confdefs.h. */
  18505. #include <sched.h>
  18506. int
  18507. main (void)
  18508. {
  18509. sched_setaffinity(0, 0, 0);
  18510. ;
  18511. return 0;
  18512. }
  18513. _ACEOF
  18514. if ac_fn_c_try_link "$LINENO"
  18515. then :
  18516. wine_cv_have_sched_setaffinity=yes
  18517. else $as_nop
  18518. wine_cv_have_sched_setaffinity=no
  18519. fi
  18520. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18521. conftest$ac_exeext conftest.$ac_ext
  18522. fi
  18523. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
  18524. printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
  18525. if test "$wine_cv_have_sched_setaffinity" = "yes"
  18526. then
  18527. printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
  18528. fi
  18529. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  18530. printf %s "checking for inline... " >&6; }
  18531. if test ${ac_cv_c_inline+y}
  18532. then :
  18533. printf %s "(cached) " >&6
  18534. else $as_nop
  18535. ac_cv_c_inline=no
  18536. for ac_kw in inline __inline__ __inline; do
  18537. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18538. /* end confdefs.h. */
  18539. #ifndef __cplusplus
  18540. typedef int foo_t;
  18541. static $ac_kw foo_t static_foo (void) {return 0; }
  18542. $ac_kw foo_t foo (void) {return 0; }
  18543. #endif
  18544. _ACEOF
  18545. if ac_fn_c_try_compile "$LINENO"
  18546. then :
  18547. ac_cv_c_inline=$ac_kw
  18548. fi
  18549. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  18550. test "$ac_cv_c_inline" != no && break
  18551. done
  18552. fi
  18553. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  18554. printf "%s\n" "$ac_cv_c_inline" >&6; }
  18555. case $ac_cv_c_inline in
  18556. inline | yes) ;;
  18557. *)
  18558. case $ac_cv_c_inline in
  18559. no) ac_val=;;
  18560. *) ac_val=$ac_cv_c_inline;;
  18561. esac
  18562. cat >>confdefs.h <<_ACEOF
  18563. #ifndef __cplusplus
  18564. #define inline $ac_val
  18565. #endif
  18566. _ACEOF
  18567. ;;
  18568. esac
  18569. ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
  18570. #include <signal.h>
  18571. "
  18572. if test "x$ac_cv_type_sigset_t" = xyes
  18573. then :
  18574. printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
  18575. fi
  18576. ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
  18577. "
  18578. if test "x$ac_cv_type_request_sense" = xyes
  18579. then :
  18580. printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
  18581. fi
  18582. ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
  18583. #include <sys/socket.h>
  18584. #ifdef HAVE_SYS_SOCKETVAR_H
  18585. #include <sys/socketvar.h>
  18586. #endif
  18587. #ifdef HAVE_NET_ROUTE_H
  18588. #include <net/route.h>
  18589. #endif
  18590. #ifdef HAVE_NETINET_IN_H
  18591. #include <netinet/in.h>
  18592. #endif
  18593. #ifdef HAVE_NETINET_IN_SYSTM_H
  18594. #include <netinet/in_systm.h>
  18595. #endif
  18596. #ifdef HAVE_NETINET_IP_H
  18597. #include <netinet/ip.h>
  18598. #endif
  18599. #ifdef HAVE_NETINET_IN_PCB_H
  18600. #include <netinet/in_pcb.h>
  18601. #endif
  18602. "
  18603. if test "x$ac_cv_type_struct_xinpgen" = xyes
  18604. then :
  18605. printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
  18606. fi
  18607. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
  18608. printf %s "checking for sigaddset... " >&6; }
  18609. if test ${wine_cv_have_sigaddset+y}
  18610. then :
  18611. printf %s "(cached) " >&6
  18612. else $as_nop
  18613. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18614. /* end confdefs.h. */
  18615. #include <signal.h>
  18616. int
  18617. main (void)
  18618. {
  18619. sigset_t set; sigaddset(&set,SIGTERM);
  18620. ;
  18621. return 0;
  18622. }
  18623. _ACEOF
  18624. if ac_fn_c_try_link "$LINENO"
  18625. then :
  18626. wine_cv_have_sigaddset=yes
  18627. else $as_nop
  18628. wine_cv_have_sigaddset=no
  18629. fi
  18630. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18631. conftest$ac_exeext conftest.$ac_ext
  18632. fi
  18633. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
  18634. printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
  18635. if test "$wine_cv_have_sigaddset" = "yes"
  18636. then
  18637. printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
  18638. fi
  18639. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
  18640. printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
  18641. if test ${wine_cv_linux_gethostbyname_r_6+y}
  18642. then :
  18643. printf %s "(cached) " >&6
  18644. else $as_nop
  18645. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18646. /* end confdefs.h. */
  18647. #include <netdb.h>
  18648. int
  18649. main (void)
  18650. {
  18651. char *name=0;
  18652. struct hostent he;
  18653. struct hostent *result;
  18654. char *buf=0;
  18655. int bufsize=0;
  18656. int errnr;
  18657. char *addr=0;
  18658. int addrlen=0;
  18659. int addrtype=0;
  18660. gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
  18661. gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
  18662. ;
  18663. return 0;
  18664. }
  18665. _ACEOF
  18666. if ac_fn_c_try_link "$LINENO"
  18667. then :
  18668. wine_cv_linux_gethostbyname_r_6=yes
  18669. else $as_nop
  18670. wine_cv_linux_gethostbyname_r_6=no
  18671. fi
  18672. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18673. conftest$ac_exeext conftest.$ac_ext
  18674. fi
  18675. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
  18676. printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
  18677. if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
  18678. then
  18679. printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
  18680. fi
  18681. ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
  18682. #include <sys/socket.h>
  18683. #ifdef HAVE_SYS_UN_H
  18684. # include <sys/un.h>
  18685. #endif
  18686. "
  18687. if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
  18688. then :
  18689. printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
  18690. fi
  18691. ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
  18692. #include <sys/socket.h>
  18693. #ifdef HAVE_SYS_UN_H
  18694. # include <sys/un.h>
  18695. #endif
  18696. "
  18697. if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
  18698. then :
  18699. printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
  18700. fi
  18701. ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
  18702. #ifdef HAVE_SCSI_SG_H
  18703. #include <scsi/sg.h>
  18704. #endif
  18705. "
  18706. if test "x$ac_cv_member_scsireq_t_cmd" = xyes
  18707. then :
  18708. printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
  18709. fi
  18710. 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>
  18711. #ifdef HAVE_SCSI_SG_H
  18712. #include <scsi/sg.h>
  18713. #endif
  18714. "
  18715. if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
  18716. then :
  18717. printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
  18718. fi
  18719. ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
  18720. "
  18721. if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
  18722. then :
  18723. printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
  18724. fi
  18725. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
  18726. #ifdef HAVE_SYS_MTIO_H
  18727. #include <sys/mtio.h>
  18728. #endif
  18729. "
  18730. if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
  18731. then :
  18732. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
  18733. fi
  18734. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
  18735. #ifdef HAVE_SYS_MTIO_H
  18736. #include <sys/mtio.h>
  18737. #endif
  18738. "
  18739. if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
  18740. then :
  18741. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
  18742. fi
  18743. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
  18744. #ifdef HAVE_SYS_MTIO_H
  18745. #include <sys/mtio.h>
  18746. #endif
  18747. "
  18748. if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
  18749. then :
  18750. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
  18751. fi
  18752. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
  18753. if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
  18754. then :
  18755. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
  18756. fi
  18757. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
  18758. if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
  18759. then :
  18760. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
  18761. fi
  18762. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
  18763. if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
  18764. then :
  18765. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
  18766. fi
  18767. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
  18768. if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
  18769. then :
  18770. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
  18771. fi
  18772. ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
  18773. if test "x$ac_cv_member_struct_stat_st_atim" = xyes
  18774. then :
  18775. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
  18776. fi
  18777. ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
  18778. if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
  18779. then :
  18780. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
  18781. fi
  18782. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
  18783. if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
  18784. then :
  18785. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
  18786. fi
  18787. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
  18788. if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
  18789. then :
  18790. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
  18791. fi
  18792. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
  18793. if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
  18794. then :
  18795. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
  18796. fi
  18797. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
  18798. if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
  18799. then :
  18800. printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
  18801. fi
  18802. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
  18803. if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
  18804. then :
  18805. printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
  18806. fi
  18807. ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
  18808. #ifdef HAVE_NETINET_IN_H
  18809. #include <netinet/in.h>
  18810. #endif
  18811. "
  18812. if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
  18813. then :
  18814. printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
  18815. fi
  18816. 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
  18817. #include <resolv.h>
  18818. #endif
  18819. "
  18820. if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
  18821. then :
  18822. printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
  18823. fi
  18824. ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
  18825. #include <netinet/in.h>
  18826. #endif
  18827. "
  18828. if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
  18829. then :
  18830. printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
  18831. fi
  18832. ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
  18833. #ifdef HAVE_SYS_SOCKETVAR_H
  18834. #include <sys/socketvar.h>
  18835. #endif
  18836. #ifdef HAVE_NETINET_IN_H
  18837. #include <netinet/in.h>
  18838. #endif
  18839. #ifdef HAVE_NETINET_IP_VAR_H
  18840. #include <netinet/ip_var.h>
  18841. #endif
  18842. "
  18843. if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
  18844. then :
  18845. printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
  18846. fi
  18847. 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
  18848. #include <netinet/ip_var.h>
  18849. #endif
  18850. "
  18851. if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
  18852. then :
  18853. printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
  18854. fi
  18855. ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
  18856. #ifdef HAVE_SYS_SOCKETVAR_H
  18857. #include <sys/socketvar.h>
  18858. #endif
  18859. #ifdef HAVE_NETINET_IN_H
  18860. #include <netinet/in.h>
  18861. #endif
  18862. #ifdef HAVE_NETINET_TCP_H
  18863. #include <netinet/tcp.h>
  18864. #endif
  18865. #ifdef HAVE_NETINET_TCP_VAR_H
  18866. #include <netinet/tcp_var.h>
  18867. #endif
  18868. "
  18869. if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
  18870. then :
  18871. printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
  18872. fi
  18873. 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
  18874. #include <netinet/tcp_var.h>
  18875. #endif
  18876. "
  18877. if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
  18878. then :
  18879. printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
  18880. fi
  18881. ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
  18882. #ifdef HAVE_NETINET_IN_H
  18883. #include <netinet/in.h>
  18884. #endif
  18885. #ifdef HAVE_NETINET_IP_VAR_H
  18886. #include <netinet/ip_var.h>
  18887. #endif
  18888. #ifdef HAVE_NETINET_UDP_H
  18889. #include <netinet/udp.h>
  18890. #endif
  18891. #ifdef HAVE_NETINET_UDP_VAR_H
  18892. #include <netinet/udp_var.h>
  18893. #endif
  18894. "
  18895. if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
  18896. then :
  18897. printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
  18898. fi
  18899. ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
  18900. #ifdef HAVE_NET_IF_H
  18901. # include <net/if.h>
  18902. #endif
  18903. "
  18904. if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
  18905. then :
  18906. printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
  18907. fi
  18908. ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
  18909. # include <sys/sysinfo.h>
  18910. #endif
  18911. "
  18912. if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
  18913. then :
  18914. printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
  18915. fi
  18916. ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
  18917. # include <sys/sysinfo.h>
  18918. #endif
  18919. "
  18920. if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
  18921. then :
  18922. printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
  18923. fi
  18924. LIBS="$ac_save_LIBS"
  18925. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
  18926. printf %s "checking for __builtin_popcount... " >&6; }
  18927. if test ${ac_cv_have___builtin_popcount+y}
  18928. then :
  18929. printf %s "(cached) " >&6
  18930. else $as_nop
  18931. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18932. /* end confdefs.h. */
  18933. int
  18934. main (void)
  18935. {
  18936. return __builtin_popcount(1)
  18937. ;
  18938. return 0;
  18939. }
  18940. _ACEOF
  18941. if ac_fn_c_try_link "$LINENO"
  18942. then :
  18943. ac_cv_have___builtin_popcount="yes"
  18944. else $as_nop
  18945. ac_cv_have___builtin_popcount="no"
  18946. fi
  18947. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18948. conftest$ac_exeext conftest.$ac_ext
  18949. fi
  18950. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
  18951. printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
  18952. if test "$ac_cv_have___builtin_popcount" = "yes"
  18953. then
  18954. printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
  18955. fi
  18956. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
  18957. printf %s "checking for __clear_cache... " >&6; }
  18958. if test ${ac_cv_have___clear_cache+y}
  18959. then :
  18960. printf %s "(cached) " >&6
  18961. else $as_nop
  18962. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18963. /* end confdefs.h. */
  18964. int
  18965. main (void)
  18966. {
  18967. __clear_cache((void*)0, (void*)0); return 0;
  18968. ;
  18969. return 0;
  18970. }
  18971. _ACEOF
  18972. if ac_fn_c_try_link "$LINENO"
  18973. then :
  18974. ac_cv_have___clear_cache="yes"
  18975. else $as_nop
  18976. ac_cv_have___clear_cache="no"
  18977. fi
  18978. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18979. conftest$ac_exeext conftest.$ac_ext
  18980. fi
  18981. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
  18982. printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
  18983. if test "$ac_cv_have___clear_cache" = "yes"
  18984. then
  18985. printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
  18986. fi
  18987. case $host_cpu in
  18988. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
  18989. printf %s "checking whether we need to define __i386__... " >&6; }
  18990. if test ${ac_cv_cpp_def___i386__+y}
  18991. then :
  18992. printf %s "(cached) " >&6
  18993. else $as_nop
  18994. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18995. /* end confdefs.h. */
  18996. #ifndef __i386__
  18997. yes
  18998. #endif
  18999. _ACEOF
  19000. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19001. $EGREP "yes" >/dev/null 2>&1
  19002. then :
  19003. ac_cv_cpp_def___i386__=yes
  19004. else $as_nop
  19005. ac_cv_cpp_def___i386__=no
  19006. fi
  19007. rm -rf conftest*
  19008. fi
  19009. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
  19010. printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
  19011. if test "x$ac_cv_cpp_def___i386__" = xyes
  19012. then :
  19013. CFLAGS="$CFLAGS -D__i386__"
  19014. LINTFLAGS="$LINTFLAGS -D__i386__"
  19015. fi ;;
  19016. *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
  19017. printf %s "checking whether we need to define __x86_64__... " >&6; }
  19018. if test ${ac_cv_cpp_def___x86_64__+y}
  19019. then :
  19020. printf %s "(cached) " >&6
  19021. else $as_nop
  19022. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19023. /* end confdefs.h. */
  19024. #ifndef __x86_64__
  19025. yes
  19026. #endif
  19027. _ACEOF
  19028. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19029. $EGREP "yes" >/dev/null 2>&1
  19030. then :
  19031. ac_cv_cpp_def___x86_64__=yes
  19032. else $as_nop
  19033. ac_cv_cpp_def___x86_64__=no
  19034. fi
  19035. rm -rf conftest*
  19036. fi
  19037. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
  19038. printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
  19039. if test "x$ac_cv_cpp_def___x86_64__" = xyes
  19040. then :
  19041. CFLAGS="$CFLAGS -D__x86_64__"
  19042. LINTFLAGS="$LINTFLAGS -D__x86_64__"
  19043. fi ;;
  19044. *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
  19045. printf %s "checking whether we need to define __sparc64__... " >&6; }
  19046. if test ${ac_cv_cpp_def___sparc64__+y}
  19047. then :
  19048. printf %s "(cached) " >&6
  19049. else $as_nop
  19050. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19051. /* end confdefs.h. */
  19052. #ifndef __sparc64__
  19053. yes
  19054. #endif
  19055. _ACEOF
  19056. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19057. $EGREP "yes" >/dev/null 2>&1
  19058. then :
  19059. ac_cv_cpp_def___sparc64__=yes
  19060. else $as_nop
  19061. ac_cv_cpp_def___sparc64__=no
  19062. fi
  19063. rm -rf conftest*
  19064. fi
  19065. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
  19066. printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
  19067. if test "x$ac_cv_cpp_def___sparc64__" = xyes
  19068. then :
  19069. CFLAGS="$CFLAGS -D__sparc64__"
  19070. LINTFLAGS="$LINTFLAGS -D__sparc64__"
  19071. fi ;;
  19072. *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
  19073. printf %s "checking whether we need to define __sparc__... " >&6; }
  19074. if test ${ac_cv_cpp_def___sparc__+y}
  19075. then :
  19076. printf %s "(cached) " >&6
  19077. else $as_nop
  19078. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19079. /* end confdefs.h. */
  19080. #ifndef __sparc__
  19081. yes
  19082. #endif
  19083. _ACEOF
  19084. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19085. $EGREP "yes" >/dev/null 2>&1
  19086. then :
  19087. ac_cv_cpp_def___sparc__=yes
  19088. else $as_nop
  19089. ac_cv_cpp_def___sparc__=no
  19090. fi
  19091. rm -rf conftest*
  19092. fi
  19093. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
  19094. printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
  19095. if test "x$ac_cv_cpp_def___sparc__" = xyes
  19096. then :
  19097. CFLAGS="$CFLAGS -D__sparc__"
  19098. LINTFLAGS="$LINTFLAGS -D__sparc__"
  19099. fi ;;
  19100. *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
  19101. printf %s "checking whether we need to define __powerpc64__... " >&6; }
  19102. if test ${ac_cv_cpp_def___powerpc64__+y}
  19103. then :
  19104. printf %s "(cached) " >&6
  19105. else $as_nop
  19106. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19107. /* end confdefs.h. */
  19108. #ifndef __powerpc64__
  19109. yes
  19110. #endif
  19111. _ACEOF
  19112. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19113. $EGREP "yes" >/dev/null 2>&1
  19114. then :
  19115. ac_cv_cpp_def___powerpc64__=yes
  19116. else $as_nop
  19117. ac_cv_cpp_def___powerpc64__=no
  19118. fi
  19119. rm -rf conftest*
  19120. fi
  19121. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
  19122. printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
  19123. if test "x$ac_cv_cpp_def___powerpc64__" = xyes
  19124. then :
  19125. CFLAGS="$CFLAGS -D__powerpc64__"
  19126. LINTFLAGS="$LINTFLAGS -D__powerpc64__"
  19127. fi ;;
  19128. *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
  19129. printf %s "checking whether we need to define __powerpc__... " >&6; }
  19130. if test ${ac_cv_cpp_def___powerpc__+y}
  19131. then :
  19132. printf %s "(cached) " >&6
  19133. else $as_nop
  19134. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19135. /* end confdefs.h. */
  19136. #ifndef __powerpc__
  19137. yes
  19138. #endif
  19139. _ACEOF
  19140. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19141. $EGREP "yes" >/dev/null 2>&1
  19142. then :
  19143. ac_cv_cpp_def___powerpc__=yes
  19144. else $as_nop
  19145. ac_cv_cpp_def___powerpc__=no
  19146. fi
  19147. rm -rf conftest*
  19148. fi
  19149. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
  19150. printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
  19151. if test "x$ac_cv_cpp_def___powerpc__" = xyes
  19152. then :
  19153. CFLAGS="$CFLAGS -D__powerpc__"
  19154. LINTFLAGS="$LINTFLAGS -D__powerpc__"
  19155. fi ;;
  19156. *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
  19157. printf %s "checking whether we need to define __aarch64__... " >&6; }
  19158. if test ${ac_cv_cpp_def___aarch64__+y}
  19159. then :
  19160. printf %s "(cached) " >&6
  19161. else $as_nop
  19162. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19163. /* end confdefs.h. */
  19164. #ifndef __aarch64__
  19165. yes
  19166. #endif
  19167. _ACEOF
  19168. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19169. $EGREP "yes" >/dev/null 2>&1
  19170. then :
  19171. ac_cv_cpp_def___aarch64__=yes
  19172. else $as_nop
  19173. ac_cv_cpp_def___aarch64__=no
  19174. fi
  19175. rm -rf conftest*
  19176. fi
  19177. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
  19178. printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
  19179. if test "x$ac_cv_cpp_def___aarch64__" = xyes
  19180. then :
  19181. CFLAGS="$CFLAGS -D__aarch64__"
  19182. LINTFLAGS="$LINTFLAGS -D__aarch64__"
  19183. fi ;;
  19184. *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
  19185. printf %s "checking whether we need to define __arm__... " >&6; }
  19186. if test ${ac_cv_cpp_def___arm__+y}
  19187. then :
  19188. printf %s "(cached) " >&6
  19189. else $as_nop
  19190. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19191. /* end confdefs.h. */
  19192. #ifndef __arm__
  19193. yes
  19194. #endif
  19195. _ACEOF
  19196. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19197. $EGREP "yes" >/dev/null 2>&1
  19198. then :
  19199. ac_cv_cpp_def___arm__=yes
  19200. else $as_nop
  19201. ac_cv_cpp_def___arm__=no
  19202. fi
  19203. rm -rf conftest*
  19204. fi
  19205. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
  19206. printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
  19207. if test "x$ac_cv_cpp_def___arm__" = xyes
  19208. then :
  19209. CFLAGS="$CFLAGS -D__arm__"
  19210. LINTFLAGS="$LINTFLAGS -D__arm__"
  19211. fi ;;
  19212. esac
  19213. case $host_vendor in
  19214. *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
  19215. printf %s "checking whether we need to define __sun__... " >&6; }
  19216. if test ${ac_cv_cpp_def___sun__+y}
  19217. then :
  19218. printf %s "(cached) " >&6
  19219. else $as_nop
  19220. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19221. /* end confdefs.h. */
  19222. #ifndef __sun__
  19223. yes
  19224. #endif
  19225. _ACEOF
  19226. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19227. $EGREP "yes" >/dev/null 2>&1
  19228. then :
  19229. ac_cv_cpp_def___sun__=yes
  19230. else $as_nop
  19231. ac_cv_cpp_def___sun__=no
  19232. fi
  19233. rm -rf conftest*
  19234. fi
  19235. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
  19236. printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
  19237. if test "x$ac_cv_cpp_def___sun__" = xyes
  19238. then :
  19239. CFLAGS="$CFLAGS -D__sun__"
  19240. LINTFLAGS="$LINTFLAGS -D__sun__"
  19241. fi ;;
  19242. esac
  19243. ac_config_commands="$ac_config_commands include/stamp-h"
  19244. printf %s "creating Makefile rules..." >&6
  19245. makedep_flags=""
  19246. test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
  19247. wine_srcdir=
  19248. test "$srcdir" = . || wine_srcdir="$srcdir/"
  19249. ac_config_links="$ac_config_links wine:tools/winewrapper"
  19250. wine_fn_config_symlink wine
  19251. if test "x$enable_win64" != xno -o -n "$with_wine64"; then
  19252. ac_config_links="$ac_config_links wine64:tools/winewrapper"
  19253. wine_fn_config_symlink wine64
  19254. fi
  19255. wine_fn_config_makefile dlls/acledit enable_acledit
  19256. wine_fn_config_makefile dlls/aclui enable_aclui
  19257. wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
  19258. wine_fn_config_makefile dlls/activeds enable_activeds
  19259. wine_fn_config_makefile dlls/activeds/tests enable_tests
  19260. wine_fn_config_makefile dlls/actxprxy enable_actxprxy
  19261. wine_fn_config_makefile dlls/adsldp enable_adsldp
  19262. wine_fn_config_makefile dlls/adsldp/tests enable_tests
  19263. wine_fn_config_makefile dlls/adsldpc enable_adsldpc
  19264. wine_fn_config_makefile dlls/advapi32 enable_advapi32
  19265. wine_fn_config_makefile dlls/advapi32/tests enable_tests
  19266. wine_fn_config_makefile dlls/advpack enable_advpack
  19267. wine_fn_config_makefile dlls/advpack/tests enable_tests
  19268. wine_fn_config_makefile dlls/amsi enable_amsi
  19269. wine_fn_config_makefile dlls/amstream enable_amstream
  19270. wine_fn_config_makefile dlls/amstream/tests enable_tests
  19271. wine_fn_config_makefile dlls/apisetschema enable_apisetschema
  19272. wine_fn_config_makefile dlls/apphelp enable_apphelp
  19273. wine_fn_config_makefile dlls/apphelp/tests enable_tests
  19274. wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
  19275. wine_fn_config_makefile dlls/atl enable_atl
  19276. wine_fn_config_makefile dlls/atl/tests enable_tests
  19277. wine_fn_config_makefile dlls/atl100 enable_atl100
  19278. wine_fn_config_makefile dlls/atl100/tests enable_tests
  19279. wine_fn_config_makefile dlls/atl110 enable_atl110
  19280. wine_fn_config_makefile dlls/atl80 enable_atl80
  19281. wine_fn_config_makefile dlls/atl80/tests enable_tests
  19282. wine_fn_config_makefile dlls/atl90 enable_atl90
  19283. wine_fn_config_makefile dlls/atlthunk enable_atlthunk
  19284. wine_fn_config_makefile dlls/atlthunk/tests enable_tests
  19285. wine_fn_config_makefile dlls/atmlib enable_atmlib
  19286. wine_fn_config_makefile dlls/authz enable_authz
  19287. wine_fn_config_makefile dlls/avicap32 enable_avicap32
  19288. wine_fn_config_makefile dlls/avifil32 enable_avifil32
  19289. wine_fn_config_makefile dlls/avifil32/tests enable_tests
  19290. wine_fn_config_makefile dlls/avifile.dll16 enable_win16
  19291. wine_fn_config_makefile dlls/avrt enable_avrt
  19292. wine_fn_config_makefile dlls/bcrypt enable_bcrypt
  19293. wine_fn_config_makefile dlls/bcrypt/tests enable_tests
  19294. wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
  19295. wine_fn_config_makefile dlls/browseui enable_browseui
  19296. wine_fn_config_makefile dlls/browseui/tests enable_tests
  19297. wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
  19298. wine_fn_config_makefile dlls/cabinet enable_cabinet
  19299. wine_fn_config_makefile dlls/cabinet/tests enable_tests
  19300. wine_fn_config_makefile dlls/capi2032 enable_capi2032
  19301. wine_fn_config_makefile dlls/cards enable_cards
  19302. wine_fn_config_makefile dlls/cdosys enable_cdosys
  19303. wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
  19304. wine_fn_config_makefile dlls/clusapi enable_clusapi
  19305. wine_fn_config_makefile dlls/cng.sys enable_cng_sys
  19306. wine_fn_config_makefile dlls/combase enable_combase
  19307. wine_fn_config_makefile dlls/combase/tests enable_tests
  19308. wine_fn_config_makefile dlls/comcat enable_comcat
  19309. wine_fn_config_makefile dlls/comcat/tests enable_tests
  19310. wine_fn_config_makefile dlls/comctl32 enable_comctl32
  19311. wine_fn_config_makefile dlls/comctl32/tests enable_tests
  19312. wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
  19313. wine_fn_config_makefile dlls/comdlg32/tests enable_tests
  19314. wine_fn_config_makefile dlls/comm.drv16 enable_win16
  19315. wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
  19316. wine_fn_config_makefile dlls/compobj.dll16 enable_win16
  19317. wine_fn_config_makefile dlls/compstui enable_compstui
  19318. wine_fn_config_makefile dlls/comsvcs enable_comsvcs
  19319. wine_fn_config_makefile dlls/comsvcs/tests enable_tests
  19320. wine_fn_config_makefile dlls/concrt140 enable_concrt140
  19321. wine_fn_config_makefile dlls/concrt140/tests enable_tests
  19322. wine_fn_config_makefile dlls/connect enable_connect
  19323. wine_fn_config_makefile dlls/credui enable_credui
  19324. wine_fn_config_makefile dlls/credui/tests enable_tests
  19325. wine_fn_config_makefile dlls/crtdll enable_crtdll
  19326. wine_fn_config_makefile dlls/crypt32 enable_crypt32
  19327. wine_fn_config_makefile dlls/crypt32/tests enable_tests
  19328. wine_fn_config_makefile dlls/cryptbase enable_cryptbase
  19329. wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
  19330. wine_fn_config_makefile dlls/cryptdll enable_cryptdll
  19331. wine_fn_config_makefile dlls/cryptext enable_cryptext
  19332. wine_fn_config_makefile dlls/cryptnet enable_cryptnet
  19333. wine_fn_config_makefile dlls/cryptnet/tests enable_tests
  19334. wine_fn_config_makefile dlls/cryptsp enable_cryptsp
  19335. wine_fn_config_makefile dlls/cryptui enable_cryptui
  19336. wine_fn_config_makefile dlls/cryptui/tests enable_tests
  19337. wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
  19338. wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
  19339. wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
  19340. wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
  19341. wine_fn_config_makefile dlls/d2d1 enable_d2d1
  19342. wine_fn_config_makefile dlls/d2d1/tests enable_tests
  19343. wine_fn_config_makefile dlls/d3d10 enable_d3d10
  19344. wine_fn_config_makefile dlls/d3d10/tests enable_tests
  19345. wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
  19346. wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
  19347. wine_fn_config_makefile dlls/d3d10core enable_d3d10core
  19348. wine_fn_config_makefile dlls/d3d10core/tests enable_tests
  19349. wine_fn_config_makefile dlls/d3d11 enable_d3d11
  19350. wine_fn_config_makefile dlls/d3d11/tests enable_tests
  19351. wine_fn_config_makefile dlls/d3d12 enable_d3d12
  19352. wine_fn_config_makefile dlls/d3d12/tests enable_tests
  19353. wine_fn_config_makefile dlls/d3d8 enable_d3d8
  19354. wine_fn_config_makefile dlls/d3d8/tests enable_tests
  19355. wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
  19356. wine_fn_config_makefile dlls/d3d9 enable_d3d9
  19357. wine_fn_config_makefile dlls/d3d9/tests enable_tests
  19358. wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
  19359. wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
  19360. wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
  19361. wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
  19362. wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
  19363. wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
  19364. wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
  19365. wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
  19366. wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
  19367. wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
  19368. wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
  19369. wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
  19370. wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
  19371. wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
  19372. wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
  19373. wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
  19374. wine_fn_config_makefile dlls/d3dim enable_d3dim
  19375. wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
  19376. wine_fn_config_makefile dlls/d3drm enable_d3drm
  19377. wine_fn_config_makefile dlls/d3drm/tests enable_tests
  19378. wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
  19379. wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
  19380. wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
  19381. wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
  19382. wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
  19383. wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
  19384. wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
  19385. wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
  19386. wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
  19387. wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
  19388. wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
  19389. wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
  19390. wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
  19391. wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
  19392. wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
  19393. wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
  19394. wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
  19395. wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
  19396. wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
  19397. wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
  19398. wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
  19399. wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
  19400. wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
  19401. wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
  19402. wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
  19403. wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
  19404. wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
  19405. wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
  19406. wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
  19407. wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
  19408. wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
  19409. wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
  19410. wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
  19411. wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
  19412. wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
  19413. wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
  19414. wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
  19415. wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
  19416. wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
  19417. wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
  19418. wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
  19419. wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
  19420. wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
  19421. wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
  19422. wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
  19423. wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
  19424. wine_fn_config_makefile dlls/d3dxof enable_d3dxof
  19425. wine_fn_config_makefile dlls/d3dxof/tests enable_tests
  19426. wine_fn_config_makefile dlls/davclnt enable_davclnt
  19427. wine_fn_config_makefile dlls/dbgeng enable_dbgeng
  19428. wine_fn_config_makefile dlls/dbgeng/tests enable_tests
  19429. wine_fn_config_makefile dlls/dbghelp enable_dbghelp
  19430. wine_fn_config_makefile dlls/dbghelp/tests enable_tests
  19431. wine_fn_config_makefile dlls/dciman32 enable_dciman32
  19432. wine_fn_config_makefile dlls/dcomp enable_dcomp
  19433. wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
  19434. wine_fn_config_makefile dlls/ddraw enable_ddraw
  19435. wine_fn_config_makefile dlls/ddraw/tests enable_tests
  19436. wine_fn_config_makefile dlls/ddrawex enable_ddrawex
  19437. wine_fn_config_makefile dlls/ddrawex/tests enable_tests
  19438. wine_fn_config_makefile dlls/devenum enable_devenum
  19439. wine_fn_config_makefile dlls/devenum/tests enable_tests
  19440. wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
  19441. wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
  19442. wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
  19443. wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
  19444. wine_fn_config_makefile dlls/diasymreader enable_diasymreader
  19445. wine_fn_config_makefile dlls/difxapi enable_difxapi
  19446. wine_fn_config_makefile dlls/dinput enable_dinput
  19447. wine_fn_config_makefile dlls/dinput/tests enable_tests
  19448. wine_fn_config_makefile dlls/dinput8 enable_dinput8
  19449. wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
  19450. wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
  19451. wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
  19452. wine_fn_config_makefile dlls/dispex enable_dispex
  19453. wine_fn_config_makefile dlls/dispex/tests enable_tests
  19454. wine_fn_config_makefile dlls/display.drv16 enable_win16
  19455. wine_fn_config_makefile dlls/dmband enable_dmband
  19456. wine_fn_config_makefile dlls/dmband/tests enable_tests
  19457. wine_fn_config_makefile dlls/dmcompos enable_dmcompos
  19458. wine_fn_config_makefile dlls/dmcompos/tests enable_tests
  19459. wine_fn_config_makefile dlls/dmime enable_dmime
  19460. wine_fn_config_makefile dlls/dmime/tests enable_tests
  19461. wine_fn_config_makefile dlls/dmloader enable_dmloader
  19462. wine_fn_config_makefile dlls/dmloader/tests enable_tests
  19463. wine_fn_config_makefile dlls/dmscript enable_dmscript
  19464. wine_fn_config_makefile dlls/dmscript/tests enable_tests
  19465. wine_fn_config_makefile dlls/dmstyle enable_dmstyle
  19466. wine_fn_config_makefile dlls/dmstyle/tests enable_tests
  19467. wine_fn_config_makefile dlls/dmsynth enable_dmsynth
  19468. wine_fn_config_makefile dlls/dmsynth/tests enable_tests
  19469. wine_fn_config_makefile dlls/dmusic enable_dmusic
  19470. wine_fn_config_makefile dlls/dmusic/tests enable_tests
  19471. wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
  19472. wine_fn_config_makefile dlls/dnsapi enable_dnsapi
  19473. wine_fn_config_makefile dlls/dnsapi/tests enable_tests
  19474. wine_fn_config_makefile dlls/dplay enable_dplay
  19475. wine_fn_config_makefile dlls/dplayx enable_dplayx
  19476. wine_fn_config_makefile dlls/dplayx/tests enable_tests
  19477. wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
  19478. wine_fn_config_makefile dlls/dpnet enable_dpnet
  19479. wine_fn_config_makefile dlls/dpnet/tests enable_tests
  19480. wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
  19481. wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
  19482. wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
  19483. wine_fn_config_makefile dlls/dpvoice enable_dpvoice
  19484. wine_fn_config_makefile dlls/dpvoice/tests enable_tests
  19485. wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
  19486. wine_fn_config_makefile dlls/drmclien enable_drmclien
  19487. wine_fn_config_makefile dlls/dsdmo enable_dsdmo
  19488. wine_fn_config_makefile dlls/dsdmo/tests enable_tests
  19489. wine_fn_config_makefile dlls/dsound enable_dsound
  19490. wine_fn_config_makefile dlls/dsound/tests enable_tests
  19491. wine_fn_config_makefile dlls/dsquery enable_dsquery
  19492. wine_fn_config_makefile dlls/dssenh enable_dssenh
  19493. wine_fn_config_makefile dlls/dssenh/tests enable_tests
  19494. wine_fn_config_makefile dlls/dsuiext enable_dsuiext
  19495. wine_fn_config_makefile dlls/dswave enable_dswave
  19496. wine_fn_config_makefile dlls/dswave/tests enable_tests
  19497. wine_fn_config_makefile dlls/dwmapi enable_dwmapi
  19498. wine_fn_config_makefile dlls/dwmapi/tests enable_tests
  19499. wine_fn_config_makefile dlls/dwrite enable_dwrite
  19500. wine_fn_config_makefile dlls/dwrite/tests enable_tests
  19501. wine_fn_config_makefile dlls/dx8vb enable_dx8vb
  19502. wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
  19503. wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
  19504. wine_fn_config_makefile dlls/dxgi enable_dxgi
  19505. wine_fn_config_makefile dlls/dxgi/tests enable_tests
  19506. wine_fn_config_makefile dlls/dxtrans enable_dxtrans
  19507. wine_fn_config_makefile dlls/dxva2 enable_dxva2
  19508. wine_fn_config_makefile dlls/dxva2/tests enable_tests
  19509. wine_fn_config_makefile dlls/esent enable_esent
  19510. wine_fn_config_makefile dlls/evr enable_evr
  19511. wine_fn_config_makefile dlls/evr/tests enable_tests
  19512. wine_fn_config_makefile dlls/explorerframe enable_explorerframe
  19513. wine_fn_config_makefile dlls/explorerframe/tests enable_tests
  19514. wine_fn_config_makefile dlls/faultrep enable_faultrep
  19515. wine_fn_config_makefile dlls/faultrep/tests enable_tests
  19516. wine_fn_config_makefile dlls/feclient enable_feclient
  19517. wine_fn_config_makefile dlls/fltlib enable_fltlib
  19518. wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
  19519. wine_fn_config_makefile dlls/fntcache enable_fntcache
  19520. wine_fn_config_makefile dlls/fontsub enable_fontsub
  19521. wine_fn_config_makefile dlls/fusion enable_fusion
  19522. wine_fn_config_makefile dlls/fusion/tests enable_tests
  19523. wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
  19524. wine_fn_config_makefile dlls/gameux enable_gameux
  19525. wine_fn_config_makefile dlls/gameux/tests enable_tests
  19526. wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
  19527. wine_fn_config_makefile dlls/gdi.exe16 enable_win16
  19528. wine_fn_config_makefile dlls/gdi32 enable_gdi32
  19529. wine_fn_config_makefile dlls/gdi32/tests enable_tests
  19530. wine_fn_config_makefile dlls/gdiplus enable_gdiplus
  19531. wine_fn_config_makefile dlls/gdiplus/tests enable_tests
  19532. wine_fn_config_makefile dlls/glu32 enable_glu32
  19533. wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
  19534. wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
  19535. wine_fn_config_makefile dlls/hal enable_hal
  19536. wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
  19537. wine_fn_config_makefile dlls/hid enable_hid
  19538. wine_fn_config_makefile dlls/hid/tests enable_tests
  19539. wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
  19540. wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
  19541. wine_fn_config_makefile dlls/hlink enable_hlink
  19542. wine_fn_config_makefile dlls/hlink/tests enable_tests
  19543. wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
  19544. wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
  19545. wine_fn_config_makefile dlls/http.sys enable_http_sys
  19546. wine_fn_config_makefile dlls/httpapi enable_httpapi
  19547. wine_fn_config_makefile dlls/httpapi/tests enable_tests
  19548. wine_fn_config_makefile dlls/iccvid enable_iccvid
  19549. wine_fn_config_makefile dlls/icmp enable_icmp
  19550. wine_fn_config_makefile dlls/ieframe enable_ieframe
  19551. wine_fn_config_makefile dlls/ieframe/tests enable_tests
  19552. wine_fn_config_makefile dlls/ieproxy enable_ieproxy
  19553. wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
  19554. wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
  19555. wine_fn_config_makefile dlls/imagehlp enable_imagehlp
  19556. wine_fn_config_makefile dlls/imagehlp/tests enable_tests
  19557. wine_fn_config_makefile dlls/imm.dll16 enable_win16
  19558. wine_fn_config_makefile dlls/imm32 enable_imm32
  19559. wine_fn_config_makefile dlls/imm32/tests enable_tests
  19560. wine_fn_config_makefile dlls/inetcomm enable_inetcomm
  19561. wine_fn_config_makefile dlls/inetcomm/tests enable_tests
  19562. wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
  19563. wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
  19564. wine_fn_config_makefile dlls/inetmib1/tests enable_tests
  19565. wine_fn_config_makefile dlls/infosoft enable_infosoft
  19566. wine_fn_config_makefile dlls/infosoft/tests enable_tests
  19567. wine_fn_config_makefile dlls/initpki enable_initpki
  19568. wine_fn_config_makefile dlls/inkobj enable_inkobj
  19569. wine_fn_config_makefile dlls/inseng enable_inseng
  19570. wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
  19571. wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
  19572. wine_fn_config_makefile dlls/iprop enable_iprop
  19573. wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
  19574. wine_fn_config_makefile dlls/itircl enable_itircl
  19575. wine_fn_config_makefile dlls/itss enable_itss
  19576. wine_fn_config_makefile dlls/itss/tests enable_tests
  19577. wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
  19578. wine_fn_config_makefile dlls/jscript enable_jscript
  19579. wine_fn_config_makefile dlls/jscript/tests enable_tests
  19580. wine_fn_config_makefile dlls/jsproxy enable_jsproxy
  19581. wine_fn_config_makefile dlls/jsproxy/tests enable_tests
  19582. wine_fn_config_makefile dlls/kerberos enable_kerberos
  19583. wine_fn_config_makefile dlls/kernel32 enable_kernel32
  19584. wine_fn_config_makefile dlls/kernel32/tests enable_tests
  19585. wine_fn_config_makefile dlls/kernelbase enable_kernelbase
  19586. wine_fn_config_makefile dlls/kernelbase/tests enable_tests
  19587. wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
  19588. wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
  19589. wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
  19590. wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
  19591. wine_fn_config_makefile dlls/ksuser enable_ksuser
  19592. wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
  19593. wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
  19594. wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
  19595. wine_fn_config_makefile dlls/loadperf enable_loadperf
  19596. wine_fn_config_makefile dlls/localspl enable_localspl
  19597. wine_fn_config_makefile dlls/localspl/tests enable_tests
  19598. wine_fn_config_makefile dlls/localui enable_localui
  19599. wine_fn_config_makefile dlls/localui/tests enable_tests
  19600. wine_fn_config_makefile dlls/lz32 enable_lz32
  19601. wine_fn_config_makefile dlls/lz32/tests enable_tests
  19602. wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
  19603. wine_fn_config_makefile dlls/mapi32 enable_mapi32
  19604. wine_fn_config_makefile dlls/mapi32/tests enable_tests
  19605. wine_fn_config_makefile dlls/mapistub enable_mapistub
  19606. wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
  19607. wine_fn_config_makefile dlls/mcicda enable_mcicda
  19608. wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
  19609. wine_fn_config_makefile dlls/mciseq enable_mciseq
  19610. wine_fn_config_makefile dlls/mciwave enable_mciwave
  19611. wine_fn_config_makefile dlls/mf enable_mf
  19612. wine_fn_config_makefile dlls/mf/tests enable_tests
  19613. wine_fn_config_makefile dlls/mf3216 enable_mf3216
  19614. wine_fn_config_makefile dlls/mferror enable_mferror
  19615. wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
  19616. wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
  19617. wine_fn_config_makefile dlls/mfplat enable_mfplat
  19618. wine_fn_config_makefile dlls/mfplat/tests enable_tests
  19619. wine_fn_config_makefile dlls/mfplay enable_mfplay
  19620. wine_fn_config_makefile dlls/mfplay/tests enable_tests
  19621. wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
  19622. wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
  19623. wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
  19624. wine_fn_config_makefile dlls/midimap enable_midimap
  19625. wine_fn_config_makefile dlls/mlang enable_mlang
  19626. wine_fn_config_makefile dlls/mlang/tests enable_tests
  19627. wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
  19628. wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
  19629. wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
  19630. wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
  19631. wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
  19632. wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
  19633. wine_fn_config_makefile dlls/monodebg.vxd enable_win16
  19634. wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
  19635. wine_fn_config_makefile dlls/mouse.drv16 enable_win16
  19636. wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
  19637. wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
  19638. wine_fn_config_makefile dlls/mpr enable_mpr
  19639. wine_fn_config_makefile dlls/mpr/tests enable_tests
  19640. wine_fn_config_makefile dlls/mprapi enable_mprapi
  19641. wine_fn_config_makefile dlls/msacm.dll16 enable_win16
  19642. wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
  19643. wine_fn_config_makefile dlls/msacm32 enable_msacm32
  19644. wine_fn_config_makefile dlls/msacm32/tests enable_tests
  19645. wine_fn_config_makefile dlls/msado15 enable_msado15
  19646. wine_fn_config_makefile dlls/msado15/tests enable_tests
  19647. wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
  19648. wine_fn_config_makefile dlls/msasn1 enable_msasn1
  19649. wine_fn_config_makefile dlls/msasn1/tests enable_tests
  19650. wine_fn_config_makefile dlls/mscat32 enable_mscat32
  19651. wine_fn_config_makefile dlls/mscms enable_mscms
  19652. wine_fn_config_makefile dlls/mscms/tests enable_tests
  19653. wine_fn_config_makefile dlls/mscoree enable_mscoree
  19654. wine_fn_config_makefile dlls/mscoree/tests enable_tests
  19655. wine_fn_config_makefile dlls/mscorwks enable_mscorwks
  19656. wine_fn_config_makefile dlls/msctf enable_msctf
  19657. wine_fn_config_makefile dlls/msctf/tests enable_tests
  19658. wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
  19659. wine_fn_config_makefile dlls/msctfp enable_msctfp
  19660. wine_fn_config_makefile dlls/msdaps enable_msdaps
  19661. wine_fn_config_makefile dlls/msdasql enable_msdasql
  19662. wine_fn_config_makefile dlls/msdasql/tests enable_tests
  19663. wine_fn_config_makefile dlls/msdelta enable_msdelta
  19664. wine_fn_config_makefile dlls/msdmo enable_msdmo
  19665. wine_fn_config_makefile dlls/msdmo/tests enable_tests
  19666. wine_fn_config_makefile dlls/msdrm enable_msdrm
  19667. wine_fn_config_makefile dlls/msftedit enable_msftedit
  19668. wine_fn_config_makefile dlls/msftedit/tests enable_tests
  19669. wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
  19670. wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
  19671. wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
  19672. wine_fn_config_makefile dlls/mshtml enable_mshtml
  19673. wine_fn_config_makefile dlls/mshtml/tests enable_tests
  19674. wine_fn_config_makefile dlls/msi enable_msi
  19675. wine_fn_config_makefile dlls/msi/tests enable_tests
  19676. wine_fn_config_makefile dlls/msident enable_msident
  19677. wine_fn_config_makefile dlls/msimg32 enable_msimg32
  19678. wine_fn_config_makefile dlls/msimsg enable_msimsg
  19679. wine_fn_config_makefile dlls/msimtf enable_msimtf
  19680. wine_fn_config_makefile dlls/msisip enable_msisip
  19681. wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
  19682. wine_fn_config_makefile dlls/msls31 enable_msls31
  19683. wine_fn_config_makefile dlls/msnet32 enable_msnet32
  19684. wine_fn_config_makefile dlls/mspatcha enable_mspatcha
  19685. wine_fn_config_makefile dlls/mspatcha/tests enable_tests
  19686. wine_fn_config_makefile dlls/msports enable_msports
  19687. wine_fn_config_makefile dlls/msrle32 enable_msrle32
  19688. wine_fn_config_makefile dlls/msrle32/tests enable_tests
  19689. wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
  19690. wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
  19691. wine_fn_config_makefile dlls/mssign32 enable_mssign32
  19692. wine_fn_config_makefile dlls/mssip32 enable_mssip32
  19693. wine_fn_config_makefile dlls/mstask enable_mstask
  19694. wine_fn_config_makefile dlls/mstask/tests enable_tests
  19695. wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
  19696. wine_fn_config_makefile dlls/msvcirt enable_msvcirt
  19697. wine_fn_config_makefile dlls/msvcirt/tests enable_tests
  19698. wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
  19699. wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
  19700. wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
  19701. wine_fn_config_makefile dlls/msvcp100/tests enable_tests
  19702. wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
  19703. wine_fn_config_makefile dlls/msvcp110/tests enable_tests
  19704. wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
  19705. wine_fn_config_makefile dlls/msvcp120/tests enable_tests
  19706. wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
  19707. wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
  19708. wine_fn_config_makefile dlls/msvcp140/tests enable_tests
  19709. wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
  19710. wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
  19711. wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
  19712. wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
  19713. wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
  19714. wine_fn_config_makefile dlls/msvcp60/tests enable_tests
  19715. wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
  19716. wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
  19717. wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
  19718. wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
  19719. wine_fn_config_makefile dlls/msvcp90/tests enable_tests
  19720. wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
  19721. wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
  19722. wine_fn_config_makefile dlls/msvcr100/tests enable_tests
  19723. wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
  19724. wine_fn_config_makefile dlls/msvcr110/tests enable_tests
  19725. wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
  19726. wine_fn_config_makefile dlls/msvcr120/tests enable_tests
  19727. wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
  19728. wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
  19729. wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
  19730. wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
  19731. wine_fn_config_makefile dlls/msvcr80/tests enable_tests
  19732. wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
  19733. wine_fn_config_makefile dlls/msvcr90/tests enable_tests
  19734. wine_fn_config_makefile dlls/msvcrt enable_msvcrt
  19735. wine_fn_config_makefile dlls/msvcrt/tests enable_tests
  19736. wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
  19737. wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
  19738. wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
  19739. wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
  19740. wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
  19741. wine_fn_config_makefile dlls/msvfw32/tests enable_tests
  19742. wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
  19743. wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
  19744. wine_fn_config_makefile dlls/mswsock enable_mswsock
  19745. wine_fn_config_makefile dlls/msxml enable_msxml
  19746. wine_fn_config_makefile dlls/msxml2 enable_msxml2
  19747. wine_fn_config_makefile dlls/msxml3 enable_msxml3
  19748. wine_fn_config_makefile dlls/msxml3/tests enable_tests
  19749. wine_fn_config_makefile dlls/msxml4 enable_msxml4
  19750. wine_fn_config_makefile dlls/msxml6 enable_msxml6
  19751. wine_fn_config_makefile dlls/mtxdm enable_mtxdm
  19752. wine_fn_config_makefile dlls/ncrypt enable_ncrypt
  19753. wine_fn_config_makefile dlls/ncrypt/tests enable_tests
  19754. wine_fn_config_makefile dlls/nddeapi enable_nddeapi
  19755. wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
  19756. wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
  19757. wine_fn_config_makefile dlls/netapi32 enable_netapi32
  19758. wine_fn_config_makefile dlls/netapi32/tests enable_tests
  19759. wine_fn_config_makefile dlls/netcfgx enable_netcfgx
  19760. wine_fn_config_makefile dlls/netcfgx/tests enable_tests
  19761. wine_fn_config_makefile dlls/netio.sys enable_netio_sys
  19762. wine_fn_config_makefile dlls/netprofm enable_netprofm
  19763. wine_fn_config_makefile dlls/netprofm/tests enable_tests
  19764. wine_fn_config_makefile dlls/netutils enable_netutils
  19765. wine_fn_config_makefile dlls/newdev enable_newdev
  19766. wine_fn_config_makefile dlls/ninput enable_ninput
  19767. wine_fn_config_makefile dlls/ninput/tests enable_tests
  19768. wine_fn_config_makefile dlls/normaliz enable_normaliz
  19769. wine_fn_config_makefile dlls/npmshtml enable_npmshtml
  19770. wine_fn_config_makefile dlls/npptools enable_npptools
  19771. wine_fn_config_makefile dlls/nsi enable_nsi
  19772. wine_fn_config_makefile dlls/nsi/tests enable_tests
  19773. wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
  19774. wine_fn_config_makefile dlls/ntdll enable_ntdll
  19775. wine_fn_config_makefile dlls/ntdll/tests enable_tests
  19776. wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
  19777. wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
  19778. wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
  19779. wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
  19780. wine_fn_config_makefile dlls/ntprint enable_ntprint
  19781. wine_fn_config_makefile dlls/ntprint/tests enable_tests
  19782. wine_fn_config_makefile dlls/objsel enable_objsel
  19783. wine_fn_config_makefile dlls/odbc32 enable_odbc32
  19784. wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
  19785. wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
  19786. wine_fn_config_makefile dlls/odbccp32/tests enable_tests
  19787. wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
  19788. wine_fn_config_makefile dlls/ole2.dll16 enable_win16
  19789. wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
  19790. wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
  19791. wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
  19792. wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
  19793. wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
  19794. wine_fn_config_makefile dlls/ole32 enable_ole32
  19795. wine_fn_config_makefile dlls/ole32/tests enable_tests
  19796. wine_fn_config_makefile dlls/oleacc enable_oleacc
  19797. wine_fn_config_makefile dlls/oleacc/tests enable_tests
  19798. wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
  19799. wine_fn_config_makefile dlls/oleaut32/tests enable_tests
  19800. wine_fn_config_makefile dlls/olecli.dll16 enable_win16
  19801. wine_fn_config_makefile dlls/olecli32 enable_olecli32
  19802. wine_fn_config_makefile dlls/oledb32 enable_oledb32
  19803. wine_fn_config_makefile dlls/oledb32/tests enable_tests
  19804. wine_fn_config_makefile dlls/oledlg enable_oledlg
  19805. wine_fn_config_makefile dlls/oledlg/tests enable_tests
  19806. wine_fn_config_makefile dlls/olepro32 enable_olepro32
  19807. wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
  19808. wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
  19809. wine_fn_config_makefile dlls/olethk32 enable_olethk32
  19810. wine_fn_config_makefile dlls/opcservices enable_opcservices
  19811. wine_fn_config_makefile dlls/opcservices/tests enable_tests
  19812. wine_fn_config_makefile dlls/openal32 enable_openal32
  19813. wine_fn_config_makefile dlls/opencl enable_opencl
  19814. wine_fn_config_makefile dlls/opengl32 enable_opengl32
  19815. wine_fn_config_makefile dlls/opengl32/tests enable_tests
  19816. wine_fn_config_makefile dlls/packager enable_packager
  19817. wine_fn_config_makefile dlls/packager/tests enable_tests
  19818. wine_fn_config_makefile dlls/pdh enable_pdh
  19819. wine_fn_config_makefile dlls/pdh/tests enable_tests
  19820. wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
  19821. wine_fn_config_makefile dlls/pidgen enable_pidgen
  19822. wine_fn_config_makefile dlls/powrprof enable_powrprof
  19823. wine_fn_config_makefile dlls/printui enable_printui
  19824. wine_fn_config_makefile dlls/prntvpt enable_prntvpt
  19825. wine_fn_config_makefile dlls/prntvpt/tests enable_tests
  19826. wine_fn_config_makefile dlls/propsys enable_propsys
  19827. wine_fn_config_makefile dlls/propsys/tests enable_tests
  19828. wine_fn_config_makefile dlls/psapi enable_psapi
  19829. wine_fn_config_makefile dlls/psapi/tests enable_tests
  19830. wine_fn_config_makefile dlls/pstorec enable_pstorec
  19831. wine_fn_config_makefile dlls/pstorec/tests enable_tests
  19832. wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
  19833. wine_fn_config_makefile dlls/qasf enable_qasf
  19834. wine_fn_config_makefile dlls/qasf/tests enable_tests
  19835. wine_fn_config_makefile dlls/qcap enable_qcap
  19836. wine_fn_config_makefile dlls/qcap/tests enable_tests
  19837. wine_fn_config_makefile dlls/qdvd enable_qdvd
  19838. wine_fn_config_makefile dlls/qdvd/tests enable_tests
  19839. wine_fn_config_makefile dlls/qedit enable_qedit
  19840. wine_fn_config_makefile dlls/qedit/tests enable_tests
  19841. wine_fn_config_makefile dlls/qmgr enable_qmgr
  19842. wine_fn_config_makefile dlls/qmgr/tests enable_tests
  19843. wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
  19844. wine_fn_config_makefile dlls/quartz enable_quartz
  19845. wine_fn_config_makefile dlls/quartz/tests enable_tests
  19846. wine_fn_config_makefile dlls/query enable_query
  19847. wine_fn_config_makefile dlls/qwave enable_qwave
  19848. wine_fn_config_makefile dlls/qwave/tests enable_tests
  19849. wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
  19850. wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
  19851. wine_fn_config_makefile dlls/rasapi32/tests enable_tests
  19852. wine_fn_config_makefile dlls/rasdlg enable_rasdlg
  19853. wine_fn_config_makefile dlls/regapi enable_regapi
  19854. wine_fn_config_makefile dlls/resutils enable_resutils
  19855. wine_fn_config_makefile dlls/riched20 enable_riched20
  19856. wine_fn_config_makefile dlls/riched20/tests enable_tests
  19857. wine_fn_config_makefile dlls/riched32 enable_riched32
  19858. wine_fn_config_makefile dlls/riched32/tests enable_tests
  19859. wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
  19860. wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
  19861. wine_fn_config_makefile dlls/rsabase enable_rsabase
  19862. wine_fn_config_makefile dlls/rsaenh enable_rsaenh
  19863. wine_fn_config_makefile dlls/rsaenh/tests enable_tests
  19864. wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
  19865. wine_fn_config_makefile dlls/rtutils enable_rtutils
  19866. wine_fn_config_makefile dlls/rtworkq enable_rtworkq
  19867. wine_fn_config_makefile dlls/rtworkq/tests enable_tests
  19868. wine_fn_config_makefile dlls/samlib enable_samlib
  19869. wine_fn_config_makefile dlls/sane.ds enable_sane_ds
  19870. wine_fn_config_makefile dlls/sapi enable_sapi
  19871. wine_fn_config_makefile dlls/sapi/tests enable_tests
  19872. wine_fn_config_makefile dlls/sas enable_sas
  19873. wine_fn_config_makefile dlls/scarddlg enable_scarddlg
  19874. wine_fn_config_makefile dlls/sccbase enable_sccbase
  19875. wine_fn_config_makefile dlls/schannel enable_schannel
  19876. wine_fn_config_makefile dlls/schannel/tests enable_tests
  19877. wine_fn_config_makefile dlls/schedsvc enable_schedsvc
  19878. wine_fn_config_makefile dlls/schedsvc/tests enable_tests
  19879. wine_fn_config_makefile dlls/scrobj enable_scrobj
  19880. wine_fn_config_makefile dlls/scrobj/tests enable_tests
  19881. wine_fn_config_makefile dlls/scrrun enable_scrrun
  19882. wine_fn_config_makefile dlls/scrrun/tests enable_tests
  19883. wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
  19884. wine_fn_config_makefile dlls/sechost enable_sechost
  19885. wine_fn_config_makefile dlls/secur32 enable_secur32
  19886. wine_fn_config_makefile dlls/secur32/tests enable_tests
  19887. wine_fn_config_makefile dlls/security enable_security
  19888. wine_fn_config_makefile dlls/sensapi enable_sensapi
  19889. wine_fn_config_makefile dlls/serialui enable_serialui
  19890. wine_fn_config_makefile dlls/serialui/tests enable_tests
  19891. wine_fn_config_makefile dlls/setupapi enable_setupapi
  19892. wine_fn_config_makefile dlls/setupapi/tests enable_tests
  19893. wine_fn_config_makefile dlls/setupx.dll16 enable_win16
  19894. wine_fn_config_makefile dlls/sfc enable_sfc
  19895. wine_fn_config_makefile dlls/sfc_os enable_sfc_os
  19896. wine_fn_config_makefile dlls/shcore enable_shcore
  19897. wine_fn_config_makefile dlls/shcore/tests enable_tests
  19898. wine_fn_config_makefile dlls/shdoclc enable_shdoclc
  19899. wine_fn_config_makefile dlls/shdocvw enable_shdocvw
  19900. wine_fn_config_makefile dlls/shdocvw/tests enable_tests
  19901. wine_fn_config_makefile dlls/shell.dll16 enable_win16
  19902. wine_fn_config_makefile dlls/shell32 enable_shell32
  19903. wine_fn_config_makefile dlls/shell32/tests enable_tests
  19904. wine_fn_config_makefile dlls/shfolder enable_shfolder
  19905. wine_fn_config_makefile dlls/shlwapi enable_shlwapi
  19906. wine_fn_config_makefile dlls/shlwapi/tests enable_tests
  19907. wine_fn_config_makefile dlls/slbcsp enable_slbcsp
  19908. wine_fn_config_makefile dlls/slc enable_slc
  19909. wine_fn_config_makefile dlls/slc/tests enable_tests
  19910. wine_fn_config_makefile dlls/snmpapi enable_snmpapi
  19911. wine_fn_config_makefile dlls/snmpapi/tests enable_tests
  19912. wine_fn_config_makefile dlls/softpub enable_softpub
  19913. wine_fn_config_makefile dlls/sound.drv16 enable_win16
  19914. wine_fn_config_makefile dlls/spoolss enable_spoolss
  19915. wine_fn_config_makefile dlls/spoolss/tests enable_tests
  19916. wine_fn_config_makefile dlls/sppc enable_sppc
  19917. wine_fn_config_makefile dlls/srclient enable_srclient
  19918. wine_fn_config_makefile dlls/srvcli enable_srvcli
  19919. wine_fn_config_makefile dlls/sspicli enable_sspicli
  19920. wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
  19921. wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
  19922. wine_fn_config_makefile dlls/sti enable_sti
  19923. wine_fn_config_makefile dlls/sti/tests enable_tests
  19924. wine_fn_config_makefile dlls/storage.dll16 enable_win16
  19925. wine_fn_config_makefile dlls/stress.dll16 enable_win16
  19926. wine_fn_config_makefile dlls/strmdll enable_strmdll
  19927. wine_fn_config_makefile dlls/svrapi enable_svrapi
  19928. wine_fn_config_makefile dlls/sxs enable_sxs
  19929. wine_fn_config_makefile dlls/sxs/tests enable_tests
  19930. wine_fn_config_makefile dlls/system.drv16 enable_win16
  19931. wine_fn_config_makefile dlls/t2embed enable_t2embed
  19932. wine_fn_config_makefile dlls/t2embed/tests enable_tests
  19933. wine_fn_config_makefile dlls/tapi32 enable_tapi32
  19934. wine_fn_config_makefile dlls/tapi32/tests enable_tests
  19935. wine_fn_config_makefile dlls/taskschd enable_taskschd
  19936. wine_fn_config_makefile dlls/taskschd/tests enable_tests
  19937. wine_fn_config_makefile dlls/tbs enable_tbs
  19938. wine_fn_config_makefile dlls/tdh enable_tdh
  19939. wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
  19940. wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
  19941. wine_fn_config_makefile dlls/traffic enable_traffic
  19942. wine_fn_config_makefile dlls/twain.dll16 enable_win16
  19943. wine_fn_config_makefile dlls/twain_32 enable_twain_32
  19944. wine_fn_config_makefile dlls/twain_32/tests enable_tests
  19945. wine_fn_config_makefile dlls/typelib.dll16 enable_win16
  19946. wine_fn_config_makefile dlls/tzres enable_tzres
  19947. wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
  19948. wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
  19949. wine_fn_config_makefile dlls/uianimation enable_uianimation
  19950. wine_fn_config_makefile dlls/uianimation/tests enable_tests
  19951. wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
  19952. wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
  19953. wine_fn_config_makefile dlls/uiribbon enable_uiribbon
  19954. wine_fn_config_makefile dlls/unicows enable_unicows
  19955. wine_fn_config_makefile dlls/updspapi enable_updspapi
  19956. wine_fn_config_makefile dlls/url enable_url
  19957. wine_fn_config_makefile dlls/urlmon enable_urlmon
  19958. wine_fn_config_makefile dlls/urlmon/tests enable_tests
  19959. wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
  19960. wine_fn_config_makefile dlls/user.exe16 enable_win16
  19961. wine_fn_config_makefile dlls/user32 enable_user32
  19962. wine_fn_config_makefile dlls/user32/tests enable_tests
  19963. wine_fn_config_makefile dlls/userenv enable_userenv
  19964. wine_fn_config_makefile dlls/userenv/tests enable_tests
  19965. wine_fn_config_makefile dlls/usp10 enable_usp10
  19966. wine_fn_config_makefile dlls/usp10/tests enable_tests
  19967. wine_fn_config_makefile dlls/utildll enable_utildll
  19968. wine_fn_config_makefile dlls/uxtheme enable_uxtheme
  19969. wine_fn_config_makefile dlls/uxtheme/tests enable_tests
  19970. wine_fn_config_makefile dlls/vbscript enable_vbscript
  19971. wine_fn_config_makefile dlls/vbscript/tests enable_tests
  19972. wine_fn_config_makefile dlls/vcomp enable_vcomp
  19973. wine_fn_config_makefile dlls/vcomp/tests enable_tests
  19974. wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
  19975. wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
  19976. wine_fn_config_makefile dlls/vcomp110/tests enable_tests
  19977. wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
  19978. wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
  19979. wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
  19980. wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
  19981. wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
  19982. wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
  19983. wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
  19984. wine_fn_config_makefile dlls/ver.dll16 enable_win16
  19985. wine_fn_config_makefile dlls/version enable_version
  19986. wine_fn_config_makefile dlls/version/tests enable_tests
  19987. wine_fn_config_makefile dlls/vga enable_vga
  19988. wine_fn_config_makefile dlls/virtdisk enable_virtdisk
  19989. wine_fn_config_makefile dlls/virtdisk/tests enable_tests
  19990. wine_fn_config_makefile dlls/vmm.vxd enable_win16
  19991. wine_fn_config_makefile dlls/vnbt.vxd enable_win16
  19992. wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
  19993. wine_fn_config_makefile dlls/vssapi enable_vssapi
  19994. wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
  19995. wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
  19996. wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
  19997. wine_fn_config_makefile dlls/vwin32.vxd enable_win16
  19998. wine_fn_config_makefile dlls/w32skrnl enable_win16
  19999. wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
  20000. wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
  20001. wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
  20002. wine_fn_config_makefile dlls/wbemprox enable_wbemprox
  20003. wine_fn_config_makefile dlls/wbemprox/tests enable_tests
  20004. wine_fn_config_makefile dlls/wdscore enable_wdscore
  20005. wine_fn_config_makefile dlls/webservices enable_webservices
  20006. wine_fn_config_makefile dlls/webservices/tests enable_tests
  20007. wine_fn_config_makefile dlls/websocket enable_websocket
  20008. wine_fn_config_makefile dlls/wer enable_wer
  20009. wine_fn_config_makefile dlls/wer/tests enable_tests
  20010. wine_fn_config_makefile dlls/wevtapi enable_wevtapi
  20011. wine_fn_config_makefile dlls/wevtapi/tests enable_tests
  20012. wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
  20013. wine_fn_config_makefile dlls/wiaservc enable_wiaservc
  20014. wine_fn_config_makefile dlls/wiaservc/tests enable_tests
  20015. wine_fn_config_makefile dlls/wimgapi enable_wimgapi
  20016. wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
  20017. wine_fn_config_makefile dlls/win32u enable_win32u
  20018. wine_fn_config_makefile dlls/win32u/tests enable_tests
  20019. wine_fn_config_makefile dlls/win87em.dll16 enable_win16
  20020. wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
  20021. wine_fn_config_makefile dlls/windebug.dll16 enable_win16
  20022. wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
  20023. wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
  20024. wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
  20025. wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
  20026. wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
  20027. wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
  20028. wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
  20029. wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
  20030. wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
  20031. wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
  20032. wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
  20033. wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
  20034. wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
  20035. wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
  20036. wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
  20037. wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
  20038. wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
  20039. wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
  20040. wine_fn_config_makefile dlls/wined3d enable_wined3d
  20041. wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
  20042. wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
  20043. wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
  20044. wine_fn_config_makefile dlls/winemapi enable_winemapi
  20045. wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
  20046. wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
  20047. wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
  20048. wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
  20049. wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
  20050. wine_fn_config_makefile dlls/winevulkan enable_winevulkan
  20051. wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
  20052. wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
  20053. wine_fn_config_makefile dlls/wing.dll16 enable_win16
  20054. wine_fn_config_makefile dlls/wing32 enable_wing32
  20055. wine_fn_config_makefile dlls/winhttp enable_winhttp
  20056. wine_fn_config_makefile dlls/winhttp/tests enable_tests
  20057. wine_fn_config_makefile dlls/wininet enable_wininet
  20058. wine_fn_config_makefile dlls/wininet/tests enable_tests
  20059. wine_fn_config_makefile dlls/winmm enable_winmm
  20060. wine_fn_config_makefile dlls/winmm/tests enable_tests
  20061. wine_fn_config_makefile dlls/winnls.dll16 enable_win16
  20062. wine_fn_config_makefile dlls/winnls32 enable_winnls32
  20063. wine_fn_config_makefile dlls/winscard enable_winscard
  20064. wine_fn_config_makefile dlls/winsock.dll16 enable_win16
  20065. wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
  20066. wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
  20067. wine_fn_config_makefile dlls/winsta enable_winsta
  20068. wine_fn_config_makefile dlls/wintab.dll16 enable_win16
  20069. wine_fn_config_makefile dlls/wintab32 enable_wintab32
  20070. wine_fn_config_makefile dlls/wintab32/tests enable_tests
  20071. wine_fn_config_makefile dlls/wintrust enable_wintrust
  20072. wine_fn_config_makefile dlls/wintrust/tests enable_tests
  20073. wine_fn_config_makefile dlls/winusb enable_winusb
  20074. wine_fn_config_makefile dlls/wlanapi enable_wlanapi
  20075. wine_fn_config_makefile dlls/wlanapi/tests enable_tests
  20076. wine_fn_config_makefile dlls/wlanui enable_wlanui
  20077. wine_fn_config_makefile dlls/wldap32 enable_wldap32
  20078. wine_fn_config_makefile dlls/wldap32/tests enable_tests
  20079. wine_fn_config_makefile dlls/wmadmod enable_wmadmod
  20080. wine_fn_config_makefile dlls/wmadmod/tests enable_tests
  20081. wine_fn_config_makefile dlls/wmasf enable_wmasf
  20082. wine_fn_config_makefile dlls/wmi enable_wmi
  20083. wine_fn_config_makefile dlls/wmiutils enable_wmiutils
  20084. wine_fn_config_makefile dlls/wmiutils/tests enable_tests
  20085. wine_fn_config_makefile dlls/wmp enable_wmp
  20086. wine_fn_config_makefile dlls/wmp/tests enable_tests
  20087. wine_fn_config_makefile dlls/wmphoto enable_wmphoto
  20088. wine_fn_config_makefile dlls/wmvcore enable_wmvcore
  20089. wine_fn_config_makefile dlls/wmvcore/tests enable_tests
  20090. wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
  20091. wine_fn_config_makefile dlls/wow32 enable_win16
  20092. wine_fn_config_makefile dlls/wow64 enable_wow64
  20093. wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
  20094. wine_fn_config_makefile dlls/wow64win enable_wow64win
  20095. wine_fn_config_makefile dlls/wpc enable_wpc
  20096. wine_fn_config_makefile dlls/wpc/tests enable_tests
  20097. wine_fn_config_makefile dlls/wpcap enable_wpcap
  20098. wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
  20099. wine_fn_config_makefile dlls/ws2_32/tests enable_tests
  20100. wine_fn_config_makefile dlls/wsdapi enable_wsdapi
  20101. wine_fn_config_makefile dlls/wsdapi/tests enable_tests
  20102. wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
  20103. wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
  20104. wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
  20105. wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
  20106. wine_fn_config_makefile dlls/wsock32 enable_wsock32
  20107. wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
  20108. wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
  20109. wine_fn_config_makefile dlls/wuapi enable_wuapi
  20110. wine_fn_config_makefile dlls/wuaueng enable_wuaueng
  20111. wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
  20112. wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
  20113. wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
  20114. wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
  20115. wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
  20116. wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
  20117. wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
  20118. wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
  20119. wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
  20120. wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
  20121. wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
  20122. wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
  20123. wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
  20124. wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
  20125. wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
  20126. wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
  20127. wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
  20128. wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
  20129. wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
  20130. wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
  20131. wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
  20132. wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
  20133. wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
  20134. wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
  20135. wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
  20136. wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
  20137. wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
  20138. wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
  20139. wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
  20140. wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
  20141. wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
  20142. wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
  20143. wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
  20144. wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
  20145. wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
  20146. wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
  20147. wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
  20148. wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
  20149. wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
  20150. wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
  20151. wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
  20152. wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
  20153. wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
  20154. wine_fn_config_makefile dlls/xmllite enable_xmllite
  20155. wine_fn_config_makefile dlls/xmllite/tests enable_tests
  20156. wine_fn_config_makefile dlls/xolehlp enable_xolehlp
  20157. wine_fn_config_makefile dlls/xpsprint enable_xpsprint
  20158. wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
  20159. wine_fn_config_makefile fonts enable_fonts
  20160. wine_fn_config_makefile include enable_include
  20161. wine_fn_config_makefile libs/adsiid enable_adsiid
  20162. wine_fn_config_makefile libs/dmoguids enable_dmoguids
  20163. wine_fn_config_makefile libs/dxerr8 enable_dxerr8
  20164. wine_fn_config_makefile libs/dxerr9 enable_dxerr9
  20165. wine_fn_config_makefile libs/dxguid enable_dxguid
  20166. wine_fn_config_makefile libs/faudio enable_faudio
  20167. wine_fn_config_makefile libs/gsm enable_gsm
  20168. wine_fn_config_makefile libs/jpeg enable_jpeg
  20169. wine_fn_config_makefile libs/jxr enable_jxr
  20170. wine_fn_config_makefile libs/lcms2 enable_lcms2
  20171. wine_fn_config_makefile libs/mfuuid enable_mfuuid
  20172. wine_fn_config_makefile libs/mpg123 enable_mpg123
  20173. wine_fn_config_makefile libs/png enable_png
  20174. wine_fn_config_makefile libs/strmbase enable_strmbase
  20175. wine_fn_config_makefile libs/strmiids enable_strmiids
  20176. wine_fn_config_makefile libs/tiff enable_tiff
  20177. wine_fn_config_makefile libs/uuid enable_uuid
  20178. wine_fn_config_makefile libs/vkd3d enable_vkd3d
  20179. wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
  20180. wine_fn_config_makefile libs/wine enable_wine
  20181. wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
  20182. wine_fn_config_makefile libs/xml2 enable_xml2
  20183. wine_fn_config_makefile libs/xslt enable_xslt
  20184. wine_fn_config_makefile libs/zlib enable_zlib
  20185. wine_fn_config_makefile loader enable_loader
  20186. wine_fn_config_makefile nls enable_nls
  20187. wine_fn_config_makefile po enable_po
  20188. wine_fn_config_makefile programs/arp enable_arp
  20189. wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
  20190. wine_fn_config_makefile programs/attrib enable_attrib
  20191. wine_fn_config_makefile programs/cabarc enable_cabarc
  20192. wine_fn_config_makefile programs/cacls enable_cacls
  20193. wine_fn_config_makefile programs/chcp.com enable_chcp_com
  20194. wine_fn_config_makefile programs/clock enable_clock
  20195. wine_fn_config_makefile programs/cmd enable_cmd
  20196. wine_fn_config_makefile programs/cmd/tests enable_tests
  20197. wine_fn_config_makefile programs/conhost enable_conhost
  20198. wine_fn_config_makefile programs/conhost/tests enable_tests
  20199. wine_fn_config_makefile programs/control enable_control
  20200. wine_fn_config_makefile programs/cscript enable_cscript
  20201. wine_fn_config_makefile programs/dism enable_dism
  20202. wine_fn_config_makefile programs/dllhost enable_dllhost
  20203. wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
  20204. wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
  20205. wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
  20206. wine_fn_config_makefile programs/dxdiag enable_dxdiag
  20207. wine_fn_config_makefile programs/eject enable_eject
  20208. wine_fn_config_makefile programs/expand enable_expand
  20209. wine_fn_config_makefile programs/explorer enable_explorer
  20210. wine_fn_config_makefile programs/extrac32 enable_extrac32
  20211. wine_fn_config_makefile programs/fc enable_fc
  20212. wine_fn_config_makefile programs/find enable_find
  20213. wine_fn_config_makefile programs/find/tests enable_tests
  20214. wine_fn_config_makefile programs/findstr enable_findstr
  20215. wine_fn_config_makefile programs/fsutil enable_fsutil
  20216. wine_fn_config_makefile programs/fsutil/tests enable_tests
  20217. wine_fn_config_makefile programs/hh enable_hh
  20218. wine_fn_config_makefile programs/hostname enable_hostname
  20219. wine_fn_config_makefile programs/icacls enable_icacls
  20220. wine_fn_config_makefile programs/icinfo enable_icinfo
  20221. wine_fn_config_makefile programs/iexplore enable_iexplore
  20222. wine_fn_config_makefile programs/ipconfig enable_ipconfig
  20223. wine_fn_config_makefile programs/lodctr enable_lodctr
  20224. wine_fn_config_makefile programs/mofcomp enable_mofcomp
  20225. wine_fn_config_makefile programs/mshta enable_mshta
  20226. wine_fn_config_makefile programs/msidb enable_msidb
  20227. wine_fn_config_makefile programs/msiexec enable_msiexec
  20228. wine_fn_config_makefile programs/msinfo32 enable_msinfo32
  20229. wine_fn_config_makefile programs/net enable_net
  20230. wine_fn_config_makefile programs/netsh enable_netsh
  20231. wine_fn_config_makefile programs/netstat enable_netstat
  20232. wine_fn_config_makefile programs/ngen enable_ngen
  20233. wine_fn_config_makefile programs/notepad enable_notepad
  20234. wine_fn_config_makefile programs/oleview enable_oleview
  20235. wine_fn_config_makefile programs/ping enable_ping
  20236. wine_fn_config_makefile programs/plugplay enable_plugplay
  20237. wine_fn_config_makefile programs/powershell enable_powershell
  20238. wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
  20239. wine_fn_config_makefile programs/progman enable_progman
  20240. wine_fn_config_makefile programs/reg enable_reg
  20241. wine_fn_config_makefile programs/reg/tests enable_tests
  20242. wine_fn_config_makefile programs/regasm enable_regasm
  20243. wine_fn_config_makefile programs/regedit enable_regedit
  20244. wine_fn_config_makefile programs/regedit/tests enable_tests
  20245. wine_fn_config_makefile programs/regini enable_regini
  20246. wine_fn_config_makefile programs/regsvcs enable_regsvcs
  20247. wine_fn_config_makefile programs/regsvr32 enable_regsvr32
  20248. wine_fn_config_makefile programs/robocopy enable_robocopy
  20249. wine_fn_config_makefile programs/rpcss enable_rpcss
  20250. wine_fn_config_makefile programs/rundll.exe16 enable_win16
  20251. wine_fn_config_makefile programs/rundll32 enable_rundll32
  20252. wine_fn_config_makefile programs/sc enable_sc
  20253. wine_fn_config_makefile programs/schtasks enable_schtasks
  20254. wine_fn_config_makefile programs/schtasks/tests enable_tests
  20255. wine_fn_config_makefile programs/sdbinst enable_sdbinst
  20256. wine_fn_config_makefile programs/secedit enable_secedit
  20257. wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
  20258. wine_fn_config_makefile programs/services enable_services
  20259. wine_fn_config_makefile programs/services/tests enable_tests
  20260. wine_fn_config_makefile programs/shutdown enable_shutdown
  20261. wine_fn_config_makefile programs/spoolsv enable_spoolsv
  20262. wine_fn_config_makefile programs/start enable_start
  20263. wine_fn_config_makefile programs/subst enable_subst
  20264. wine_fn_config_makefile programs/svchost enable_svchost
  20265. wine_fn_config_makefile programs/systeminfo enable_systeminfo
  20266. wine_fn_config_makefile programs/taskkill enable_taskkill
  20267. wine_fn_config_makefile programs/tasklist enable_tasklist
  20268. wine_fn_config_makefile programs/taskmgr enable_taskmgr
  20269. wine_fn_config_makefile programs/termsv enable_termsv
  20270. wine_fn_config_makefile programs/uninstaller enable_uninstaller
  20271. wine_fn_config_makefile programs/unlodctr enable_unlodctr
  20272. wine_fn_config_makefile programs/view enable_view
  20273. wine_fn_config_makefile programs/wevtutil enable_wevtutil
  20274. wine_fn_config_makefile programs/where enable_where
  20275. wine_fn_config_makefile programs/whoami enable_whoami
  20276. wine_fn_config_makefile programs/wineboot enable_wineboot
  20277. wine_fn_config_makefile programs/winebrowser enable_winebrowser
  20278. wine_fn_config_makefile programs/winecfg enable_winecfg
  20279. wine_fn_config_makefile programs/wineconsole enable_wineconsole
  20280. wine_fn_config_makefile programs/winedbg enable_winedbg
  20281. wine_fn_config_makefile programs/winedevice enable_winedevice
  20282. wine_fn_config_makefile programs/winefile enable_winefile
  20283. wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
  20284. wine_fn_config_makefile programs/winemine enable_winemine
  20285. wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
  20286. wine_fn_config_makefile programs/winepath enable_winepath
  20287. wine_fn_config_makefile programs/winetest enable_winetest
  20288. wine_fn_config_makefile programs/winevdm enable_win16
  20289. wine_fn_config_makefile programs/winhelp.exe16 enable_win16
  20290. wine_fn_config_makefile programs/winhlp32 enable_winhlp32
  20291. wine_fn_config_makefile programs/winmgmt enable_winmgmt
  20292. wine_fn_config_makefile programs/winoldap.mod16 enable_win16
  20293. wine_fn_config_makefile programs/winver enable_winver
  20294. wine_fn_config_makefile programs/wmic enable_wmic
  20295. wine_fn_config_makefile programs/wmplayer enable_wmplayer
  20296. wine_fn_config_makefile programs/wordpad enable_wordpad
  20297. wine_fn_config_makefile programs/write enable_write
  20298. wine_fn_config_makefile programs/wscript enable_wscript
  20299. wine_fn_config_makefile programs/wscript/tests enable_tests
  20300. wine_fn_config_makefile programs/wuauserv enable_wuauserv
  20301. wine_fn_config_makefile programs/wusa enable_wusa
  20302. wine_fn_config_makefile programs/xcopy enable_xcopy
  20303. wine_fn_config_makefile programs/xcopy/tests enable_tests
  20304. wine_fn_config_makefile server enable_server
  20305. test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
  20306. test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
  20307. test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
  20308. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
  20309. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
  20310. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
  20311. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
  20312. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
  20313. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
  20314. wine_fn_append_file CONFIGURE_TARGETS "TAGS"
  20315. wine_fn_append_file CONFIGURE_TARGETS "tags"
  20316. wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
  20317. wine_fn_append_file CONFIGURE_TARGETS "config.log"
  20318. wine_fn_append_file CONFIGURE_TARGETS "config.status"
  20319. wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
  20320. wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
  20321. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
  20322. if test "x$enable_tools" != xno
  20323. then
  20324. wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
  20325. ac_config_commands="$ac_config_commands tools/makedep"
  20326. fi
  20327. ac_config_commands="$ac_config_commands Makefile"
  20328. SHELL=/bin/sh
  20329. wine_fn_append_rule "all: wine
  20330. @echo \"Wine build complete.\"
  20331. .INIT: Makefile
  20332. .MAKEFILEDEPS:
  20333. all: Makefile
  20334. Makefile: config.status \$(MAKEDEP)
  20335. @./config.status Makefile
  20336. depend: \$(MAKEDEP)
  20337. \$(MAKEDEP)$makedep_flags"
  20338. wine_fn_append_rule "config.status: ${wine_srcdir}configure
  20339. @./config.status --recheck
  20340. include/config.h: include/stamp-h
  20341. include/stamp-h: ${wine_srcdir}include/config.h.in config.status
  20342. @./config.status include/config.h include/stamp-h"
  20343. if test "x$enable_maintainer_mode" = xyes
  20344. then
  20345. wine_fn_append_rule "configure: configure.ac aclocal.m4
  20346. autoconf --warnings=all
  20347. include/config.h.in: include/stamp-h.in
  20348. include/stamp-h.in: configure.ac aclocal.m4
  20349. autoheader --warnings=all
  20350. @echo timestamp > \$@"
  20351. fi
  20352. if test "x$enable_tools" != xno
  20353. then
  20354. wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
  20355. @./config.status tools/makedep
  20356. Makefile: tools/makedep$ac_exeext"
  20357. else
  20358. wine_fn_append_rule "\$(MAKEDEP):
  20359. @echo \"You need to run make in $toolsdir first\" && false"
  20360. fi
  20361. if test -n "$with_wine64"
  20362. then
  20363. case "$with_wine64" in
  20364. /*) reldir="" ;;
  20365. *) reldir="../" ;;
  20366. esac
  20367. rm -f fonts server 2>/dev/null
  20368. wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
  20369. loader/wine64 loader/wine64-preloader:
  20370. rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
  20371. $with_wine64/loader/wine:
  20372. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
  20373. $with_wine64/loader/wine-preloader:
  20374. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
  20375. clean::
  20376. rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
  20377. else
  20378. TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
  20379. TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
  20380. fonts \
  20381. loader/wine.inf \
  20382. nls \
  20383. programs/msidb/msidb \
  20384. programs/msiexec/msiexec \
  20385. programs/notepad/notepad \
  20386. programs/regedit/regedit \
  20387. programs/regsvr32/regsvr32 \
  20388. programs/wineboot/wineboot \
  20389. programs/winecfg/winecfg \
  20390. programs/wineconsole/wineconsole \
  20391. programs/winedbg/winedbg \
  20392. programs/winefile/winefile \
  20393. programs/winemine/winemine \
  20394. programs/winepath/winepath \
  20395. server/wineserver"
  20396. case $host_os in
  20397. cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
  20398. *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
  20399. esac
  20400. fi
  20401. wine_fn_append_rule "distclean:: clean
  20402. rm -rf autom4te.cache
  20403. maintainer-clean::
  20404. rm -f configure include/config.h.in"
  20405. wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
  20406. @version=\`(GIT_DIR=${wine_srcdir}.git git describe HEAD 2>/dev/null || echo \"wine-\$(PACKAGE_VERSION)\") | sed -n -e '\$\$s/\(.*\)/const char wine_build[] = \"\\1\";/p'\` && (echo \$\$version | cmp -s - \$@) || echo \$\$version >\$@ || (rm -f \$@ && exit 1)
  20407. programs/winetest/build.rc: dummy
  20408. @build=\"STRINGTABLE { 1 \\\"\`GIT_DIR=${wine_srcdir}.git git rev-parse HEAD 2>/dev/null\`\\\" }\" && (echo \$\$build | cmp -s - \$@) || echo \$\$build >\$@ || (rm -f \$@ && exit 1)
  20409. programs/winetest/build.nfo:
  20410. @-\$(CC) -v 2>\$@
  20411. dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle ${wine_srcdir}dlls/wineandroid.drv/AndroidManifest.xml ${wine_srcdir}dlls/wineandroid.drv/WineActivity.java ${wine_srcdir}dlls/wineandroid.drv/wine.svg
  20412. cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
  20413. mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
  20414. TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
  20415. wine_fn_append_rule "TAGS etags:
  20416. rm -f TAGS
  20417. (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
  20418. tags ctags:
  20419. rm -f tags
  20420. (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
  20421. dummy:
  20422. .PHONY: depend dummy install-manpages"
  20423. printf "%s\n" " done" >&6
  20424. cat >confcache <<\_ACEOF
  20425. # This file is a shell script that caches the results of configure
  20426. # tests run on this system so they can be shared between configure
  20427. # scripts and configure runs, see configure's option --config-cache.
  20428. # It is not useful on other systems. If it contains results you don't
  20429. # want to keep, you may remove or edit it.
  20430. #
  20431. # config.status only pays attention to the cache file if you give it
  20432. # the --recheck option to rerun configure.
  20433. #
  20434. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  20435. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  20436. # following values.
  20437. _ACEOF
  20438. # The following way of writing the cache mishandles newlines in values,
  20439. # but we know of no workaround that is simple, portable, and efficient.
  20440. # So, we kill variables containing newlines.
  20441. # Ultrix sh set writes to stderr and can't be redirected directly,
  20442. # and sets the high bit in the cache file unless we assign to the vars.
  20443. (
  20444. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  20445. eval ac_val=\$$ac_var
  20446. case $ac_val in #(
  20447. *${as_nl}*)
  20448. case $ac_var in #(
  20449. *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  20450. printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  20451. esac
  20452. case $ac_var in #(
  20453. _ | IFS | as_nl) ;; #(
  20454. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  20455. *) { eval $ac_var=; unset $ac_var;} ;;
  20456. esac ;;
  20457. esac
  20458. done
  20459. (set) 2>&1 |
  20460. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  20461. *${as_nl}ac_space=\ *)
  20462. # `set' does not quote correctly, so add quotes: double-quote
  20463. # substitution turns \\\\ into \\, and sed turns \\ into \.
  20464. sed -n \
  20465. "s/'/'\\\\''/g;
  20466. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  20467. ;; #(
  20468. *)
  20469. # `set' quotes correctly as required by POSIX, so do not add quotes.
  20470. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  20471. ;;
  20472. esac |
  20473. sort
  20474. ) |
  20475. sed '
  20476. /^ac_cv_env_/b end
  20477. t clear
  20478. :clear
  20479. s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
  20480. t end
  20481. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  20482. :end' >>confcache
  20483. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  20484. if test -w "$cache_file"; then
  20485. if test "x$cache_file" != "x/dev/null"; then
  20486. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  20487. printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
  20488. if test ! -f "$cache_file" || test -h "$cache_file"; then
  20489. cat confcache >"$cache_file"
  20490. else
  20491. case $cache_file in #(
  20492. */* | ?:*)
  20493. mv -f confcache "$cache_file"$$ &&
  20494. mv -f "$cache_file"$$ "$cache_file" ;; #(
  20495. *)
  20496. mv -f confcache "$cache_file" ;;
  20497. esac
  20498. fi
  20499. fi
  20500. else
  20501. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  20502. printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
  20503. fi
  20504. fi
  20505. rm -f confcache
  20506. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  20507. # Let make expand exec_prefix.
  20508. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  20509. DEFS=-DHAVE_CONFIG_H
  20510. ac_libobjs=
  20511. ac_ltlibobjs=
  20512. U=
  20513. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  20514. # 1. Remove the extension, and $U if already installed.
  20515. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  20516. ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
  20517. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  20518. # will be set to the directory where LIBOBJS objects are built.
  20519. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  20520. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  20521. done
  20522. LIBOBJS=$ac_libobjs
  20523. LTLIBOBJS=$ac_ltlibobjs
  20524. : "${CONFIG_STATUS=./config.status}"
  20525. ac_write_fail=0
  20526. ac_clean_files_save=$ac_clean_files
  20527. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  20528. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  20529. printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
  20530. as_write_fail=0
  20531. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  20532. #! $SHELL
  20533. # Generated by $as_me.
  20534. # Run this file to recreate the current configuration.
  20535. # Compiler output produced by configure, useful for debugging
  20536. # configure, is in config.log if it exists.
  20537. debug=false
  20538. ac_cs_recheck=false
  20539. ac_cs_silent=false
  20540. SHELL=\${CONFIG_SHELL-$SHELL}
  20541. export SHELL
  20542. _ASEOF
  20543. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  20544. ## -------------------- ##
  20545. ## M4sh Initialization. ##
  20546. ## -------------------- ##
  20547. # Be more Bourne compatible
  20548. DUALCASE=1; export DUALCASE # for MKS sh
  20549. as_nop=:
  20550. if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  20551. then :
  20552. emulate sh
  20553. NULLCMD=:
  20554. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20555. # is contrary to our usage. Disable this feature.
  20556. alias -g '${1+"$@"}'='"$@"'
  20557. setopt NO_GLOB_SUBST
  20558. else $as_nop
  20559. case `(set -o) 2>/dev/null` in #(
  20560. *posix*) :
  20561. set -o posix ;; #(
  20562. *) :
  20563. ;;
  20564. esac
  20565. fi
  20566. # Reset variables that may have inherited troublesome values from
  20567. # the environment.
  20568. # IFS needs to be set, to space, tab, and newline, in precisely that order.
  20569. # (If _AS_PATH_WALK were called with IFS unset, it would have the
  20570. # side effect of setting IFS to empty, thus disabling word splitting.)
  20571. # Quoting is to prevent editors from complaining about space-tab.
  20572. as_nl='
  20573. '
  20574. export as_nl
  20575. IFS=" "" $as_nl"
  20576. PS1='$ '
  20577. PS2='> '
  20578. PS4='+ '
  20579. # Ensure predictable behavior from utilities with locale-dependent output.
  20580. LC_ALL=C
  20581. export LC_ALL
  20582. LANGUAGE=C
  20583. export LANGUAGE
  20584. # We cannot yet rely on "unset" to work, but we need these variables
  20585. # to be unset--not just set to an empty or harmless value--now, to
  20586. # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
  20587. # also avoids known problems related to "unset" and subshell syntax
  20588. # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  20589. for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  20590. do eval test \${$as_var+y} \
  20591. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  20592. done
  20593. # Ensure that fds 0, 1, and 2 are open.
  20594. if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  20595. if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  20596. if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
  20597. # The user is always right.
  20598. if ${PATH_SEPARATOR+false} :; then
  20599. PATH_SEPARATOR=:
  20600. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  20601. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  20602. PATH_SEPARATOR=';'
  20603. }
  20604. fi
  20605. # Find who we are. Look in the path if we contain no directory separator.
  20606. as_myself=
  20607. case $0 in #((
  20608. *[\\/]* ) as_myself=$0 ;;
  20609. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20610. for as_dir in $PATH
  20611. do
  20612. IFS=$as_save_IFS
  20613. case $as_dir in #(((
  20614. '') as_dir=./ ;;
  20615. */) ;;
  20616. *) as_dir=$as_dir/ ;;
  20617. esac
  20618. test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  20619. done
  20620. IFS=$as_save_IFS
  20621. ;;
  20622. esac
  20623. # We did not find ourselves, most probably we were run as `sh COMMAND'
  20624. # in which case we are not to be found in the path.
  20625. if test "x$as_myself" = x; then
  20626. as_myself=$0
  20627. fi
  20628. if test ! -f "$as_myself"; then
  20629. printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  20630. exit 1
  20631. fi
  20632. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  20633. # ----------------------------------------
  20634. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  20635. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  20636. # script with STATUS, using 1 if that was 0.
  20637. as_fn_error ()
  20638. {
  20639. as_status=$1; test $as_status -eq 0 && as_status=1
  20640. if test "$4"; then
  20641. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  20642. printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  20643. fi
  20644. printf "%s\n" "$as_me: error: $2" >&2
  20645. as_fn_exit $as_status
  20646. } # as_fn_error
  20647. # as_fn_set_status STATUS
  20648. # -----------------------
  20649. # Set $? to STATUS, without forking.
  20650. as_fn_set_status ()
  20651. {
  20652. return $1
  20653. } # as_fn_set_status
  20654. # as_fn_exit STATUS
  20655. # -----------------
  20656. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  20657. as_fn_exit ()
  20658. {
  20659. set +e
  20660. as_fn_set_status $1
  20661. exit $1
  20662. } # as_fn_exit
  20663. # as_fn_unset VAR
  20664. # ---------------
  20665. # Portably unset VAR.
  20666. as_fn_unset ()
  20667. {
  20668. { eval $1=; unset $1;}
  20669. }
  20670. as_unset=as_fn_unset
  20671. # as_fn_append VAR VALUE
  20672. # ----------------------
  20673. # Append the text in VALUE to the end of the definition contained in VAR. Take
  20674. # advantage of any shell optimizations that allow amortized linear growth over
  20675. # repeated appends, instead of the typical quadratic growth present in naive
  20676. # implementations.
  20677. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  20678. then :
  20679. eval 'as_fn_append ()
  20680. {
  20681. eval $1+=\$2
  20682. }'
  20683. else $as_nop
  20684. as_fn_append ()
  20685. {
  20686. eval $1=\$$1\$2
  20687. }
  20688. fi # as_fn_append
  20689. # as_fn_arith ARG...
  20690. # ------------------
  20691. # Perform arithmetic evaluation on the ARGs, and store the result in the
  20692. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  20693. # must be portable across $(()) and expr.
  20694. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  20695. then :
  20696. eval 'as_fn_arith ()
  20697. {
  20698. as_val=$(( $* ))
  20699. }'
  20700. else $as_nop
  20701. as_fn_arith ()
  20702. {
  20703. as_val=`expr "$@" || test $? -eq 1`
  20704. }
  20705. fi # as_fn_arith
  20706. if expr a : '\(a\)' >/dev/null 2>&1 &&
  20707. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  20708. as_expr=expr
  20709. else
  20710. as_expr=false
  20711. fi
  20712. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  20713. as_basename=basename
  20714. else
  20715. as_basename=false
  20716. fi
  20717. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  20718. as_dirname=dirname
  20719. else
  20720. as_dirname=false
  20721. fi
  20722. as_me=`$as_basename -- "$0" ||
  20723. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  20724. X"$0" : 'X\(//\)$' \| \
  20725. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  20726. printf "%s\n" X/"$0" |
  20727. sed '/^.*\/\([^/][^/]*\)\/*$/{
  20728. s//\1/
  20729. q
  20730. }
  20731. /^X\/\(\/\/\)$/{
  20732. s//\1/
  20733. q
  20734. }
  20735. /^X\/\(\/\).*/{
  20736. s//\1/
  20737. q
  20738. }
  20739. s/.*/./; q'`
  20740. # Avoid depending upon Character Ranges.
  20741. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  20742. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  20743. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  20744. as_cr_digits='0123456789'
  20745. as_cr_alnum=$as_cr_Letters$as_cr_digits
  20746. # Determine whether it's possible to make 'echo' print without a newline.
  20747. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  20748. # for compatibility with existing Makefiles.
  20749. ECHO_C= ECHO_N= ECHO_T=
  20750. case `echo -n x` in #(((((
  20751. -n*)
  20752. case `echo 'xy\c'` in
  20753. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  20754. xy) ECHO_C='\c';;
  20755. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  20756. ECHO_T=' ';;
  20757. esac;;
  20758. *)
  20759. ECHO_N='-n';;
  20760. esac
  20761. # For backward compatibility with old third-party macros, we provide
  20762. # the shell variables $as_echo and $as_echo_n. New code should use
  20763. # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  20764. as_echo='printf %s\n'
  20765. as_echo_n='printf %s'
  20766. rm -f conf$$ conf$$.exe conf$$.file
  20767. if test -d conf$$.dir; then
  20768. rm -f conf$$.dir/conf$$.file
  20769. else
  20770. rm -f conf$$.dir
  20771. mkdir conf$$.dir 2>/dev/null
  20772. fi
  20773. if (echo >conf$$.file) 2>/dev/null; then
  20774. if ln -s conf$$.file conf$$ 2>/dev/null; then
  20775. as_ln_s='ln -s'
  20776. # ... but there are two gotchas:
  20777. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  20778. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  20779. # In both cases, we have to default to `cp -pR'.
  20780. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  20781. as_ln_s='cp -pR'
  20782. elif ln conf$$.file conf$$ 2>/dev/null; then
  20783. as_ln_s=ln
  20784. else
  20785. as_ln_s='cp -pR'
  20786. fi
  20787. else
  20788. as_ln_s='cp -pR'
  20789. fi
  20790. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  20791. rmdir conf$$.dir 2>/dev/null
  20792. # as_fn_mkdir_p
  20793. # -------------
  20794. # Create "$as_dir" as a directory, including parents if necessary.
  20795. as_fn_mkdir_p ()
  20796. {
  20797. case $as_dir in #(
  20798. -*) as_dir=./$as_dir;;
  20799. esac
  20800. test -d "$as_dir" || eval $as_mkdir_p || {
  20801. as_dirs=
  20802. while :; do
  20803. case $as_dir in #(
  20804. *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20805. *) as_qdir=$as_dir;;
  20806. esac
  20807. as_dirs="'$as_qdir' $as_dirs"
  20808. as_dir=`$as_dirname -- "$as_dir" ||
  20809. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20810. X"$as_dir" : 'X\(//\)[^/]' \| \
  20811. X"$as_dir" : 'X\(//\)$' \| \
  20812. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20813. printf "%s\n" X"$as_dir" |
  20814. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20815. s//\1/
  20816. q
  20817. }
  20818. /^X\(\/\/\)[^/].*/{
  20819. s//\1/
  20820. q
  20821. }
  20822. /^X\(\/\/\)$/{
  20823. s//\1/
  20824. q
  20825. }
  20826. /^X\(\/\).*/{
  20827. s//\1/
  20828. q
  20829. }
  20830. s/.*/./; q'`
  20831. test -d "$as_dir" && break
  20832. done
  20833. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20834. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  20835. } # as_fn_mkdir_p
  20836. if mkdir -p . 2>/dev/null; then
  20837. as_mkdir_p='mkdir -p "$as_dir"'
  20838. else
  20839. test -d ./-p && rmdir ./-p
  20840. as_mkdir_p=false
  20841. fi
  20842. # as_fn_executable_p FILE
  20843. # -----------------------
  20844. # Test if FILE is an executable regular file.
  20845. as_fn_executable_p ()
  20846. {
  20847. test -f "$1" && test -x "$1"
  20848. } # as_fn_executable_p
  20849. as_test_x='test -x'
  20850. as_executable_p=as_fn_executable_p
  20851. # Sed expression to map a string onto a valid CPP name.
  20852. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  20853. # Sed expression to map a string onto a valid variable name.
  20854. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  20855. exec 6>&1
  20856. ## ----------------------------------- ##
  20857. ## Main body of $CONFIG_STATUS script. ##
  20858. ## ----------------------------------- ##
  20859. _ASEOF
  20860. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  20861. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20862. # Save the log message, to keep $0 and so on meaningful, and to
  20863. # report actual input values of CONFIG_FILES etc. instead of their
  20864. # values after options handling.
  20865. ac_log="
  20866. This file was extended by Wine $as_me 7.6, which was
  20867. generated by GNU Autoconf 2.71. Invocation command line was
  20868. CONFIG_FILES = $CONFIG_FILES
  20869. CONFIG_HEADERS = $CONFIG_HEADERS
  20870. CONFIG_LINKS = $CONFIG_LINKS
  20871. CONFIG_COMMANDS = $CONFIG_COMMANDS
  20872. $ $0 $@
  20873. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  20874. "
  20875. _ACEOF
  20876. case $ac_config_headers in *"
  20877. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  20878. esac
  20879. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20880. # Files that config.status was made for.
  20881. config_headers="$ac_config_headers"
  20882. config_links="$ac_config_links"
  20883. config_commands="$ac_config_commands"
  20884. _ACEOF
  20885. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20886. ac_cs_usage="\
  20887. \`$as_me' instantiates files and other configuration actions
  20888. from templates according to the current configuration. Unless the files
  20889. and actions are specified as TAGs, all are instantiated by default.
  20890. Usage: $0 [OPTION]... [TAG]...
  20891. -h, --help print this help, then exit
  20892. -V, --version print version number and configuration settings, then exit
  20893. --config print configuration, then exit
  20894. -q, --quiet, --silent
  20895. do not print progress messages
  20896. -d, --debug don't remove temporary files
  20897. --recheck update $as_me by reconfiguring in the same conditions
  20898. --header=FILE[:TEMPLATE]
  20899. instantiate the configuration header FILE
  20900. Configuration headers:
  20901. $config_headers
  20902. Configuration links:
  20903. $config_links
  20904. Configuration commands:
  20905. $config_commands
  20906. Report bugs to <wine-devel@winehq.org>.
  20907. Wine home page: <https://www.winehq.org>."
  20908. _ACEOF
  20909. ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
  20910. ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
  20911. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20912. ac_cs_config='$ac_cs_config_escaped'
  20913. ac_cs_version="\\
  20914. Wine config.status 7.6
  20915. configured by $0, generated by GNU Autoconf 2.71,
  20916. with options \\"\$ac_cs_config\\"
  20917. Copyright (C) 2021 Free Software Foundation, Inc.
  20918. This config.status script is free software; the Free Software Foundation
  20919. gives unlimited permission to copy, distribute and modify it."
  20920. ac_pwd='$ac_pwd'
  20921. srcdir='$srcdir'
  20922. test -n "\$AWK" || AWK=awk
  20923. _ACEOF
  20924. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20925. # The default lists apply if the user does not specify any file.
  20926. ac_need_defaults=:
  20927. while test $# != 0
  20928. do
  20929. case $1 in
  20930. --*=?*)
  20931. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20932. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  20933. ac_shift=:
  20934. ;;
  20935. --*=)
  20936. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20937. ac_optarg=
  20938. ac_shift=:
  20939. ;;
  20940. *)
  20941. ac_option=$1
  20942. ac_optarg=$2
  20943. ac_shift=shift
  20944. ;;
  20945. esac
  20946. case $ac_option in
  20947. # Handling of the options.
  20948. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  20949. ac_cs_recheck=: ;;
  20950. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  20951. printf "%s\n" "$ac_cs_version"; exit ;;
  20952. --config | --confi | --conf | --con | --co | --c )
  20953. printf "%s\n" "$ac_cs_config"; exit ;;
  20954. --debug | --debu | --deb | --de | --d | -d )
  20955. debug=: ;;
  20956. --header | --heade | --head | --hea )
  20957. $ac_shift
  20958. case $ac_optarg in
  20959. *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  20960. esac
  20961. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  20962. ac_need_defaults=false;;
  20963. --he | --h)
  20964. # Conflict between --help and --header
  20965. as_fn_error $? "ambiguous option: \`$1'
  20966. Try \`$0 --help' for more information.";;
  20967. --help | --hel | -h )
  20968. printf "%s\n" "$ac_cs_usage"; exit ;;
  20969. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  20970. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  20971. ac_cs_silent=: ;;
  20972. # This is an error.
  20973. -*) as_fn_error $? "unrecognized option: \`$1'
  20974. Try \`$0 --help' for more information." ;;
  20975. *) as_fn_append ac_config_targets " $1"
  20976. ac_need_defaults=false ;;
  20977. esac
  20978. shift
  20979. done
  20980. ac_configure_extra_args=
  20981. if $ac_cs_silent; then
  20982. exec 6>/dev/null
  20983. ac_configure_extra_args="$ac_configure_extra_args --silent"
  20984. fi
  20985. _ACEOF
  20986. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20987. if \$ac_cs_recheck; then
  20988. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  20989. shift
  20990. \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
  20991. CONFIG_SHELL='$SHELL'
  20992. export CONFIG_SHELL
  20993. exec "\$@"
  20994. fi
  20995. _ACEOF
  20996. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20997. exec 5>>config.log
  20998. {
  20999. echo
  21000. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  21001. ## Running $as_me. ##
  21002. _ASBOX
  21003. printf "%s\n" "$ac_log"
  21004. } >&5
  21005. _ACEOF
  21006. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21007. #
  21008. # INIT-COMMANDS
  21009. #
  21010. wine_fn_output_makedep ()
  21011. {
  21012. as_dir=tools; as_fn_mkdir_p
  21013. $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
  21014. }
  21015. wine_fn_output_makefile ()
  21016. {
  21017. cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
  21018. # This Makefile understands the following targets:
  21019. #
  21020. # all (default): build wine
  21021. # clean: remove all intermediate files
  21022. # distclean: also remove all files created by configure
  21023. # test: run tests
  21024. # testclean: clean test results to force running all tests again
  21025. # install-lib: install libraries needed to run applications
  21026. # install-dev: install development environment
  21027. # install: install everything
  21028. # uninstall: uninstall everything
  21029. # ctags: create a tags file for vim and others.
  21030. # etags: create a TAGS file for Emacs.
  21031. SHELL = $SHELL
  21032. PATH_SEPARATOR = $PATH_SEPARATOR
  21033. PACKAGE_NAME = $PACKAGE_NAME
  21034. PACKAGE_TARNAME = $PACKAGE_TARNAME
  21035. PACKAGE_VERSION = $PACKAGE_VERSION
  21036. PACKAGE_STRING = $PACKAGE_STRING
  21037. PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
  21038. PACKAGE_URL = $PACKAGE_URL
  21039. exec_prefix = $exec_prefix
  21040. prefix = $prefix
  21041. program_transform_name = $program_transform_name
  21042. bindir = $bindir
  21043. sbindir = $sbindir
  21044. libexecdir = $libexecdir
  21045. datarootdir = $datarootdir
  21046. datadir = $datadir
  21047. sysconfdir = $sysconfdir
  21048. sharedstatedir = $sharedstatedir
  21049. localstatedir = $localstatedir
  21050. runstatedir = $runstatedir
  21051. includedir = $includedir
  21052. oldincludedir = $oldincludedir
  21053. docdir = $docdir
  21054. infodir = $infodir
  21055. htmldir = $htmldir
  21056. dvidir = $dvidir
  21057. pdfdir = $pdfdir
  21058. psdir = $psdir
  21059. libdir = $libdir
  21060. localedir = $localedir
  21061. mandir = $mandir
  21062. DEFS = $DEFS
  21063. ECHO_C = $ECHO_C
  21064. ECHO_N = $ECHO_N
  21065. ECHO_T = $ECHO_T
  21066. LIBS = $LIBS
  21067. build_alias = $build_alias
  21068. host_alias = $host_alias
  21069. target_alias = $target_alias
  21070. system_dllpath = $system_dllpath
  21071. build = $build
  21072. build_cpu = $build_cpu
  21073. build_vendor = $build_vendor
  21074. build_os = $build_os
  21075. host = $host
  21076. host_cpu = $host_cpu
  21077. host_vendor = $host_vendor
  21078. host_os = $host_os
  21079. dlldir = $dlldir
  21080. fontdir = $fontdir
  21081. nlsdir = $nlsdir
  21082. srcdir = $srcdir
  21083. SET_MAKE = $SET_MAKE
  21084. CC = $CC
  21085. CFLAGS = $CFLAGS
  21086. LDFLAGS = $LDFLAGS
  21087. CPPFLAGS = $CPPFLAGS
  21088. ac_ct_CC = $ac_ct_CC
  21089. EXEEXT = $EXEEXT
  21090. OBJEXT = $OBJEXT
  21091. CXX = $CXX
  21092. CXXFLAGS = $CXXFLAGS
  21093. ac_ct_CXX = $ac_ct_CXX
  21094. CPPBIN = $CPPBIN
  21095. LD = $LD
  21096. TARGETFLAGS = $TARGETFLAGS
  21097. toolsext = $toolsext
  21098. toolsdir = $toolsdir
  21099. MAKEDEP = $MAKEDEP
  21100. RUNTESTFLAGS = $RUNTESTFLAGS
  21101. SED_CMD = $SED_CMD
  21102. FLEX = $FLEX
  21103. BISON = $BISON
  21104. AR = $AR
  21105. ac_ct_AR = $ac_ct_AR
  21106. STRIP = $STRIP
  21107. RANLIB = $RANLIB
  21108. LN_S = $LN_S
  21109. GREP = $GREP
  21110. EGREP = $EGREP
  21111. LDCONFIG = $LDCONFIG
  21112. MSGFMT = $MSGFMT
  21113. PKG_CONFIG = $PKG_CONFIG
  21114. FONTFORGE = $FONTFORGE
  21115. RSVG = $RSVG
  21116. CONVERT = $CONVERT
  21117. ICOTOOL = $ICOTOOL
  21118. I386_LIBS = $I386_LIBS
  21119. OPENGL_LIBS = $OPENGL_LIBS
  21120. DLLFLAGS = $DLLFLAGS
  21121. LDDLLFLAGS = $LDDLLFLAGS
  21122. LDEXECFLAGS = $LDEXECFLAGS
  21123. EXTRACFLAGS = $EXTRACFLAGS
  21124. UNIXDLLFLAGS = $UNIXDLLFLAGS
  21125. UNIXLDFLAGS = $UNIXLDFLAGS
  21126. TOP_INSTALL_LIB = $TOP_INSTALL_LIB
  21127. TOP_INSTALL_DEV = $TOP_INSTALL_DEV
  21128. WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
  21129. WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
  21130. LDD = $LDD
  21131. OTOOL = $OTOOL
  21132. READELF = $READELF
  21133. SUBDIRS = $SUBDIRS
  21134. DISABLED_SUBDIRS = $DISABLED_SUBDIRS
  21135. CONFIGURE_TARGETS = $CONFIGURE_TARGETS
  21136. WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
  21137. DLLTOOL = $DLLTOOL
  21138. OBJC = $OBJC
  21139. OBJCFLAGS = $OBJCFLAGS
  21140. ac_ct_OBJC = $ac_ct_OBJC
  21141. COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
  21142. IOKIT_LIBS = $IOKIT_LIBS
  21143. APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
  21144. CORESERVICES_LIBS = $CORESERVICES_LIBS
  21145. APPKIT_LIBS = $APPKIT_LIBS
  21146. SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
  21147. DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
  21148. SECURITY_LIBS = $SECURITY_LIBS
  21149. COREAUDIO_LIBS = $COREAUDIO_LIBS
  21150. OPENAL_LIBS = $OPENAL_LIBS
  21151. OPENCL_LIBS = $OPENCL_LIBS
  21152. CARBON_LIBS = $CARBON_LIBS
  21153. METAL_LIBS = $METAL_LIBS
  21154. LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
  21155. LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
  21156. WINELOADER_DEPENDS = $WINELOADER_DEPENDS
  21157. PRELINK = $PRELINK
  21158. LIBWINE_DEPENDS = $LIBWINE_DEPENDS
  21159. CROSSTARGET = $CROSSTARGET
  21160. CROSSCC = $CROSSCC
  21161. CROSSCFLAGS = $CROSSCFLAGS
  21162. EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
  21163. CROSSLDFLAGS = $CROSSLDFLAGS
  21164. DELAYLOADFLAG = $DELAYLOADFLAG
  21165. CROSSDEBUG = $CROSSDEBUG
  21166. EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
  21167. MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
  21168. FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
  21169. FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
  21170. GSM_PE_CFLAGS = $GSM_PE_CFLAGS
  21171. GSM_PE_LIBS = $GSM_PE_LIBS
  21172. JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
  21173. JPEG_PE_LIBS = $JPEG_PE_LIBS
  21174. JXR_PE_CFLAGS = $JXR_PE_CFLAGS
  21175. JXR_PE_LIBS = $JXR_PE_LIBS
  21176. LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
  21177. LCMS2_PE_LIBS = $LCMS2_PE_LIBS
  21178. MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
  21179. MPG123_PE_LIBS = $MPG123_PE_LIBS
  21180. PNG_PE_CFLAGS = $PNG_PE_CFLAGS
  21181. PNG_PE_LIBS = $PNG_PE_LIBS
  21182. TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
  21183. TIFF_PE_LIBS = $TIFF_PE_LIBS
  21184. VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
  21185. VKD3D_PE_LIBS = $VKD3D_PE_LIBS
  21186. XML2_PE_CFLAGS = $XML2_PE_CFLAGS
  21187. XML2_PE_LIBS = $XML2_PE_LIBS
  21188. XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
  21189. XSLT_PE_LIBS = $XSLT_PE_LIBS
  21190. ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
  21191. ZLIB_PE_LIBS = $ZLIB_PE_LIBS
  21192. PTHREAD_LIBS = $PTHREAD_LIBS
  21193. XMKMF = $XMKMF
  21194. CPP = $CPP
  21195. X_CFLAGS = $X_CFLAGS
  21196. X_PRE_LIBS = $X_PRE_LIBS
  21197. X_LIBS = $X_LIBS
  21198. X_EXTRA_LIBS = $X_EXTRA_LIBS
  21199. PCAP_LIBS = $PCAP_LIBS
  21200. INOTIFY_CFLAGS = $INOTIFY_CFLAGS
  21201. INOTIFY_LIBS = $INOTIFY_LIBS
  21202. DBUS_CFLAGS = $DBUS_CFLAGS
  21203. DBUS_LIBS = $DBUS_LIBS
  21204. GNUTLS_CFLAGS = $GNUTLS_CFLAGS
  21205. GNUTLS_LIBS = $GNUTLS_LIBS
  21206. SANE_CFLAGS = $SANE_CFLAGS
  21207. SANE_LIBS = $SANE_LIBS
  21208. USB_CFLAGS = $USB_CFLAGS
  21209. USB_LIBS = $USB_LIBS
  21210. GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
  21211. GPHOTO2_LIBS = $GPHOTO2_LIBS
  21212. GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
  21213. GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
  21214. RESOLV_LIBS = $RESOLV_LIBS
  21215. FREETYPE_CFLAGS = $FREETYPE_CFLAGS
  21216. FREETYPE_LIBS = $FREETYPE_LIBS
  21217. GETTEXTPO_LIBS = $GETTEXTPO_LIBS
  21218. PULSE_CFLAGS = $PULSE_CFLAGS
  21219. PULSE_LIBS = $PULSE_LIBS
  21220. GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
  21221. GSTREAMER_LIBS = $GSTREAMER_LIBS
  21222. ALSA_LIBS = $ALSA_LIBS
  21223. OSS4_CFLAGS = $OSS4_CFLAGS
  21224. OSS4_LIBS = $OSS4_LIBS
  21225. UDEV_CFLAGS = $UDEV_CFLAGS
  21226. UDEV_LIBS = $UDEV_LIBS
  21227. UNWIND_CFLAGS = $UNWIND_CFLAGS
  21228. UNWIND_LIBS = $UNWIND_LIBS
  21229. SDL2_CFLAGS = $SDL2_CFLAGS
  21230. SDL2_LIBS = $SDL2_LIBS
  21231. CAPI20_CFLAGS = $CAPI20_CFLAGS
  21232. CAPI20_LIBS = $CAPI20_LIBS
  21233. CUPS_CFLAGS = $CUPS_CFLAGS
  21234. CUPS_LIBS = $CUPS_LIBS
  21235. FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
  21236. FONTCONFIG_LIBS = $FONTCONFIG_LIBS
  21237. KRB5_CFLAGS = $KRB5_CFLAGS
  21238. KRB5_LIBS = $KRB5_LIBS
  21239. GSSAPI_CFLAGS = $GSSAPI_CFLAGS
  21240. GSSAPI_LIBS = $GSSAPI_LIBS
  21241. PROCSTAT_LIBS = $PROCSTAT_LIBS
  21242. NETAPI_CFLAGS = $NETAPI_CFLAGS
  21243. NETAPI_LIBS = $NETAPI_LIBS
  21244. MSVCRTFLAGS = $MSVCRTFLAGS
  21245. RT_LIBS = $RT_LIBS
  21246. LDAP_CFLAGS = $LDAP_CFLAGS
  21247. LDAP_LIBS = $LDAP_LIBS
  21248. TAGSFLAGS = $TAGSFLAGS
  21249. LIBOBJS = $LIBOBJS
  21250. LTLIBOBJS = $LTLIBOBJS
  21251. $SET_MAKE
  21252. $wine_rules
  21253. _WINE_EOF
  21254. as_fn_error $? "could not create Makefile" "$LINENO" 5
  21255. }
  21256. _ACEOF
  21257. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21258. # Handling of arguments.
  21259. for ac_config_target in $ac_config_targets
  21260. do
  21261. case $ac_config_target in
  21262. "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  21263. "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
  21264. "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
  21265. "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
  21266. "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
  21267. "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
  21268. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  21269. esac
  21270. done
  21271. # If the user did not use the arguments to specify the items to instantiate,
  21272. # then the envvar interface is used. Set only those that are not.
  21273. # We use the long form for the default assignment because of an extremely
  21274. # bizarre bug on SunOS 4.1.3.
  21275. if $ac_need_defaults; then
  21276. test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
  21277. test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
  21278. test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
  21279. fi
  21280. # Have a temporary directory for convenience. Make it in the build tree
  21281. # simply because there is no reason against having it here, and in addition,
  21282. # creating and moving files from /tmp can sometimes cause problems.
  21283. # Hook for its removal unless debugging.
  21284. # Note that there is a small window in which the directory will not be cleaned:
  21285. # after its creation but before its name has been assigned to `$tmp'.
  21286. $debug ||
  21287. {
  21288. tmp= ac_tmp=
  21289. trap 'exit_status=$?
  21290. : "${ac_tmp:=$tmp}"
  21291. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  21292. ' 0
  21293. trap 'as_fn_exit 1' 1 2 13 15
  21294. }
  21295. # Create a (secure) tmp directory for tmp files.
  21296. {
  21297. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  21298. test -d "$tmp"
  21299. } ||
  21300. {
  21301. tmp=./conf$$-$RANDOM
  21302. (umask 077 && mkdir "$tmp")
  21303. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  21304. ac_tmp=$tmp
  21305. # Set up the scripts for CONFIG_HEADERS section.
  21306. # No need to generate them if there are no CONFIG_HEADERS.
  21307. # This happens for instance with `./config.status Makefile'.
  21308. if test -n "$CONFIG_HEADERS"; then
  21309. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  21310. BEGIN {
  21311. _ACEOF
  21312. # Transform confdefs.h into an awk script `defines.awk', embedded as
  21313. # here-document in config.status, that substitutes the proper values into
  21314. # config.h.in to produce config.h.
  21315. # Create a delimiter string that does not exist in confdefs.h, to ease
  21316. # handling of long lines.
  21317. ac_delim='%!_!# '
  21318. for ac_last_try in false false :; do
  21319. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  21320. if test -z "$ac_tt"; then
  21321. break
  21322. elif $ac_last_try; then
  21323. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  21324. else
  21325. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  21326. fi
  21327. done
  21328. # For the awk script, D is an array of macro values keyed by name,
  21329. # likewise P contains macro parameters if any. Preserve backslash
  21330. # newline sequences.
  21331. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  21332. sed -n '
  21333. s/.\{148\}/&'"$ac_delim"'/g
  21334. t rset
  21335. :rset
  21336. s/^[ ]*#[ ]*define[ ][ ]*/ /
  21337. t def
  21338. d
  21339. :def
  21340. s/\\$//
  21341. t bsnl
  21342. s/["\\]/\\&/g
  21343. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  21344. D["\1"]=" \3"/p
  21345. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  21346. d
  21347. :bsnl
  21348. s/["\\]/\\&/g
  21349. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  21350. D["\1"]=" \3\\\\\\n"\\/p
  21351. t cont
  21352. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  21353. t cont
  21354. d
  21355. :cont
  21356. n
  21357. s/.\{148\}/&'"$ac_delim"'/g
  21358. t clear
  21359. :clear
  21360. s/\\$//
  21361. t bsnlc
  21362. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  21363. d
  21364. :bsnlc
  21365. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  21366. b cont
  21367. ' <confdefs.h | sed '
  21368. s/'"$ac_delim"'/"\\\
  21369. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  21370. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21371. for (key in D) D_is_set[key] = 1
  21372. FS = ""
  21373. }
  21374. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  21375. line = \$ 0
  21376. split(line, arg, " ")
  21377. if (arg[1] == "#") {
  21378. defundef = arg[2]
  21379. mac1 = arg[3]
  21380. } else {
  21381. defundef = substr(arg[1], 2)
  21382. mac1 = arg[2]
  21383. }
  21384. split(mac1, mac2, "(") #)
  21385. macro = mac2[1]
  21386. prefix = substr(line, 1, index(line, defundef) - 1)
  21387. if (D_is_set[macro]) {
  21388. # Preserve the white space surrounding the "#".
  21389. print prefix "define", macro P[macro] D[macro]
  21390. next
  21391. } else {
  21392. # Replace #undef with comments. This is necessary, for example,
  21393. # in the case of _POSIX_SOURCE, which is predefined and required
  21394. # on some systems where configure will not decide to define it.
  21395. if (defundef == "undef") {
  21396. print "/*", prefix defundef, macro, "*/"
  21397. next
  21398. }
  21399. }
  21400. }
  21401. { print }
  21402. _ACAWK
  21403. _ACEOF
  21404. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21405. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  21406. fi # test -n "$CONFIG_HEADERS"
  21407. eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  21408. shift
  21409. for ac_tag
  21410. do
  21411. case $ac_tag in
  21412. :[FHLC]) ac_mode=$ac_tag; continue;;
  21413. esac
  21414. case $ac_mode$ac_tag in
  21415. :[FHL]*:*);;
  21416. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  21417. :[FH]-) ac_tag=-:-;;
  21418. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  21419. esac
  21420. ac_save_IFS=$IFS
  21421. IFS=:
  21422. set x $ac_tag
  21423. IFS=$ac_save_IFS
  21424. shift
  21425. ac_file=$1
  21426. shift
  21427. case $ac_mode in
  21428. :L) ac_source=$1;;
  21429. :[FH])
  21430. ac_file_inputs=
  21431. for ac_f
  21432. do
  21433. case $ac_f in
  21434. -) ac_f="$ac_tmp/stdin";;
  21435. *) # Look for the file first in the build tree, then in the source tree
  21436. # (if the path is not absolute). The absolute path cannot be DOS-style,
  21437. # because $ac_f cannot contain `:'.
  21438. test -f "$ac_f" ||
  21439. case $ac_f in
  21440. [\\/$]*) false;;
  21441. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  21442. esac ||
  21443. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  21444. esac
  21445. case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  21446. as_fn_append ac_file_inputs " '$ac_f'"
  21447. done
  21448. # Let's still pretend it is `configure' which instantiates (i.e., don't
  21449. # use $as_me), people would be surprised to read:
  21450. # /* config.h. Generated by config.status. */
  21451. configure_input='Generated from '`
  21452. printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  21453. `' by configure.'
  21454. if test x"$ac_file" != x-; then
  21455. configure_input="$ac_file. $configure_input"
  21456. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  21457. printf "%s\n" "$as_me: creating $ac_file" >&6;}
  21458. fi
  21459. # Neutralize special characters interpreted by sed in replacement strings.
  21460. case $configure_input in #(
  21461. *\&* | *\|* | *\\* )
  21462. ac_sed_conf_input=`printf "%s\n" "$configure_input" |
  21463. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  21464. *) ac_sed_conf_input=$configure_input;;
  21465. esac
  21466. case $ac_tag in
  21467. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  21468. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  21469. esac
  21470. ;;
  21471. esac
  21472. ac_dir=`$as_dirname -- "$ac_file" ||
  21473. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  21474. X"$ac_file" : 'X\(//\)[^/]' \| \
  21475. X"$ac_file" : 'X\(//\)$' \| \
  21476. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  21477. printf "%s\n" X"$ac_file" |
  21478. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  21479. s//\1/
  21480. q
  21481. }
  21482. /^X\(\/\/\)[^/].*/{
  21483. s//\1/
  21484. q
  21485. }
  21486. /^X\(\/\/\)$/{
  21487. s//\1/
  21488. q
  21489. }
  21490. /^X\(\/\).*/{
  21491. s//\1/
  21492. q
  21493. }
  21494. s/.*/./; q'`
  21495. as_dir="$ac_dir"; as_fn_mkdir_p
  21496. ac_builddir=.
  21497. case "$ac_dir" in
  21498. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  21499. *)
  21500. ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  21501. # A ".." for each directory in $ac_dir_suffix.
  21502. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  21503. case $ac_top_builddir_sub in
  21504. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  21505. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  21506. esac ;;
  21507. esac
  21508. ac_abs_top_builddir=$ac_pwd
  21509. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  21510. # for backward compatibility:
  21511. ac_top_builddir=$ac_top_build_prefix
  21512. case $srcdir in
  21513. .) # We are building in place.
  21514. ac_srcdir=.
  21515. ac_top_srcdir=$ac_top_builddir_sub
  21516. ac_abs_top_srcdir=$ac_pwd ;;
  21517. [\\/]* | ?:[\\/]* ) # Absolute name.
  21518. ac_srcdir=$srcdir$ac_dir_suffix;
  21519. ac_top_srcdir=$srcdir
  21520. ac_abs_top_srcdir=$srcdir ;;
  21521. *) # Relative name.
  21522. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  21523. ac_top_srcdir=$ac_top_build_prefix$srcdir
  21524. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  21525. esac
  21526. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  21527. case $ac_mode in
  21528. :H)
  21529. #
  21530. # CONFIG_HEADER
  21531. #
  21532. if test x"$ac_file" != x-; then
  21533. {
  21534. printf "%s\n" "/* $configure_input */" >&1 \
  21535. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  21536. } >"$ac_tmp/config.h" \
  21537. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21538. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  21539. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  21540. printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
  21541. else
  21542. rm -f "$ac_file"
  21543. mv "$ac_tmp/config.h" "$ac_file" \
  21544. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21545. fi
  21546. else
  21547. printf "%s\n" "/* $configure_input */" >&1 \
  21548. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  21549. || as_fn_error $? "could not create -" "$LINENO" 5
  21550. fi
  21551. ;;
  21552. :L)
  21553. #
  21554. # CONFIG_LINK
  21555. #
  21556. if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  21557. :
  21558. else
  21559. # Prefer the file from the source tree if names are identical.
  21560. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  21561. ac_source=$srcdir/$ac_source
  21562. fi
  21563. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  21564. printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
  21565. if test ! -r "$ac_source"; then
  21566. as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  21567. fi
  21568. rm -f "$ac_file"
  21569. # Try a relative symlink, then a hard link, then a copy.
  21570. case $ac_source in
  21571. [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  21572. *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  21573. esac
  21574. ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  21575. ln "$ac_source" "$ac_file" 2>/dev/null ||
  21576. cp -p "$ac_source" "$ac_file" ||
  21577. as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  21578. fi
  21579. ;;
  21580. :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  21581. printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
  21582. ;;
  21583. esac
  21584. case $ac_file$ac_mode in
  21585. "include/stamp-h":C) echo timestamp > include/stamp-h ;;
  21586. "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
  21587. "Makefile":C) wine_fn_output_makefile Makefile ;;
  21588. esac
  21589. done # for ac_tag
  21590. as_fn_exit 0
  21591. _ACEOF
  21592. ac_clean_files=$ac_clean_files_save
  21593. test $ac_write_fail = 0 ||
  21594. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  21595. # configure is writing to config.log, and then calls config.status.
  21596. # config.status does its own redirection, appending to config.log.
  21597. # Unfortunately, on DOS this fails, as config.log is still kept open
  21598. # by configure, so config.status won't be able to write to it; its
  21599. # output is simply discarded. So we exec the FD to /dev/null,
  21600. # effectively closing config.log, so it can be properly (re)opened and
  21601. # appended to by config.status. When coming back to configure, we
  21602. # need to make the FD available again.
  21603. if test "$no_create" != yes; then
  21604. ac_cs_success=:
  21605. ac_config_status_args=
  21606. test "$silent" = yes &&
  21607. ac_config_status_args="$ac_config_status_args --quiet"
  21608. exec 5>/dev/null
  21609. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  21610. exec 5>>config.log
  21611. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  21612. # would make configure fail if this is the last instruction.
  21613. $ac_cs_success || as_fn_exit 1
  21614. fi
  21615. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  21616. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  21617. printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  21618. fi
  21619. if test "$no_create" = "yes"
  21620. then
  21621. exit 0
  21622. fi
  21623. ac_save_IFS="$IFS"
  21624. if test "x$wine_notices" != x; then
  21625. echo >&6
  21626. IFS="|"
  21627. for msg in $wine_notices; do
  21628. IFS="$ac_save_IFS"
  21629. if ${msg:+false} :
  21630. then :
  21631. else $as_nop
  21632. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
  21633. printf "%s\n" "$as_me: $msg" >&6;}
  21634. fi
  21635. done
  21636. fi
  21637. IFS="|"
  21638. for msg in $wine_warnings; do
  21639. IFS="$ac_save_IFS"
  21640. if ${msg:+false} :
  21641. then :
  21642. else $as_nop
  21643. echo >&2
  21644. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
  21645. printf "%s\n" "$as_me: WARNING: $msg" >&2;}
  21646. fi
  21647. done
  21648. IFS="$ac_save_IFS"
  21649. printf "%s\n" "
  21650. $as_me: Finished. Do '${ac_make}' to compile Wine.
  21651. " >&6