configure 703 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.71 for Wine 7.9.
  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.9'
  559. PACKAGE_STRING='Wine 7.9'
  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_cryptdlg
  922. enable_cryptdll
  923. enable_cryptext
  924. enable_cryptnet
  925. enable_cryptsp
  926. enable_cryptui
  927. enable_ctapi32
  928. enable_ctl3d32
  929. enable_d2d1
  930. enable_d3d10
  931. enable_d3d10_1
  932. enable_d3d10core
  933. enable_d3d11
  934. enable_d3d12
  935. enable_d3d8
  936. enable_d3d8thk
  937. enable_d3d9
  938. enable_d3dcompiler_33
  939. enable_d3dcompiler_34
  940. enable_d3dcompiler_35
  941. enable_d3dcompiler_36
  942. enable_d3dcompiler_37
  943. enable_d3dcompiler_38
  944. enable_d3dcompiler_39
  945. enable_d3dcompiler_40
  946. enable_d3dcompiler_41
  947. enable_d3dcompiler_42
  948. enable_d3dcompiler_43
  949. enable_d3dcompiler_46
  950. enable_d3dcompiler_47
  951. enable_d3dim
  952. enable_d3dim700
  953. enable_d3drm
  954. enable_d3dx10_33
  955. enable_d3dx10_34
  956. enable_d3dx10_35
  957. enable_d3dx10_36
  958. enable_d3dx10_37
  959. enable_d3dx10_38
  960. enable_d3dx10_39
  961. enable_d3dx10_40
  962. enable_d3dx10_41
  963. enable_d3dx10_42
  964. enable_d3dx10_43
  965. enable_d3dx11_42
  966. enable_d3dx11_43
  967. enable_d3dx9_24
  968. enable_d3dx9_25
  969. enable_d3dx9_26
  970. enable_d3dx9_27
  971. enable_d3dx9_28
  972. enable_d3dx9_29
  973. enable_d3dx9_30
  974. enable_d3dx9_31
  975. enable_d3dx9_32
  976. enable_d3dx9_33
  977. enable_d3dx9_34
  978. enable_d3dx9_35
  979. enable_d3dx9_36
  980. enable_d3dx9_37
  981. enable_d3dx9_38
  982. enable_d3dx9_39
  983. enable_d3dx9_40
  984. enable_d3dx9_41
  985. enable_d3dx9_42
  986. enable_d3dx9_43
  987. enable_d3dxof
  988. enable_davclnt
  989. enable_dbgeng
  990. enable_dbghelp
  991. enable_dciman32
  992. enable_dcomp
  993. enable_ddraw
  994. enable_ddrawex
  995. enable_devenum
  996. enable_dhcpcsvc
  997. enable_dhcpcsvc6
  998. enable_dhtmled_ocx
  999. enable_diasymreader
  1000. enable_difxapi
  1001. enable_dinput
  1002. enable_dinput8
  1003. enable_directmanipulation
  1004. enable_dispex
  1005. enable_dmband
  1006. enable_dmcompos
  1007. enable_dmime
  1008. enable_dmloader
  1009. enable_dmscript
  1010. enable_dmstyle
  1011. enable_dmsynth
  1012. enable_dmusic
  1013. enable_dmusic32
  1014. enable_dnsapi
  1015. enable_dplay
  1016. enable_dplayx
  1017. enable_dpnaddr
  1018. enable_dpnet
  1019. enable_dpnhpast
  1020. enable_dpnhupnp
  1021. enable_dpnlobby
  1022. enable_dpvoice
  1023. enable_dpwsockx
  1024. enable_drmclien
  1025. enable_dsdmo
  1026. enable_dsound
  1027. enable_dsquery
  1028. enable_dssenh
  1029. enable_dsuiext
  1030. enable_dswave
  1031. enable_dwmapi
  1032. enable_dwrite
  1033. enable_dx8vb
  1034. enable_dxdiagn
  1035. enable_dxgi
  1036. enable_dxtrans
  1037. enable_dxva2
  1038. enable_esent
  1039. enable_evr
  1040. enable_explorerframe
  1041. enable_faultrep
  1042. enable_feclient
  1043. enable_fltlib
  1044. enable_fltmgr_sys
  1045. enable_fntcache
  1046. enable_fontsub
  1047. enable_fusion
  1048. enable_fwpuclnt
  1049. enable_gameux
  1050. enable_gamingtcui
  1051. enable_gdi32
  1052. enable_gdiplus
  1053. enable_glu32
  1054. enable_gphoto2_ds
  1055. enable_gpkcsp
  1056. enable_hal
  1057. enable_hhctrl_ocx
  1058. enable_hid
  1059. enable_hidclass_sys
  1060. enable_hidparse_sys
  1061. enable_hlink
  1062. enable_hnetcfg
  1063. enable_http_sys
  1064. enable_httpapi
  1065. enable_iccvid
  1066. enable_icmp
  1067. enable_ieframe
  1068. enable_ieproxy
  1069. enable_imaadp32_acm
  1070. enable_imagehlp
  1071. enable_imm32
  1072. enable_inetcomm
  1073. enable_inetcpl_cpl
  1074. enable_inetmib1
  1075. enable_infosoft
  1076. enable_initpki
  1077. enable_inkobj
  1078. enable_inseng
  1079. enable_iphlpapi
  1080. enable_iprop
  1081. enable_irprops_cpl
  1082. enable_itircl
  1083. enable_itss
  1084. enable_joy_cpl
  1085. enable_jscript
  1086. enable_jsproxy
  1087. enable_kerberos
  1088. enable_kernel32
  1089. enable_kernelbase
  1090. enable_ksecdd_sys
  1091. enable_ksproxy_ax
  1092. enable_ksuser
  1093. enable_ktmw32
  1094. enable_l3codeca_acm
  1095. enable_light_msstyles
  1096. enable_loadperf
  1097. enable_localspl
  1098. enable_localui
  1099. enable_lz32
  1100. enable_mapi32
  1101. enable_mapistub
  1102. enable_mciavi32
  1103. enable_mcicda
  1104. enable_mciqtz32
  1105. enable_mciseq
  1106. enable_mciwave
  1107. enable_mf
  1108. enable_mf3216
  1109. enable_mferror
  1110. enable_mfmediaengine
  1111. enable_mfplat
  1112. enable_mfplay
  1113. enable_mfreadwrite
  1114. enable_mgmtapi
  1115. enable_midimap
  1116. enable_mlang
  1117. enable_mmcndmgr
  1118. enable_mmdevapi
  1119. enable_mountmgr_sys
  1120. enable_mp3dmod
  1121. enable_mpr
  1122. enable_mprapi
  1123. enable_msacm32_drv
  1124. enable_msacm32
  1125. enable_msado15
  1126. enable_msadp32_acm
  1127. enable_msasn1
  1128. enable_mscat32
  1129. enable_mscms
  1130. enable_mscoree
  1131. enable_mscorwks
  1132. enable_msctf
  1133. enable_msctfmonitor
  1134. enable_msctfp
  1135. enable_msdaps
  1136. enable_msdasql
  1137. enable_msdelta
  1138. enable_msdmo
  1139. enable_msdrm
  1140. enable_msftedit
  1141. enable_msg711_acm
  1142. enable_msgsm32_acm
  1143. enable_mshtml_tlb
  1144. enable_mshtml
  1145. enable_msi
  1146. enable_msident
  1147. enable_msimg32
  1148. enable_msimsg
  1149. enable_msimtf
  1150. enable_msisip
  1151. enable_msisys_ocx
  1152. enable_msls31
  1153. enable_msnet32
  1154. enable_mspatcha
  1155. enable_msports
  1156. enable_msrle32
  1157. enable_msscript_ocx
  1158. enable_mssign32
  1159. enable_mssip32
  1160. enable_mstask
  1161. enable_msv1_0
  1162. enable_msvcirt
  1163. enable_msvcm80
  1164. enable_msvcm90
  1165. enable_msvcp100
  1166. enable_msvcp110
  1167. enable_msvcp120
  1168. enable_msvcp120_app
  1169. enable_msvcp140
  1170. enable_msvcp140_1
  1171. enable_msvcp140_atomic_wait
  1172. enable_msvcp60
  1173. enable_msvcp70
  1174. enable_msvcp71
  1175. enable_msvcp80
  1176. enable_msvcp90
  1177. enable_msvcp_win
  1178. enable_msvcr100
  1179. enable_msvcr110
  1180. enable_msvcr120
  1181. enable_msvcr120_app
  1182. enable_msvcr70
  1183. enable_msvcr71
  1184. enable_msvcr80
  1185. enable_msvcr90
  1186. enable_msvcrt
  1187. enable_msvcrt20
  1188. enable_msvcrt40
  1189. enable_msvcrtd
  1190. enable_msvfw32
  1191. enable_msvidc32
  1192. enable_mswsock
  1193. enable_msxml
  1194. enable_msxml2
  1195. enable_msxml3
  1196. enable_msxml4
  1197. enable_msxml6
  1198. enable_mtxdm
  1199. enable_ncrypt
  1200. enable_nddeapi
  1201. enable_ndis_sys
  1202. enable_netapi32
  1203. enable_netcfgx
  1204. enable_netio_sys
  1205. enable_netprofm
  1206. enable_netutils
  1207. enable_newdev
  1208. enable_ninput
  1209. enable_normaliz
  1210. enable_npmshtml
  1211. enable_npptools
  1212. enable_nsi
  1213. enable_nsiproxy_sys
  1214. enable_ntdll
  1215. enable_ntdsapi
  1216. enable_ntoskrnl_exe
  1217. enable_ntprint
  1218. enable_objsel
  1219. enable_odbc32
  1220. enable_odbcbcp
  1221. enable_odbccp32
  1222. enable_odbccu32
  1223. enable_ole32
  1224. enable_oleacc
  1225. enable_oleaut32
  1226. enable_olecli32
  1227. enable_oledb32
  1228. enable_oledlg
  1229. enable_olepro32
  1230. enable_olesvr32
  1231. enable_olethk32
  1232. enable_opcservices
  1233. enable_openal32
  1234. enable_opencl
  1235. enable_opengl32
  1236. enable_packager
  1237. enable_pdh
  1238. enable_photometadatahandler
  1239. enable_pidgen
  1240. enable_powrprof
  1241. enable_printui
  1242. enable_prntvpt
  1243. enable_propsys
  1244. enable_psapi
  1245. enable_pstorec
  1246. enable_pwrshplugin
  1247. enable_qasf
  1248. enable_qcap
  1249. enable_qdvd
  1250. enable_qedit
  1251. enable_qmgr
  1252. enable_qmgrprxy
  1253. enable_quartz
  1254. enable_query
  1255. enable_qwave
  1256. enable_rasapi32
  1257. enable_rasdlg
  1258. enable_regapi
  1259. enable_resutils
  1260. enable_riched20
  1261. enable_riched32
  1262. enable_rpcrt4
  1263. enable_rsabase
  1264. enable_rsaenh
  1265. enable_rstrtmgr
  1266. enable_rtutils
  1267. enable_rtworkq
  1268. enable_samlib
  1269. enable_sane_ds
  1270. enable_sapi
  1271. enable_sas
  1272. enable_scarddlg
  1273. enable_sccbase
  1274. enable_schannel
  1275. enable_schedsvc
  1276. enable_scrobj
  1277. enable_scrrun
  1278. enable_scsiport_sys
  1279. enable_sechost
  1280. enable_secur32
  1281. enable_security
  1282. enable_sensapi
  1283. enable_serialui
  1284. enable_setupapi
  1285. enable_sfc
  1286. enable_sfc_os
  1287. enable_shcore
  1288. enable_shdoclc
  1289. enable_shdocvw
  1290. enable_shell32
  1291. enable_shfolder
  1292. enable_shlwapi
  1293. enable_slbcsp
  1294. enable_slc
  1295. enable_snmpapi
  1296. enable_softpub
  1297. enable_spoolss
  1298. enable_sppc
  1299. enable_srclient
  1300. enable_srvcli
  1301. enable_sspicli
  1302. enable_stdole2_tlb
  1303. enable_stdole32_tlb
  1304. enable_sti
  1305. enable_strmdll
  1306. enable_svrapi
  1307. enable_sxs
  1308. enable_t2embed
  1309. enable_tapi32
  1310. enable_taskschd
  1311. enable_tbs
  1312. enable_tdh
  1313. enable_tdi_sys
  1314. enable_traffic
  1315. enable_twain_32
  1316. enable_tzres
  1317. enable_ucrtbase
  1318. enable_uianimation
  1319. enable_uiautomationcore
  1320. enable_uiribbon
  1321. enable_unicows
  1322. enable_updspapi
  1323. enable_url
  1324. enable_urlmon
  1325. enable_usbd_sys
  1326. enable_user32
  1327. enable_userenv
  1328. enable_usp10
  1329. enable_utildll
  1330. enable_uxtheme
  1331. enable_vbscript
  1332. enable_vcomp
  1333. enable_vcomp100
  1334. enable_vcomp110
  1335. enable_vcomp120
  1336. enable_vcomp140
  1337. enable_vcomp90
  1338. enable_vcruntime140
  1339. enable_vcruntime140_1
  1340. enable_vdmdbg
  1341. enable_version
  1342. enable_vga
  1343. enable_virtdisk
  1344. enable_vssapi
  1345. enable_vulkan_1
  1346. enable_wbemdisp
  1347. enable_wbemprox
  1348. enable_wdscore
  1349. enable_webservices
  1350. enable_websocket
  1351. enable_wer
  1352. enable_wevtapi
  1353. enable_wevtsvc
  1354. enable_wiaservc
  1355. enable_wimgapi
  1356. enable_win32u
  1357. enable_windows_devices_enumeration
  1358. enable_windows_gaming_input
  1359. enable_windows_globalization
  1360. enable_windows_media_devices
  1361. enable_windows_media_speech
  1362. enable_windows_networking
  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_wintypes
  1393. enable_winusb
  1394. enable_wlanapi
  1395. enable_wlanui
  1396. enable_wldap32
  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.9 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.9:";;
  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.9
  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.9, 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" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_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_netinet6_ip6_var_h" = xyes
  7998. then :
  7999. printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
  8000. fi
  8001. ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_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_netipx_ipx_h" = xyes
  8023. then :
  8024. printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
  8025. fi
  8026. ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_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_NET_ROUTE_H
  8032. # include <net/route.h>
  8033. #endif
  8034. #ifdef HAVE_NETINET_IN_H
  8035. # include <netinet/in.h>
  8036. #endif
  8037. #ifdef HAVE_NETINET_IN_SYSTM_H
  8038. # include <netinet/in_systm.h>
  8039. #endif
  8040. #ifdef HAVE_NET_IF_H
  8041. # include <net/if.h>
  8042. #endif
  8043. #ifdef HAVE_NETINET_IP_H
  8044. # include <netinet/ip.h>
  8045. #endif
  8046. "
  8047. if test "x$ac_cv_header_sys_un_h" = xyes
  8048. then :
  8049. printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
  8050. fi
  8051. ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
  8052. #include <sys/socket.h>
  8053. #ifdef HAVE_SYS_SOCKETVAR_H
  8054. # include <sys/socketvar.h>
  8055. #endif
  8056. #ifdef HAVE_NETINET_IN_H
  8057. # include <netinet/in.h>
  8058. #endif
  8059. #ifdef HAVE_NETINET_IN_SYSTM_H
  8060. # include <netinet/in_systm.h>
  8061. #endif
  8062. #ifdef HAVE_NETINET_IP_H
  8063. # include <netinet/ip.h>
  8064. #endif
  8065. #ifdef HAVE_NETINET_IP_VAR_H
  8066. # include <netinet/ip_var.h>
  8067. #endif
  8068. #ifdef HAVE_NETINET_IP_ICMP_H
  8069. # include <netinet/ip_icmp.h>
  8070. #endif
  8071. #ifdef HAVE_NETINET_UDP_H
  8072. # include <netinet/udp.h>
  8073. #endif
  8074. #ifdef HAVE_NETINET_TCP_H
  8075. # include <netinet/tcp.h>
  8076. #endif
  8077. "
  8078. if test "x$ac_cv_header_netinet_udp_var_h" = xyes
  8079. then :
  8080. printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
  8081. fi
  8082. ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
  8083. #include <sys/socket.h>
  8084. #ifdef HAVE_SYS_SOCKETVAR_H
  8085. # include <sys/socketvar.h>
  8086. #endif
  8087. #ifdef HAVE_NETINET_IN_H
  8088. # include <netinet/in.h>
  8089. #endif
  8090. #ifdef HAVE_NETINET_IN_SYSTM_H
  8091. # include <netinet/in_systm.h>
  8092. #endif
  8093. #ifdef HAVE_NETINET_IP_H
  8094. # include <netinet/ip.h>
  8095. #endif
  8096. #ifdef HAVE_NETINET_IP_VAR_H
  8097. # include <netinet/ip_var.h>
  8098. #endif
  8099. #ifdef HAVE_NETINET_IP_ICMP_H
  8100. # include <netinet/ip_icmp.h>
  8101. #endif
  8102. #ifdef HAVE_NETINET_UDP_H
  8103. # include <netinet/udp.h>
  8104. #endif
  8105. #ifdef HAVE_NETINET_TCP_H
  8106. # include <netinet/tcp.h>
  8107. #endif
  8108. "
  8109. if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
  8110. then :
  8111. printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
  8112. fi
  8113. ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
  8114. #include <sys/socket.h>
  8115. #ifdef HAVE_SYS_SOCKETVAR_H
  8116. # include <sys/socketvar.h>
  8117. #endif
  8118. #ifdef HAVE_NETINET_IN_H
  8119. # include <netinet/in.h>
  8120. #endif
  8121. #ifdef HAVE_NETINET_IN_SYSTM_H
  8122. # include <netinet/in_systm.h>
  8123. #endif
  8124. #ifdef HAVE_NETINET_IP_H
  8125. # include <netinet/ip.h>
  8126. #endif
  8127. #ifdef HAVE_NETINET_IP_VAR_H
  8128. # include <netinet/ip_var.h>
  8129. #endif
  8130. #ifdef HAVE_NETINET_IP_ICMP_H
  8131. # include <netinet/ip_icmp.h>
  8132. #endif
  8133. #ifdef HAVE_NETINET_UDP_H
  8134. # include <netinet/udp.h>
  8135. #endif
  8136. #ifdef HAVE_NETINET_TCP_H
  8137. # include <netinet/tcp.h>
  8138. #endif
  8139. "
  8140. if test "x$ac_cv_header_netinet_icmp6_h" = xyes
  8141. then :
  8142. printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
  8143. fi
  8144. ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
  8145. #include <sys/socket.h>
  8146. #ifdef HAVE_SYS_SOCKETVAR_H
  8147. # include <sys/socketvar.h>
  8148. #endif
  8149. #ifdef HAVE_NETINET_IN_H
  8150. # include <netinet/in.h>
  8151. #endif
  8152. #ifdef HAVE_NETINET_IN_SYSTM_H
  8153. # include <netinet/in_systm.h>
  8154. #endif
  8155. #ifdef HAVE_NETINET_IP_H
  8156. # include <netinet/ip.h>
  8157. #endif
  8158. #ifdef HAVE_NETINET_IP_VAR_H
  8159. # include <netinet/ip_var.h>
  8160. #endif
  8161. #ifdef HAVE_NETINET_IP_ICMP_H
  8162. # include <netinet/ip_icmp.h>
  8163. #endif
  8164. #ifdef HAVE_NETINET_UDP_H
  8165. # include <netinet/udp.h>
  8166. #endif
  8167. #ifdef HAVE_NETINET_TCP_H
  8168. # include <netinet/tcp.h>
  8169. #endif
  8170. "
  8171. if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
  8172. then :
  8173. printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
  8174. fi
  8175. ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
  8176. #include <sys/socket.h>
  8177. #ifdef HAVE_ASM_TYPES_H
  8178. # include <asm/types.h>
  8179. #endif
  8180. #ifdef HAVE_LINUX_TYPES_H
  8181. # include <linux/types.h>
  8182. #endif
  8183. "
  8184. if test "x$ac_cv_header_linux_ipx_h" = xyes
  8185. then :
  8186. printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
  8187. fi
  8188. ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
  8189. #include <sys/socket.h>
  8190. #ifdef HAVE_ASM_TYPES_H
  8191. # include <asm/types.h>
  8192. #endif
  8193. #ifdef HAVE_LINUX_TYPES_H
  8194. # include <linux/types.h>
  8195. #endif
  8196. "
  8197. if test "x$ac_cv_header_linux_irda_h" = xyes
  8198. then :
  8199. printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
  8200. fi
  8201. ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
  8202. #include <sys/socket.h>
  8203. #ifdef HAVE_ASM_TYPES_H
  8204. # include <asm/types.h>
  8205. #endif
  8206. #ifdef HAVE_LINUX_TYPES_H
  8207. # include <linux/types.h>
  8208. #endif
  8209. "
  8210. if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
  8211. then :
  8212. printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
  8213. fi
  8214. ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
  8215. #include <sys/socket.h>
  8216. #ifdef HAVE_NETINET_IN_H
  8217. # include <netinet/in.h>
  8218. #endif
  8219. #ifdef HAVE_ARPA_NAMESER_H
  8220. # include <arpa/nameser.h>
  8221. #endif
  8222. "
  8223. if test "x$ac_cv_header_resolv_h" = xyes
  8224. then :
  8225. printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
  8226. fi
  8227. ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
  8228. "
  8229. if test "x$ac_cv_header_ifaddrs_h" = xyes
  8230. then :
  8231. printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
  8232. fi
  8233. ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
  8234. "
  8235. if test "x$ac_cv_header_sys_ucontext_h" = xyes
  8236. then :
  8237. printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
  8238. fi
  8239. ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
  8240. #ifdef HAVE_SYS_UCONTEXT_H
  8241. #include <sys/ucontext.h>
  8242. #endif
  8243. "
  8244. if test "x$ac_cv_header_sys_thr_h" = xyes
  8245. then :
  8246. printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
  8247. fi
  8248. ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
  8249. #include <pthread.h>
  8250. #endif
  8251. "
  8252. if test "x$ac_cv_header_pthread_np_h" = xyes
  8253. then :
  8254. printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
  8255. fi
  8256. ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
  8257. #include <sys/types.h>
  8258. #ifdef HAVE_ASM_TYPES_H
  8259. #include <asm/types.h>
  8260. #endif
  8261. "
  8262. if test "x$ac_cv_header_linux_videodev2_h" = xyes
  8263. then :
  8264. printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
  8265. fi
  8266. ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
  8267. #include <sys/param.h>
  8268. #endif
  8269. #include <sys/socket.h>
  8270. #ifdef HAVE_SYS_QUEUE_H
  8271. #include <sys/queue.h>
  8272. #endif
  8273. "
  8274. if test "x$ac_cv_header_libprocstat_h" = xyes
  8275. then :
  8276. printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
  8277. fi
  8278. DLLFLAGS=""
  8279. LDDLLFLAGS=""
  8280. LDEXECFLAGS=""
  8281. EXTRACFLAGS=""
  8282. UNIXDLLFLAGS="-fPIC"
  8283. UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
  8284. TOP_INSTALL_LIB=""
  8285. TOP_INSTALL_DEV=""
  8286. WINELOADER_LDFLAGS=""
  8287. WINEPRELOADER_LDFLAGS=""
  8288. LIBEXT="so"
  8289. # Extract the first word of "ldd", so it can be a program name with args.
  8290. set dummy ldd; ac_word=$2
  8291. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8292. printf %s "checking for $ac_word... " >&6; }
  8293. if test ${ac_cv_path_LDD+y}
  8294. then :
  8295. printf %s "(cached) " >&6
  8296. else $as_nop
  8297. case $LDD in
  8298. [\\/]* | ?:[\\/]*)
  8299. ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
  8300. ;;
  8301. *)
  8302. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8303. as_dummy="/sbin:/usr/sbin:$PATH"
  8304. for as_dir in $as_dummy
  8305. do
  8306. IFS=$as_save_IFS
  8307. case $as_dir in #(((
  8308. '') as_dir=./ ;;
  8309. */) ;;
  8310. *) as_dir=$as_dir/ ;;
  8311. esac
  8312. for ac_exec_ext in '' $ac_executable_extensions; do
  8313. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8314. ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
  8315. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8316. break 2
  8317. fi
  8318. done
  8319. done
  8320. IFS=$as_save_IFS
  8321. test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
  8322. ;;
  8323. esac
  8324. fi
  8325. LDD=$ac_cv_path_LDD
  8326. if test -n "$LDD"; then
  8327. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
  8328. printf "%s\n" "$LDD" >&6; }
  8329. else
  8330. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8331. printf "%s\n" "no" >&6; }
  8332. fi
  8333. if test -n "$ac_tool_prefix"; then
  8334. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  8335. set dummy ${ac_tool_prefix}otool; ac_word=$2
  8336. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8337. printf %s "checking for $ac_word... " >&6; }
  8338. if test ${ac_cv_prog_OTOOL+y}
  8339. then :
  8340. printf %s "(cached) " >&6
  8341. else $as_nop
  8342. if test -n "$OTOOL"; then
  8343. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  8344. else
  8345. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8346. for as_dir in $PATH
  8347. do
  8348. IFS=$as_save_IFS
  8349. case $as_dir in #(((
  8350. '') as_dir=./ ;;
  8351. */) ;;
  8352. *) as_dir=$as_dir/ ;;
  8353. esac
  8354. for ac_exec_ext in '' $ac_executable_extensions; do
  8355. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8356. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  8357. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8358. break 2
  8359. fi
  8360. done
  8361. done
  8362. IFS=$as_save_IFS
  8363. fi
  8364. fi
  8365. OTOOL=$ac_cv_prog_OTOOL
  8366. if test -n "$OTOOL"; then
  8367. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  8368. printf "%s\n" "$OTOOL" >&6; }
  8369. else
  8370. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8371. printf "%s\n" "no" >&6; }
  8372. fi
  8373. fi
  8374. if test -z "$ac_cv_prog_OTOOL"; then
  8375. ac_ct_OTOOL=$OTOOL
  8376. # Extract the first word of "otool", so it can be a program name with args.
  8377. set dummy otool; ac_word=$2
  8378. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8379. printf %s "checking for $ac_word... " >&6; }
  8380. if test ${ac_cv_prog_ac_ct_OTOOL+y}
  8381. then :
  8382. printf %s "(cached) " >&6
  8383. else $as_nop
  8384. if test -n "$ac_ct_OTOOL"; then
  8385. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  8386. else
  8387. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8388. for as_dir in $PATH
  8389. do
  8390. IFS=$as_save_IFS
  8391. case $as_dir in #(((
  8392. '') as_dir=./ ;;
  8393. */) ;;
  8394. *) as_dir=$as_dir/ ;;
  8395. esac
  8396. for ac_exec_ext in '' $ac_executable_extensions; do
  8397. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8398. ac_cv_prog_ac_ct_OTOOL="otool"
  8399. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8400. break 2
  8401. fi
  8402. done
  8403. done
  8404. IFS=$as_save_IFS
  8405. fi
  8406. fi
  8407. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  8408. if test -n "$ac_ct_OTOOL"; then
  8409. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  8410. printf "%s\n" "$ac_ct_OTOOL" >&6; }
  8411. else
  8412. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8413. printf "%s\n" "no" >&6; }
  8414. fi
  8415. if test "x$ac_ct_OTOOL" = x; then
  8416. OTOOL="otool"
  8417. else
  8418. case $cross_compiling:$ac_tool_warned in
  8419. yes:)
  8420. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8421. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8422. ac_tool_warned=yes ;;
  8423. esac
  8424. OTOOL=$ac_ct_OTOOL
  8425. fi
  8426. else
  8427. OTOOL="$ac_cv_prog_OTOOL"
  8428. fi
  8429. if test -n "$ac_tool_prefix"; then
  8430. # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
  8431. set dummy ${ac_tool_prefix}readelf; ac_word=$2
  8432. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8433. printf %s "checking for $ac_word... " >&6; }
  8434. if test ${ac_cv_prog_READELF+y}
  8435. then :
  8436. printf %s "(cached) " >&6
  8437. else $as_nop
  8438. if test -n "$READELF"; then
  8439. ac_cv_prog_READELF="$READELF" # Let the user override the test.
  8440. else
  8441. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8442. for as_dir in $PATH
  8443. do
  8444. IFS=$as_save_IFS
  8445. case $as_dir in #(((
  8446. '') as_dir=./ ;;
  8447. */) ;;
  8448. *) as_dir=$as_dir/ ;;
  8449. esac
  8450. for ac_exec_ext in '' $ac_executable_extensions; do
  8451. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8452. ac_cv_prog_READELF="${ac_tool_prefix}readelf"
  8453. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8454. break 2
  8455. fi
  8456. done
  8457. done
  8458. IFS=$as_save_IFS
  8459. fi
  8460. fi
  8461. READELF=$ac_cv_prog_READELF
  8462. if test -n "$READELF"; then
  8463. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
  8464. printf "%s\n" "$READELF" >&6; }
  8465. else
  8466. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8467. printf "%s\n" "no" >&6; }
  8468. fi
  8469. fi
  8470. if test -z "$ac_cv_prog_READELF"; then
  8471. ac_ct_READELF=$READELF
  8472. # Extract the first word of "readelf", so it can be a program name with args.
  8473. set dummy readelf; ac_word=$2
  8474. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8475. printf %s "checking for $ac_word... " >&6; }
  8476. if test ${ac_cv_prog_ac_ct_READELF+y}
  8477. then :
  8478. printf %s "(cached) " >&6
  8479. else $as_nop
  8480. if test -n "$ac_ct_READELF"; then
  8481. ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
  8482. else
  8483. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8484. for as_dir in $PATH
  8485. do
  8486. IFS=$as_save_IFS
  8487. case $as_dir in #(((
  8488. '') as_dir=./ ;;
  8489. */) ;;
  8490. *) as_dir=$as_dir/ ;;
  8491. esac
  8492. for ac_exec_ext in '' $ac_executable_extensions; do
  8493. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8494. ac_cv_prog_ac_ct_READELF="readelf"
  8495. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8496. break 2
  8497. fi
  8498. done
  8499. done
  8500. IFS=$as_save_IFS
  8501. fi
  8502. fi
  8503. ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
  8504. if test -n "$ac_ct_READELF"; then
  8505. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
  8506. printf "%s\n" "$ac_ct_READELF" >&6; }
  8507. else
  8508. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8509. printf "%s\n" "no" >&6; }
  8510. fi
  8511. if test "x$ac_ct_READELF" = x; then
  8512. READELF="true"
  8513. else
  8514. case $cross_compiling:$ac_tool_warned in
  8515. yes:)
  8516. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8517. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8518. ac_tool_warned=yes ;;
  8519. esac
  8520. READELF=$ac_ct_READELF
  8521. fi
  8522. else
  8523. READELF="$ac_cv_prog_READELF"
  8524. fi
  8525. wine_rules="all:"
  8526. SUBDIRS=""
  8527. DISABLED_SUBDIRS=""
  8528. CONFIGURE_TARGETS=""
  8529. wine_fn_append_file ()
  8530. {
  8531. as_fn_append $1 " \\$as_nl $2"
  8532. }
  8533. wine_fn_append_rule ()
  8534. {
  8535. as_fn_append wine_rules "$as_nl$1"
  8536. }
  8537. wine_fn_config_makefile ()
  8538. {
  8539. wine_fn_append_file SUBDIRS $1
  8540. if eval test \"x\$"$2"\" = x"no"
  8541. then :
  8542. wine_fn_append_file DISABLED_SUBDIRS $1
  8543. fi
  8544. }
  8545. wine_fn_config_symlink ()
  8546. {
  8547. ac_links=$@
  8548. wine_fn_append_rule \
  8549. "$ac_links:
  8550. @./config.status \$@"
  8551. for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
  8552. }
  8553. wine_binary="wine"
  8554. test "x$enable_win64" != "xyes" || wine_binary="wine64"
  8555. WINELOADER_PROGRAMS="$wine_binary"
  8556. libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
  8557. case $host_os in
  8558. cygwin*|mingw32*)
  8559. if test -n "$ac_tool_prefix"; then
  8560. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  8561. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  8562. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8563. printf %s "checking for $ac_word... " >&6; }
  8564. if test ${ac_cv_prog_DLLTOOL+y}
  8565. then :
  8566. printf %s "(cached) " >&6
  8567. else $as_nop
  8568. if test -n "$DLLTOOL"; then
  8569. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  8570. else
  8571. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8572. for as_dir in $PATH
  8573. do
  8574. IFS=$as_save_IFS
  8575. case $as_dir in #(((
  8576. '') as_dir=./ ;;
  8577. */) ;;
  8578. *) as_dir=$as_dir/ ;;
  8579. esac
  8580. for ac_exec_ext in '' $ac_executable_extensions; do
  8581. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8582. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  8583. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8584. break 2
  8585. fi
  8586. done
  8587. done
  8588. IFS=$as_save_IFS
  8589. fi
  8590. fi
  8591. DLLTOOL=$ac_cv_prog_DLLTOOL
  8592. if test -n "$DLLTOOL"; then
  8593. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  8594. printf "%s\n" "$DLLTOOL" >&6; }
  8595. else
  8596. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8597. printf "%s\n" "no" >&6; }
  8598. fi
  8599. fi
  8600. if test -z "$ac_cv_prog_DLLTOOL"; then
  8601. ac_ct_DLLTOOL=$DLLTOOL
  8602. # Extract the first word of "dlltool", so it can be a program name with args.
  8603. set dummy dlltool; ac_word=$2
  8604. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8605. printf %s "checking for $ac_word... " >&6; }
  8606. if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
  8607. then :
  8608. printf %s "(cached) " >&6
  8609. else $as_nop
  8610. if test -n "$ac_ct_DLLTOOL"; then
  8611. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  8612. else
  8613. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8614. for as_dir in $PATH
  8615. do
  8616. IFS=$as_save_IFS
  8617. case $as_dir in #(((
  8618. '') as_dir=./ ;;
  8619. */) ;;
  8620. *) as_dir=$as_dir/ ;;
  8621. esac
  8622. for ac_exec_ext in '' $ac_executable_extensions; do
  8623. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8624. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  8625. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8626. break 2
  8627. fi
  8628. done
  8629. done
  8630. IFS=$as_save_IFS
  8631. fi
  8632. fi
  8633. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  8634. if test -n "$ac_ct_DLLTOOL"; then
  8635. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  8636. printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
  8637. else
  8638. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8639. printf "%s\n" "no" >&6; }
  8640. fi
  8641. if test "x$ac_ct_DLLTOOL" = x; then
  8642. DLLTOOL="false"
  8643. else
  8644. case $cross_compiling:$ac_tool_warned in
  8645. yes:)
  8646. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8647. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8648. ac_tool_warned=yes ;;
  8649. esac
  8650. DLLTOOL=$ac_ct_DLLTOOL
  8651. fi
  8652. else
  8653. DLLTOOL="$ac_cv_prog_DLLTOOL"
  8654. fi
  8655. LIBEXT="dll"
  8656. EXTRACFLAGS="-D__WINE_PE_BUILD"
  8657. case $host_cpu in
  8658. *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
  8659. printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
  8660. if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
  8661. then :
  8662. printf %s "(cached) " >&6
  8663. else $as_nop
  8664. ac_wine_try_cflags_saved=$CFLAGS
  8665. CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
  8666. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8667. /* end confdefs.h. */
  8668. int main(int argc, char **argv) { return 0; }
  8669. _ACEOF
  8670. if ac_fn_c_try_link "$LINENO"
  8671. then :
  8672. ac_cv_cflags__Wl___disable_stdcall_fixup=yes
  8673. else $as_nop
  8674. ac_cv_cflags__Wl___disable_stdcall_fixup=no
  8675. fi
  8676. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  8677. conftest$ac_exeext conftest.$ac_ext
  8678. CFLAGS=$ac_wine_try_cflags_saved
  8679. fi
  8680. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
  8681. printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
  8682. if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
  8683. then :
  8684. LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
  8685. fi ;;
  8686. esac
  8687. enable_loader=${enable_loader:-no}
  8688. enable_server=${enable_server:-no}
  8689. with_x=${with_x:-no}
  8690. with_pthread=${with_pthread:-no}
  8691. ;;
  8692. darwin*|macosx*)
  8693. ac_ext=m
  8694. ac_cpp='$OBJCPP $CPPFLAGS'
  8695. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8696. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8697. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8698. ac_ext=m
  8699. ac_cpp='$OBJCPP $CPPFLAGS'
  8700. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8701. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8702. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8703. if test -n "$ac_tool_prefix"; then
  8704. for ac_prog in gcc objcc objc cc CC clang
  8705. do
  8706. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  8707. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  8708. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8709. printf %s "checking for $ac_word... " >&6; }
  8710. if test ${ac_cv_prog_OBJC+y}
  8711. then :
  8712. printf %s "(cached) " >&6
  8713. else $as_nop
  8714. if test -n "$OBJC"; then
  8715. ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  8716. else
  8717. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8718. for as_dir in $PATH
  8719. do
  8720. IFS=$as_save_IFS
  8721. case $as_dir in #(((
  8722. '') as_dir=./ ;;
  8723. */) ;;
  8724. *) as_dir=$as_dir/ ;;
  8725. esac
  8726. for ac_exec_ext in '' $ac_executable_extensions; do
  8727. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8728. ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  8729. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8730. break 2
  8731. fi
  8732. done
  8733. done
  8734. IFS=$as_save_IFS
  8735. fi
  8736. fi
  8737. OBJC=$ac_cv_prog_OBJC
  8738. if test -n "$OBJC"; then
  8739. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
  8740. printf "%s\n" "$OBJC" >&6; }
  8741. else
  8742. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8743. printf "%s\n" "no" >&6; }
  8744. fi
  8745. test -n "$OBJC" && break
  8746. done
  8747. fi
  8748. if test -z "$OBJC"; then
  8749. ac_ct_OBJC=$OBJC
  8750. for ac_prog in gcc objcc objc cc CC clang
  8751. do
  8752. # Extract the first word of "$ac_prog", so it can be a program name with args.
  8753. set dummy $ac_prog; ac_word=$2
  8754. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8755. printf %s "checking for $ac_word... " >&6; }
  8756. if test ${ac_cv_prog_ac_ct_OBJC+y}
  8757. then :
  8758. printf %s "(cached) " >&6
  8759. else $as_nop
  8760. if test -n "$ac_ct_OBJC"; then
  8761. ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  8762. else
  8763. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8764. for as_dir in $PATH
  8765. do
  8766. IFS=$as_save_IFS
  8767. case $as_dir in #(((
  8768. '') as_dir=./ ;;
  8769. */) ;;
  8770. *) as_dir=$as_dir/ ;;
  8771. esac
  8772. for ac_exec_ext in '' $ac_executable_extensions; do
  8773. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8774. ac_cv_prog_ac_ct_OBJC="$ac_prog"
  8775. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8776. break 2
  8777. fi
  8778. done
  8779. done
  8780. IFS=$as_save_IFS
  8781. fi
  8782. fi
  8783. ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  8784. if test -n "$ac_ct_OBJC"; then
  8785. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
  8786. printf "%s\n" "$ac_ct_OBJC" >&6; }
  8787. else
  8788. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8789. printf "%s\n" "no" >&6; }
  8790. fi
  8791. test -n "$ac_ct_OBJC" && break
  8792. done
  8793. if test "x$ac_ct_OBJC" = x; then
  8794. OBJC="gcc"
  8795. else
  8796. case $cross_compiling:$ac_tool_warned in
  8797. yes:)
  8798. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8799. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8800. ac_tool_warned=yes ;;
  8801. esac
  8802. OBJC=$ac_ct_OBJC
  8803. fi
  8804. fi
  8805. # Provide some information about the compiler.
  8806. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
  8807. set X $ac_compile
  8808. ac_compiler=$2
  8809. for ac_option in --version -v -V -qversion; do
  8810. { { ac_try="$ac_compiler $ac_option >&5"
  8811. case "(($ac_try" in
  8812. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8813. *) ac_try_echo=$ac_try;;
  8814. esac
  8815. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8816. printf "%s\n" "$ac_try_echo"; } >&5
  8817. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  8818. ac_status=$?
  8819. if test -s conftest.err; then
  8820. sed '10a\
  8821. ... rest of stderr output deleted ...
  8822. 10q' conftest.err >conftest.er1
  8823. cat conftest.er1 >&5
  8824. fi
  8825. rm -f conftest.er1 conftest.err
  8826. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8827. test $ac_status = 0; }
  8828. done
  8829. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
  8830. printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
  8831. if test ${ac_cv_objc_compiler_gnu+y}
  8832. then :
  8833. printf %s "(cached) " >&6
  8834. else $as_nop
  8835. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8836. /* end confdefs.h. */
  8837. int
  8838. main (void)
  8839. {
  8840. #ifndef __GNUC__
  8841. choke me
  8842. #endif
  8843. ;
  8844. return 0;
  8845. }
  8846. _ACEOF
  8847. if ac_fn_objc_try_compile "$LINENO"
  8848. then :
  8849. ac_compiler_gnu=yes
  8850. else $as_nop
  8851. ac_compiler_gnu=no
  8852. fi
  8853. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8854. ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  8855. fi
  8856. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
  8857. printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
  8858. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8859. if test $ac_compiler_gnu = yes; then
  8860. GOBJC=yes
  8861. else
  8862. GOBJC=
  8863. fi
  8864. ac_test_OBJCFLAGS=${OBJCFLAGS+y}
  8865. ac_save_OBJCFLAGS=$OBJCFLAGS
  8866. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
  8867. printf %s "checking whether $OBJC accepts -g... " >&6; }
  8868. if test ${ac_cv_prog_objc_g+y}
  8869. then :
  8870. printf %s "(cached) " >&6
  8871. else $as_nop
  8872. ac_save_objc_werror_flag=$ac_objc_werror_flag
  8873. ac_objc_werror_flag=yes
  8874. ac_cv_prog_objc_g=no
  8875. OBJCFLAGS="-g"
  8876. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8877. /* end confdefs.h. */
  8878. int
  8879. main (void)
  8880. {
  8881. ;
  8882. return 0;
  8883. }
  8884. _ACEOF
  8885. if ac_fn_objc_try_compile "$LINENO"
  8886. then :
  8887. ac_cv_prog_objc_g=yes
  8888. else $as_nop
  8889. OBJCFLAGS=""
  8890. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8891. /* end confdefs.h. */
  8892. int
  8893. main (void)
  8894. {
  8895. ;
  8896. return 0;
  8897. }
  8898. _ACEOF
  8899. if ac_fn_objc_try_compile "$LINENO"
  8900. then :
  8901. else $as_nop
  8902. ac_objc_werror_flag=$ac_save_objc_werror_flag
  8903. OBJCFLAGS="-g"
  8904. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8905. /* end confdefs.h. */
  8906. int
  8907. main (void)
  8908. {
  8909. ;
  8910. return 0;
  8911. }
  8912. _ACEOF
  8913. if ac_fn_objc_try_compile "$LINENO"
  8914. then :
  8915. ac_cv_prog_objc_g=yes
  8916. fi
  8917. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8918. fi
  8919. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8920. fi
  8921. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8922. ac_objc_werror_flag=$ac_save_objc_werror_flag
  8923. fi
  8924. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
  8925. printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
  8926. if test $ac_test_OBJCFLAGS; then
  8927. OBJCFLAGS=$ac_save_OBJCFLAGS
  8928. elif test $ac_cv_prog_objc_g = yes; then
  8929. if test "$GOBJC" = yes; then
  8930. OBJCFLAGS="-g -O2"
  8931. else
  8932. OBJCFLAGS="-g"
  8933. fi
  8934. else
  8935. if test "$GOBJC" = yes; then
  8936. OBJCFLAGS="-O2"
  8937. else
  8938. OBJCFLAGS=
  8939. fi
  8940. fi
  8941. ac_ext=m
  8942. ac_cpp='$OBJCPP $CPPFLAGS'
  8943. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8944. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8945. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8946. ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
  8947. if test "x$ac_cv_header_Metal_Metal_h" = xyes
  8948. then :
  8949. printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
  8950. fi
  8951. ac_ext=c
  8952. ac_cpp='$CPP $CPPFLAGS'
  8953. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8954. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8955. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8956. LIBEXT="dylib"
  8957. DLLFLAGS="$DLLFLAGS -fPIC"
  8958. LDDLLFLAGS="-fPIC"
  8959. COREFOUNDATION_LIBS="-framework CoreFoundation"
  8960. IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
  8961. APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
  8962. CORESERVICES_LIBS="-framework CoreServices"
  8963. APPKIT_LIBS="-framework AppKit"
  8964. SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
  8965. WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
  8966. wine_can_build_preloader=yes
  8967. 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"
  8968. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
  8969. printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
  8970. if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
  8971. then :
  8972. printf %s "(cached) " >&6
  8973. else $as_nop
  8974. ac_wine_try_cflags_saved=$CFLAGS
  8975. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
  8976. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8977. /* end confdefs.h. */
  8978. int main(int argc, char **argv) { return 0; }
  8979. _ACEOF
  8980. if ac_fn_c_try_link "$LINENO"
  8981. then :
  8982. ac_cv_cflags__Wl__no_new_main__e__main=yes
  8983. else $as_nop
  8984. ac_cv_cflags__Wl__no_new_main__e__main=no
  8985. fi
  8986. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  8987. conftest$ac_exeext conftest.$ac_ext
  8988. CFLAGS=$ac_wine_try_cflags_saved
  8989. fi
  8990. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
  8991. printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
  8992. if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
  8993. then :
  8994. WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
  8995. { 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
  8996. printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8997. if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
  8998. then :
  8999. printf %s "(cached) " >&6
  9000. else $as_nop
  9001. ac_wine_try_cflags_saved=$CFLAGS
  9002. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  9003. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9004. /* end confdefs.h. */
  9005. int main(int argc, char **argv) { return 0; }
  9006. _ACEOF
  9007. if ac_fn_c_try_link "$LINENO"
  9008. then :
  9009. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  9010. else $as_nop
  9011. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  9012. fi
  9013. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9014. conftest$ac_exeext conftest.$ac_ext
  9015. CFLAGS=$ac_wine_try_cflags_saved
  9016. fi
  9017. { 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
  9018. printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  9019. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
  9020. then :
  9021. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  9022. else $as_nop
  9023. wine_can_build_preloader=no
  9024. fi
  9025. else $as_nop
  9026. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  9027. printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  9028. if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
  9029. then :
  9030. printf %s "(cached) " >&6
  9031. else $as_nop
  9032. ac_wine_try_cflags_saved=$CFLAGS
  9033. CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  9034. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9035. /* end confdefs.h. */
  9036. int main(int argc, char **argv) { return 0; }
  9037. _ACEOF
  9038. if ac_fn_c_try_link "$LINENO"
  9039. then :
  9040. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  9041. else $as_nop
  9042. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  9043. fi
  9044. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9045. conftest$ac_exeext conftest.$ac_ext
  9046. CFLAGS=$ac_wine_try_cflags_saved
  9047. fi
  9048. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  9049. printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  9050. if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
  9051. then :
  9052. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  9053. else $as_nop
  9054. wine_can_build_preloader=no
  9055. fi
  9056. fi
  9057. if test "$wine_can_build_preloader" = "yes"
  9058. then
  9059. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
  9060. printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
  9061. if test ${ac_cv_cflags__Wl__no_pie+y}
  9062. then :
  9063. printf %s "(cached) " >&6
  9064. else $as_nop
  9065. ac_wine_try_cflags_saved=$CFLAGS
  9066. CFLAGS="$CFLAGS -Wl,-no_pie"
  9067. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9068. /* end confdefs.h. */
  9069. int main(int argc, char **argv) { return 0; }
  9070. _ACEOF
  9071. if ac_fn_c_try_link "$LINENO"
  9072. then :
  9073. ac_cv_cflags__Wl__no_pie=yes
  9074. else $as_nop
  9075. ac_cv_cflags__Wl__no_pie=no
  9076. fi
  9077. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9078. conftest$ac_exeext conftest.$ac_ext
  9079. CFLAGS=$ac_wine_try_cflags_saved
  9080. fi
  9081. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
  9082. printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
  9083. if test "x$ac_cv_cflags__Wl__no_pie" = xyes
  9084. then :
  9085. WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
  9086. fi
  9087. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  9088. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  9089. else
  9090. as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
  9091. fi
  9092. if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
  9093. then
  9094. DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
  9095. fi
  9096. if test "$ac_cv_header_Security_Security_h" = "yes"
  9097. then
  9098. SECURITY_LIBS="-framework Security -framework CoreFoundation"
  9099. fi
  9100. if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
  9101. then
  9102. COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
  9103. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
  9104. fi
  9105. if test "$ac_cv_header_OpenAL_al_h" = "yes"
  9106. then
  9107. OPENAL_LIBS="-framework OpenAL"
  9108. printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
  9109. ac_cv_lib_openal=yes
  9110. fi
  9111. if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
  9112. then
  9113. OPENCL_LIBS="-framework OpenCL"
  9114. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  9115. fi
  9116. if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
  9117. then
  9118. ac_save_LIBS="$LIBS"
  9119. LIBS="$LIBS $IOKIT_LIBS"
  9120. ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
  9121. if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
  9122. then :
  9123. printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
  9124. fi
  9125. LIBS="$ac_save_LIBS"
  9126. fi
  9127. if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
  9128. then
  9129. CARBON_LIBS="-framework Carbon"
  9130. fi
  9131. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  9132. then
  9133. METAL_LIBS="-framework Metal"
  9134. fi
  9135. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  9136. then
  9137. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
  9138. printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
  9139. ac_ext=m
  9140. ac_cpp='$OBJCPP $CPPFLAGS'
  9141. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9142. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9143. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9144. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9145. /* end confdefs.h. */
  9146. #include <Metal/Metal.h>
  9147. int
  9148. main (void)
  9149. {
  9150. id<MTLDevice> device; device.registryID;
  9151. ;
  9152. return 0;
  9153. }
  9154. _ACEOF
  9155. if ac_fn_objc_try_compile "$LINENO"
  9156. then :
  9157. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9158. printf "%s\n" "yes" >&6; }
  9159. printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
  9160. else $as_nop
  9161. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9162. printf "%s\n" "no" >&6; }
  9163. fi
  9164. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  9165. ac_ext=c
  9166. ac_cpp='$CPP $CPPFLAGS'
  9167. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9168. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9169. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9170. fi
  9171. if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
  9172. then
  9173. ac_save_LIBS="$LIBS"
  9174. LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
  9175. ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
  9176. if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
  9177. then :
  9178. enable_winemac_drv=${enable_winemac_drv:-yes}
  9179. fi
  9180. LIBS="$ac_save_LIBS"
  9181. fi
  9182. UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
  9183. LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
  9184. LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
  9185. WINELOADER_DEPENDS="wine_info.plist"
  9186. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
  9187. ;;
  9188. linux-android*)
  9189. printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
  9190. DLLFLAGS="$DLLFLAGS -fPIC"
  9191. LDDLLFLAGS="-fPIC"
  9192. LDEXECFLAGS="-Wl,-pie"
  9193. enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
  9194. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
  9195. printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
  9196. if test ${ac_cv_cflags__Wl__z_defs+y}
  9197. then :
  9198. printf %s "(cached) " >&6
  9199. else $as_nop
  9200. ac_wine_try_cflags_saved=$CFLAGS
  9201. CFLAGS="$CFLAGS -Wl,-z,defs"
  9202. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9203. /* end confdefs.h. */
  9204. int main(int argc, char **argv) { return 0; }
  9205. _ACEOF
  9206. if ac_fn_c_try_link "$LINENO"
  9207. then :
  9208. ac_cv_cflags__Wl__z_defs=yes
  9209. else $as_nop
  9210. ac_cv_cflags__Wl__z_defs=no
  9211. fi
  9212. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9213. conftest$ac_exeext conftest.$ac_ext
  9214. CFLAGS=$ac_wine_try_cflags_saved
  9215. fi
  9216. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
  9217. printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
  9218. if test "x$ac_cv_cflags__Wl__z_defs" = xyes
  9219. then :
  9220. UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
  9221. fi
  9222. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
  9223. printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
  9224. if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
  9225. then :
  9226. printf %s "(cached) " >&6
  9227. else $as_nop
  9228. ac_wine_try_cflags_saved=$CFLAGS
  9229. CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
  9230. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9231. /* end confdefs.h. */
  9232. int main(int argc, char **argv) { return 0; }
  9233. _ACEOF
  9234. if ac_fn_c_try_link "$LINENO"
  9235. then :
  9236. ac_cv_cflags__fPIC__Wl___export_dynamic=yes
  9237. else $as_nop
  9238. ac_cv_cflags__fPIC__Wl___export_dynamic=no
  9239. fi
  9240. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9241. conftest$ac_exeext conftest.$ac_ext
  9242. CFLAGS=$ac_wine_try_cflags_saved
  9243. fi
  9244. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
  9245. printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
  9246. if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
  9247. then :
  9248. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  9249. fi
  9250. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  9251. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
  9252. printf %s "checking for -lEGL... " >&6; }
  9253. if test ${ac_cv_lib_soname_EGL+y}
  9254. then :
  9255. printf %s "(cached) " >&6
  9256. else $as_nop
  9257. ac_check_soname_save_LIBS=$LIBS
  9258. LIBS="-lEGL $LIBS"
  9259. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9260. /* end confdefs.h. */
  9261. /* Override any GCC internal prototype to avoid an error.
  9262. Use char because int might match the return type of a GCC
  9263. builtin and then its argument prototype would still apply. */
  9264. char eglGetProcAddress ();
  9265. int
  9266. main (void)
  9267. {
  9268. return eglGetProcAddress ();
  9269. ;
  9270. return 0;
  9271. }
  9272. _ACEOF
  9273. if ac_fn_c_try_link "$LINENO"
  9274. then :
  9275. case "$LIBEXT" in
  9276. dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  9277. 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'` ;;
  9278. *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  9279. if ${ac_cv_lib_soname_EGL:+false} :
  9280. then :
  9281. ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  9282. fi ;;
  9283. esac
  9284. else $as_nop
  9285. ac_cv_lib_soname_EGL=
  9286. fi
  9287. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9288. conftest$ac_exeext conftest.$ac_ext
  9289. LIBS=$ac_check_soname_save_LIBS
  9290. fi
  9291. if ${ac_cv_lib_soname_EGL:+false} :
  9292. then :
  9293. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  9294. printf "%s\n" "not found" >&6; }
  9295. else $as_nop
  9296. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
  9297. printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
  9298. printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
  9299. fi
  9300. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
  9301. printf %s "checking for -lGLESv2... " >&6; }
  9302. if test ${ac_cv_lib_soname_GLESv2+y}
  9303. then :
  9304. printf %s "(cached) " >&6
  9305. else $as_nop
  9306. ac_check_soname_save_LIBS=$LIBS
  9307. LIBS="-lGLESv2 $LIBS"
  9308. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9309. /* end confdefs.h. */
  9310. /* Override any GCC internal prototype to avoid an error.
  9311. Use char because int might match the return type of a GCC
  9312. builtin and then its argument prototype would still apply. */
  9313. char glFlush ();
  9314. int
  9315. main (void)
  9316. {
  9317. return glFlush ();
  9318. ;
  9319. return 0;
  9320. }
  9321. _ACEOF
  9322. if ac_fn_c_try_link "$LINENO"
  9323. then :
  9324. case "$LIBEXT" in
  9325. dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  9326. 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'` ;;
  9327. *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  9328. if ${ac_cv_lib_soname_GLESv2:+false} :
  9329. then :
  9330. ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  9331. fi ;;
  9332. esac
  9333. else $as_nop
  9334. ac_cv_lib_soname_GLESv2=
  9335. fi
  9336. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9337. conftest$ac_exeext conftest.$ac_ext
  9338. LIBS=$ac_check_soname_save_LIBS
  9339. fi
  9340. if ${ac_cv_lib_soname_GLESv2:+false} :
  9341. then :
  9342. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  9343. printf "%s\n" "not found" >&6; }
  9344. else $as_nop
  9345. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
  9346. printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
  9347. printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
  9348. fi
  9349. if test "x$exec_prefix" = xNONE
  9350. then
  9351. case $host_cpu in
  9352. *i[3456]86*) exec_prefix='${prefix}/x86' ;;
  9353. *x86_64*) exec_prefix='${prefix}/x86_64' ;;
  9354. *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
  9355. *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
  9356. esac
  9357. fi
  9358. ;;
  9359. *)
  9360. printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
  9361. test "$ac_cv_sys_file_offset_bits" = 64 &&
  9362. printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
  9363. case $host_cpu in
  9364. *i[3456789]86*)
  9365. DLLFLAGS="$DLLFLAGS -fno-PIC"
  9366. LDDLLFLAGS="-fno-PIC"
  9367. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
  9368. printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
  9369. if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
  9370. then :
  9371. printf %s "(cached) " >&6
  9372. else $as_nop
  9373. ac_wine_try_cflags_saved=$CFLAGS
  9374. CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
  9375. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9376. /* end confdefs.h. */
  9377. int main(int argc, char **argv) { return 0; }
  9378. _ACEOF
  9379. if ac_fn_c_try_link "$LINENO"
  9380. then :
  9381. ac_cv_cflags__fno_PIC__Wl__z_notext=yes
  9382. else $as_nop
  9383. ac_cv_cflags__fno_PIC__Wl__z_notext=no
  9384. fi
  9385. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9386. conftest$ac_exeext conftest.$ac_ext
  9387. CFLAGS=$ac_wine_try_cflags_saved
  9388. fi
  9389. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
  9390. printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
  9391. if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
  9392. then :
  9393. LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
  9394. fi
  9395. ;;
  9396. *)
  9397. DLLFLAGS="$DLLFLAGS -fPIC"
  9398. LDDLLFLAGS="-fPIC" ;;
  9399. esac
  9400. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
  9401. echo '{ global: *; };' >conftest.map
  9402. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
  9403. printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
  9404. if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
  9405. then :
  9406. printf %s "(cached) " >&6
  9407. else $as_nop
  9408. ac_wine_try_cflags_saved=$CFLAGS
  9409. CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
  9410. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9411. /* end confdefs.h. */
  9412. int main(int argc, char **argv) { return 0; }
  9413. _ACEOF
  9414. if ac_fn_c_try_link "$LINENO"
  9415. then :
  9416. ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
  9417. else $as_nop
  9418. ac_cv_cflags__shared__Wl___version_script_conftest_map=no
  9419. fi
  9420. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9421. conftest$ac_exeext conftest.$ac_ext
  9422. CFLAGS=$ac_wine_try_cflags_saved
  9423. fi
  9424. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
  9425. printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
  9426. if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
  9427. then :
  9428. LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
  9429. fi
  9430. rm -f conftest.map
  9431. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
  9432. printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
  9433. if test ${ac_cv_cflags__Wl__z_defs+y}
  9434. then :
  9435. printf %s "(cached) " >&6
  9436. else $as_nop
  9437. ac_wine_try_cflags_saved=$CFLAGS
  9438. CFLAGS="$CFLAGS -Wl,-z,defs"
  9439. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9440. /* end confdefs.h. */
  9441. int main(int argc, char **argv) { return 0; }
  9442. _ACEOF
  9443. if ac_fn_c_try_link "$LINENO"
  9444. then :
  9445. ac_cv_cflags__Wl__z_defs=yes
  9446. else $as_nop
  9447. ac_cv_cflags__Wl__z_defs=no
  9448. fi
  9449. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9450. conftest$ac_exeext conftest.$ac_ext
  9451. CFLAGS=$ac_wine_try_cflags_saved
  9452. fi
  9453. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
  9454. printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
  9455. if test "x$ac_cv_cflags__Wl__z_defs" = xyes
  9456. then :
  9457. UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
  9458. fi
  9459. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
  9460. printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
  9461. if test ${ac_cv_cflags__Wl___export_dynamic+y}
  9462. then :
  9463. printf %s "(cached) " >&6
  9464. else $as_nop
  9465. ac_wine_try_cflags_saved=$CFLAGS
  9466. CFLAGS="$CFLAGS -Wl,--export-dynamic"
  9467. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9468. /* end confdefs.h. */
  9469. int main(int argc, char **argv) { return 0; }
  9470. _ACEOF
  9471. if ac_fn_c_try_link "$LINENO"
  9472. then :
  9473. ac_cv_cflags__Wl___export_dynamic=yes
  9474. else $as_nop
  9475. ac_cv_cflags__Wl___export_dynamic=no
  9476. fi
  9477. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9478. conftest$ac_exeext conftest.$ac_ext
  9479. CFLAGS=$ac_wine_try_cflags_saved
  9480. fi
  9481. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
  9482. printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
  9483. if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
  9484. then :
  9485. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  9486. fi
  9487. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  9488. case $host_cpu in
  9489. *i[3456789]86* | x86_64 | *aarch64* | arm*)
  9490. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
  9491. printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
  9492. if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
  9493. then :
  9494. printf %s "(cached) " >&6
  9495. else $as_nop
  9496. ac_wine_try_cflags_saved=$CFLAGS
  9497. CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
  9498. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9499. /* end confdefs.h. */
  9500. int main(int argc, char **argv) { return 0; }
  9501. _ACEOF
  9502. if ac_fn_c_try_link "$LINENO"
  9503. then :
  9504. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
  9505. else $as_nop
  9506. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
  9507. fi
  9508. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9509. conftest$ac_exeext conftest.$ac_ext
  9510. CFLAGS=$ac_wine_try_cflags_saved
  9511. fi
  9512. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
  9513. printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
  9514. if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
  9515. then :
  9516. case $host_os in
  9517. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
  9518. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
  9519. esac
  9520. else $as_nop
  9521. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
  9522. printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
  9523. if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
  9524. then :
  9525. printf %s "(cached) " >&6
  9526. else $as_nop
  9527. ac_wine_try_cflags_saved=$CFLAGS
  9528. CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
  9529. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9530. /* end confdefs.h. */
  9531. int main(int argc, char **argv) { return 0; }
  9532. _ACEOF
  9533. if ac_fn_c_try_link "$LINENO"
  9534. then :
  9535. ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
  9536. else $as_nop
  9537. ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
  9538. fi
  9539. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9540. conftest$ac_exeext conftest.$ac_ext
  9541. CFLAGS=$ac_wine_try_cflags_saved
  9542. fi
  9543. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
  9544. printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
  9545. if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
  9546. then :
  9547. case $host_os in
  9548. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
  9549. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
  9550. esac
  9551. fi
  9552. # Extract the first word of "prelink", so it can be a program name with args.
  9553. set dummy prelink; ac_word=$2
  9554. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9555. printf %s "checking for $ac_word... " >&6; }
  9556. if test ${ac_cv_path_PRELINK+y}
  9557. then :
  9558. printf %s "(cached) " >&6
  9559. else $as_nop
  9560. case $PRELINK in
  9561. [\\/]* | ?:[\\/]*)
  9562. ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
  9563. ;;
  9564. *)
  9565. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9566. for as_dir in /sbin /usr/sbin $PATH
  9567. do
  9568. IFS=$as_save_IFS
  9569. case $as_dir in #(((
  9570. '') as_dir=./ ;;
  9571. */) ;;
  9572. *) as_dir=$as_dir/ ;;
  9573. esac
  9574. for ac_exec_ext in '' $ac_executable_extensions; do
  9575. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  9576. ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
  9577. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  9578. break 2
  9579. fi
  9580. done
  9581. done
  9582. IFS=$as_save_IFS
  9583. test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
  9584. ;;
  9585. esac
  9586. fi
  9587. PRELINK=$ac_cv_path_PRELINK
  9588. if test -n "$PRELINK"; then
  9589. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
  9590. printf "%s\n" "$PRELINK" >&6; }
  9591. else
  9592. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9593. printf "%s\n" "no" >&6; }
  9594. fi
  9595. if test "x$PRELINK" = xfalse
  9596. then
  9597. as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
  9598. fi
  9599. fi
  9600. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
  9601. printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
  9602. if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
  9603. then :
  9604. printf %s "(cached) " >&6
  9605. else $as_nop
  9606. ac_wine_try_cflags_saved=$CFLAGS
  9607. CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
  9608. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9609. /* end confdefs.h. */
  9610. int main(int argc, char **argv) { return 0; }
  9611. _ACEOF
  9612. if ac_fn_c_try_link "$LINENO"
  9613. then :
  9614. ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
  9615. else $as_nop
  9616. ac_cv_cflags__Wl__z_max_page_size_0x1000=no
  9617. fi
  9618. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9619. conftest$ac_exeext conftest.$ac_ext
  9620. CFLAGS=$ac_wine_try_cflags_saved
  9621. fi
  9622. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
  9623. printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
  9624. if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
  9625. then :
  9626. WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
  9627. fi
  9628. ;;
  9629. esac
  9630. LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
  9631. LIBWINE_DEPENDS="wine.map"
  9632. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
  9633. ;;
  9634. esac
  9635. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
  9636. enable_wineandroid_drv=${enable_wineandroid_drv:-no}
  9637. enable_winemac_drv=${enable_winemac_drv:-no}
  9638. if test "x$with_mingw" != xno
  9639. then
  9640. case "x$with_mingw" in
  9641. x|xyes) case "$host_cpu" in
  9642. aarch64*)
  9643. ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
  9644. arm*)
  9645. ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
  9646. i[3456789]86*)
  9647. 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
  9648. i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
  9649. mingw32-gcc clang" ;;
  9650. x86_64)
  9651. 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
  9652. x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
  9653. *)
  9654. ac_prefix_list="" ;;
  9655. esac
  9656. for ac_prog in $ac_prefix_list
  9657. do
  9658. # Extract the first word of "$ac_prog", so it can be a program name with args.
  9659. set dummy $ac_prog; ac_word=$2
  9660. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9661. printf %s "checking for $ac_word... " >&6; }
  9662. if test ${ac_cv_prog_CROSSCC+y}
  9663. then :
  9664. printf %s "(cached) " >&6
  9665. else $as_nop
  9666. if test -n "$CROSSCC"; then
  9667. ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
  9668. else
  9669. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9670. for as_dir in $PATH
  9671. do
  9672. IFS=$as_save_IFS
  9673. case $as_dir in #(((
  9674. '') as_dir=./ ;;
  9675. */) ;;
  9676. *) as_dir=$as_dir/ ;;
  9677. esac
  9678. for ac_exec_ext in '' $ac_executable_extensions; do
  9679. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  9680. ac_cv_prog_CROSSCC="$ac_prog"
  9681. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  9682. break 2
  9683. fi
  9684. done
  9685. done
  9686. IFS=$as_save_IFS
  9687. fi
  9688. fi
  9689. CROSSCC=$ac_cv_prog_CROSSCC
  9690. if test -n "$CROSSCC"; then
  9691. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
  9692. printf "%s\n" "$CROSSCC" >&6; }
  9693. else
  9694. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9695. printf "%s\n" "no" >&6; }
  9696. fi
  9697. test -n "$CROSSCC" && break
  9698. done
  9699. test -n "$CROSSCC" || CROSSCC="false"
  9700. ;;
  9701. *) CROSSCC=$with_mingw ;;
  9702. esac
  9703. if test "$CROSSCC" != "false"
  9704. then
  9705. ac_save_CC="$CC"
  9706. saved_CFLAGS=$CFLAGS
  9707. saved_LDFLAGS=$LDFLAGS
  9708. CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
  9709. EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
  9710. CC="$CROSSCC"
  9711. CFLAGS=$CROSSCFLAGS
  9712. LDFLAGS=$CROSSLDFLAGS
  9713. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
  9714. printf %s "checking whether $CROSSCC works... " >&6; }
  9715. if test ${wine_cv_crosscc+y}
  9716. then :
  9717. printf %s "(cached) " >&6
  9718. else $as_nop
  9719. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9720. /* end confdefs.h. */
  9721. int
  9722. main (void)
  9723. {
  9724. ;
  9725. return 0;
  9726. }
  9727. _ACEOF
  9728. if ac_fn_c_try_compile "$LINENO"
  9729. then :
  9730. wine_cv_crosscc=yes
  9731. else $as_nop
  9732. wine_cv_crosscc=no
  9733. fi
  9734. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  9735. fi
  9736. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
  9737. printf "%s\n" "$wine_cv_crosscc" >&6; }
  9738. if test $wine_cv_crosscc = yes
  9739. then
  9740. set x $CROSSCC
  9741. shift
  9742. while test $# -ge 1
  9743. do
  9744. case "$1" in
  9745. *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
  9746. *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
  9747. esac
  9748. shift
  9749. done
  9750. llvm_target=$CROSSTARGET
  9751. llvm_cflags="-fuse-ld=lld"
  9752. if test -z "$llvm_target"
  9753. then
  9754. case $host_cpu in
  9755. *i[3456789]86*) llvm_target=i686-windows ;;
  9756. *) llvm_target=$host_cpu-windows ;;
  9757. esac
  9758. fi
  9759. case $llvm_target in
  9760. *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
  9761. esac
  9762. as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
  9763. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
  9764. printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
  9765. if eval test \${$as_ac_var+y}
  9766. then :
  9767. printf %s "(cached) " >&6
  9768. else $as_nop
  9769. ac_wine_try_cflags_saved=$CFLAGS
  9770. ac_wine_try_cflags_saved_cc=$CC
  9771. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9772. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
  9773. CC="$CROSSCC"
  9774. ac_exeext=".exe"
  9775. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9776. /* end confdefs.h. */
  9777. int __cdecl mainCRTStartup(void) { return 0; }
  9778. _ACEOF
  9779. if ac_fn_c_try_link "$LINENO"
  9780. then :
  9781. eval "$as_ac_var=yes"
  9782. else $as_nop
  9783. eval "$as_ac_var=no"
  9784. fi
  9785. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9786. conftest$ac_exeext conftest.$ac_ext
  9787. CFLAGS=$ac_wine_try_cflags_saved
  9788. CC=$ac_wine_try_cflags_saved_cc
  9789. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9790. fi
  9791. eval ac_res=\$$as_ac_var
  9792. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9793. printf "%s\n" "$ac_res" >&6; }
  9794. if eval test \"x\$"$as_ac_var"\" = x"yes"
  9795. then :
  9796. CROSSTARGET=$llvm_target
  9797. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
  9798. DELAYLOADFLAG="-Wl,-delayload,"
  9799. CFLAGS="$CFLAGS $llvm_cflags"
  9800. fi
  9801. fi
  9802. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
  9803. printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
  9804. if test ${wine_cv_crosscc_c99+y}
  9805. then :
  9806. printf %s "(cached) " >&6
  9807. else $as_nop
  9808. wine_cv_crosscc_c99=no
  9809. for arg in '' '-std=gnu99'
  9810. do
  9811. CC="$CROSSCC $arg"
  9812. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9813. /* end confdefs.h. */
  9814. $ac_c_conftest_c99_program
  9815. _ACEOF
  9816. if ac_fn_c_try_compile "$LINENO"
  9817. then :
  9818. wine_cv_crosscc_c99=$arg
  9819. else $as_nop
  9820. wine_cv_crosscc_c99=no
  9821. fi
  9822. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  9823. test "x$wine_cv_crosscc_c99" != xno && break
  9824. done
  9825. fi
  9826. case "x$wine_cv_crosscc_c99" in
  9827. x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  9828. printf "%s\n" "none needed" >&6; } ;;
  9829. xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  9830. printf "%s\n" "unsupported" >&6; } ;;
  9831. x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
  9832. printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
  9833. CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
  9834. esac
  9835. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
  9836. printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
  9837. if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
  9838. then :
  9839. printf %s "(cached) " >&6
  9840. else $as_nop
  9841. ac_wine_try_cflags_saved=$CFLAGS
  9842. ac_wine_try_cflags_saved_cc=$CC
  9843. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9844. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
  9845. CC="$CROSSCC"
  9846. ac_exeext=".exe"
  9847. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9848. /* end confdefs.h. */
  9849. int __cdecl mainCRTStartup(void) { return 0; }
  9850. _ACEOF
  9851. if ac_fn_c_try_link "$LINENO"
  9852. then :
  9853. ac_cv_crosscflags__fno_strict_aliasing=yes
  9854. else $as_nop
  9855. ac_cv_crosscflags__fno_strict_aliasing=no
  9856. fi
  9857. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9858. conftest$ac_exeext conftest.$ac_ext
  9859. CFLAGS=$ac_wine_try_cflags_saved
  9860. CC=$ac_wine_try_cflags_saved_cc
  9861. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9862. fi
  9863. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
  9864. printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
  9865. if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
  9866. then :
  9867. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
  9868. fi
  9869. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
  9870. printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
  9871. if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
  9872. then :
  9873. printf %s "(cached) " >&6
  9874. else $as_nop
  9875. ac_wine_try_cflags_saved=$CFLAGS
  9876. ac_wine_try_cflags_saved_cc=$CC
  9877. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9878. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
  9879. CC="$CROSSCC"
  9880. ac_exeext=".exe"
  9881. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9882. /* end confdefs.h. */
  9883. int __cdecl mainCRTStartup(void) { return 0; }
  9884. _ACEOF
  9885. if ac_fn_c_try_link "$LINENO"
  9886. then :
  9887. ac_cv_crosscflags__Werror_unknown_warning_option=yes
  9888. else $as_nop
  9889. ac_cv_crosscflags__Werror_unknown_warning_option=no
  9890. fi
  9891. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9892. conftest$ac_exeext conftest.$ac_ext
  9893. CFLAGS=$ac_wine_try_cflags_saved
  9894. CC=$ac_wine_try_cflags_saved_cc
  9895. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9896. fi
  9897. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
  9898. printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
  9899. if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
  9900. then :
  9901. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  9902. fi
  9903. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
  9904. printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
  9905. if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
  9906. then :
  9907. printf %s "(cached) " >&6
  9908. else $as_nop
  9909. ac_wine_try_cflags_saved=$CFLAGS
  9910. ac_wine_try_cflags_saved_cc=$CC
  9911. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9912. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
  9913. CC="$CROSSCC"
  9914. ac_exeext=".exe"
  9915. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9916. /* end confdefs.h. */
  9917. int __cdecl mainCRTStartup(void) { return 0; }
  9918. _ACEOF
  9919. if ac_fn_c_try_link "$LINENO"
  9920. then :
  9921. ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
  9922. else $as_nop
  9923. ac_cv_crosscflags__Werror_ignored_optimization_argument=no
  9924. fi
  9925. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9926. conftest$ac_exeext conftest.$ac_ext
  9927. CFLAGS=$ac_wine_try_cflags_saved
  9928. CC=$ac_wine_try_cflags_saved_cc
  9929. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9930. fi
  9931. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
  9932. printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
  9933. if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
  9934. then :
  9935. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  9936. fi
  9937. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
  9938. printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
  9939. if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
  9940. then :
  9941. printf %s "(cached) " >&6
  9942. else $as_nop
  9943. ac_wine_try_cflags_saved=$CFLAGS
  9944. ac_wine_try_cflags_saved_cc=$CC
  9945. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9946. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
  9947. CC="$CROSSCC"
  9948. ac_exeext=".exe"
  9949. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9950. /* end confdefs.h. */
  9951. int __cdecl mainCRTStartup(void) { return 0; }
  9952. _ACEOF
  9953. if ac_fn_c_try_link "$LINENO"
  9954. then :
  9955. ac_cv_crosscflags__Wdeclaration_after_statement=yes
  9956. else $as_nop
  9957. ac_cv_crosscflags__Wdeclaration_after_statement=no
  9958. fi
  9959. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9960. conftest$ac_exeext conftest.$ac_ext
  9961. CFLAGS=$ac_wine_try_cflags_saved
  9962. CC=$ac_wine_try_cflags_saved_cc
  9963. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9964. fi
  9965. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
  9966. printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
  9967. if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
  9968. then :
  9969. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
  9970. fi
  9971. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
  9972. printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
  9973. if test ${ac_cv_crosscflags__Wempty_body+y}
  9974. then :
  9975. printf %s "(cached) " >&6
  9976. else $as_nop
  9977. ac_wine_try_cflags_saved=$CFLAGS
  9978. ac_wine_try_cflags_saved_cc=$CC
  9979. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9980. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
  9981. CC="$CROSSCC"
  9982. ac_exeext=".exe"
  9983. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9984. /* end confdefs.h. */
  9985. int __cdecl mainCRTStartup(void) { return 0; }
  9986. _ACEOF
  9987. if ac_fn_c_try_link "$LINENO"
  9988. then :
  9989. ac_cv_crosscflags__Wempty_body=yes
  9990. else $as_nop
  9991. ac_cv_crosscflags__Wempty_body=no
  9992. fi
  9993. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9994. conftest$ac_exeext conftest.$ac_ext
  9995. CFLAGS=$ac_wine_try_cflags_saved
  9996. CC=$ac_wine_try_cflags_saved_cc
  9997. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9998. fi
  9999. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
  10000. printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
  10001. if test "x$ac_cv_crosscflags__Wempty_body" = xyes
  10002. then :
  10003. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
  10004. fi
  10005. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
  10006. printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
  10007. if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
  10008. then :
  10009. printf %s "(cached) " >&6
  10010. else $as_nop
  10011. ac_wine_try_cflags_saved=$CFLAGS
  10012. ac_wine_try_cflags_saved_cc=$CC
  10013. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10014. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
  10015. CC="$CROSSCC"
  10016. ac_exeext=".exe"
  10017. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10018. /* end confdefs.h. */
  10019. int __cdecl mainCRTStartup(void) { return 0; }
  10020. _ACEOF
  10021. if ac_fn_c_try_link "$LINENO"
  10022. then :
  10023. ac_cv_crosscflags__Wignored_qualifiers=yes
  10024. else $as_nop
  10025. ac_cv_crosscflags__Wignored_qualifiers=no
  10026. fi
  10027. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10028. conftest$ac_exeext conftest.$ac_ext
  10029. CFLAGS=$ac_wine_try_cflags_saved
  10030. CC=$ac_wine_try_cflags_saved_cc
  10031. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10032. fi
  10033. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
  10034. printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
  10035. if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
  10036. then :
  10037. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
  10038. fi
  10039. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
  10040. printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
  10041. if test ${ac_cv_crosscflags__Winit_self+y}
  10042. then :
  10043. printf %s "(cached) " >&6
  10044. else $as_nop
  10045. ac_wine_try_cflags_saved=$CFLAGS
  10046. ac_wine_try_cflags_saved_cc=$CC
  10047. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10048. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
  10049. CC="$CROSSCC"
  10050. ac_exeext=".exe"
  10051. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10052. /* end confdefs.h. */
  10053. int __cdecl mainCRTStartup(void) { return 0; }
  10054. _ACEOF
  10055. if ac_fn_c_try_link "$LINENO"
  10056. then :
  10057. ac_cv_crosscflags__Winit_self=yes
  10058. else $as_nop
  10059. ac_cv_crosscflags__Winit_self=no
  10060. fi
  10061. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10062. conftest$ac_exeext conftest.$ac_ext
  10063. CFLAGS=$ac_wine_try_cflags_saved
  10064. CC=$ac_wine_try_cflags_saved_cc
  10065. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10066. fi
  10067. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
  10068. printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
  10069. if test "x$ac_cv_crosscflags__Winit_self" = xyes
  10070. then :
  10071. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
  10072. fi
  10073. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
  10074. printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
  10075. if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
  10076. then :
  10077. printf %s "(cached) " >&6
  10078. else $as_nop
  10079. ac_wine_try_cflags_saved=$CFLAGS
  10080. ac_wine_try_cflags_saved_cc=$CC
  10081. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10082. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
  10083. CC="$CROSSCC"
  10084. ac_exeext=".exe"
  10085. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10086. /* end confdefs.h. */
  10087. int __cdecl mainCRTStartup(void) { return 0; }
  10088. _ACEOF
  10089. if ac_fn_c_try_link "$LINENO"
  10090. then :
  10091. ac_cv_crosscflags__Wpacked_not_aligned=yes
  10092. else $as_nop
  10093. ac_cv_crosscflags__Wpacked_not_aligned=no
  10094. fi
  10095. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10096. conftest$ac_exeext conftest.$ac_ext
  10097. CFLAGS=$ac_wine_try_cflags_saved
  10098. CC=$ac_wine_try_cflags_saved_cc
  10099. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10100. fi
  10101. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
  10102. printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
  10103. if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
  10104. then :
  10105. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
  10106. fi
  10107. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
  10108. printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
  10109. if test ${ac_cv_crosscflags__Wpragma_pack+y}
  10110. then :
  10111. printf %s "(cached) " >&6
  10112. else $as_nop
  10113. ac_wine_try_cflags_saved=$CFLAGS
  10114. ac_wine_try_cflags_saved_cc=$CC
  10115. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10116. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
  10117. CC="$CROSSCC"
  10118. ac_exeext=".exe"
  10119. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10120. /* end confdefs.h. */
  10121. int __cdecl mainCRTStartup(void) { return 0; }
  10122. _ACEOF
  10123. if ac_fn_c_try_link "$LINENO"
  10124. then :
  10125. ac_cv_crosscflags__Wpragma_pack=yes
  10126. else $as_nop
  10127. ac_cv_crosscflags__Wpragma_pack=no
  10128. fi
  10129. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10130. conftest$ac_exeext conftest.$ac_ext
  10131. CFLAGS=$ac_wine_try_cflags_saved
  10132. CC=$ac_wine_try_cflags_saved_cc
  10133. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10134. fi
  10135. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
  10136. printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
  10137. if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
  10138. then :
  10139. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
  10140. fi
  10141. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
  10142. printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
  10143. if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
  10144. then :
  10145. printf %s "(cached) " >&6
  10146. else $as_nop
  10147. ac_wine_try_cflags_saved=$CFLAGS
  10148. ac_wine_try_cflags_saved_cc=$CC
  10149. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10150. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
  10151. CC="$CROSSCC"
  10152. ac_exeext=".exe"
  10153. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10154. /* end confdefs.h. */
  10155. int __cdecl mainCRTStartup(void) { return 0; }
  10156. _ACEOF
  10157. if ac_fn_c_try_link "$LINENO"
  10158. then :
  10159. ac_cv_crosscflags__Wshift_overflow_2=yes
  10160. else $as_nop
  10161. ac_cv_crosscflags__Wshift_overflow_2=no
  10162. fi
  10163. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10164. conftest$ac_exeext conftest.$ac_ext
  10165. CFLAGS=$ac_wine_try_cflags_saved
  10166. CC=$ac_wine_try_cflags_saved_cc
  10167. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10168. fi
  10169. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
  10170. printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
  10171. if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
  10172. then :
  10173. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
  10174. fi
  10175. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
  10176. printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
  10177. if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
  10178. then :
  10179. printf %s "(cached) " >&6
  10180. else $as_nop
  10181. ac_wine_try_cflags_saved=$CFLAGS
  10182. ac_wine_try_cflags_saved_cc=$CC
  10183. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10184. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
  10185. CC="$CROSSCC"
  10186. ac_exeext=".exe"
  10187. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10188. /* end confdefs.h. */
  10189. int __cdecl mainCRTStartup(void) { return 0; }
  10190. _ACEOF
  10191. if ac_fn_c_try_link "$LINENO"
  10192. then :
  10193. ac_cv_crosscflags__Wstrict_prototypes=yes
  10194. else $as_nop
  10195. ac_cv_crosscflags__Wstrict_prototypes=no
  10196. fi
  10197. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10198. conftest$ac_exeext conftest.$ac_ext
  10199. CFLAGS=$ac_wine_try_cflags_saved
  10200. CC=$ac_wine_try_cflags_saved_cc
  10201. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10202. fi
  10203. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
  10204. printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
  10205. if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
  10206. then :
  10207. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
  10208. fi
  10209. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
  10210. printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
  10211. if test ${ac_cv_crosscflags__Wtype_limits+y}
  10212. then :
  10213. printf %s "(cached) " >&6
  10214. else $as_nop
  10215. ac_wine_try_cflags_saved=$CFLAGS
  10216. ac_wine_try_cflags_saved_cc=$CC
  10217. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10218. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
  10219. CC="$CROSSCC"
  10220. ac_exeext=".exe"
  10221. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10222. /* end confdefs.h. */
  10223. int __cdecl mainCRTStartup(void) { return 0; }
  10224. _ACEOF
  10225. if ac_fn_c_try_link "$LINENO"
  10226. then :
  10227. ac_cv_crosscflags__Wtype_limits=yes
  10228. else $as_nop
  10229. ac_cv_crosscflags__Wtype_limits=no
  10230. fi
  10231. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10232. conftest$ac_exeext conftest.$ac_ext
  10233. CFLAGS=$ac_wine_try_cflags_saved
  10234. CC=$ac_wine_try_cflags_saved_cc
  10235. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10236. fi
  10237. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
  10238. printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
  10239. if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
  10240. then :
  10241. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
  10242. fi
  10243. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
  10244. printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
  10245. if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
  10246. then :
  10247. printf %s "(cached) " >&6
  10248. else $as_nop
  10249. ac_wine_try_cflags_saved=$CFLAGS
  10250. ac_wine_try_cflags_saved_cc=$CC
  10251. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10252. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
  10253. CC="$CROSSCC"
  10254. ac_exeext=".exe"
  10255. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10256. /* end confdefs.h. */
  10257. int __cdecl mainCRTStartup(void) { return 0; }
  10258. _ACEOF
  10259. if ac_fn_c_try_link "$LINENO"
  10260. then :
  10261. ac_cv_crosscflags__Wunused_but_set_parameter=yes
  10262. else $as_nop
  10263. ac_cv_crosscflags__Wunused_but_set_parameter=no
  10264. fi
  10265. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10266. conftest$ac_exeext conftest.$ac_ext
  10267. CFLAGS=$ac_wine_try_cflags_saved
  10268. CC=$ac_wine_try_cflags_saved_cc
  10269. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10270. fi
  10271. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
  10272. printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
  10273. if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
  10274. then :
  10275. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
  10276. fi
  10277. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
  10278. printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
  10279. if test ${ac_cv_crosscflags__Wvla+y}
  10280. then :
  10281. printf %s "(cached) " >&6
  10282. else $as_nop
  10283. ac_wine_try_cflags_saved=$CFLAGS
  10284. ac_wine_try_cflags_saved_cc=$CC
  10285. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10286. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
  10287. CC="$CROSSCC"
  10288. ac_exeext=".exe"
  10289. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10290. /* end confdefs.h. */
  10291. int __cdecl mainCRTStartup(void) { return 0; }
  10292. _ACEOF
  10293. if ac_fn_c_try_link "$LINENO"
  10294. then :
  10295. ac_cv_crosscflags__Wvla=yes
  10296. else $as_nop
  10297. ac_cv_crosscflags__Wvla=no
  10298. fi
  10299. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10300. conftest$ac_exeext conftest.$ac_ext
  10301. CFLAGS=$ac_wine_try_cflags_saved
  10302. CC=$ac_wine_try_cflags_saved_cc
  10303. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10304. fi
  10305. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
  10306. printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
  10307. if test "x$ac_cv_crosscflags__Wvla" = xyes
  10308. then :
  10309. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
  10310. fi
  10311. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
  10312. printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
  10313. if test ${ac_cv_crosscflags__Wwrite_strings+y}
  10314. then :
  10315. printf %s "(cached) " >&6
  10316. else $as_nop
  10317. ac_wine_try_cflags_saved=$CFLAGS
  10318. ac_wine_try_cflags_saved_cc=$CC
  10319. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10320. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
  10321. CC="$CROSSCC"
  10322. ac_exeext=".exe"
  10323. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10324. /* end confdefs.h. */
  10325. int __cdecl mainCRTStartup(void) { return 0; }
  10326. _ACEOF
  10327. if ac_fn_c_try_link "$LINENO"
  10328. then :
  10329. ac_cv_crosscflags__Wwrite_strings=yes
  10330. else $as_nop
  10331. ac_cv_crosscflags__Wwrite_strings=no
  10332. fi
  10333. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10334. conftest$ac_exeext conftest.$ac_ext
  10335. CFLAGS=$ac_wine_try_cflags_saved
  10336. CC=$ac_wine_try_cflags_saved_cc
  10337. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10338. fi
  10339. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
  10340. printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
  10341. if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
  10342. then :
  10343. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
  10344. fi
  10345. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
  10346. printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
  10347. if test ${ac_cv_crosscflags__Wpointer_arith+y}
  10348. then :
  10349. printf %s "(cached) " >&6
  10350. else $as_nop
  10351. ac_wine_try_cflags_saved=$CFLAGS
  10352. ac_wine_try_cflags_saved_cc=$CC
  10353. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10354. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
  10355. CC="$CROSSCC"
  10356. ac_exeext=".exe"
  10357. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10358. /* end confdefs.h. */
  10359. int __cdecl mainCRTStartup(void) { return 0; }
  10360. _ACEOF
  10361. if ac_fn_c_try_link "$LINENO"
  10362. then :
  10363. ac_cv_crosscflags__Wpointer_arith=yes
  10364. else $as_nop
  10365. ac_cv_crosscflags__Wpointer_arith=no
  10366. fi
  10367. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10368. conftest$ac_exeext conftest.$ac_ext
  10369. CFLAGS=$ac_wine_try_cflags_saved
  10370. CC=$ac_wine_try_cflags_saved_cc
  10371. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10372. fi
  10373. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
  10374. printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
  10375. if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
  10376. then :
  10377. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
  10378. fi
  10379. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
  10380. printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
  10381. if test ${ac_cv_crosscflags__Wlogical_op+y}
  10382. then :
  10383. printf %s "(cached) " >&6
  10384. else $as_nop
  10385. ac_wine_try_cflags_saved=$CFLAGS
  10386. ac_wine_try_cflags_saved_cc=$CC
  10387. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10388. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
  10389. CC="$CROSSCC"
  10390. ac_exeext=".exe"
  10391. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10392. /* end confdefs.h. */
  10393. int __cdecl mainCRTStartup(void) { return 0; }
  10394. _ACEOF
  10395. if ac_fn_c_try_link "$LINENO"
  10396. then :
  10397. ac_cv_crosscflags__Wlogical_op=yes
  10398. else $as_nop
  10399. ac_cv_crosscflags__Wlogical_op=no
  10400. fi
  10401. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10402. conftest$ac_exeext conftest.$ac_ext
  10403. CFLAGS=$ac_wine_try_cflags_saved
  10404. CC=$ac_wine_try_cflags_saved_cc
  10405. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10406. fi
  10407. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
  10408. printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
  10409. if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
  10410. then :
  10411. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
  10412. fi
  10413. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
  10414. printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
  10415. if test ${ac_cv_crosscflags__Wabsolute_value+y}
  10416. then :
  10417. printf %s "(cached) " >&6
  10418. else $as_nop
  10419. ac_wine_try_cflags_saved=$CFLAGS
  10420. ac_wine_try_cflags_saved_cc=$CC
  10421. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10422. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
  10423. CC="$CROSSCC"
  10424. ac_exeext=".exe"
  10425. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10426. /* end confdefs.h. */
  10427. int __cdecl mainCRTStartup(void) { return 0; }
  10428. _ACEOF
  10429. if ac_fn_c_try_link "$LINENO"
  10430. then :
  10431. ac_cv_crosscflags__Wabsolute_value=yes
  10432. else $as_nop
  10433. ac_cv_crosscflags__Wabsolute_value=no
  10434. fi
  10435. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10436. conftest$ac_exeext conftest.$ac_ext
  10437. CFLAGS=$ac_wine_try_cflags_saved
  10438. CC=$ac_wine_try_cflags_saved_cc
  10439. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10440. fi
  10441. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
  10442. printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
  10443. if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
  10444. then :
  10445. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
  10446. fi
  10447. case $host_cpu in
  10448. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
  10449. printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
  10450. if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
  10451. then :
  10452. printf %s "(cached) " >&6
  10453. else $as_nop
  10454. ac_wine_try_cflags_saved=$CFLAGS
  10455. ac_wine_try_cflags_saved_cc=$CC
  10456. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10457. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
  10458. CC="$CROSSCC"
  10459. ac_exeext=".exe"
  10460. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10461. /* end confdefs.h. */
  10462. int __cdecl mainCRTStartup(void) { return 0; }
  10463. _ACEOF
  10464. if ac_fn_c_try_link "$LINENO"
  10465. then :
  10466. ac_cv_crosscflags__fno_omit_frame_pointer=yes
  10467. else $as_nop
  10468. ac_cv_crosscflags__fno_omit_frame_pointer=no
  10469. fi
  10470. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10471. conftest$ac_exeext conftest.$ac_ext
  10472. CFLAGS=$ac_wine_try_cflags_saved
  10473. CC=$ac_wine_try_cflags_saved_cc
  10474. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10475. fi
  10476. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
  10477. printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
  10478. if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
  10479. then :
  10480. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
  10481. fi ;;
  10482. x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  10483. printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
  10484. if test ${ac_cv_crosscflags__Wno_format+y}
  10485. then :
  10486. printf %s "(cached) " >&6
  10487. else $as_nop
  10488. ac_wine_try_cflags_saved=$CFLAGS
  10489. ac_wine_try_cflags_saved_cc=$CC
  10490. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10491. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  10492. CC="$CROSSCC"
  10493. ac_exeext=".exe"
  10494. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10495. /* end confdefs.h. */
  10496. int __cdecl mainCRTStartup(void) { return 0; }
  10497. _ACEOF
  10498. if ac_fn_c_try_link "$LINENO"
  10499. then :
  10500. ac_cv_crosscflags__Wno_format=yes
  10501. else $as_nop
  10502. ac_cv_crosscflags__Wno_format=no
  10503. fi
  10504. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10505. conftest$ac_exeext conftest.$ac_ext
  10506. CFLAGS=$ac_wine_try_cflags_saved
  10507. CC=$ac_wine_try_cflags_saved_cc
  10508. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10509. fi
  10510. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  10511. printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
  10512. if test "x$ac_cv_crosscflags__Wno_format" = xyes
  10513. then :
  10514. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  10515. fi
  10516. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
  10517. printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
  10518. if test ${ac_cv_crosscflags__Wformat_overflow+y}
  10519. then :
  10520. printf %s "(cached) " >&6
  10521. else $as_nop
  10522. ac_wine_try_cflags_saved=$CFLAGS
  10523. ac_wine_try_cflags_saved_cc=$CC
  10524. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10525. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
  10526. CC="$CROSSCC"
  10527. ac_exeext=".exe"
  10528. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10529. /* end confdefs.h. */
  10530. int __cdecl mainCRTStartup(void) { return 0; }
  10531. _ACEOF
  10532. if ac_fn_c_try_link "$LINENO"
  10533. then :
  10534. ac_cv_crosscflags__Wformat_overflow=yes
  10535. else $as_nop
  10536. ac_cv_crosscflags__Wformat_overflow=no
  10537. fi
  10538. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10539. conftest$ac_exeext conftest.$ac_ext
  10540. CFLAGS=$ac_wine_try_cflags_saved
  10541. CC=$ac_wine_try_cflags_saved_cc
  10542. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10543. fi
  10544. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
  10545. printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
  10546. if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
  10547. then :
  10548. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
  10549. fi
  10550. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
  10551. printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
  10552. if test ${ac_cv_crosscflags__Wnonnull+y}
  10553. then :
  10554. printf %s "(cached) " >&6
  10555. else $as_nop
  10556. ac_wine_try_cflags_saved=$CFLAGS
  10557. ac_wine_try_cflags_saved_cc=$CC
  10558. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10559. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
  10560. CC="$CROSSCC"
  10561. ac_exeext=".exe"
  10562. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10563. /* end confdefs.h. */
  10564. int __cdecl mainCRTStartup(void) { return 0; }
  10565. _ACEOF
  10566. if ac_fn_c_try_link "$LINENO"
  10567. then :
  10568. ac_cv_crosscflags__Wnonnull=yes
  10569. else $as_nop
  10570. ac_cv_crosscflags__Wnonnull=no
  10571. fi
  10572. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10573. conftest$ac_exeext conftest.$ac_ext
  10574. CFLAGS=$ac_wine_try_cflags_saved
  10575. CC=$ac_wine_try_cflags_saved_cc
  10576. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10577. fi
  10578. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
  10579. printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
  10580. if test "x$ac_cv_crosscflags__Wnonnull" = xyes
  10581. then :
  10582. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
  10583. fi
  10584. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
  10585. printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
  10586. if test ${ac_cv_crosscflags__mcx16+y}
  10587. then :
  10588. printf %s "(cached) " >&6
  10589. else $as_nop
  10590. ac_wine_try_cflags_saved=$CFLAGS
  10591. ac_wine_try_cflags_saved_cc=$CC
  10592. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10593. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
  10594. CC="$CROSSCC"
  10595. ac_exeext=".exe"
  10596. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10597. /* end confdefs.h. */
  10598. int __cdecl mainCRTStartup(void) { return 0; }
  10599. _ACEOF
  10600. if ac_fn_c_try_link "$LINENO"
  10601. then :
  10602. ac_cv_crosscflags__mcx16=yes
  10603. else $as_nop
  10604. ac_cv_crosscflags__mcx16=no
  10605. fi
  10606. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10607. conftest$ac_exeext conftest.$ac_ext
  10608. CFLAGS=$ac_wine_try_cflags_saved
  10609. CC=$ac_wine_try_cflags_saved_cc
  10610. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10611. fi
  10612. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
  10613. printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
  10614. if test "x$ac_cv_crosscflags__mcx16" = xyes
  10615. then :
  10616. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
  10617. fi ;;
  10618. aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  10619. printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
  10620. if test ${ac_cv_crosscflags__Wno_format+y}
  10621. then :
  10622. printf %s "(cached) " >&6
  10623. else $as_nop
  10624. ac_wine_try_cflags_saved=$CFLAGS
  10625. ac_wine_try_cflags_saved_cc=$CC
  10626. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10627. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  10628. CC="$CROSSCC"
  10629. ac_exeext=".exe"
  10630. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10631. /* end confdefs.h. */
  10632. int __cdecl mainCRTStartup(void) { return 0; }
  10633. _ACEOF
  10634. if ac_fn_c_try_link "$LINENO"
  10635. then :
  10636. ac_cv_crosscflags__Wno_format=yes
  10637. else $as_nop
  10638. ac_cv_crosscflags__Wno_format=no
  10639. fi
  10640. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10641. conftest$ac_exeext conftest.$ac_ext
  10642. CFLAGS=$ac_wine_try_cflags_saved
  10643. CC=$ac_wine_try_cflags_saved_cc
  10644. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10645. fi
  10646. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  10647. printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
  10648. if test "x$ac_cv_crosscflags__Wno_format" = xyes
  10649. then :
  10650. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  10651. fi ;;
  10652. esac
  10653. if test -z "$CROSSDEBUG"
  10654. then
  10655. for ac_flag in $CROSSCFLAGS; do
  10656. case $ac_flag in
  10657. -gdwarf*) CROSSDEBUG=dwarf ;;
  10658. -gcodeview) CROSSDEBUG=pdb ;;
  10659. -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
  10660. esac
  10661. done
  10662. fi
  10663. ac_debug_format_seen=""
  10664. for ac_flag in $CROSSCFLAGS; do
  10665. case $ac_flag in
  10666. -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
  10667. esac
  10668. done
  10669. if test "x$ac_debug_format_seen" = x
  10670. then
  10671. case $CROSSDEBUG in
  10672. *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
  10673. printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
  10674. if test ${ac_cv_crosscflags__gdwarf_4+y}
  10675. then :
  10676. printf %s "(cached) " >&6
  10677. else $as_nop
  10678. ac_wine_try_cflags_saved=$CFLAGS
  10679. ac_wine_try_cflags_saved_cc=$CC
  10680. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10681. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
  10682. CC="$CROSSCC"
  10683. ac_exeext=".exe"
  10684. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10685. /* end confdefs.h. */
  10686. int __cdecl mainCRTStartup(void) { return 0; }
  10687. _ACEOF
  10688. if ac_fn_c_try_link "$LINENO"
  10689. then :
  10690. ac_cv_crosscflags__gdwarf_4=yes
  10691. else $as_nop
  10692. ac_cv_crosscflags__gdwarf_4=no
  10693. fi
  10694. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10695. conftest$ac_exeext conftest.$ac_ext
  10696. CFLAGS=$ac_wine_try_cflags_saved
  10697. CC=$ac_wine_try_cflags_saved_cc
  10698. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10699. fi
  10700. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
  10701. printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
  10702. if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
  10703. then :
  10704. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
  10705. fi ;;
  10706. pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
  10707. printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
  10708. if test ${ac_cv_crosscflags__gcodeview+y}
  10709. then :
  10710. printf %s "(cached) " >&6
  10711. else $as_nop
  10712. ac_wine_try_cflags_saved=$CFLAGS
  10713. ac_wine_try_cflags_saved_cc=$CC
  10714. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10715. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
  10716. CC="$CROSSCC"
  10717. ac_exeext=".exe"
  10718. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10719. /* end confdefs.h. */
  10720. int __cdecl mainCRTStartup(void) { return 0; }
  10721. _ACEOF
  10722. if ac_fn_c_try_link "$LINENO"
  10723. then :
  10724. ac_cv_crosscflags__gcodeview=yes
  10725. else $as_nop
  10726. ac_cv_crosscflags__gcodeview=no
  10727. fi
  10728. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10729. conftest$ac_exeext conftest.$ac_ext
  10730. CFLAGS=$ac_wine_try_cflags_saved
  10731. CC=$ac_wine_try_cflags_saved_cc
  10732. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10733. fi
  10734. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
  10735. printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
  10736. if test "x$ac_cv_crosscflags__gcodeview" = xyes
  10737. then :
  10738. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
  10739. fi ;;
  10740. esac
  10741. fi
  10742. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
  10743. printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
  10744. if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
  10745. then :
  10746. printf %s "(cached) " >&6
  10747. else $as_nop
  10748. ac_wine_try_cflags_saved=$CFLAGS
  10749. ac_wine_try_cflags_saved_cc=$CC
  10750. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10751. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
  10752. CC="$CROSSCC"
  10753. ac_exeext=".exe"
  10754. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10755. /* end confdefs.h. */
  10756. int __cdecl mainCRTStartup(void) { return 0; }
  10757. _ACEOF
  10758. if ac_fn_c_try_link "$LINENO"
  10759. then :
  10760. ac_cv_crosscflags__fexcess_precision_standard=yes
  10761. else $as_nop
  10762. ac_cv_crosscflags__fexcess_precision_standard=no
  10763. fi
  10764. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10765. conftest$ac_exeext conftest.$ac_ext
  10766. CFLAGS=$ac_wine_try_cflags_saved
  10767. CC=$ac_wine_try_cflags_saved_cc
  10768. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10769. fi
  10770. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
  10771. printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
  10772. if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
  10773. then :
  10774. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  10775. fi
  10776. if test "x$enable_werror" = "xyes"
  10777. then
  10778. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
  10779. printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
  10780. if test ${ac_cv_crosscflags__Werror+y}
  10781. then :
  10782. printf %s "(cached) " >&6
  10783. else $as_nop
  10784. ac_wine_try_cflags_saved=$CFLAGS
  10785. ac_wine_try_cflags_saved_cc=$CC
  10786. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10787. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
  10788. CC="$CROSSCC"
  10789. ac_exeext=".exe"
  10790. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10791. /* end confdefs.h. */
  10792. int __cdecl mainCRTStartup(void) { return 0; }
  10793. _ACEOF
  10794. if ac_fn_c_try_link "$LINENO"
  10795. then :
  10796. ac_cv_crosscflags__Werror=yes
  10797. else $as_nop
  10798. ac_cv_crosscflags__Werror=no
  10799. fi
  10800. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10801. conftest$ac_exeext conftest.$ac_ext
  10802. CFLAGS=$ac_wine_try_cflags_saved
  10803. CC=$ac_wine_try_cflags_saved_cc
  10804. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10805. fi
  10806. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
  10807. printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
  10808. if test "x$ac_cv_crosscflags__Werror" = xyes
  10809. then :
  10810. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
  10811. fi
  10812. fi
  10813. if test "x$enable_build_id" = "xyes"
  10814. then
  10815. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
  10816. printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
  10817. if test ${ac_cv_crosscflags__Wl___build_id+y}
  10818. then :
  10819. printf %s "(cached) " >&6
  10820. else $as_nop
  10821. ac_wine_try_cflags_saved=$CFLAGS
  10822. ac_wine_try_cflags_saved_cc=$CC
  10823. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10824. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
  10825. CC="$CROSSCC"
  10826. ac_exeext=".exe"
  10827. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10828. /* end confdefs.h. */
  10829. int __cdecl mainCRTStartup(void) { return 0; }
  10830. _ACEOF
  10831. if ac_fn_c_try_link "$LINENO"
  10832. then :
  10833. ac_cv_crosscflags__Wl___build_id=yes
  10834. else $as_nop
  10835. ac_cv_crosscflags__Wl___build_id=no
  10836. fi
  10837. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10838. conftest$ac_exeext conftest.$ac_ext
  10839. CFLAGS=$ac_wine_try_cflags_saved
  10840. CC=$ac_wine_try_cflags_saved_cc
  10841. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10842. fi
  10843. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
  10844. printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
  10845. if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
  10846. then :
  10847. CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
  10848. CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
  10849. fi
  10850. fi
  10851. CFLAGS=$saved_CFLAGS
  10852. LDFLAGS=$saved_LDFLAGS
  10853. CC="$ac_save_CC"
  10854. fi
  10855. fi
  10856. if test "x$CROSSTARGET" = "x"
  10857. then :
  10858. case "x$with_mingw" in
  10859. x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
  10860. xno) ;;
  10861. *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
  10862. This is an error since --with-mingw was requested." "$LINENO" 5 ;;
  10863. esac
  10864. fi
  10865. case $host_cpu in
  10866. 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 ;;
  10867. esac
  10868. if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
  10869. then
  10870. case "$host_cpu" in
  10871. i[3456789]86*)
  10872. ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
  10873. *)
  10874. ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
  10875. esac
  10876. for ac_prog in $ac_prefix_list
  10877. do
  10878. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10879. set dummy $ac_prog; ac_word=$2
  10880. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10881. printf %s "checking for $ac_word... " >&6; }
  10882. if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
  10883. then :
  10884. printf %s "(cached) " >&6
  10885. else $as_nop
  10886. if test -n "$MINGW_PKG_CONFIG"; then
  10887. ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
  10888. else
  10889. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10890. for as_dir in $PATH
  10891. do
  10892. IFS=$as_save_IFS
  10893. case $as_dir in #(((
  10894. '') as_dir=./ ;;
  10895. */) ;;
  10896. *) as_dir=$as_dir/ ;;
  10897. esac
  10898. for ac_exec_ext in '' $ac_executable_extensions; do
  10899. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  10900. ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
  10901. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  10902. break 2
  10903. fi
  10904. done
  10905. done
  10906. IFS=$as_save_IFS
  10907. fi
  10908. fi
  10909. MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
  10910. if test -n "$MINGW_PKG_CONFIG"; then
  10911. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
  10912. printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
  10913. else
  10914. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10915. printf "%s\n" "no" >&6; }
  10916. fi
  10917. test -n "$MINGW_PKG_CONFIG" && break
  10918. done
  10919. test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
  10920. if ${FAUDIO_PE_CFLAGS:+false} :
  10921. then :
  10922. if test ${MINGW_PKG_CONFIG+y}
  10923. then :
  10924. FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
  10925. fi
  10926. fi
  10927. if ${FAUDIO_PE_LIBS:+false} :
  10928. then :
  10929. if test ${MINGW_PKG_CONFIG+y}
  10930. then :
  10931. FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
  10932. fi
  10933. fi
  10934. FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
  10935. ac_save_CPPFLAGS=$CPPFLAGS
  10936. CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
  10937. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
  10938. printf %s "checking for MinGW FAudio.h... " >&6; }
  10939. if test ${ac_cv_mingw_header_FAudio_h+y}
  10940. then :
  10941. printf %s "(cached) " >&6
  10942. else $as_nop
  10943. ac_wine_check_headers_saved_cc=$CC
  10944. ac_wine_check_headers_saved_exeext=$ac_exeext
  10945. CC="$CROSSCC"
  10946. ac_exeext=".exe"
  10947. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10948. /* end confdefs.h. */
  10949. #include <FAudio.h>
  10950. int
  10951. main (void)
  10952. {
  10953. ;
  10954. return 0;
  10955. }
  10956. _ACEOF
  10957. if ac_fn_c_try_compile "$LINENO"
  10958. then :
  10959. ac_cv_mingw_header_FAudio_h=yes
  10960. else $as_nop
  10961. ac_cv_mingw_header_FAudio_h=no
  10962. fi
  10963. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  10964. CC=$ac_wine_check_headers_saved_cc
  10965. ac_exeext=$ac_wine_check_headers_saved_exeext
  10966. fi
  10967. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
  10968. printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
  10969. if test "x$ac_cv_mingw_header_FAudio_h" = xyes
  10970. then :
  10971. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
  10972. printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
  10973. if test ${ac_cv_mingw_lib_FAudio+y}
  10974. then :
  10975. printf %s "(cached) " >&6
  10976. else $as_nop
  10977. ac_wine_check_headers_saved_cc=$CC
  10978. ac_wine_check_headers_saved_exeext=$ac_exeext
  10979. ac_wine_check_headers_saved_libs=$LIBS
  10980. CC="$CROSSCC"
  10981. ac_exeext=".exe"
  10982. LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
  10983. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10984. /* end confdefs.h. */
  10985. /* Override any GCC internal prototype to avoid an error.
  10986. Use char because int might match the return type of a GCC
  10987. builtin and then its argument prototype would still apply. */
  10988. char FAudio_CommitOperationSet ();
  10989. int
  10990. main (void)
  10991. {
  10992. return FAudio_CommitOperationSet ();
  10993. ;
  10994. return 0;
  10995. }
  10996. _ACEOF
  10997. if ac_fn_c_try_link "$LINENO"
  10998. then :
  10999. ac_cv_mingw_lib_FAudio=yes
  11000. else $as_nop
  11001. ac_cv_mingw_lib_FAudio=no
  11002. fi
  11003. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11004. conftest$ac_exeext conftest.$ac_ext
  11005. CC=$ac_wine_check_headers_saved_cc
  11006. ac_exeext=$ac_wine_check_headers_saved_exeext
  11007. LIBS=$ac_wine_check_headers_saved_libs
  11008. fi
  11009. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
  11010. printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
  11011. if test "x$ac_cv_mingw_lib_FAudio" = xyes
  11012. then :
  11013. :
  11014. else $as_nop
  11015. FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
  11016. fi
  11017. else $as_nop
  11018. FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
  11019. fi
  11020. CPPFLAGS=$ac_save_CPPFLAGS
  11021. if test "x$FAUDIO_PE_LIBS" = "x"
  11022. then
  11023. as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
  11024. fi
  11025. if ${JPEG_PE_CFLAGS:+false} :
  11026. then :
  11027. if test ${MINGW_PKG_CONFIG+y}
  11028. then :
  11029. JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
  11030. fi
  11031. fi
  11032. if ${JPEG_PE_LIBS:+false} :
  11033. then :
  11034. if test ${MINGW_PKG_CONFIG+y}
  11035. then :
  11036. JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
  11037. fi
  11038. fi
  11039. ac_save_CPPFLAGS=$CPPFLAGS
  11040. CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
  11041. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
  11042. printf %s "checking for MinGW jpeglib.h... " >&6; }
  11043. if test ${ac_cv_mingw_header_jpeglib_h+y}
  11044. then :
  11045. printf %s "(cached) " >&6
  11046. else $as_nop
  11047. ac_wine_check_headers_saved_cc=$CC
  11048. ac_wine_check_headers_saved_exeext=$ac_exeext
  11049. CC="$CROSSCC"
  11050. ac_exeext=".exe"
  11051. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11052. /* end confdefs.h. */
  11053. #include <stddef.h>
  11054. #include <stdio.h>
  11055. #include <jpeglib.h>
  11056. int
  11057. main (void)
  11058. {
  11059. ;
  11060. return 0;
  11061. }
  11062. _ACEOF
  11063. if ac_fn_c_try_compile "$LINENO"
  11064. then :
  11065. ac_cv_mingw_header_jpeglib_h=yes
  11066. else $as_nop
  11067. ac_cv_mingw_header_jpeglib_h=no
  11068. fi
  11069. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11070. CC=$ac_wine_check_headers_saved_cc
  11071. ac_exeext=$ac_wine_check_headers_saved_exeext
  11072. fi
  11073. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
  11074. printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
  11075. if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
  11076. then :
  11077. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
  11078. printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
  11079. if test ${ac_cv_mingw_lib_jpeg+y}
  11080. then :
  11081. printf %s "(cached) " >&6
  11082. else $as_nop
  11083. ac_wine_check_headers_saved_cc=$CC
  11084. ac_wine_check_headers_saved_exeext=$ac_exeext
  11085. ac_wine_check_headers_saved_libs=$LIBS
  11086. CC="$CROSSCC"
  11087. ac_exeext=".exe"
  11088. LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
  11089. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11090. /* end confdefs.h. */
  11091. /* Override any GCC internal prototype to avoid an error.
  11092. Use char because int might match the return type of a GCC
  11093. builtin and then its argument prototype would still apply. */
  11094. char jpeg_start_decompress ();
  11095. int
  11096. main (void)
  11097. {
  11098. return jpeg_start_decompress ();
  11099. ;
  11100. return 0;
  11101. }
  11102. _ACEOF
  11103. if ac_fn_c_try_link "$LINENO"
  11104. then :
  11105. ac_cv_mingw_lib_jpeg=yes
  11106. else $as_nop
  11107. ac_cv_mingw_lib_jpeg=no
  11108. fi
  11109. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11110. conftest$ac_exeext conftest.$ac_ext
  11111. CC=$ac_wine_check_headers_saved_cc
  11112. ac_exeext=$ac_wine_check_headers_saved_exeext
  11113. LIBS=$ac_wine_check_headers_saved_libs
  11114. fi
  11115. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
  11116. printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
  11117. if test "x$ac_cv_mingw_lib_jpeg" = xyes
  11118. then :
  11119. :
  11120. else $as_nop
  11121. JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
  11122. fi
  11123. else $as_nop
  11124. JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
  11125. fi
  11126. CPPFLAGS=$ac_save_CPPFLAGS
  11127. if test "x$JPEG_PE_LIBS" = "x"
  11128. then
  11129. as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
  11130. fi
  11131. if ${LCMS2_PE_CFLAGS:+false} :
  11132. then :
  11133. if test ${MINGW_PKG_CONFIG+y}
  11134. then :
  11135. LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
  11136. fi
  11137. fi
  11138. if ${LCMS2_PE_LIBS:+false} :
  11139. then :
  11140. if test ${MINGW_PKG_CONFIG+y}
  11141. then :
  11142. LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
  11143. fi
  11144. fi
  11145. LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
  11146. ac_save_CPPFLAGS=$CPPFLAGS
  11147. CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
  11148. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
  11149. printf %s "checking for MinGW lcms2.h... " >&6; }
  11150. if test ${ac_cv_mingw_header_lcms2_h+y}
  11151. then :
  11152. printf %s "(cached) " >&6
  11153. else $as_nop
  11154. ac_wine_check_headers_saved_cc=$CC
  11155. ac_wine_check_headers_saved_exeext=$ac_exeext
  11156. CC="$CROSSCC"
  11157. ac_exeext=".exe"
  11158. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11159. /* end confdefs.h. */
  11160. #include <lcms2.h>
  11161. int
  11162. main (void)
  11163. {
  11164. ;
  11165. return 0;
  11166. }
  11167. _ACEOF
  11168. if ac_fn_c_try_compile "$LINENO"
  11169. then :
  11170. ac_cv_mingw_header_lcms2_h=yes
  11171. else $as_nop
  11172. ac_cv_mingw_header_lcms2_h=no
  11173. fi
  11174. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11175. CC=$ac_wine_check_headers_saved_cc
  11176. ac_exeext=$ac_wine_check_headers_saved_exeext
  11177. fi
  11178. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
  11179. printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
  11180. if test "x$ac_cv_mingw_header_lcms2_h" = xyes
  11181. then :
  11182. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
  11183. printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
  11184. if test ${ac_cv_mingw_lib_lcms2+y}
  11185. then :
  11186. printf %s "(cached) " >&6
  11187. else $as_nop
  11188. ac_wine_check_headers_saved_cc=$CC
  11189. ac_wine_check_headers_saved_exeext=$ac_exeext
  11190. ac_wine_check_headers_saved_libs=$LIBS
  11191. CC="$CROSSCC"
  11192. ac_exeext=".exe"
  11193. LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
  11194. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11195. /* end confdefs.h. */
  11196. /* Override any GCC internal prototype to avoid an error.
  11197. Use char because int might match the return type of a GCC
  11198. builtin and then its argument prototype would still apply. */
  11199. char cmsOpenProfileFromFile ();
  11200. int
  11201. main (void)
  11202. {
  11203. return cmsOpenProfileFromFile ();
  11204. ;
  11205. return 0;
  11206. }
  11207. _ACEOF
  11208. if ac_fn_c_try_link "$LINENO"
  11209. then :
  11210. ac_cv_mingw_lib_lcms2=yes
  11211. else $as_nop
  11212. ac_cv_mingw_lib_lcms2=no
  11213. fi
  11214. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11215. conftest$ac_exeext conftest.$ac_ext
  11216. CC=$ac_wine_check_headers_saved_cc
  11217. ac_exeext=$ac_wine_check_headers_saved_exeext
  11218. LIBS=$ac_wine_check_headers_saved_libs
  11219. fi
  11220. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
  11221. printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
  11222. if test "x$ac_cv_mingw_lib_lcms2" = xyes
  11223. then :
  11224. :
  11225. else $as_nop
  11226. LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
  11227. fi
  11228. else $as_nop
  11229. LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
  11230. fi
  11231. CPPFLAGS=$ac_save_CPPFLAGS
  11232. if test "x$LCMS2_PE_LIBS" = "x"
  11233. then
  11234. as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
  11235. fi
  11236. if ${MPG123_PE_CFLAGS:+false} :
  11237. then :
  11238. if test ${MINGW_PKG_CONFIG+y}
  11239. then :
  11240. MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
  11241. fi
  11242. fi
  11243. if ${MPG123_PE_LIBS:+false} :
  11244. then :
  11245. if test ${MINGW_PKG_CONFIG+y}
  11246. then :
  11247. MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
  11248. fi
  11249. fi
  11250. MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
  11251. ac_save_CPPFLAGS=$CPPFLAGS
  11252. CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
  11253. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
  11254. printf %s "checking for MinGW mpg123.h... " >&6; }
  11255. if test ${ac_cv_mingw_header_mpg123_h+y}
  11256. then :
  11257. printf %s "(cached) " >&6
  11258. else $as_nop
  11259. ac_wine_check_headers_saved_cc=$CC
  11260. ac_wine_check_headers_saved_exeext=$ac_exeext
  11261. CC="$CROSSCC"
  11262. ac_exeext=".exe"
  11263. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11264. /* end confdefs.h. */
  11265. #include <mpg123.h>
  11266. int
  11267. main (void)
  11268. {
  11269. ;
  11270. return 0;
  11271. }
  11272. _ACEOF
  11273. if ac_fn_c_try_compile "$LINENO"
  11274. then :
  11275. ac_cv_mingw_header_mpg123_h=yes
  11276. else $as_nop
  11277. ac_cv_mingw_header_mpg123_h=no
  11278. fi
  11279. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11280. CC=$ac_wine_check_headers_saved_cc
  11281. ac_exeext=$ac_wine_check_headers_saved_exeext
  11282. fi
  11283. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
  11284. printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
  11285. if test "x$ac_cv_mingw_header_mpg123_h" = xyes
  11286. then :
  11287. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
  11288. printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
  11289. if test ${ac_cv_mingw_lib_mpg123+y}
  11290. then :
  11291. printf %s "(cached) " >&6
  11292. else $as_nop
  11293. ac_wine_check_headers_saved_cc=$CC
  11294. ac_wine_check_headers_saved_exeext=$ac_exeext
  11295. ac_wine_check_headers_saved_libs=$LIBS
  11296. CC="$CROSSCC"
  11297. ac_exeext=".exe"
  11298. LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
  11299. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11300. /* end confdefs.h. */
  11301. /* Override any GCC internal prototype to avoid an error.
  11302. Use char because int might match the return type of a GCC
  11303. builtin and then its argument prototype would still apply. */
  11304. char mpg123_feed ();
  11305. int
  11306. main (void)
  11307. {
  11308. return mpg123_feed ();
  11309. ;
  11310. return 0;
  11311. }
  11312. _ACEOF
  11313. if ac_fn_c_try_link "$LINENO"
  11314. then :
  11315. ac_cv_mingw_lib_mpg123=yes
  11316. else $as_nop
  11317. ac_cv_mingw_lib_mpg123=no
  11318. fi
  11319. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11320. conftest$ac_exeext conftest.$ac_ext
  11321. CC=$ac_wine_check_headers_saved_cc
  11322. ac_exeext=$ac_wine_check_headers_saved_exeext
  11323. LIBS=$ac_wine_check_headers_saved_libs
  11324. fi
  11325. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
  11326. printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
  11327. if test "x$ac_cv_mingw_lib_mpg123" = xyes
  11328. then :
  11329. :
  11330. else $as_nop
  11331. MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
  11332. fi
  11333. else $as_nop
  11334. MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
  11335. fi
  11336. CPPFLAGS=$ac_save_CPPFLAGS
  11337. if test "x$MPG123_PE_LIBS" = "x"
  11338. then
  11339. as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
  11340. fi
  11341. if ${PNG_PE_CFLAGS:+false} :
  11342. then :
  11343. if test ${MINGW_PKG_CONFIG+y}
  11344. then :
  11345. PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
  11346. fi
  11347. fi
  11348. if ${PNG_PE_LIBS:+false} :
  11349. then :
  11350. if test ${MINGW_PKG_CONFIG+y}
  11351. then :
  11352. PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
  11353. fi
  11354. fi
  11355. ac_save_CPPFLAGS=$CPPFLAGS
  11356. CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
  11357. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
  11358. printf %s "checking for MinGW png.h... " >&6; }
  11359. if test ${ac_cv_mingw_header_png_h+y}
  11360. then :
  11361. printf %s "(cached) " >&6
  11362. else $as_nop
  11363. ac_wine_check_headers_saved_cc=$CC
  11364. ac_wine_check_headers_saved_exeext=$ac_exeext
  11365. CC="$CROSSCC"
  11366. ac_exeext=".exe"
  11367. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11368. /* end confdefs.h. */
  11369. #include <png.h>
  11370. int
  11371. main (void)
  11372. {
  11373. ;
  11374. return 0;
  11375. }
  11376. _ACEOF
  11377. if ac_fn_c_try_compile "$LINENO"
  11378. then :
  11379. ac_cv_mingw_header_png_h=yes
  11380. else $as_nop
  11381. ac_cv_mingw_header_png_h=no
  11382. fi
  11383. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11384. CC=$ac_wine_check_headers_saved_cc
  11385. ac_exeext=$ac_wine_check_headers_saved_exeext
  11386. fi
  11387. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
  11388. printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
  11389. if test "x$ac_cv_mingw_header_png_h" = xyes
  11390. then :
  11391. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
  11392. printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
  11393. if test ${ac_cv_mingw_lib_png+y}
  11394. then :
  11395. printf %s "(cached) " >&6
  11396. else $as_nop
  11397. ac_wine_check_headers_saved_cc=$CC
  11398. ac_wine_check_headers_saved_exeext=$ac_exeext
  11399. ac_wine_check_headers_saved_libs=$LIBS
  11400. CC="$CROSSCC"
  11401. ac_exeext=".exe"
  11402. LIBS="-lpng $PNG_PE_LIBS $LIBS"
  11403. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11404. /* end confdefs.h. */
  11405. /* Override any GCC internal prototype to avoid an error.
  11406. Use char because int might match the return type of a GCC
  11407. builtin and then its argument prototype would still apply. */
  11408. char png_create_read_struct ();
  11409. int
  11410. main (void)
  11411. {
  11412. return png_create_read_struct ();
  11413. ;
  11414. return 0;
  11415. }
  11416. _ACEOF
  11417. if ac_fn_c_try_link "$LINENO"
  11418. then :
  11419. ac_cv_mingw_lib_png=yes
  11420. else $as_nop
  11421. ac_cv_mingw_lib_png=no
  11422. fi
  11423. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11424. conftest$ac_exeext conftest.$ac_ext
  11425. CC=$ac_wine_check_headers_saved_cc
  11426. ac_exeext=$ac_wine_check_headers_saved_exeext
  11427. LIBS=$ac_wine_check_headers_saved_libs
  11428. fi
  11429. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
  11430. printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
  11431. if test "x$ac_cv_mingw_lib_png" = xyes
  11432. then :
  11433. :
  11434. else $as_nop
  11435. PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
  11436. fi
  11437. else $as_nop
  11438. PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
  11439. fi
  11440. CPPFLAGS=$ac_save_CPPFLAGS
  11441. if test "x$PNG_PE_LIBS" = "x"
  11442. then
  11443. as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
  11444. fi
  11445. if ${TIFF_PE_CFLAGS:+false} :
  11446. then :
  11447. if test ${MINGW_PKG_CONFIG+y}
  11448. then :
  11449. TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
  11450. fi
  11451. fi
  11452. if ${TIFF_PE_LIBS:+false} :
  11453. then :
  11454. if test ${MINGW_PKG_CONFIG+y}
  11455. then :
  11456. TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
  11457. fi
  11458. fi
  11459. ac_save_CPPFLAGS=$CPPFLAGS
  11460. CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
  11461. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
  11462. printf %s "checking for MinGW tiffio.h... " >&6; }
  11463. if test ${ac_cv_mingw_header_tiffio_h+y}
  11464. then :
  11465. printf %s "(cached) " >&6
  11466. else $as_nop
  11467. ac_wine_check_headers_saved_cc=$CC
  11468. ac_wine_check_headers_saved_exeext=$ac_exeext
  11469. CC="$CROSSCC"
  11470. ac_exeext=".exe"
  11471. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11472. /* end confdefs.h. */
  11473. #include <tiffio.h>
  11474. int
  11475. main (void)
  11476. {
  11477. ;
  11478. return 0;
  11479. }
  11480. _ACEOF
  11481. if ac_fn_c_try_compile "$LINENO"
  11482. then :
  11483. ac_cv_mingw_header_tiffio_h=yes
  11484. else $as_nop
  11485. ac_cv_mingw_header_tiffio_h=no
  11486. fi
  11487. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11488. CC=$ac_wine_check_headers_saved_cc
  11489. ac_exeext=$ac_wine_check_headers_saved_exeext
  11490. fi
  11491. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
  11492. printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
  11493. if test "x$ac_cv_mingw_header_tiffio_h" = xyes
  11494. then :
  11495. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
  11496. printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
  11497. if test ${ac_cv_mingw_lib_tiff+y}
  11498. then :
  11499. printf %s "(cached) " >&6
  11500. else $as_nop
  11501. ac_wine_check_headers_saved_cc=$CC
  11502. ac_wine_check_headers_saved_exeext=$ac_exeext
  11503. ac_wine_check_headers_saved_libs=$LIBS
  11504. CC="$CROSSCC"
  11505. ac_exeext=".exe"
  11506. LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
  11507. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11508. /* end confdefs.h. */
  11509. /* Override any GCC internal prototype to avoid an error.
  11510. Use char because int might match the return type of a GCC
  11511. builtin and then its argument prototype would still apply. */
  11512. char TIFFClientOpen ();
  11513. int
  11514. main (void)
  11515. {
  11516. return TIFFClientOpen ();
  11517. ;
  11518. return 0;
  11519. }
  11520. _ACEOF
  11521. if ac_fn_c_try_link "$LINENO"
  11522. then :
  11523. ac_cv_mingw_lib_tiff=yes
  11524. else $as_nop
  11525. ac_cv_mingw_lib_tiff=no
  11526. fi
  11527. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11528. conftest$ac_exeext conftest.$ac_ext
  11529. CC=$ac_wine_check_headers_saved_cc
  11530. ac_exeext=$ac_wine_check_headers_saved_exeext
  11531. LIBS=$ac_wine_check_headers_saved_libs
  11532. fi
  11533. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
  11534. printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
  11535. if test "x$ac_cv_mingw_lib_tiff" = xyes
  11536. then :
  11537. :
  11538. else $as_nop
  11539. TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
  11540. fi
  11541. else $as_nop
  11542. TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
  11543. fi
  11544. CPPFLAGS=$ac_save_CPPFLAGS
  11545. if test "x$TIFF_PE_LIBS" = "x"
  11546. then
  11547. as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
  11548. fi
  11549. if ${XML2_PE_CFLAGS:+false} :
  11550. then :
  11551. if test ${MINGW_PKG_CONFIG+y}
  11552. then :
  11553. XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
  11554. fi
  11555. fi
  11556. if ${XML2_PE_LIBS:+false} :
  11557. then :
  11558. if test ${MINGW_PKG_CONFIG+y}
  11559. then :
  11560. XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
  11561. fi
  11562. fi
  11563. XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
  11564. ac_save_CPPFLAGS=$CPPFLAGS
  11565. CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
  11566. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
  11567. printf %s "checking for MinGW libxml/parser.h... " >&6; }
  11568. if test ${ac_cv_mingw_header_libxml_parser_h+y}
  11569. then :
  11570. printf %s "(cached) " >&6
  11571. else $as_nop
  11572. ac_wine_check_headers_saved_cc=$CC
  11573. ac_wine_check_headers_saved_exeext=$ac_exeext
  11574. CC="$CROSSCC"
  11575. ac_exeext=".exe"
  11576. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11577. /* end confdefs.h. */
  11578. #include <libxml/parser.h>
  11579. int
  11580. main (void)
  11581. {
  11582. ;
  11583. return 0;
  11584. }
  11585. _ACEOF
  11586. if ac_fn_c_try_compile "$LINENO"
  11587. then :
  11588. ac_cv_mingw_header_libxml_parser_h=yes
  11589. else $as_nop
  11590. ac_cv_mingw_header_libxml_parser_h=no
  11591. fi
  11592. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11593. CC=$ac_wine_check_headers_saved_cc
  11594. ac_exeext=$ac_wine_check_headers_saved_exeext
  11595. fi
  11596. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
  11597. printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
  11598. if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
  11599. then :
  11600. fi
  11601. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
  11602. printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
  11603. if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
  11604. then :
  11605. printf %s "(cached) " >&6
  11606. else $as_nop
  11607. ac_wine_check_headers_saved_cc=$CC
  11608. ac_wine_check_headers_saved_exeext=$ac_exeext
  11609. CC="$CROSSCC"
  11610. ac_exeext=".exe"
  11611. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11612. /* end confdefs.h. */
  11613. #include <libxml/xmlsave.h>
  11614. int
  11615. main (void)
  11616. {
  11617. ;
  11618. return 0;
  11619. }
  11620. _ACEOF
  11621. if ac_fn_c_try_compile "$LINENO"
  11622. then :
  11623. ac_cv_mingw_header_libxml_xmlsave_h=yes
  11624. else $as_nop
  11625. ac_cv_mingw_header_libxml_xmlsave_h=no
  11626. fi
  11627. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11628. CC=$ac_wine_check_headers_saved_cc
  11629. ac_exeext=$ac_wine_check_headers_saved_exeext
  11630. fi
  11631. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
  11632. printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
  11633. if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
  11634. then :
  11635. fi
  11636. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
  11637. printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
  11638. if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
  11639. then :
  11640. printf %s "(cached) " >&6
  11641. else $as_nop
  11642. ac_wine_check_headers_saved_cc=$CC
  11643. ac_wine_check_headers_saved_exeext=$ac_exeext
  11644. CC="$CROSSCC"
  11645. ac_exeext=".exe"
  11646. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11647. /* end confdefs.h. */
  11648. #include <libxml/SAX2.h>
  11649. int
  11650. main (void)
  11651. {
  11652. ;
  11653. return 0;
  11654. }
  11655. _ACEOF
  11656. if ac_fn_c_try_compile "$LINENO"
  11657. then :
  11658. ac_cv_mingw_header_libxml_SAX2_h=yes
  11659. else $as_nop
  11660. ac_cv_mingw_header_libxml_SAX2_h=no
  11661. fi
  11662. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11663. CC=$ac_wine_check_headers_saved_cc
  11664. ac_exeext=$ac_wine_check_headers_saved_exeext
  11665. fi
  11666. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
  11667. printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
  11668. if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
  11669. then :
  11670. fi
  11671. 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"
  11672. then
  11673. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
  11674. printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
  11675. if test ${ac_cv_mingw_lib_xml2+y}
  11676. then :
  11677. printf %s "(cached) " >&6
  11678. else $as_nop
  11679. ac_wine_check_headers_saved_cc=$CC
  11680. ac_wine_check_headers_saved_exeext=$ac_exeext
  11681. ac_wine_check_headers_saved_libs=$LIBS
  11682. CC="$CROSSCC"
  11683. ac_exeext=".exe"
  11684. LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
  11685. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11686. /* end confdefs.h. */
  11687. /* Override any GCC internal prototype to avoid an error.
  11688. Use char because int might match the return type of a GCC
  11689. builtin and then its argument prototype would still apply. */
  11690. char xmlFirstElementChild ();
  11691. int
  11692. main (void)
  11693. {
  11694. return xmlFirstElementChild ();
  11695. ;
  11696. return 0;
  11697. }
  11698. _ACEOF
  11699. if ac_fn_c_try_link "$LINENO"
  11700. then :
  11701. ac_cv_mingw_lib_xml2=yes
  11702. else $as_nop
  11703. ac_cv_mingw_lib_xml2=no
  11704. fi
  11705. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11706. conftest$ac_exeext conftest.$ac_ext
  11707. CC=$ac_wine_check_headers_saved_cc
  11708. ac_exeext=$ac_wine_check_headers_saved_exeext
  11709. LIBS=$ac_wine_check_headers_saved_libs
  11710. fi
  11711. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
  11712. printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
  11713. if test "x$ac_cv_mingw_lib_xml2" = xyes
  11714. then :
  11715. :
  11716. else $as_nop
  11717. XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
  11718. fi
  11719. else
  11720. XML2_PE_CFLAGS=""
  11721. XML2_PE_LIBS=""
  11722. fi
  11723. CPPFLAGS=$ac_save_CPPFLAGS
  11724. if test "x$XML2_PE_LIBS" = "x"
  11725. then
  11726. as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
  11727. fi
  11728. if ${XSLT_PE_CFLAGS:+false} :
  11729. then :
  11730. if test ${MINGW_PKG_CONFIG+y}
  11731. then :
  11732. XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
  11733. fi
  11734. fi
  11735. if ${XSLT_PE_LIBS:+false} :
  11736. then :
  11737. if test ${MINGW_PKG_CONFIG+y}
  11738. then :
  11739. XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
  11740. fi
  11741. fi
  11742. XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
  11743. ac_save_CPPFLAGS=$CPPFLAGS
  11744. CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
  11745. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
  11746. printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
  11747. if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
  11748. then :
  11749. printf %s "(cached) " >&6
  11750. else $as_nop
  11751. ac_wine_check_headers_saved_cc=$CC
  11752. ac_wine_check_headers_saved_exeext=$ac_exeext
  11753. CC="$CROSSCC"
  11754. ac_exeext=".exe"
  11755. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11756. /* end confdefs.h. */
  11757. #include <libxslt/pattern.h>
  11758. int
  11759. main (void)
  11760. {
  11761. ;
  11762. return 0;
  11763. }
  11764. _ACEOF
  11765. if ac_fn_c_try_compile "$LINENO"
  11766. then :
  11767. ac_cv_mingw_header_libxslt_pattern_h=yes
  11768. else $as_nop
  11769. ac_cv_mingw_header_libxslt_pattern_h=no
  11770. fi
  11771. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11772. CC=$ac_wine_check_headers_saved_cc
  11773. ac_exeext=$ac_wine_check_headers_saved_exeext
  11774. fi
  11775. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
  11776. printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
  11777. if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
  11778. then :
  11779. fi
  11780. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
  11781. printf %s "checking for MinGW libxslt/transform.h... " >&6; }
  11782. if test ${ac_cv_mingw_header_libxslt_transform_h+y}
  11783. then :
  11784. printf %s "(cached) " >&6
  11785. else $as_nop
  11786. ac_wine_check_headers_saved_cc=$CC
  11787. ac_wine_check_headers_saved_exeext=$ac_exeext
  11788. CC="$CROSSCC"
  11789. ac_exeext=".exe"
  11790. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11791. /* end confdefs.h. */
  11792. #include <libxslt/transform.h>
  11793. int
  11794. main (void)
  11795. {
  11796. ;
  11797. return 0;
  11798. }
  11799. _ACEOF
  11800. if ac_fn_c_try_compile "$LINENO"
  11801. then :
  11802. ac_cv_mingw_header_libxslt_transform_h=yes
  11803. else $as_nop
  11804. ac_cv_mingw_header_libxslt_transform_h=no
  11805. fi
  11806. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11807. CC=$ac_wine_check_headers_saved_cc
  11808. ac_exeext=$ac_wine_check_headers_saved_exeext
  11809. fi
  11810. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
  11811. printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
  11812. if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
  11813. then :
  11814. fi
  11815. if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
  11816. then
  11817. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
  11818. printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
  11819. if test ${ac_cv_mingw_lib_xslt+y}
  11820. then :
  11821. printf %s "(cached) " >&6
  11822. else $as_nop
  11823. ac_wine_check_headers_saved_cc=$CC
  11824. ac_wine_check_headers_saved_exeext=$ac_exeext
  11825. ac_wine_check_headers_saved_libs=$LIBS
  11826. CC="$CROSSCC"
  11827. ac_exeext=".exe"
  11828. LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
  11829. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11830. /* end confdefs.h. */
  11831. /* Override any GCC internal prototype to avoid an error.
  11832. Use char because int might match the return type of a GCC
  11833. builtin and then its argument prototype would still apply. */
  11834. char xsltCompilePattern ();
  11835. int
  11836. main (void)
  11837. {
  11838. return xsltCompilePattern ();
  11839. ;
  11840. return 0;
  11841. }
  11842. _ACEOF
  11843. if ac_fn_c_try_link "$LINENO"
  11844. then :
  11845. ac_cv_mingw_lib_xslt=yes
  11846. else $as_nop
  11847. ac_cv_mingw_lib_xslt=no
  11848. fi
  11849. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11850. conftest$ac_exeext conftest.$ac_ext
  11851. CC=$ac_wine_check_headers_saved_cc
  11852. ac_exeext=$ac_wine_check_headers_saved_exeext
  11853. LIBS=$ac_wine_check_headers_saved_libs
  11854. fi
  11855. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
  11856. printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
  11857. if test "x$ac_cv_mingw_lib_xslt" = xyes
  11858. then :
  11859. :
  11860. else $as_nop
  11861. XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
  11862. fi
  11863. else
  11864. XSLT_PE_CFLAGS=""
  11865. XSLT_PE_LIBS=""
  11866. fi
  11867. CPPFLAGS=$ac_save_CPPFLAGS
  11868. if test "x$XSLT_PE_LIBS" = "x"
  11869. then
  11870. as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
  11871. fi
  11872. if ${VKD3D_PE_CFLAGS:+false} :
  11873. then :
  11874. if test ${MINGW_PKG_CONFIG+y}
  11875. then :
  11876. VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
  11877. fi
  11878. fi
  11879. if ${VKD3D_PE_LIBS:+false} :
  11880. then :
  11881. if test ${MINGW_PKG_CONFIG+y}
  11882. then :
  11883. VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
  11884. fi
  11885. fi
  11886. VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
  11887. ac_save_CPPFLAGS=$CPPFLAGS
  11888. CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
  11889. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
  11890. printf %s "checking for MinGW vkd3d.h... " >&6; }
  11891. if test ${ac_cv_mingw_header_vkd3d_h+y}
  11892. then :
  11893. printf %s "(cached) " >&6
  11894. else $as_nop
  11895. ac_wine_check_headers_saved_cc=$CC
  11896. ac_wine_check_headers_saved_exeext=$ac_exeext
  11897. CC="$CROSSCC"
  11898. ac_exeext=".exe"
  11899. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11900. /* end confdefs.h. */
  11901. #include <vkd3d.h>
  11902. int
  11903. main (void)
  11904. {
  11905. ;
  11906. return 0;
  11907. }
  11908. _ACEOF
  11909. if ac_fn_c_try_compile "$LINENO"
  11910. then :
  11911. ac_cv_mingw_header_vkd3d_h=yes
  11912. else $as_nop
  11913. ac_cv_mingw_header_vkd3d_h=no
  11914. fi
  11915. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11916. CC=$ac_wine_check_headers_saved_cc
  11917. ac_exeext=$ac_wine_check_headers_saved_exeext
  11918. fi
  11919. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
  11920. printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
  11921. if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
  11922. then :
  11923. fi
  11924. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
  11925. printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
  11926. if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
  11927. then :
  11928. printf %s "(cached) " >&6
  11929. else $as_nop
  11930. ac_wine_check_headers_saved_cc=$CC
  11931. ac_wine_check_headers_saved_exeext=$ac_exeext
  11932. CC="$CROSSCC"
  11933. ac_exeext=".exe"
  11934. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11935. /* end confdefs.h. */
  11936. #include <vkd3d_shader.h>
  11937. int
  11938. main (void)
  11939. {
  11940. ;
  11941. return 0;
  11942. }
  11943. _ACEOF
  11944. if ac_fn_c_try_compile "$LINENO"
  11945. then :
  11946. ac_cv_mingw_header_vkd3d_shader_h=yes
  11947. else $as_nop
  11948. ac_cv_mingw_header_vkd3d_shader_h=no
  11949. fi
  11950. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11951. CC=$ac_wine_check_headers_saved_cc
  11952. ac_exeext=$ac_wine_check_headers_saved_exeext
  11953. fi
  11954. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
  11955. printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
  11956. if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
  11957. then :
  11958. fi
  11959. if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
  11960. then
  11961. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
  11962. printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
  11963. if test ${ac_cv_mingw_lib_vkd3d+y}
  11964. then :
  11965. printf %s "(cached) " >&6
  11966. else $as_nop
  11967. ac_wine_check_headers_saved_cc=$CC
  11968. ac_wine_check_headers_saved_exeext=$ac_exeext
  11969. ac_wine_check_headers_saved_libs=$LIBS
  11970. CC="$CROSSCC"
  11971. ac_exeext=".exe"
  11972. LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
  11973. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11974. /* end confdefs.h. */
  11975. /* Override any GCC internal prototype to avoid an error.
  11976. Use char because int might match the return type of a GCC
  11977. builtin and then its argument prototype would still apply. */
  11978. char vkd3d_serialize_versioned_root_signature ();
  11979. int
  11980. main (void)
  11981. {
  11982. return vkd3d_serialize_versioned_root_signature ();
  11983. ;
  11984. return 0;
  11985. }
  11986. _ACEOF
  11987. if ac_fn_c_try_link "$LINENO"
  11988. then :
  11989. ac_cv_mingw_lib_vkd3d=yes
  11990. else $as_nop
  11991. ac_cv_mingw_lib_vkd3d=no
  11992. fi
  11993. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11994. conftest$ac_exeext conftest.$ac_ext
  11995. CC=$ac_wine_check_headers_saved_cc
  11996. ac_exeext=$ac_wine_check_headers_saved_exeext
  11997. LIBS=$ac_wine_check_headers_saved_libs
  11998. fi
  11999. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
  12000. printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
  12001. if test "x$ac_cv_mingw_lib_vkd3d" = xyes
  12002. then :
  12003. :
  12004. else $as_nop
  12005. :
  12006. fi
  12007. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
  12008. printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
  12009. if test ${ac_cv_mingw_lib_vkd3d_shader+y}
  12010. then :
  12011. printf %s "(cached) " >&6
  12012. else $as_nop
  12013. ac_wine_check_headers_saved_cc=$CC
  12014. ac_wine_check_headers_saved_exeext=$ac_exeext
  12015. ac_wine_check_headers_saved_libs=$LIBS
  12016. CC="$CROSSCC"
  12017. ac_exeext=".exe"
  12018. LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
  12019. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12020. /* end confdefs.h. */
  12021. /* Override any GCC internal prototype to avoid an error.
  12022. Use char because int might match the return type of a GCC
  12023. builtin and then its argument prototype would still apply. */
  12024. char vkd3d_shader_compile ();
  12025. int
  12026. main (void)
  12027. {
  12028. return vkd3d_shader_compile ();
  12029. ;
  12030. return 0;
  12031. }
  12032. _ACEOF
  12033. if ac_fn_c_try_link "$LINENO"
  12034. then :
  12035. ac_cv_mingw_lib_vkd3d_shader=yes
  12036. else $as_nop
  12037. ac_cv_mingw_lib_vkd3d_shader=no
  12038. fi
  12039. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12040. conftest$ac_exeext conftest.$ac_ext
  12041. CC=$ac_wine_check_headers_saved_cc
  12042. ac_exeext=$ac_wine_check_headers_saved_exeext
  12043. LIBS=$ac_wine_check_headers_saved_libs
  12044. fi
  12045. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
  12046. printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
  12047. if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
  12048. then :
  12049. :
  12050. else $as_nop
  12051. :
  12052. fi
  12053. if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
  12054. then
  12055. VKD3D_PE_CFLAGS=""
  12056. VKD3D_PE_LIBS=""
  12057. fi
  12058. else
  12059. VKD3D_PE_CFLAGS=""
  12060. VKD3D_PE_LIBS=""
  12061. fi
  12062. CPPFLAGS=$ac_save_CPPFLAGS
  12063. if test "x$VKD3D_PE_LIBS" = "x"
  12064. then
  12065. as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
  12066. fi
  12067. if ${ZLIB_PE_CFLAGS:+false} :
  12068. then :
  12069. if test ${MINGW_PKG_CONFIG+y}
  12070. then :
  12071. ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
  12072. fi
  12073. fi
  12074. if ${ZLIB_PE_LIBS:+false} :
  12075. then :
  12076. if test ${MINGW_PKG_CONFIG+y}
  12077. then :
  12078. ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
  12079. fi
  12080. fi
  12081. ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
  12082. ac_save_CPPFLAGS=$CPPFLAGS
  12083. CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
  12084. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
  12085. printf %s "checking for MinGW zlib.h... " >&6; }
  12086. if test ${ac_cv_mingw_header_zlib_h+y}
  12087. then :
  12088. printf %s "(cached) " >&6
  12089. else $as_nop
  12090. ac_wine_check_headers_saved_cc=$CC
  12091. ac_wine_check_headers_saved_exeext=$ac_exeext
  12092. CC="$CROSSCC"
  12093. ac_exeext=".exe"
  12094. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12095. /* end confdefs.h. */
  12096. #include <zlib.h>
  12097. int
  12098. main (void)
  12099. {
  12100. ;
  12101. return 0;
  12102. }
  12103. _ACEOF
  12104. if ac_fn_c_try_compile "$LINENO"
  12105. then :
  12106. ac_cv_mingw_header_zlib_h=yes
  12107. else $as_nop
  12108. ac_cv_mingw_header_zlib_h=no
  12109. fi
  12110. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  12111. CC=$ac_wine_check_headers_saved_cc
  12112. ac_exeext=$ac_wine_check_headers_saved_exeext
  12113. fi
  12114. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
  12115. printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
  12116. if test "x$ac_cv_mingw_header_zlib_h" = xyes
  12117. then :
  12118. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
  12119. printf %s "checking for inflate in MinGW -lz... " >&6; }
  12120. if test ${ac_cv_mingw_lib_z+y}
  12121. then :
  12122. printf %s "(cached) " >&6
  12123. else $as_nop
  12124. ac_wine_check_headers_saved_cc=$CC
  12125. ac_wine_check_headers_saved_exeext=$ac_exeext
  12126. ac_wine_check_headers_saved_libs=$LIBS
  12127. CC="$CROSSCC"
  12128. ac_exeext=".exe"
  12129. LIBS="-lz $ZLIB_PE_LIBS $LIBS"
  12130. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12131. /* end confdefs.h. */
  12132. /* Override any GCC internal prototype to avoid an error.
  12133. Use char because int might match the return type of a GCC
  12134. builtin and then its argument prototype would still apply. */
  12135. char inflate ();
  12136. int
  12137. main (void)
  12138. {
  12139. return inflate ();
  12140. ;
  12141. return 0;
  12142. }
  12143. _ACEOF
  12144. if ac_fn_c_try_link "$LINENO"
  12145. then :
  12146. ac_cv_mingw_lib_z=yes
  12147. else $as_nop
  12148. ac_cv_mingw_lib_z=no
  12149. fi
  12150. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12151. conftest$ac_exeext conftest.$ac_ext
  12152. CC=$ac_wine_check_headers_saved_cc
  12153. ac_exeext=$ac_wine_check_headers_saved_exeext
  12154. LIBS=$ac_wine_check_headers_saved_libs
  12155. fi
  12156. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
  12157. printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
  12158. if test "x$ac_cv_mingw_lib_z" = xyes
  12159. then :
  12160. :
  12161. else $as_nop
  12162. ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
  12163. fi
  12164. else $as_nop
  12165. ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
  12166. fi
  12167. CPPFLAGS=$ac_save_CPPFLAGS
  12168. if test "x$ZLIB_PE_LIBS" = "x"
  12169. then
  12170. as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
  12171. fi
  12172. fi
  12173. if ${FAUDIO_PE_LIBS:+false} :
  12174. then :
  12175. FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
  12176. if ${FAUDIO_PE_CFLAGS:+false} :
  12177. then :
  12178. FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
  12179. else $as_nop
  12180. enable_faudio=no
  12181. fi
  12182. else $as_nop
  12183. enable_faudio=no
  12184. fi
  12185. printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
  12186. printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
  12187. if ${GSM_PE_LIBS:+false} :
  12188. then :
  12189. GSM_PE_LIBS=gsm
  12190. if ${GSM_PE_CFLAGS:+false} :
  12191. then :
  12192. GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
  12193. else $as_nop
  12194. enable_gsm=no
  12195. fi
  12196. else $as_nop
  12197. enable_gsm=no
  12198. fi
  12199. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
  12200. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
  12201. if ${JPEG_PE_LIBS:+false} :
  12202. then :
  12203. JPEG_PE_LIBS=jpeg
  12204. if ${JPEG_PE_CFLAGS:+false} :
  12205. then :
  12206. JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
  12207. else $as_nop
  12208. enable_jpeg=no
  12209. fi
  12210. else $as_nop
  12211. enable_jpeg=no
  12212. fi
  12213. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
  12214. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
  12215. if ${JXR_PE_LIBS:+false} :
  12216. then :
  12217. JXR_PE_LIBS=jxr
  12218. if ${JXR_PE_CFLAGS:+false} :
  12219. then :
  12220. JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
  12221. else $as_nop
  12222. enable_jxr=no
  12223. fi
  12224. else $as_nop
  12225. enable_jxr=no
  12226. fi
  12227. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
  12228. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
  12229. if ${LCMS2_PE_LIBS:+false} :
  12230. then :
  12231. LCMS2_PE_LIBS=lcms2
  12232. if ${LCMS2_PE_CFLAGS:+false} :
  12233. then :
  12234. LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
  12235. else $as_nop
  12236. enable_lcms2=no
  12237. fi
  12238. else $as_nop
  12239. enable_lcms2=no
  12240. fi
  12241. printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
  12242. printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
  12243. if ${MPG123_PE_LIBS:+false} :
  12244. then :
  12245. MPG123_PE_LIBS=mpg123
  12246. if ${MPG123_PE_CFLAGS:+false} :
  12247. then :
  12248. MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
  12249. else $as_nop
  12250. enable_mpg123=no
  12251. fi
  12252. else $as_nop
  12253. enable_mpg123=no
  12254. fi
  12255. printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
  12256. printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
  12257. if ${PNG_PE_LIBS:+false} :
  12258. then :
  12259. PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
  12260. if ${PNG_PE_CFLAGS:+false} :
  12261. then :
  12262. PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
  12263. else $as_nop
  12264. enable_png=no
  12265. fi
  12266. else $as_nop
  12267. enable_png=no
  12268. fi
  12269. printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
  12270. printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
  12271. if ${TIFF_PE_LIBS:+false} :
  12272. then :
  12273. TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
  12274. if ${TIFF_PE_CFLAGS:+false} :
  12275. then :
  12276. TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
  12277. else $as_nop
  12278. enable_tiff=no
  12279. fi
  12280. else $as_nop
  12281. enable_tiff=no
  12282. fi
  12283. printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
  12284. printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
  12285. if ${VKD3D_PE_LIBS:+false} :
  12286. then :
  12287. VKD3D_PE_LIBS=vkd3d
  12288. if ${VKD3D_PE_CFLAGS:+false} :
  12289. then :
  12290. VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
  12291. else $as_nop
  12292. enable_vkd3d=no
  12293. fi
  12294. else $as_nop
  12295. enable_vkd3d=no
  12296. fi
  12297. printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
  12298. printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
  12299. if ${XML2_PE_LIBS:+false} :
  12300. then :
  12301. XML2_PE_LIBS=xml2
  12302. if ${XML2_PE_CFLAGS:+false} :
  12303. then :
  12304. XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
  12305. else $as_nop
  12306. enable_xml2=no
  12307. fi
  12308. else $as_nop
  12309. enable_xml2=no
  12310. fi
  12311. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
  12312. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
  12313. if ${XSLT_PE_LIBS:+false} :
  12314. then :
  12315. XSLT_PE_LIBS=xslt
  12316. if ${XSLT_PE_CFLAGS:+false} :
  12317. then :
  12318. XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
  12319. else $as_nop
  12320. enable_xslt=no
  12321. fi
  12322. else $as_nop
  12323. enable_xslt=no
  12324. fi
  12325. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
  12326. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
  12327. if ${ZLIB_PE_LIBS:+false} :
  12328. then :
  12329. ZLIB_PE_LIBS=z
  12330. if ${ZLIB_PE_CFLAGS:+false} :
  12331. then :
  12332. ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
  12333. else $as_nop
  12334. enable_zlib=no
  12335. fi
  12336. else $as_nop
  12337. enable_zlib=no
  12338. fi
  12339. printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
  12340. printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
  12341. if test "$ac_cv_header_pthread_h" = "yes"
  12342. then
  12343. ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
  12344. if test "x$ac_cv_func_pthread_create" = xyes
  12345. then :
  12346. else $as_nop
  12347. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  12348. printf %s "checking for pthread_create in -lpthread... " >&6; }
  12349. if test ${ac_cv_lib_pthread_pthread_create+y}
  12350. then :
  12351. printf %s "(cached) " >&6
  12352. else $as_nop
  12353. ac_check_lib_save_LIBS=$LIBS
  12354. LIBS="-lpthread $LIBS"
  12355. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12356. /* end confdefs.h. */
  12357. /* Override any GCC internal prototype to avoid an error.
  12358. Use char because int might match the return type of a GCC
  12359. builtin and then its argument prototype would still apply. */
  12360. char pthread_create ();
  12361. int
  12362. main (void)
  12363. {
  12364. return pthread_create ();
  12365. ;
  12366. return 0;
  12367. }
  12368. _ACEOF
  12369. if ac_fn_c_try_link "$LINENO"
  12370. then :
  12371. ac_cv_lib_pthread_pthread_create=yes
  12372. else $as_nop
  12373. ac_cv_lib_pthread_pthread_create=no
  12374. fi
  12375. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12376. conftest$ac_exeext conftest.$ac_ext
  12377. LIBS=$ac_check_lib_save_LIBS
  12378. fi
  12379. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  12380. printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
  12381. if test "x$ac_cv_lib_pthread_pthread_create" = xyes
  12382. then :
  12383. PTHREAD_LIBS="-lpthread"
  12384. fi
  12385. fi
  12386. fi
  12387. if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
  12388. then :
  12389. case "x$with_pthread" in
  12390. xno) ;;
  12391. *) as_fn_error $? "pthread ${notice_platform}development files not found.
  12392. Wine cannot support threads without libpthread.
  12393. Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
  12394. esac
  12395. fi
  12396. ac_ext=c
  12397. ac_cpp='$CPP $CPPFLAGS'
  12398. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12399. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12400. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12401. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  12402. printf %s "checking how to run the C preprocessor... " >&6; }
  12403. # On Suns, sometimes $CPP names a directory.
  12404. if test -n "$CPP" && test -d "$CPP"; then
  12405. CPP=
  12406. fi
  12407. if test -z "$CPP"; then
  12408. if test ${ac_cv_prog_CPP+y}
  12409. then :
  12410. printf %s "(cached) " >&6
  12411. else $as_nop
  12412. # Double quotes because $CC needs to be expanded
  12413. for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
  12414. do
  12415. ac_preproc_ok=false
  12416. for ac_c_preproc_warn_flag in '' yes
  12417. do
  12418. # Use a header file that comes with gcc, so configuring glibc
  12419. # with a fresh cross-compiler works.
  12420. # On the NeXT, cc -E runs the code through the compiler's parser,
  12421. # not just through cpp. "Syntax error" is here to catch this case.
  12422. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12423. /* end confdefs.h. */
  12424. #include <limits.h>
  12425. Syntax error
  12426. _ACEOF
  12427. if ac_fn_c_try_cpp "$LINENO"
  12428. then :
  12429. else $as_nop
  12430. # Broken: fails on valid input.
  12431. continue
  12432. fi
  12433. rm -f conftest.err conftest.i conftest.$ac_ext
  12434. # OK, works on sane cases. Now check whether nonexistent headers
  12435. # can be detected and how.
  12436. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12437. /* end confdefs.h. */
  12438. #include <ac_nonexistent.h>
  12439. _ACEOF
  12440. if ac_fn_c_try_cpp "$LINENO"
  12441. then :
  12442. # Broken: success on invalid input.
  12443. continue
  12444. else $as_nop
  12445. # Passes both tests.
  12446. ac_preproc_ok=:
  12447. break
  12448. fi
  12449. rm -f conftest.err conftest.i conftest.$ac_ext
  12450. done
  12451. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  12452. rm -f conftest.i conftest.err conftest.$ac_ext
  12453. if $ac_preproc_ok
  12454. then :
  12455. break
  12456. fi
  12457. done
  12458. ac_cv_prog_CPP=$CPP
  12459. fi
  12460. CPP=$ac_cv_prog_CPP
  12461. else
  12462. ac_cv_prog_CPP=$CPP
  12463. fi
  12464. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  12465. printf "%s\n" "$CPP" >&6; }
  12466. ac_preproc_ok=false
  12467. for ac_c_preproc_warn_flag in '' yes
  12468. do
  12469. # Use a header file that comes with gcc, so configuring glibc
  12470. # with a fresh cross-compiler works.
  12471. # On the NeXT, cc -E runs the code through the compiler's parser,
  12472. # not just through cpp. "Syntax error" is here to catch this case.
  12473. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12474. /* end confdefs.h. */
  12475. #include <limits.h>
  12476. Syntax error
  12477. _ACEOF
  12478. if ac_fn_c_try_cpp "$LINENO"
  12479. then :
  12480. else $as_nop
  12481. # Broken: fails on valid input.
  12482. continue
  12483. fi
  12484. rm -f conftest.err conftest.i conftest.$ac_ext
  12485. # OK, works on sane cases. Now check whether nonexistent headers
  12486. # can be detected and how.
  12487. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12488. /* end confdefs.h. */
  12489. #include <ac_nonexistent.h>
  12490. _ACEOF
  12491. if ac_fn_c_try_cpp "$LINENO"
  12492. then :
  12493. # Broken: success on invalid input.
  12494. continue
  12495. else $as_nop
  12496. # Passes both tests.
  12497. ac_preproc_ok=:
  12498. break
  12499. fi
  12500. rm -f conftest.err conftest.i conftest.$ac_ext
  12501. done
  12502. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  12503. rm -f conftest.i conftest.err conftest.$ac_ext
  12504. if $ac_preproc_ok
  12505. then :
  12506. else $as_nop
  12507. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12508. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  12509. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  12510. See \`config.log' for more details" "$LINENO" 5; }
  12511. fi
  12512. ac_ext=c
  12513. ac_cpp='$CPP $CPPFLAGS'
  12514. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12515. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12516. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12517. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  12518. printf %s "checking for X... " >&6; }
  12519. # Check whether --with-x was given.
  12520. if test ${with_x+y}
  12521. then :
  12522. withval=$with_x;
  12523. fi
  12524. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  12525. if test "x$with_x" = xno; then
  12526. # The user explicitly disabled X.
  12527. have_x=disabled
  12528. else
  12529. case $x_includes,$x_libraries in #(
  12530. *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  12531. *,NONE | NONE,*) if test ${ac_cv_have_x+y}
  12532. then :
  12533. printf %s "(cached) " >&6
  12534. else $as_nop
  12535. # One or both of the vars are not set, and there is no cached value.
  12536. ac_x_includes=no
  12537. ac_x_libraries=no
  12538. # Do we need to do anything special at all?
  12539. ac_save_LIBS=$LIBS
  12540. LIBS="-lX11 $LIBS"
  12541. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12542. /* end confdefs.h. */
  12543. #include <X11/Xlib.h>
  12544. int
  12545. main (void)
  12546. {
  12547. XrmInitialize ()
  12548. ;
  12549. return 0;
  12550. }
  12551. _ACEOF
  12552. if ac_fn_c_try_link "$LINENO"
  12553. then :
  12554. # We can compile and link X programs with no special options.
  12555. ac_x_includes=
  12556. ac_x_libraries=
  12557. fi
  12558. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12559. conftest$ac_exeext conftest.$ac_ext
  12560. LIBS="$ac_save_LIBS"
  12561. # If that didn't work, only try xmkmf and file system searches
  12562. # for native compilation.
  12563. if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
  12564. then :
  12565. rm -f -r conftest.dir
  12566. if mkdir conftest.dir; then
  12567. cd conftest.dir
  12568. cat >Imakefile <<'_ACEOF'
  12569. incroot:
  12570. @echo incroot='${INCROOT}'
  12571. usrlibdir:
  12572. @echo usrlibdir='${USRLIBDIR}'
  12573. libdir:
  12574. @echo libdir='${LIBDIR}'
  12575. _ACEOF
  12576. if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  12577. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  12578. for ac_var in incroot usrlibdir libdir; do
  12579. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  12580. done
  12581. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  12582. for ac_extension in a so sl dylib la dll; do
  12583. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  12584. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  12585. ac_im_usrlibdir=$ac_im_libdir; break
  12586. fi
  12587. done
  12588. # Screen out bogus values from the imake configuration. They are
  12589. # bogus both because they are the default anyway, and because
  12590. # using them would break gcc on systems where it needs fixed includes.
  12591. case $ac_im_incroot in
  12592. /usr/include) ac_x_includes= ;;
  12593. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  12594. esac
  12595. case $ac_im_usrlibdir in
  12596. /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  12597. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  12598. esac
  12599. fi
  12600. cd ..
  12601. rm -f -r conftest.dir
  12602. fi
  12603. # Standard set of common directories for X headers.
  12604. # Check X11 before X11Rn because it is often a symlink to the current release.
  12605. ac_x_header_dirs='
  12606. /usr/X11/include
  12607. /usr/X11R7/include
  12608. /usr/X11R6/include
  12609. /usr/X11R5/include
  12610. /usr/X11R4/include
  12611. /usr/include/X11
  12612. /usr/include/X11R7
  12613. /usr/include/X11R6
  12614. /usr/include/X11R5
  12615. /usr/include/X11R4
  12616. /usr/local/X11/include
  12617. /usr/local/X11R7/include
  12618. /usr/local/X11R6/include
  12619. /usr/local/X11R5/include
  12620. /usr/local/X11R4/include
  12621. /usr/local/include/X11
  12622. /usr/local/include/X11R7
  12623. /usr/local/include/X11R6
  12624. /usr/local/include/X11R5
  12625. /usr/local/include/X11R4
  12626. /opt/X11/include
  12627. /usr/X386/include
  12628. /usr/x386/include
  12629. /usr/XFree86/include/X11
  12630. /usr/include
  12631. /usr/local/include
  12632. /usr/unsupported/include
  12633. /usr/athena/include
  12634. /usr/local/x11r5/include
  12635. /usr/lpp/Xamples/include
  12636. /usr/openwin/include
  12637. /usr/openwin/share/include'
  12638. if test "$ac_x_includes" = no; then
  12639. # Guess where to find include files, by looking for Xlib.h.
  12640. # First, try using that file with no special directory specified.
  12641. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12642. /* end confdefs.h. */
  12643. #include <X11/Xlib.h>
  12644. _ACEOF
  12645. if ac_fn_c_try_cpp "$LINENO"
  12646. then :
  12647. # We can compile using X headers with no special include directory.
  12648. ac_x_includes=
  12649. else $as_nop
  12650. for ac_dir in $ac_x_header_dirs; do
  12651. if test -r "$ac_dir/X11/Xlib.h"; then
  12652. ac_x_includes=$ac_dir
  12653. break
  12654. fi
  12655. done
  12656. fi
  12657. rm -f conftest.err conftest.i conftest.$ac_ext
  12658. fi # $ac_x_includes = no
  12659. if test "$ac_x_libraries" = no; then
  12660. # Check for the libraries.
  12661. # See if we find them without any special options.
  12662. # Don't add to $LIBS permanently.
  12663. ac_save_LIBS=$LIBS
  12664. LIBS="-lX11 $LIBS"
  12665. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12666. /* end confdefs.h. */
  12667. #include <X11/Xlib.h>
  12668. int
  12669. main (void)
  12670. {
  12671. XrmInitialize ()
  12672. ;
  12673. return 0;
  12674. }
  12675. _ACEOF
  12676. if ac_fn_c_try_link "$LINENO"
  12677. then :
  12678. LIBS=$ac_save_LIBS
  12679. # We can link X programs with no special library path.
  12680. ac_x_libraries=
  12681. else $as_nop
  12682. LIBS=$ac_save_LIBS
  12683. for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  12684. do
  12685. # Don't even attempt the hair of trying to link an X program!
  12686. for ac_extension in a so sl dylib la dll; do
  12687. if test -r "$ac_dir/libX11.$ac_extension"; then
  12688. ac_x_libraries=$ac_dir
  12689. break 2
  12690. fi
  12691. done
  12692. done
  12693. fi
  12694. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12695. conftest$ac_exeext conftest.$ac_ext
  12696. fi # $ac_x_libraries = no
  12697. fi
  12698. # Record the results.
  12699. case $ac_x_includes,$ac_x_libraries in #(
  12700. no,* | *,no | *\'*) :
  12701. # Didn't find X, or a directory has "'" in its name.
  12702. ac_cv_have_x="have_x=no" ;; #(
  12703. *) :
  12704. # Record where we found X for the cache.
  12705. ac_cv_have_x="have_x=yes\
  12706. ac_x_includes='$ac_x_includes'\
  12707. ac_x_libraries='$ac_x_libraries'" ;;
  12708. esac
  12709. fi
  12710. ;; #(
  12711. *) have_x=yes;;
  12712. esac
  12713. eval "$ac_cv_have_x"
  12714. fi # $with_x != no
  12715. if test "$have_x" != yes; then
  12716. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  12717. printf "%s\n" "$have_x" >&6; }
  12718. no_x=yes
  12719. else
  12720. # If each of the values was on the command line, it overrides each guess.
  12721. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  12722. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  12723. # Update the cache value to reflect the command line values.
  12724. ac_cv_have_x="have_x=yes\
  12725. ac_x_includes='$x_includes'\
  12726. ac_x_libraries='$x_libraries'"
  12727. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  12728. printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
  12729. fi
  12730. if test "$no_x" = yes; then
  12731. # Not all programs may use this symbol, but it does not hurt to define it.
  12732. printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
  12733. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  12734. else
  12735. if test -n "$x_includes"; then
  12736. X_CFLAGS="$X_CFLAGS -I$x_includes"
  12737. fi
  12738. # It would also be nice to do this for all -L options, not just this one.
  12739. if test -n "$x_libraries"; then
  12740. X_LIBS="$X_LIBS -L$x_libraries"
  12741. # For Solaris; some versions of Sun CC require a space after -R and
  12742. # others require no space. Words are not sufficient . . . .
  12743. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  12744. printf %s "checking whether -R must be followed by a space... " >&6; }
  12745. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  12746. ac_xsave_c_werror_flag=$ac_c_werror_flag
  12747. ac_c_werror_flag=yes
  12748. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12749. /* end confdefs.h. */
  12750. int
  12751. main (void)
  12752. {
  12753. ;
  12754. return 0;
  12755. }
  12756. _ACEOF
  12757. if ac_fn_c_try_link "$LINENO"
  12758. then :
  12759. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12760. printf "%s\n" "no" >&6; }
  12761. X_LIBS="$X_LIBS -R$x_libraries"
  12762. else $as_nop
  12763. LIBS="$ac_xsave_LIBS -R $x_libraries"
  12764. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12765. /* end confdefs.h. */
  12766. int
  12767. main (void)
  12768. {
  12769. ;
  12770. return 0;
  12771. }
  12772. _ACEOF
  12773. if ac_fn_c_try_link "$LINENO"
  12774. then :
  12775. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12776. printf "%s\n" "yes" >&6; }
  12777. X_LIBS="$X_LIBS -R $x_libraries"
  12778. else $as_nop
  12779. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  12780. printf "%s\n" "neither works" >&6; }
  12781. fi
  12782. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12783. conftest$ac_exeext conftest.$ac_ext
  12784. fi
  12785. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12786. conftest$ac_exeext conftest.$ac_ext
  12787. ac_c_werror_flag=$ac_xsave_c_werror_flag
  12788. LIBS=$ac_xsave_LIBS
  12789. fi
  12790. # Check for system-dependent libraries X programs must link with.
  12791. # Do this before checking for the system-independent R6 libraries
  12792. # (-lICE), since we may need -lsocket or whatever for X linking.
  12793. if test "$ISC" = yes; then
  12794. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  12795. else
  12796. # Martyn Johnson says this is needed for Ultrix, if the X
  12797. # libraries were built with DECnet support. And Karl Berry says
  12798. # the Alpha needs dnet_stub (dnet does not exist).
  12799. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  12800. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12801. /* end confdefs.h. */
  12802. /* Override any GCC internal prototype to avoid an error.
  12803. Use char because int might match the return type of a GCC
  12804. builtin and then its argument prototype would still apply. */
  12805. char XOpenDisplay ();
  12806. int
  12807. main (void)
  12808. {
  12809. return XOpenDisplay ();
  12810. ;
  12811. return 0;
  12812. }
  12813. _ACEOF
  12814. if ac_fn_c_try_link "$LINENO"
  12815. then :
  12816. else $as_nop
  12817. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  12818. printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
  12819. if test ${ac_cv_lib_dnet_dnet_ntoa+y}
  12820. then :
  12821. printf %s "(cached) " >&6
  12822. else $as_nop
  12823. ac_check_lib_save_LIBS=$LIBS
  12824. LIBS="-ldnet $LIBS"
  12825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12826. /* end confdefs.h. */
  12827. /* Override any GCC internal prototype to avoid an error.
  12828. Use char because int might match the return type of a GCC
  12829. builtin and then its argument prototype would still apply. */
  12830. char dnet_ntoa ();
  12831. int
  12832. main (void)
  12833. {
  12834. return dnet_ntoa ();
  12835. ;
  12836. return 0;
  12837. }
  12838. _ACEOF
  12839. if ac_fn_c_try_link "$LINENO"
  12840. then :
  12841. ac_cv_lib_dnet_dnet_ntoa=yes
  12842. else $as_nop
  12843. ac_cv_lib_dnet_dnet_ntoa=no
  12844. fi
  12845. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12846. conftest$ac_exeext conftest.$ac_ext
  12847. LIBS=$ac_check_lib_save_LIBS
  12848. fi
  12849. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  12850. printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  12851. if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
  12852. then :
  12853. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  12854. fi
  12855. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  12856. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  12857. printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  12858. if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
  12859. then :
  12860. printf %s "(cached) " >&6
  12861. else $as_nop
  12862. ac_check_lib_save_LIBS=$LIBS
  12863. LIBS="-ldnet_stub $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 dnet_ntoa ();
  12870. int
  12871. main (void)
  12872. {
  12873. return dnet_ntoa ();
  12874. ;
  12875. return 0;
  12876. }
  12877. _ACEOF
  12878. if ac_fn_c_try_link "$LINENO"
  12879. then :
  12880. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  12881. else $as_nop
  12882. ac_cv_lib_dnet_stub_dnet_ntoa=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_dnet_stub_dnet_ntoa" >&5
  12889. printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  12890. if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
  12891. then :
  12892. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  12893. fi
  12894. fi
  12895. fi
  12896. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12897. conftest$ac_exeext conftest.$ac_ext
  12898. LIBS="$ac_xsave_LIBS"
  12899. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  12900. # to get the SysV transport functions.
  12901. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  12902. # needs -lnsl.
  12903. # The nsl library prevents programs from opening the X display
  12904. # on Irix 5.2, according to T.E. Dickey.
  12905. # The functions gethostbyname, getservbyname, and inet_addr are
  12906. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  12907. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  12908. if test "x$ac_cv_func_gethostbyname" = xyes
  12909. then :
  12910. fi
  12911. if test $ac_cv_func_gethostbyname = no; then
  12912. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  12913. printf %s "checking for gethostbyname in -lnsl... " >&6; }
  12914. if test ${ac_cv_lib_nsl_gethostbyname+y}
  12915. then :
  12916. printf %s "(cached) " >&6
  12917. else $as_nop
  12918. ac_check_lib_save_LIBS=$LIBS
  12919. LIBS="-lnsl $LIBS"
  12920. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12921. /* end confdefs.h. */
  12922. /* Override any GCC internal prototype to avoid an error.
  12923. Use char because int might match the return type of a GCC
  12924. builtin and then its argument prototype would still apply. */
  12925. char gethostbyname ();
  12926. int
  12927. main (void)
  12928. {
  12929. return gethostbyname ();
  12930. ;
  12931. return 0;
  12932. }
  12933. _ACEOF
  12934. if ac_fn_c_try_link "$LINENO"
  12935. then :
  12936. ac_cv_lib_nsl_gethostbyname=yes
  12937. else $as_nop
  12938. ac_cv_lib_nsl_gethostbyname=no
  12939. fi
  12940. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12941. conftest$ac_exeext conftest.$ac_ext
  12942. LIBS=$ac_check_lib_save_LIBS
  12943. fi
  12944. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  12945. printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
  12946. if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
  12947. then :
  12948. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  12949. fi
  12950. if test $ac_cv_lib_nsl_gethostbyname = no; then
  12951. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  12952. printf %s "checking for gethostbyname in -lbsd... " >&6; }
  12953. if test ${ac_cv_lib_bsd_gethostbyname+y}
  12954. then :
  12955. printf %s "(cached) " >&6
  12956. else $as_nop
  12957. ac_check_lib_save_LIBS=$LIBS
  12958. LIBS="-lbsd $LIBS"
  12959. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12960. /* end confdefs.h. */
  12961. /* Override any GCC internal prototype to avoid an error.
  12962. Use char because int might match the return type of a GCC
  12963. builtin and then its argument prototype would still apply. */
  12964. char gethostbyname ();
  12965. int
  12966. main (void)
  12967. {
  12968. return gethostbyname ();
  12969. ;
  12970. return 0;
  12971. }
  12972. _ACEOF
  12973. if ac_fn_c_try_link "$LINENO"
  12974. then :
  12975. ac_cv_lib_bsd_gethostbyname=yes
  12976. else $as_nop
  12977. ac_cv_lib_bsd_gethostbyname=no
  12978. fi
  12979. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12980. conftest$ac_exeext conftest.$ac_ext
  12981. LIBS=$ac_check_lib_save_LIBS
  12982. fi
  12983. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  12984. printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
  12985. if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
  12986. then :
  12987. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  12988. fi
  12989. fi
  12990. fi
  12991. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  12992. # socket/setsockopt and other routines are undefined under SCO ODT
  12993. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  12994. # on later versions), says Simon Leinen: it contains gethostby*
  12995. # variants that don't use the name server (or something). -lsocket
  12996. # must be given before -lnsl if both are needed. We assume that
  12997. # if connect needs -lnsl, so does gethostbyname.
  12998. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  12999. if test "x$ac_cv_func_connect" = xyes
  13000. then :
  13001. fi
  13002. if test $ac_cv_func_connect = no; then
  13003. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  13004. printf %s "checking for connect in -lsocket... " >&6; }
  13005. if test ${ac_cv_lib_socket_connect+y}
  13006. then :
  13007. printf %s "(cached) " >&6
  13008. else $as_nop
  13009. ac_check_lib_save_LIBS=$LIBS
  13010. LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  13011. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13012. /* end confdefs.h. */
  13013. /* Override any GCC internal prototype to avoid an error.
  13014. Use char because int might match the return type of a GCC
  13015. builtin and then its argument prototype would still apply. */
  13016. char connect ();
  13017. int
  13018. main (void)
  13019. {
  13020. return connect ();
  13021. ;
  13022. return 0;
  13023. }
  13024. _ACEOF
  13025. if ac_fn_c_try_link "$LINENO"
  13026. then :
  13027. ac_cv_lib_socket_connect=yes
  13028. else $as_nop
  13029. ac_cv_lib_socket_connect=no
  13030. fi
  13031. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13032. conftest$ac_exeext conftest.$ac_ext
  13033. LIBS=$ac_check_lib_save_LIBS
  13034. fi
  13035. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  13036. printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
  13037. if test "x$ac_cv_lib_socket_connect" = xyes
  13038. then :
  13039. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  13040. fi
  13041. fi
  13042. # Guillermo Gomez says -lposix is necessary on A/UX.
  13043. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  13044. if test "x$ac_cv_func_remove" = xyes
  13045. then :
  13046. fi
  13047. if test $ac_cv_func_remove = no; then
  13048. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  13049. printf %s "checking for remove in -lposix... " >&6; }
  13050. if test ${ac_cv_lib_posix_remove+y}
  13051. then :
  13052. printf %s "(cached) " >&6
  13053. else $as_nop
  13054. ac_check_lib_save_LIBS=$LIBS
  13055. LIBS="-lposix $LIBS"
  13056. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13057. /* end confdefs.h. */
  13058. /* Override any GCC internal prototype to avoid an error.
  13059. Use char because int might match the return type of a GCC
  13060. builtin and then its argument prototype would still apply. */
  13061. char remove ();
  13062. int
  13063. main (void)
  13064. {
  13065. return remove ();
  13066. ;
  13067. return 0;
  13068. }
  13069. _ACEOF
  13070. if ac_fn_c_try_link "$LINENO"
  13071. then :
  13072. ac_cv_lib_posix_remove=yes
  13073. else $as_nop
  13074. ac_cv_lib_posix_remove=no
  13075. fi
  13076. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13077. conftest$ac_exeext conftest.$ac_ext
  13078. LIBS=$ac_check_lib_save_LIBS
  13079. fi
  13080. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  13081. printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
  13082. if test "x$ac_cv_lib_posix_remove" = xyes
  13083. then :
  13084. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  13085. fi
  13086. fi
  13087. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  13088. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  13089. if test "x$ac_cv_func_shmat" = xyes
  13090. then :
  13091. fi
  13092. if test $ac_cv_func_shmat = no; then
  13093. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  13094. printf %s "checking for shmat in -lipc... " >&6; }
  13095. if test ${ac_cv_lib_ipc_shmat+y}
  13096. then :
  13097. printf %s "(cached) " >&6
  13098. else $as_nop
  13099. ac_check_lib_save_LIBS=$LIBS
  13100. LIBS="-lipc $LIBS"
  13101. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13102. /* end confdefs.h. */
  13103. /* Override any GCC internal prototype to avoid an error.
  13104. Use char because int might match the return type of a GCC
  13105. builtin and then its argument prototype would still apply. */
  13106. char shmat ();
  13107. int
  13108. main (void)
  13109. {
  13110. return shmat ();
  13111. ;
  13112. return 0;
  13113. }
  13114. _ACEOF
  13115. if ac_fn_c_try_link "$LINENO"
  13116. then :
  13117. ac_cv_lib_ipc_shmat=yes
  13118. else $as_nop
  13119. ac_cv_lib_ipc_shmat=no
  13120. fi
  13121. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13122. conftest$ac_exeext conftest.$ac_ext
  13123. LIBS=$ac_check_lib_save_LIBS
  13124. fi
  13125. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  13126. printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
  13127. if test "x$ac_cv_lib_ipc_shmat" = xyes
  13128. then :
  13129. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  13130. fi
  13131. fi
  13132. fi
  13133. # Check for libraries that X11R6 Xt/Xaw programs need.
  13134. ac_save_LDFLAGS=$LDFLAGS
  13135. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  13136. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  13137. # check for ICE first), but we must link in the order -lSM -lICE or
  13138. # we get undefined symbols. So assume we have SM if we have ICE.
  13139. # These have to be linked with before -lX11, unlike the other
  13140. # libraries we check for below, so use a different variable.
  13141. # John Interrante, Karl Berry
  13142. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  13143. printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
  13144. if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
  13145. then :
  13146. printf %s "(cached) " >&6
  13147. else $as_nop
  13148. ac_check_lib_save_LIBS=$LIBS
  13149. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  13150. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13151. /* end confdefs.h. */
  13152. /* Override any GCC internal prototype to avoid an error.
  13153. Use char because int might match the return type of a GCC
  13154. builtin and then its argument prototype would still apply. */
  13155. char IceConnectionNumber ();
  13156. int
  13157. main (void)
  13158. {
  13159. return IceConnectionNumber ();
  13160. ;
  13161. return 0;
  13162. }
  13163. _ACEOF
  13164. if ac_fn_c_try_link "$LINENO"
  13165. then :
  13166. ac_cv_lib_ICE_IceConnectionNumber=yes
  13167. else $as_nop
  13168. ac_cv_lib_ICE_IceConnectionNumber=no
  13169. fi
  13170. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13171. conftest$ac_exeext conftest.$ac_ext
  13172. LIBS=$ac_check_lib_save_LIBS
  13173. fi
  13174. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  13175. printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  13176. if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
  13177. then :
  13178. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  13179. fi
  13180. LDFLAGS=$ac_save_LDFLAGS
  13181. fi
  13182. if test "$have_x" = "yes"
  13183. then
  13184. ac_save_CPPFLAGS="$CPPFLAGS"
  13185. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  13186. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
  13187. printf %s "checking for -lX11... " >&6; }
  13188. if test ${ac_cv_lib_soname_X11+y}
  13189. then :
  13190. printf %s "(cached) " >&6
  13191. else $as_nop
  13192. ac_check_soname_save_LIBS=$LIBS
  13193. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  13194. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13195. /* end confdefs.h. */
  13196. /* Override any GCC internal prototype to avoid an error.
  13197. Use char because int might match the return type of a GCC
  13198. builtin and then its argument prototype would still apply. */
  13199. char XCreateWindow ();
  13200. int
  13201. main (void)
  13202. {
  13203. return XCreateWindow ();
  13204. ;
  13205. return 0;
  13206. }
  13207. _ACEOF
  13208. if ac_fn_c_try_link "$LINENO"
  13209. then :
  13210. case "$LIBEXT" in
  13211. dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13212. 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'` ;;
  13213. *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13214. if ${ac_cv_lib_soname_X11:+false} :
  13215. then :
  13216. ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13217. fi ;;
  13218. esac
  13219. else $as_nop
  13220. ac_cv_lib_soname_X11=
  13221. fi
  13222. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13223. conftest$ac_exeext conftest.$ac_ext
  13224. LIBS=$ac_check_soname_save_LIBS
  13225. fi
  13226. if ${ac_cv_lib_soname_X11:+false} :
  13227. then :
  13228. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13229. printf "%s\n" "not found" >&6; }
  13230. else $as_nop
  13231. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
  13232. printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
  13233. printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
  13234. fi
  13235. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
  13236. printf %s "checking for -lXext... " >&6; }
  13237. if test ${ac_cv_lib_soname_Xext+y}
  13238. then :
  13239. printf %s "(cached) " >&6
  13240. else $as_nop
  13241. ac_check_soname_save_LIBS=$LIBS
  13242. LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
  13243. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13244. /* end confdefs.h. */
  13245. /* Override any GCC internal prototype to avoid an error.
  13246. Use char because int might match the return type of a GCC
  13247. builtin and then its argument prototype would still apply. */
  13248. char XextCreateExtension ();
  13249. int
  13250. main (void)
  13251. {
  13252. return XextCreateExtension ();
  13253. ;
  13254. return 0;
  13255. }
  13256. _ACEOF
  13257. if ac_fn_c_try_link "$LINENO"
  13258. then :
  13259. case "$LIBEXT" in
  13260. dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13261. 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'` ;;
  13262. *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13263. if ${ac_cv_lib_soname_Xext:+false} :
  13264. then :
  13265. ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13266. fi ;;
  13267. esac
  13268. else $as_nop
  13269. ac_cv_lib_soname_Xext=
  13270. fi
  13271. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13272. conftest$ac_exeext conftest.$ac_ext
  13273. LIBS=$ac_check_soname_save_LIBS
  13274. fi
  13275. if ${ac_cv_lib_soname_Xext:+false} :
  13276. then :
  13277. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13278. printf "%s\n" "not found" >&6; }
  13279. else $as_nop
  13280. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
  13281. printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
  13282. printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
  13283. X_LIBS="$X_LIBS -lXext"
  13284. fi
  13285. X_LIBS="$X_LIBS -lX11"
  13286. ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
  13287. # include <X11/Xlib.h>
  13288. #endif
  13289. #ifdef HAVE_X11_XUTIL_H
  13290. # include <X11/Xutil.h>
  13291. #endif
  13292. "
  13293. if test "x$ac_cv_header_X11_Xlib_h" = xyes
  13294. then :
  13295. printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
  13296. fi
  13297. ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
  13298. # include <X11/Xlib.h>
  13299. #endif
  13300. #ifdef HAVE_X11_XUTIL_H
  13301. # include <X11/Xutil.h>
  13302. #endif
  13303. "
  13304. if test "x$ac_cv_header_X11_XKBlib_h" = xyes
  13305. then :
  13306. printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
  13307. fi
  13308. ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
  13309. # include <X11/Xlib.h>
  13310. #endif
  13311. #ifdef HAVE_X11_XUTIL_H
  13312. # include <X11/Xutil.h>
  13313. #endif
  13314. "
  13315. if test "x$ac_cv_header_X11_Xutil_h" = xyes
  13316. then :
  13317. printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
  13318. fi
  13319. ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
  13320. # include <X11/Xlib.h>
  13321. #endif
  13322. #ifdef HAVE_X11_XUTIL_H
  13323. # include <X11/Xutil.h>
  13324. #endif
  13325. "
  13326. if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
  13327. then :
  13328. printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
  13329. fi
  13330. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
  13331. # include <X11/Xlib.h>
  13332. #endif
  13333. #ifdef HAVE_X11_XUTIL_H
  13334. # include <X11/Xutil.h>
  13335. #endif
  13336. "
  13337. if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
  13338. then :
  13339. printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
  13340. fi
  13341. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
  13342. # include <X11/Xlib.h>
  13343. #endif
  13344. #ifdef HAVE_X11_XUTIL_H
  13345. # include <X11/Xutil.h>
  13346. #endif
  13347. "
  13348. if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
  13349. then :
  13350. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
  13351. fi
  13352. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
  13353. # include <X11/Xlib.h>
  13354. #endif
  13355. #ifdef HAVE_X11_XUTIL_H
  13356. # include <X11/Xutil.h>
  13357. #endif
  13358. "
  13359. if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
  13360. then :
  13361. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
  13362. fi
  13363. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
  13364. # include <X11/Xlib.h>
  13365. #endif
  13366. #ifdef HAVE_X11_XUTIL_H
  13367. # include <X11/Xutil.h>
  13368. #endif
  13369. "
  13370. if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
  13371. then :
  13372. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
  13373. fi
  13374. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
  13375. # include <X11/Xlib.h>
  13376. #endif
  13377. #ifdef HAVE_X11_XUTIL_H
  13378. # include <X11/Xutil.h>
  13379. #endif
  13380. "
  13381. if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
  13382. then :
  13383. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
  13384. fi
  13385. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
  13386. # include <X11/Xlib.h>
  13387. #endif
  13388. #ifdef HAVE_X11_XUTIL_H
  13389. # include <X11/Xutil.h>
  13390. #endif
  13391. "
  13392. if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
  13393. then :
  13394. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
  13395. fi
  13396. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
  13397. # include <X11/Xlib.h>
  13398. #endif
  13399. #ifdef HAVE_X11_XUTIL_H
  13400. # include <X11/Xutil.h>
  13401. #endif
  13402. "
  13403. if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
  13404. then :
  13405. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
  13406. fi
  13407. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
  13408. # include <X11/Xlib.h>
  13409. #endif
  13410. #ifdef HAVE_X11_XUTIL_H
  13411. # include <X11/Xutil.h>
  13412. #endif
  13413. "
  13414. if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
  13415. then :
  13416. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
  13417. fi
  13418. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
  13419. # include <X11/Xlib.h>
  13420. #endif
  13421. #ifdef HAVE_X11_XUTIL_H
  13422. # include <X11/Xutil.h>
  13423. #endif
  13424. "
  13425. if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
  13426. then :
  13427. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
  13428. fi
  13429. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
  13430. # include <X11/Xlib.h>
  13431. #endif
  13432. #ifdef HAVE_X11_XUTIL_H
  13433. # include <X11/Xutil.h>
  13434. #endif
  13435. "
  13436. if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
  13437. then :
  13438. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
  13439. fi
  13440. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
  13441. # include <X11/Xlib.h>
  13442. #endif
  13443. #ifdef HAVE_X11_XUTIL_H
  13444. # include <X11/Xutil.h>
  13445. #endif
  13446. "
  13447. if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
  13448. then :
  13449. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
  13450. fi
  13451. if test "$ac_cv_header_X11_XKBlib_h" = "yes"
  13452. then
  13453. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
  13454. printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
  13455. if test ${ac_cv_lib_X11_XkbQueryExtension+y}
  13456. then :
  13457. printf %s "(cached) " >&6
  13458. else $as_nop
  13459. ac_check_lib_save_LIBS=$LIBS
  13460. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  13461. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13462. /* end confdefs.h. */
  13463. /* Override any GCC internal prototype to avoid an error.
  13464. Use char because int might match the return type of a GCC
  13465. builtin and then its argument prototype would still apply. */
  13466. char XkbQueryExtension ();
  13467. int
  13468. main (void)
  13469. {
  13470. return XkbQueryExtension ();
  13471. ;
  13472. return 0;
  13473. }
  13474. _ACEOF
  13475. if ac_fn_c_try_link "$LINENO"
  13476. then :
  13477. ac_cv_lib_X11_XkbQueryExtension=yes
  13478. else $as_nop
  13479. ac_cv_lib_X11_XkbQueryExtension=no
  13480. fi
  13481. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13482. conftest$ac_exeext conftest.$ac_ext
  13483. LIBS=$ac_check_lib_save_LIBS
  13484. fi
  13485. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
  13486. printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
  13487. if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
  13488. then :
  13489. printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
  13490. fi
  13491. fi
  13492. if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
  13493. then
  13494. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
  13495. printf %s "checking for -lXcursor... " >&6; }
  13496. if test ${ac_cv_lib_soname_Xcursor+y}
  13497. then :
  13498. printf %s "(cached) " >&6
  13499. else $as_nop
  13500. ac_check_soname_save_LIBS=$LIBS
  13501. LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
  13502. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13503. /* end confdefs.h. */
  13504. /* Override any GCC internal prototype to avoid an error.
  13505. Use char because int might match the return type of a GCC
  13506. builtin and then its argument prototype would still apply. */
  13507. char XcursorImageLoadCursor ();
  13508. int
  13509. main (void)
  13510. {
  13511. return XcursorImageLoadCursor ();
  13512. ;
  13513. return 0;
  13514. }
  13515. _ACEOF
  13516. if ac_fn_c_try_link "$LINENO"
  13517. then :
  13518. case "$LIBEXT" in
  13519. dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13520. 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'` ;;
  13521. *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13522. if ${ac_cv_lib_soname_Xcursor:+false} :
  13523. then :
  13524. ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13525. fi ;;
  13526. esac
  13527. else $as_nop
  13528. ac_cv_lib_soname_Xcursor=
  13529. fi
  13530. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13531. conftest$ac_exeext conftest.$ac_ext
  13532. LIBS=$ac_check_soname_save_LIBS
  13533. fi
  13534. if ${ac_cv_lib_soname_Xcursor:+false} :
  13535. then :
  13536. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13537. printf "%s\n" "not found" >&6; }
  13538. else $as_nop
  13539. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
  13540. printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
  13541. printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
  13542. fi
  13543. fi
  13544. if test "x$ac_cv_lib_soname_Xcursor" = "x"
  13545. then :
  13546. case "x$with_xcursor" in
  13547. x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
  13548. xno) ;;
  13549. *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
  13550. This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
  13551. esac
  13552. fi
  13553. if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
  13554. then
  13555. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
  13556. printf %s "checking for -lXi... " >&6; }
  13557. if test ${ac_cv_lib_soname_Xi+y}
  13558. then :
  13559. printf %s "(cached) " >&6
  13560. else $as_nop
  13561. ac_check_soname_save_LIBS=$LIBS
  13562. LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
  13563. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13564. /* end confdefs.h. */
  13565. /* Override any GCC internal prototype to avoid an error.
  13566. Use char because int might match the return type of a GCC
  13567. builtin and then its argument prototype would still apply. */
  13568. char XOpenDevice ();
  13569. int
  13570. main (void)
  13571. {
  13572. return XOpenDevice ();
  13573. ;
  13574. return 0;
  13575. }
  13576. _ACEOF
  13577. if ac_fn_c_try_link "$LINENO"
  13578. then :
  13579. case "$LIBEXT" in
  13580. dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13581. 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'` ;;
  13582. *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13583. if ${ac_cv_lib_soname_Xi:+false} :
  13584. then :
  13585. ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13586. fi ;;
  13587. esac
  13588. else $as_nop
  13589. ac_cv_lib_soname_Xi=
  13590. fi
  13591. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13592. conftest$ac_exeext conftest.$ac_ext
  13593. LIBS=$ac_check_soname_save_LIBS
  13594. fi
  13595. if ${ac_cv_lib_soname_Xi:+false} :
  13596. then :
  13597. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13598. printf "%s\n" "not found" >&6; }
  13599. else $as_nop
  13600. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
  13601. printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
  13602. printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
  13603. fi
  13604. fi
  13605. if test "x$ac_cv_lib_soname_Xi" = "x"
  13606. then :
  13607. case "x$with_xinput" in
  13608. x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
  13609. xno) ;;
  13610. *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
  13611. This is an error since --with-xinput was requested." "$LINENO" 5 ;;
  13612. esac
  13613. fi
  13614. if test "x$ac_cv_lib_soname_Xi" != x
  13615. then
  13616. if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
  13617. then :
  13618. case "x$with_xinput2" in
  13619. x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
  13620. xno) ;;
  13621. *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
  13622. This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
  13623. esac
  13624. fi
  13625. fi
  13626. if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
  13627. then
  13628. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
  13629. printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
  13630. if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
  13631. then :
  13632. printf %s "(cached) " >&6
  13633. else $as_nop
  13634. ac_check_lib_save_LIBS=$LIBS
  13635. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  13636. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13637. /* end confdefs.h. */
  13638. /* Override any GCC internal prototype to avoid an error.
  13639. Use char because int might match the return type of a GCC
  13640. builtin and then its argument prototype would still apply. */
  13641. char XShmQueryExtension ();
  13642. int
  13643. main (void)
  13644. {
  13645. return XShmQueryExtension ();
  13646. ;
  13647. return 0;
  13648. }
  13649. _ACEOF
  13650. if ac_fn_c_try_link "$LINENO"
  13651. then :
  13652. ac_cv_lib_Xext_XShmQueryExtension=yes
  13653. else $as_nop
  13654. ac_cv_lib_Xext_XShmQueryExtension=no
  13655. fi
  13656. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13657. conftest$ac_exeext conftest.$ac_ext
  13658. LIBS=$ac_check_lib_save_LIBS
  13659. fi
  13660. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
  13661. printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
  13662. if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
  13663. then :
  13664. printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
  13665. fi
  13666. fi
  13667. if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
  13668. then :
  13669. case "x$with_xshm" in
  13670. x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
  13671. xno) ;;
  13672. *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
  13673. This is an error since --with-xshm was requested." "$LINENO" 5 ;;
  13674. esac
  13675. fi
  13676. if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
  13677. then
  13678. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
  13679. printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
  13680. if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
  13681. then :
  13682. printf %s "(cached) " >&6
  13683. else $as_nop
  13684. ac_check_lib_save_LIBS=$LIBS
  13685. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  13686. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13687. /* end confdefs.h. */
  13688. /* Override any GCC internal prototype to avoid an error.
  13689. Use char because int might match the return type of a GCC
  13690. builtin and then its argument prototype would still apply. */
  13691. char XShapeQueryExtension ();
  13692. int
  13693. main (void)
  13694. {
  13695. return XShapeQueryExtension ();
  13696. ;
  13697. return 0;
  13698. }
  13699. _ACEOF
  13700. if ac_fn_c_try_link "$LINENO"
  13701. then :
  13702. ac_cv_lib_Xext_XShapeQueryExtension=yes
  13703. else $as_nop
  13704. ac_cv_lib_Xext_XShapeQueryExtension=no
  13705. fi
  13706. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13707. conftest$ac_exeext conftest.$ac_ext
  13708. LIBS=$ac_check_lib_save_LIBS
  13709. fi
  13710. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  13711. printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  13712. if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
  13713. then :
  13714. printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
  13715. fi
  13716. fi
  13717. if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
  13718. then :
  13719. case "x$with_xshape" in
  13720. x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
  13721. xno) ;;
  13722. *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
  13723. This is an error since --with-xshape was requested." "$LINENO" 5 ;;
  13724. esac
  13725. fi
  13726. if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
  13727. then
  13728. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
  13729. printf %s "checking for -lXxf86vm... " >&6; }
  13730. if test ${ac_cv_lib_soname_Xxf86vm+y}
  13731. then :
  13732. printf %s "(cached) " >&6
  13733. else $as_nop
  13734. ac_check_soname_save_LIBS=$LIBS
  13735. LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
  13736. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13737. /* end confdefs.h. */
  13738. /* Override any GCC internal prototype to avoid an error.
  13739. Use char because int might match the return type of a GCC
  13740. builtin and then its argument prototype would still apply. */
  13741. char XF86VidModeQueryExtension ();
  13742. int
  13743. main (void)
  13744. {
  13745. return XF86VidModeQueryExtension ();
  13746. ;
  13747. return 0;
  13748. }
  13749. _ACEOF
  13750. if ac_fn_c_try_link "$LINENO"
  13751. then :
  13752. case "$LIBEXT" in
  13753. dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13754. 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'` ;;
  13755. *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13756. if ${ac_cv_lib_soname_Xxf86vm:+false} :
  13757. then :
  13758. ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13759. fi ;;
  13760. esac
  13761. else $as_nop
  13762. ac_cv_lib_soname_Xxf86vm=
  13763. fi
  13764. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13765. conftest$ac_exeext conftest.$ac_ext
  13766. LIBS=$ac_check_soname_save_LIBS
  13767. fi
  13768. if ${ac_cv_lib_soname_Xxf86vm:+false} :
  13769. then :
  13770. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13771. printf "%s\n" "not found" >&6; }
  13772. else $as_nop
  13773. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
  13774. printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
  13775. printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
  13776. fi
  13777. fi
  13778. if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
  13779. then :
  13780. case "x$with_xxf86vm" in
  13781. x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
  13782. xno) ;;
  13783. *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
  13784. This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
  13785. esac
  13786. fi
  13787. if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
  13788. then
  13789. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
  13790. printf %s "checking for -lXrender... " >&6; }
  13791. if test ${ac_cv_lib_soname_Xrender+y}
  13792. then :
  13793. printf %s "(cached) " >&6
  13794. else $as_nop
  13795. ac_check_soname_save_LIBS=$LIBS
  13796. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13797. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13798. /* end confdefs.h. */
  13799. /* Override any GCC internal prototype to avoid an error.
  13800. Use char because int might match the return type of a GCC
  13801. builtin and then its argument prototype would still apply. */
  13802. char XRenderQueryExtension ();
  13803. int
  13804. main (void)
  13805. {
  13806. return XRenderQueryExtension ();
  13807. ;
  13808. return 0;
  13809. }
  13810. _ACEOF
  13811. if ac_fn_c_try_link "$LINENO"
  13812. then :
  13813. case "$LIBEXT" in
  13814. dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13815. 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'` ;;
  13816. *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13817. if ${ac_cv_lib_soname_Xrender:+false} :
  13818. then :
  13819. ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13820. fi ;;
  13821. esac
  13822. else $as_nop
  13823. ac_cv_lib_soname_Xrender=
  13824. fi
  13825. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13826. conftest$ac_exeext conftest.$ac_ext
  13827. LIBS=$ac_check_soname_save_LIBS
  13828. fi
  13829. if ${ac_cv_lib_soname_Xrender:+false} :
  13830. then :
  13831. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13832. printf "%s\n" "not found" >&6; }
  13833. else $as_nop
  13834. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
  13835. printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
  13836. printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
  13837. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
  13838. printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
  13839. if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
  13840. then :
  13841. printf %s "(cached) " >&6
  13842. else $as_nop
  13843. ac_check_lib_save_LIBS=$LIBS
  13844. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13845. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13846. /* end confdefs.h. */
  13847. /* Override any GCC internal prototype to avoid an error.
  13848. Use char because int might match the return type of a GCC
  13849. builtin and then its argument prototype would still apply. */
  13850. char XRenderSetPictureTransform ();
  13851. int
  13852. main (void)
  13853. {
  13854. return XRenderSetPictureTransform ();
  13855. ;
  13856. return 0;
  13857. }
  13858. _ACEOF
  13859. if ac_fn_c_try_link "$LINENO"
  13860. then :
  13861. ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
  13862. else $as_nop
  13863. ac_cv_lib_Xrender_XRenderSetPictureTransform=no
  13864. fi
  13865. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13866. conftest$ac_exeext conftest.$ac_ext
  13867. LIBS=$ac_check_lib_save_LIBS
  13868. fi
  13869. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
  13870. printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
  13871. if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
  13872. then :
  13873. printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
  13874. fi
  13875. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
  13876. printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
  13877. if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
  13878. then :
  13879. printf %s "(cached) " >&6
  13880. else $as_nop
  13881. ac_check_lib_save_LIBS=$LIBS
  13882. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13883. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13884. /* end confdefs.h. */
  13885. /* Override any GCC internal prototype to avoid an error.
  13886. Use char because int might match the return type of a GCC
  13887. builtin and then its argument prototype would still apply. */
  13888. char XRenderCreateLinearGradient ();
  13889. int
  13890. main (void)
  13891. {
  13892. return XRenderCreateLinearGradient ();
  13893. ;
  13894. return 0;
  13895. }
  13896. _ACEOF
  13897. if ac_fn_c_try_link "$LINENO"
  13898. then :
  13899. ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
  13900. else $as_nop
  13901. ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
  13902. fi
  13903. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13904. conftest$ac_exeext conftest.$ac_ext
  13905. LIBS=$ac_check_lib_save_LIBS
  13906. fi
  13907. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
  13908. printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
  13909. if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
  13910. then :
  13911. printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
  13912. fi
  13913. fi
  13914. fi
  13915. if test "x$ac_cv_lib_soname_Xrender" = "x"
  13916. then :
  13917. case "x$with_xrender" in
  13918. x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
  13919. xno) ;;
  13920. *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
  13921. This is an error since --with-xrender was requested." "$LINENO" 5 ;;
  13922. esac
  13923. fi
  13924. if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
  13925. then
  13926. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13927. /* end confdefs.h. */
  13928. #include <X11/Xlib.h>
  13929. #include <X11/extensions/Xrandr.h>
  13930. int
  13931. main (void)
  13932. {
  13933. static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
  13934. ;
  13935. return 0;
  13936. }
  13937. _ACEOF
  13938. if ac_fn_c_try_compile "$LINENO"
  13939. then :
  13940. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
  13941. printf %s "checking for -lXrandr... " >&6; }
  13942. if test ${ac_cv_lib_soname_Xrandr+y}
  13943. then :
  13944. printf %s "(cached) " >&6
  13945. else $as_nop
  13946. ac_check_soname_save_LIBS=$LIBS
  13947. LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
  13948. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13949. /* end confdefs.h. */
  13950. /* Override any GCC internal prototype to avoid an error.
  13951. Use char because int might match the return type of a GCC
  13952. builtin and then its argument prototype would still apply. */
  13953. char XRRQueryExtension ();
  13954. int
  13955. main (void)
  13956. {
  13957. return XRRQueryExtension ();
  13958. ;
  13959. return 0;
  13960. }
  13961. _ACEOF
  13962. if ac_fn_c_try_link "$LINENO"
  13963. then :
  13964. case "$LIBEXT" in
  13965. dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13966. 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'` ;;
  13967. *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13968. if ${ac_cv_lib_soname_Xrandr:+false} :
  13969. then :
  13970. ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13971. fi ;;
  13972. esac
  13973. else $as_nop
  13974. ac_cv_lib_soname_Xrandr=
  13975. fi
  13976. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13977. conftest$ac_exeext conftest.$ac_ext
  13978. LIBS=$ac_check_soname_save_LIBS
  13979. fi
  13980. if ${ac_cv_lib_soname_Xrandr:+false} :
  13981. then :
  13982. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13983. printf "%s\n" "not found" >&6; }
  13984. else $as_nop
  13985. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
  13986. printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
  13987. printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
  13988. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13989. /* end confdefs.h. */
  13990. #include <X11/Xlib.h>
  13991. #include <X11/extensions/Xrandr.h>
  13992. int
  13993. main (void)
  13994. {
  13995. static typeof(XRRGetProviderResources) *f; if (f) return 0;
  13996. ;
  13997. return 0;
  13998. }
  13999. _ACEOF
  14000. if ac_fn_c_try_compile "$LINENO"
  14001. then :
  14002. printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
  14003. else $as_nop
  14004. as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
  14005. fi
  14006. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14007. fi
  14008. fi
  14009. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14010. fi
  14011. if test "x$ac_cv_lib_soname_Xrandr" = "x"
  14012. then :
  14013. case "x$with_xrandr" in
  14014. x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
  14015. xno) ;;
  14016. *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
  14017. This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
  14018. esac
  14019. fi
  14020. if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
  14021. then
  14022. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14023. /* end confdefs.h. */
  14024. #include <X11/Xlib.h>
  14025. #include <X11/extensions/Xfixes.h>
  14026. int
  14027. main (void)
  14028. {
  14029. static typeof(XFixesQueryVersion) * func; if (func) return 0;
  14030. ;
  14031. return 0;
  14032. }
  14033. _ACEOF
  14034. if ac_fn_c_try_compile "$LINENO"
  14035. then :
  14036. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
  14037. printf %s "checking for -lXfixes... " >&6; }
  14038. if test ${ac_cv_lib_soname_Xfixes+y}
  14039. then :
  14040. printf %s "(cached) " >&6
  14041. else $as_nop
  14042. ac_check_soname_save_LIBS=$LIBS
  14043. LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
  14044. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14045. /* end confdefs.h. */
  14046. /* Override any GCC internal prototype to avoid an error.
  14047. Use char because int might match the return type of a GCC
  14048. builtin and then its argument prototype would still apply. */
  14049. char XFixesQueryVersion ();
  14050. int
  14051. main (void)
  14052. {
  14053. return XFixesQueryVersion ();
  14054. ;
  14055. return 0;
  14056. }
  14057. _ACEOF
  14058. if ac_fn_c_try_link "$LINENO"
  14059. then :
  14060. case "$LIBEXT" in
  14061. dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14062. 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'` ;;
  14063. *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14064. if ${ac_cv_lib_soname_Xfixes:+false} :
  14065. then :
  14066. ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14067. fi ;;
  14068. esac
  14069. else $as_nop
  14070. ac_cv_lib_soname_Xfixes=
  14071. fi
  14072. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14073. conftest$ac_exeext conftest.$ac_ext
  14074. LIBS=$ac_check_soname_save_LIBS
  14075. fi
  14076. if ${ac_cv_lib_soname_Xfixes:+false} :
  14077. then :
  14078. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14079. printf "%s\n" "not found" >&6; }
  14080. else $as_nop
  14081. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
  14082. printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
  14083. printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
  14084. fi
  14085. fi
  14086. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14087. fi
  14088. if test "x$ac_cv_lib_soname_Xfixes" = "x"
  14089. then :
  14090. case "x$with_xfixes" in
  14091. x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
  14092. xno) ;;
  14093. *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
  14094. This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
  14095. esac
  14096. fi
  14097. if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
  14098. then
  14099. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14100. /* end confdefs.h. */
  14101. #include <X11/Xlib.h>
  14102. #include <X11/extensions/Xinerama.h>
  14103. int
  14104. main (void)
  14105. {
  14106. static typeof(XineramaQueryScreens) * func; if (func) return 0;
  14107. ;
  14108. return 0;
  14109. }
  14110. _ACEOF
  14111. if ac_fn_c_try_compile "$LINENO"
  14112. then :
  14113. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
  14114. printf %s "checking for -lXinerama... " >&6; }
  14115. if test ${ac_cv_lib_soname_Xinerama+y}
  14116. then :
  14117. printf %s "(cached) " >&6
  14118. else $as_nop
  14119. ac_check_soname_save_LIBS=$LIBS
  14120. LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
  14121. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14122. /* end confdefs.h. */
  14123. /* Override any GCC internal prototype to avoid an error.
  14124. Use char because int might match the return type of a GCC
  14125. builtin and then its argument prototype would still apply. */
  14126. char XineramaQueryScreens ();
  14127. int
  14128. main (void)
  14129. {
  14130. return XineramaQueryScreens ();
  14131. ;
  14132. return 0;
  14133. }
  14134. _ACEOF
  14135. if ac_fn_c_try_link "$LINENO"
  14136. then :
  14137. case "$LIBEXT" in
  14138. dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14139. 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'` ;;
  14140. *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14141. if ${ac_cv_lib_soname_Xinerama:+false} :
  14142. then :
  14143. ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14144. fi ;;
  14145. esac
  14146. else $as_nop
  14147. ac_cv_lib_soname_Xinerama=
  14148. fi
  14149. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14150. conftest$ac_exeext conftest.$ac_ext
  14151. LIBS=$ac_check_soname_save_LIBS
  14152. fi
  14153. if ${ac_cv_lib_soname_Xinerama:+false} :
  14154. then :
  14155. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14156. printf "%s\n" "not found" >&6; }
  14157. else $as_nop
  14158. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
  14159. printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
  14160. printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
  14161. fi
  14162. fi
  14163. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14164. fi
  14165. if test "x$ac_cv_lib_soname_Xinerama" = "x"
  14166. then :
  14167. case "x$with_xinerama" in
  14168. x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
  14169. xno) ;;
  14170. *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
  14171. This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
  14172. esac
  14173. fi
  14174. if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
  14175. then
  14176. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
  14177. printf %s "checking for -lXcomposite... " >&6; }
  14178. if test ${ac_cv_lib_soname_Xcomposite+y}
  14179. then :
  14180. printf %s "(cached) " >&6
  14181. else $as_nop
  14182. ac_check_soname_save_LIBS=$LIBS
  14183. LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
  14184. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14185. /* end confdefs.h. */
  14186. /* Override any GCC internal prototype to avoid an error.
  14187. Use char because int might match the return type of a GCC
  14188. builtin and then its argument prototype would still apply. */
  14189. char XCompositeRedirectWindow ();
  14190. int
  14191. main (void)
  14192. {
  14193. return XCompositeRedirectWindow ();
  14194. ;
  14195. return 0;
  14196. }
  14197. _ACEOF
  14198. if ac_fn_c_try_link "$LINENO"
  14199. then :
  14200. case "$LIBEXT" in
  14201. dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14202. 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'` ;;
  14203. *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14204. if ${ac_cv_lib_soname_Xcomposite:+false} :
  14205. then :
  14206. ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14207. fi ;;
  14208. esac
  14209. else $as_nop
  14210. ac_cv_lib_soname_Xcomposite=
  14211. fi
  14212. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14213. conftest$ac_exeext conftest.$ac_ext
  14214. LIBS=$ac_check_soname_save_LIBS
  14215. fi
  14216. if ${ac_cv_lib_soname_Xcomposite:+false} :
  14217. then :
  14218. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14219. printf "%s\n" "not found" >&6; }
  14220. else $as_nop
  14221. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
  14222. printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
  14223. printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
  14224. fi
  14225. fi
  14226. if test "x$ac_cv_lib_soname_Xcomposite" = "x"
  14227. then :
  14228. case "x$with_xcomposite" in
  14229. x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
  14230. xno) ;;
  14231. *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
  14232. This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
  14233. esac
  14234. fi
  14235. ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
  14236. #include <X11/Xlib.h>
  14237. #endif
  14238. "
  14239. if test "x$ac_cv_member_XICCallback_callback" = xyes
  14240. then :
  14241. printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
  14242. fi
  14243. ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
  14244. #include <X11/Xlib.h>
  14245. #endif
  14246. "
  14247. if test "x$ac_cv_member_XEvent_xcookie" = xyes
  14248. then :
  14249. printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
  14250. fi
  14251. opengl_msg=""
  14252. if test "x$with_opengl" != "xno"
  14253. then
  14254. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  14255. printf %s "checking for -lGL... " >&6; }
  14256. if test ${ac_cv_lib_soname_GL+y}
  14257. then :
  14258. printf %s "(cached) " >&6
  14259. else $as_nop
  14260. ac_check_soname_save_LIBS=$LIBS
  14261. LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  14262. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14263. /* end confdefs.h. */
  14264. /* Override any GCC internal prototype to avoid an error.
  14265. Use char because int might match the return type of a GCC
  14266. builtin and then its argument prototype would still apply. */
  14267. char glXCreateContext ();
  14268. int
  14269. main (void)
  14270. {
  14271. return glXCreateContext ();
  14272. ;
  14273. return 0;
  14274. }
  14275. _ACEOF
  14276. if ac_fn_c_try_link "$LINENO"
  14277. then :
  14278. case "$LIBEXT" in
  14279. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14280. 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'` ;;
  14281. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14282. if ${ac_cv_lib_soname_GL:+false} :
  14283. then :
  14284. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14285. fi ;;
  14286. esac
  14287. else $as_nop
  14288. ac_cv_lib_soname_GL=
  14289. fi
  14290. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14291. conftest$ac_exeext conftest.$ac_ext
  14292. LIBS=$ac_check_soname_save_LIBS
  14293. fi
  14294. if ${ac_cv_lib_soname_GL:+false} :
  14295. then :
  14296. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14297. printf "%s\n" "not found" >&6; }
  14298. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  14299. printf %s "checking for -lGL... " >&6; }
  14300. if test ${ac_cv_lib_soname_GL+y}
  14301. then :
  14302. printf %s "(cached) " >&6
  14303. else $as_nop
  14304. ac_check_soname_save_LIBS=$LIBS
  14305. 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"
  14306. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14307. /* end confdefs.h. */
  14308. /* Override any GCC internal prototype to avoid an error.
  14309. Use char because int might match the return type of a GCC
  14310. builtin and then its argument prototype would still apply. */
  14311. char glXCreateContext ();
  14312. int
  14313. main (void)
  14314. {
  14315. return glXCreateContext ();
  14316. ;
  14317. return 0;
  14318. }
  14319. _ACEOF
  14320. if ac_fn_c_try_link "$LINENO"
  14321. then :
  14322. case "$LIBEXT" in
  14323. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14324. 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'` ;;
  14325. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14326. if ${ac_cv_lib_soname_GL:+false} :
  14327. then :
  14328. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14329. fi ;;
  14330. esac
  14331. else $as_nop
  14332. ac_cv_lib_soname_GL=
  14333. fi
  14334. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14335. conftest$ac_exeext conftest.$ac_ext
  14336. LIBS=$ac_check_soname_save_LIBS
  14337. fi
  14338. if ${ac_cv_lib_soname_GL:+false} :
  14339. then :
  14340. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14341. printf "%s\n" "not found" >&6; }
  14342. if test -f /usr/X11R6/lib/libGL.a
  14343. then
  14344. opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
  14345. This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
  14346. else
  14347. opengl_msg="No OpenGL library found on this system."
  14348. fi
  14349. else $as_nop
  14350. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  14351. printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
  14352. printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
  14353. 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"
  14354. fi
  14355. else $as_nop
  14356. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  14357. printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
  14358. printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
  14359. OPENGL_LIBS="-lGL"
  14360. fi
  14361. if test "x$with_osmesa" != "xno"
  14362. then
  14363. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
  14364. printf %s "checking for -lOSMesa... " >&6; }
  14365. if test ${ac_cv_lib_soname_OSMesa+y}
  14366. then :
  14367. printf %s "(cached) " >&6
  14368. else $as_nop
  14369. ac_check_soname_save_LIBS=$LIBS
  14370. LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  14371. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14372. /* end confdefs.h. */
  14373. /* Override any GCC internal prototype to avoid an error.
  14374. Use char because int might match the return type of a GCC
  14375. builtin and then its argument prototype would still apply. */
  14376. char OSMesaGetProcAddress ();
  14377. int
  14378. main (void)
  14379. {
  14380. return OSMesaGetProcAddress ();
  14381. ;
  14382. return 0;
  14383. }
  14384. _ACEOF
  14385. if ac_fn_c_try_link "$LINENO"
  14386. then :
  14387. case "$LIBEXT" in
  14388. dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14389. 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'` ;;
  14390. *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14391. if ${ac_cv_lib_soname_OSMesa:+false} :
  14392. then :
  14393. ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14394. fi ;;
  14395. esac
  14396. else $as_nop
  14397. ac_cv_lib_soname_OSMesa=
  14398. fi
  14399. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14400. conftest$ac_exeext conftest.$ac_ext
  14401. LIBS=$ac_check_soname_save_LIBS
  14402. fi
  14403. if ${ac_cv_lib_soname_OSMesa:+false} :
  14404. then :
  14405. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14406. printf "%s\n" "not found" >&6; }
  14407. else $as_nop
  14408. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
  14409. printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
  14410. printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
  14411. fi
  14412. if test "x$ac_cv_lib_soname_OSMesa" = "x"
  14413. then :
  14414. case "x$with_osmesa" in
  14415. x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
  14416. xno) ;;
  14417. *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
  14418. This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
  14419. esac
  14420. fi
  14421. fi
  14422. fi
  14423. if test -n "$opengl_msg"
  14424. then :
  14425. case "x$with_opengl" in
  14426. x) as_fn_append wine_warnings "|$opengl_msg
  14427. OpenGL and Direct3D won't be supported." ;;
  14428. xno) ;;
  14429. *) as_fn_error $? "$opengl_msg
  14430. OpenGL and Direct3D won't be supported.
  14431. This is an error since --with-opengl was requested." "$LINENO" 5 ;;
  14432. esac
  14433. fi
  14434. CPPFLAGS="$ac_save_CPPFLAGS"
  14435. else
  14436. X_CFLAGS=""
  14437. X_LIBS=""
  14438. fi
  14439. if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
  14440. then
  14441. if test "x$X_LIBS" = "x"
  14442. then :
  14443. case "x$with_x" in
  14444. xno) ;;
  14445. *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
  14446. without X support, which probably isn't what you want. You will need
  14447. to install ${notice_platform}development packages of Xlib at the very least.
  14448. Use the --without-x option if you really want this." "$LINENO" 5 ;;
  14449. esac
  14450. enable_winex11_drv=${enable_winex11_drv:-no}
  14451. fi
  14452. else
  14453. if test "x$X_LIBS" = "x"
  14454. then :
  14455. case "x$with_x" in
  14456. x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
  14457. xno) ;;
  14458. *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
  14459. This is an error since --with-x was requested." "$LINENO" 5 ;;
  14460. esac
  14461. enable_winex11_drv=${enable_winex11_drv:-no}
  14462. fi
  14463. fi
  14464. if test "$ac_cv_header_CL_cl_h" = "yes"
  14465. then
  14466. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
  14467. printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
  14468. if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
  14469. then :
  14470. printf %s "(cached) " >&6
  14471. else $as_nop
  14472. ac_check_lib_save_LIBS=$LIBS
  14473. LIBS="-lOpenCL $LIBS"
  14474. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14475. /* end confdefs.h. */
  14476. /* Override any GCC internal prototype to avoid an error.
  14477. Use char because int might match the return type of a GCC
  14478. builtin and then its argument prototype would still apply. */
  14479. char clGetPlatformInfo ();
  14480. int
  14481. main (void)
  14482. {
  14483. return clGetPlatformInfo ();
  14484. ;
  14485. return 0;
  14486. }
  14487. _ACEOF
  14488. if ac_fn_c_try_link "$LINENO"
  14489. then :
  14490. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  14491. else $as_nop
  14492. ac_cv_lib_OpenCL_clGetPlatformInfo=no
  14493. fi
  14494. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14495. conftest$ac_exeext conftest.$ac_ext
  14496. LIBS=$ac_check_lib_save_LIBS
  14497. fi
  14498. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
  14499. printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
  14500. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
  14501. then :
  14502. OPENCL_LIBS="-lOpenCL"
  14503. fi
  14504. fi
  14505. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
  14506. then :
  14507. case "x$with_opencl" in
  14508. x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
  14509. xno) ;;
  14510. *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
  14511. This is an error since --with-opencl was requested." "$LINENO" 5 ;;
  14512. esac
  14513. enable_opencl=${enable_opencl:-no}
  14514. fi
  14515. if test "$ac_cv_header_pcap_pcap_h" = "yes"
  14516. then
  14517. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
  14518. printf %s "checking for pcap_create in -lpcap... " >&6; }
  14519. if test ${ac_cv_lib_pcap_pcap_create+y}
  14520. then :
  14521. printf %s "(cached) " >&6
  14522. else $as_nop
  14523. ac_check_lib_save_LIBS=$LIBS
  14524. LIBS="-lpcap $LIBS"
  14525. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14526. /* end confdefs.h. */
  14527. /* Override any GCC internal prototype to avoid an error.
  14528. Use char because int might match the return type of a GCC
  14529. builtin and then its argument prototype would still apply. */
  14530. char pcap_create ();
  14531. int
  14532. main (void)
  14533. {
  14534. return pcap_create ();
  14535. ;
  14536. return 0;
  14537. }
  14538. _ACEOF
  14539. if ac_fn_c_try_link "$LINENO"
  14540. then :
  14541. ac_cv_lib_pcap_pcap_create=yes
  14542. else $as_nop
  14543. ac_cv_lib_pcap_pcap_create=no
  14544. fi
  14545. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14546. conftest$ac_exeext conftest.$ac_ext
  14547. LIBS=$ac_check_lib_save_LIBS
  14548. fi
  14549. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
  14550. printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
  14551. if test "x$ac_cv_lib_pcap_pcap_create" = xyes
  14552. then :
  14553. PCAP_LIBS="-lpcap"
  14554. fi
  14555. fi
  14556. if test "x$ac_cv_lib_pcap_pcap_create" != xyes
  14557. then :
  14558. case "x$with_pcap" in
  14559. x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
  14560. xno) ;;
  14561. *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
  14562. This is an error since --with-pcap was requested." "$LINENO" 5 ;;
  14563. esac
  14564. enable_wpcap=${enable_wpcap:-no}
  14565. fi
  14566. if test "x$with_inotify" != "xno"
  14567. then
  14568. if ${INOTIFY_CFLAGS:+false} :
  14569. then :
  14570. if test ${PKG_CONFIG+y}
  14571. then :
  14572. INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
  14573. fi
  14574. fi
  14575. if ${INOTIFY_LIBS:+false} :
  14576. then :
  14577. if test ${PKG_CONFIG+y}
  14578. then :
  14579. INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
  14580. fi
  14581. fi
  14582. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
  14583. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
  14584. ac_save_CPPFLAGS=$CPPFLAGS
  14585. CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
  14586. ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
  14587. if test "x$ac_cv_header_sys_inotify_h" = xyes
  14588. then :
  14589. printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
  14590. fi
  14591. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
  14592. printf %s "checking for inotify_add_watch in -linotify... " >&6; }
  14593. if test ${ac_cv_lib_inotify_inotify_add_watch+y}
  14594. then :
  14595. printf %s "(cached) " >&6
  14596. else $as_nop
  14597. ac_check_lib_save_LIBS=$LIBS
  14598. LIBS="-linotify $INOTIFY_LIBS $LIBS"
  14599. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14600. /* end confdefs.h. */
  14601. /* Override any GCC internal prototype to avoid an error.
  14602. Use char because int might match the return type of a GCC
  14603. builtin and then its argument prototype would still apply. */
  14604. char inotify_add_watch ();
  14605. int
  14606. main (void)
  14607. {
  14608. return inotify_add_watch ();
  14609. ;
  14610. return 0;
  14611. }
  14612. _ACEOF
  14613. if ac_fn_c_try_link "$LINENO"
  14614. then :
  14615. ac_cv_lib_inotify_inotify_add_watch=yes
  14616. else $as_nop
  14617. ac_cv_lib_inotify_inotify_add_watch=no
  14618. fi
  14619. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14620. conftest$ac_exeext conftest.$ac_ext
  14621. LIBS=$ac_check_lib_save_LIBS
  14622. fi
  14623. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
  14624. printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
  14625. if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
  14626. then :
  14627. :
  14628. else $as_nop
  14629. INOTIFY_LIBS=""
  14630. fi
  14631. CPPFLAGS=$ac_save_CPPFLAGS
  14632. fi
  14633. if test "$ac_cv_header_sys_inotify_h" != "yes"
  14634. then :
  14635. case "x$with_inotify" in
  14636. x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
  14637. xno) ;;
  14638. *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
  14639. This is an error since --with-inotify was requested." "$LINENO" 5 ;;
  14640. esac
  14641. fi
  14642. if test "x$with_dbus" != "xno"
  14643. then
  14644. if ${DBUS_CFLAGS:+false} :
  14645. then :
  14646. if test ${PKG_CONFIG+y}
  14647. then :
  14648. DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
  14649. fi
  14650. fi
  14651. if ${DBUS_LIBS:+false} :
  14652. then :
  14653. if test ${PKG_CONFIG+y}
  14654. then :
  14655. DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
  14656. fi
  14657. fi
  14658. printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
  14659. printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
  14660. ac_save_CPPFLAGS=$CPPFLAGS
  14661. CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
  14662. ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
  14663. if test "x$ac_cv_header_dbus_dbus_h" = xyes
  14664. then :
  14665. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
  14666. printf %s "checking for -ldbus-1... " >&6; }
  14667. if test ${ac_cv_lib_soname_dbus_1+y}
  14668. then :
  14669. printf %s "(cached) " >&6
  14670. else $as_nop
  14671. ac_check_soname_save_LIBS=$LIBS
  14672. LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
  14673. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14674. /* end confdefs.h. */
  14675. /* Override any GCC internal prototype to avoid an error.
  14676. Use char because int might match the return type of a GCC
  14677. builtin and then its argument prototype would still apply. */
  14678. char dbus_connection_close ();
  14679. int
  14680. main (void)
  14681. {
  14682. return dbus_connection_close ();
  14683. ;
  14684. return 0;
  14685. }
  14686. _ACEOF
  14687. if ac_fn_c_try_link "$LINENO"
  14688. then :
  14689. case "$LIBEXT" in
  14690. dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14691. 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'` ;;
  14692. *) 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'`
  14693. if ${ac_cv_lib_soname_dbus_1:+false} :
  14694. then :
  14695. ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14696. fi ;;
  14697. esac
  14698. else $as_nop
  14699. ac_cv_lib_soname_dbus_1=
  14700. fi
  14701. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14702. conftest$ac_exeext conftest.$ac_ext
  14703. LIBS=$ac_check_soname_save_LIBS
  14704. fi
  14705. if ${ac_cv_lib_soname_dbus_1:+false} :
  14706. then :
  14707. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14708. printf "%s\n" "not found" >&6; }
  14709. DBUS_CFLAGS=""
  14710. else $as_nop
  14711. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
  14712. printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
  14713. printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
  14714. fi
  14715. else $as_nop
  14716. DBUS_CFLAGS=""
  14717. fi
  14718. CPPFLAGS=$ac_save_CPPFLAGS
  14719. fi
  14720. if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
  14721. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
  14722. then :
  14723. case "x$with_dbus" in
  14724. x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
  14725. xno) ;;
  14726. *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
  14727. This is an error since --with-dbus was requested." "$LINENO" 5 ;;
  14728. esac
  14729. fi
  14730. if test "x$with_gnutls" != "xno"
  14731. then
  14732. if ${GNUTLS_CFLAGS:+false} :
  14733. then :
  14734. if test ${PKG_CONFIG+y}
  14735. then :
  14736. GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
  14737. fi
  14738. fi
  14739. if ${GNUTLS_LIBS:+false} :
  14740. then :
  14741. if test ${PKG_CONFIG+y}
  14742. then :
  14743. GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
  14744. fi
  14745. fi
  14746. GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
  14747. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
  14748. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
  14749. ac_save_CPPFLAGS=$CPPFLAGS
  14750. CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
  14751. ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
  14752. if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
  14753. then :
  14754. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14755. /* end confdefs.h. */
  14756. #include <gnutls/gnutls.h>
  14757. #include <gnutls/crypto.h>
  14758. int
  14759. main (void)
  14760. {
  14761. static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
  14762. ;
  14763. return 0;
  14764. }
  14765. _ACEOF
  14766. if ac_fn_c_try_compile "$LINENO"
  14767. then :
  14768. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
  14769. printf %s "checking for -lgnutls... " >&6; }
  14770. if test ${ac_cv_lib_soname_gnutls+y}
  14771. then :
  14772. printf %s "(cached) " >&6
  14773. else $as_nop
  14774. ac_check_soname_save_LIBS=$LIBS
  14775. LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
  14776. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14777. /* end confdefs.h. */
  14778. /* Override any GCC internal prototype to avoid an error.
  14779. Use char because int might match the return type of a GCC
  14780. builtin and then its argument prototype would still apply. */
  14781. char gnutls_global_init ();
  14782. int
  14783. main (void)
  14784. {
  14785. return gnutls_global_init ();
  14786. ;
  14787. return 0;
  14788. }
  14789. _ACEOF
  14790. if ac_fn_c_try_link "$LINENO"
  14791. then :
  14792. case "$LIBEXT" in
  14793. dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14794. 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'` ;;
  14795. *) 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'`
  14796. if ${ac_cv_lib_soname_gnutls:+false} :
  14797. then :
  14798. 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'`
  14799. fi ;;
  14800. esac
  14801. else $as_nop
  14802. ac_cv_lib_soname_gnutls=
  14803. fi
  14804. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14805. conftest$ac_exeext conftest.$ac_ext
  14806. LIBS=$ac_check_soname_save_LIBS
  14807. fi
  14808. if ${ac_cv_lib_soname_gnutls:+false} :
  14809. then :
  14810. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14811. printf "%s\n" "not found" >&6; }
  14812. GNUTLS_CFLAGS=""
  14813. else $as_nop
  14814. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
  14815. printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
  14816. printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
  14817. fi
  14818. ac_wine_check_funcs_save_LIBS="$LIBS"
  14819. LIBS="$LIBS $GNUTLS_LIBS"
  14820. for ac_func in gnutls_cipher_init
  14821. do :
  14822. ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
  14823. if test "x$ac_cv_func_gnutls_cipher_init" = xyes
  14824. then :
  14825. printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
  14826. else $as_nop
  14827. as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
  14828. fi
  14829. done
  14830. LIBS="$ac_wine_check_funcs_save_LIBS"
  14831. fi
  14832. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14833. else $as_nop
  14834. GNUTLS_CFLAGS=""
  14835. fi
  14836. CPPFLAGS=$ac_save_CPPFLAGS
  14837. fi
  14838. if test "x$ac_cv_lib_soname_gnutls" = "x"
  14839. then :
  14840. case "x$with_gnutls" in
  14841. x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
  14842. xno) ;;
  14843. *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
  14844. This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
  14845. esac
  14846. fi
  14847. if test "x$with_sane" != "xno"
  14848. then
  14849. if ${SANE_CFLAGS:+false} :
  14850. then :
  14851. if test ${PKG_CONFIG+y}
  14852. then :
  14853. SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
  14854. fi
  14855. fi
  14856. test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
  14857. if ${SANE_LIBS:+false} :
  14858. then :
  14859. if test ${PKG_CONFIG+y}
  14860. then :
  14861. SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
  14862. fi
  14863. fi
  14864. test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
  14865. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
  14866. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
  14867. ac_save_CPPFLAGS=$CPPFLAGS
  14868. CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
  14869. ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
  14870. if test "x$ac_cv_header_sane_sane_h" = xyes
  14871. then :
  14872. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
  14873. printf %s "checking for sane_init in -lsane... " >&6; }
  14874. if test ${ac_cv_lib_sane_sane_init+y}
  14875. then :
  14876. printf %s "(cached) " >&6
  14877. else $as_nop
  14878. ac_check_lib_save_LIBS=$LIBS
  14879. LIBS="-lsane $SANE_LIBS $LIBS"
  14880. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14881. /* end confdefs.h. */
  14882. /* Override any GCC internal prototype to avoid an error.
  14883. Use char because int might match the return type of a GCC
  14884. builtin and then its argument prototype would still apply. */
  14885. char sane_init ();
  14886. int
  14887. main (void)
  14888. {
  14889. return sane_init ();
  14890. ;
  14891. return 0;
  14892. }
  14893. _ACEOF
  14894. if ac_fn_c_try_link "$LINENO"
  14895. then :
  14896. ac_cv_lib_sane_sane_init=yes
  14897. else $as_nop
  14898. ac_cv_lib_sane_sane_init=no
  14899. fi
  14900. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14901. conftest$ac_exeext conftest.$ac_ext
  14902. LIBS=$ac_check_lib_save_LIBS
  14903. fi
  14904. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
  14905. printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
  14906. if test "x$ac_cv_lib_sane_sane_init" = xyes
  14907. then :
  14908. :
  14909. fi
  14910. fi
  14911. CPPFLAGS=$ac_save_CPPFLAGS
  14912. fi
  14913. if test "$ac_cv_lib_sane_sane_init" != "yes"
  14914. then :
  14915. case "x$with_sane" in
  14916. x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
  14917. xno) ;;
  14918. *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
  14919. This is an error since --with-sane was requested." "$LINENO" 5 ;;
  14920. esac
  14921. enable_sane_ds=${enable_sane_ds:-no}
  14922. fi
  14923. if test "x$with_usb" != "xno"
  14924. then
  14925. if ${USB_CFLAGS:+false} :
  14926. then :
  14927. if test ${PKG_CONFIG+y}
  14928. then :
  14929. USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
  14930. fi
  14931. fi
  14932. if ${USB_LIBS:+false} :
  14933. then :
  14934. if test ${PKG_CONFIG+y}
  14935. then :
  14936. USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
  14937. fi
  14938. fi
  14939. USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
  14940. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
  14941. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
  14942. ac_save_CPPFLAGS=$CPPFLAGS
  14943. CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
  14944. ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
  14945. if test "x$ac_cv_header_libusb_h" = xyes
  14946. then :
  14947. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
  14948. printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
  14949. if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
  14950. then :
  14951. printf %s "(cached) " >&6
  14952. else $as_nop
  14953. ac_check_lib_save_LIBS=$LIBS
  14954. LIBS="-lusb-1.0 $USB_LIBS $LIBS"
  14955. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14956. /* end confdefs.h. */
  14957. /* Override any GCC internal prototype to avoid an error.
  14958. Use char because int might match the return type of a GCC
  14959. builtin and then its argument prototype would still apply. */
  14960. char libusb_interrupt_event_handler ();
  14961. int
  14962. main (void)
  14963. {
  14964. return libusb_interrupt_event_handler ();
  14965. ;
  14966. return 0;
  14967. }
  14968. _ACEOF
  14969. if ac_fn_c_try_link "$LINENO"
  14970. then :
  14971. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
  14972. else $as_nop
  14973. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
  14974. fi
  14975. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14976. conftest$ac_exeext conftest.$ac_ext
  14977. LIBS=$ac_check_lib_save_LIBS
  14978. fi
  14979. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
  14980. printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
  14981. if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
  14982. then :
  14983. :
  14984. else $as_nop
  14985. USB_LIBS=""
  14986. fi
  14987. else $as_nop
  14988. USB_LIBS=""
  14989. fi
  14990. CPPFLAGS=$ac_save_CPPFLAGS
  14991. fi
  14992. if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
  14993. then :
  14994. case "x$with_usb" in
  14995. x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
  14996. xno) ;;
  14997. *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
  14998. This is an error since --with-usb was requested." "$LINENO" 5 ;;
  14999. esac
  15000. enable_wineusb_sys=${enable_wineusb_sys:-no}
  15001. fi
  15002. if test "x$with_v4l2" != "xno"
  15003. then
  15004. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
  15005. printf %s "checking for -lv4l2... " >&6; }
  15006. if test ${ac_cv_lib_soname_v4l2+y}
  15007. then :
  15008. printf %s "(cached) " >&6
  15009. else $as_nop
  15010. ac_check_soname_save_LIBS=$LIBS
  15011. LIBS="-lv4l2 $LIBS"
  15012. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15013. /* end confdefs.h. */
  15014. /* Override any GCC internal prototype to avoid an error.
  15015. Use char because int might match the return type of a GCC
  15016. builtin and then its argument prototype would still apply. */
  15017. char v4l2_open ();
  15018. int
  15019. main (void)
  15020. {
  15021. return v4l2_open ();
  15022. ;
  15023. return 0;
  15024. }
  15025. _ACEOF
  15026. if ac_fn_c_try_link "$LINENO"
  15027. then :
  15028. case "$LIBEXT" in
  15029. dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15030. 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'` ;;
  15031. *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15032. if ${ac_cv_lib_soname_v4l2:+false} :
  15033. then :
  15034. ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15035. fi ;;
  15036. esac
  15037. else $as_nop
  15038. ac_cv_lib_soname_v4l2=
  15039. fi
  15040. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15041. conftest$ac_exeext conftest.$ac_ext
  15042. LIBS=$ac_check_soname_save_LIBS
  15043. fi
  15044. if ${ac_cv_lib_soname_v4l2:+false} :
  15045. then :
  15046. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15047. printf "%s\n" "not found" >&6; }
  15048. else $as_nop
  15049. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
  15050. printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
  15051. printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
  15052. fi
  15053. fi
  15054. if test "x$ac_cv_lib_soname_v4l2" = "x"
  15055. then :
  15056. case "x$with_v4l2" in
  15057. x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
  15058. xno) ;;
  15059. *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
  15060. This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
  15061. esac
  15062. fi
  15063. if test "x$with_gphoto" != "xno"
  15064. then
  15065. if ${GPHOTO2_CFLAGS:+false} :
  15066. then :
  15067. if test ${PKG_CONFIG+y}
  15068. then :
  15069. GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
  15070. fi
  15071. fi
  15072. test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
  15073. if ${GPHOTO2_LIBS:+false} :
  15074. then :
  15075. if test ${PKG_CONFIG+y}
  15076. then :
  15077. GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
  15078. fi
  15079. fi
  15080. test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
  15081. GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
  15082. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
  15083. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
  15084. ac_save_CPPFLAGS=$CPPFLAGS
  15085. CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
  15086. ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
  15087. if test "x$ac_cv_header_gphoto2_camera_h" = xyes
  15088. then :
  15089. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
  15090. printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
  15091. if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
  15092. then :
  15093. printf %s "(cached) " >&6
  15094. else $as_nop
  15095. ac_check_lib_save_LIBS=$LIBS
  15096. LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
  15097. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15098. /* end confdefs.h. */
  15099. /* Override any GCC internal prototype to avoid an error.
  15100. Use char because int might match the return type of a GCC
  15101. builtin and then its argument prototype would still apply. */
  15102. char gp_camera_new ();
  15103. int
  15104. main (void)
  15105. {
  15106. return gp_camera_new ();
  15107. ;
  15108. return 0;
  15109. }
  15110. _ACEOF
  15111. if ac_fn_c_try_link "$LINENO"
  15112. then :
  15113. ac_cv_lib_gphoto2_gp_camera_new=yes
  15114. else $as_nop
  15115. ac_cv_lib_gphoto2_gp_camera_new=no
  15116. fi
  15117. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15118. conftest$ac_exeext conftest.$ac_ext
  15119. LIBS=$ac_check_lib_save_LIBS
  15120. fi
  15121. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
  15122. printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
  15123. if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
  15124. then :
  15125. :
  15126. fi
  15127. fi
  15128. CPPFLAGS=$ac_save_CPPFLAGS
  15129. if ${GPHOTO2_PORT_CFLAGS:+false} :
  15130. then :
  15131. if test ${PKG_CONFIG+y}
  15132. then :
  15133. GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
  15134. fi
  15135. fi
  15136. test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
  15137. if ${GPHOTO2_PORT_LIBS:+false} :
  15138. then :
  15139. if test ${PKG_CONFIG+y}
  15140. then :
  15141. GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
  15142. fi
  15143. fi
  15144. test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
  15145. GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
  15146. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
  15147. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
  15148. ac_save_CPPFLAGS=$CPPFLAGS
  15149. CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
  15150. ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
  15151. if test "x$ac_cv_header_gphoto2_port_h" = xyes
  15152. then :
  15153. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
  15154. printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
  15155. if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
  15156. then :
  15157. printf %s "(cached) " >&6
  15158. else $as_nop
  15159. ac_check_lib_save_LIBS=$LIBS
  15160. LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
  15161. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15162. /* end confdefs.h. */
  15163. /* Override any GCC internal prototype to avoid an error.
  15164. Use char because int might match the return type of a GCC
  15165. builtin and then its argument prototype would still apply. */
  15166. char gp_port_info_list_new ();
  15167. int
  15168. main (void)
  15169. {
  15170. return gp_port_info_list_new ();
  15171. ;
  15172. return 0;
  15173. }
  15174. _ACEOF
  15175. if ac_fn_c_try_link "$LINENO"
  15176. then :
  15177. ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
  15178. else $as_nop
  15179. ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
  15180. fi
  15181. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15182. conftest$ac_exeext conftest.$ac_ext
  15183. LIBS=$ac_check_lib_save_LIBS
  15184. fi
  15185. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
  15186. printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
  15187. if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
  15188. then :
  15189. printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
  15190. else $as_nop
  15191. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  15192. fi
  15193. else $as_nop
  15194. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  15195. fi
  15196. CPPFLAGS=$ac_save_CPPFLAGS
  15197. fi
  15198. if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
  15199. then :
  15200. case "x$with_gphoto" in
  15201. x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
  15202. xno) ;;
  15203. *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
  15204. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  15205. esac
  15206. enable_gphoto2_ds=${enable_gphoto2_ds:-no}
  15207. fi
  15208. if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
  15209. then :
  15210. case "x$with_gphoto" in
  15211. x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
  15212. xno) ;;
  15213. *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
  15214. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  15215. esac
  15216. fi
  15217. if test "$ac_cv_header_resolv_h" = "yes"
  15218. then
  15219. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
  15220. printf %s "checking for resolver library... " >&6; }
  15221. if test ${ac_cv_have_resolv+y}
  15222. then :
  15223. printf %s "(cached) " >&6
  15224. else $as_nop
  15225. ac_save_LIBS="$LIBS"
  15226. for lib in '' -lresolv
  15227. do
  15228. LIBS="$lib $ac_save_LIBS"
  15229. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15230. /* end confdefs.h. */
  15231. #ifdef HAVE_NETINET_IN_H
  15232. #include <netinet/in.h>
  15233. #endif
  15234. #include <resolv.h>
  15235. int
  15236. main (void)
  15237. {
  15238. if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
  15239. ;
  15240. return 0;
  15241. }
  15242. _ACEOF
  15243. if ac_fn_c_try_link "$LINENO"
  15244. then :
  15245. ac_cv_have_resolv=${lib:-"none required"}
  15246. else $as_nop
  15247. ac_cv_have_resolv="not found"
  15248. fi
  15249. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15250. conftest$ac_exeext conftest.$ac_ext
  15251. test "x$ac_cv_have_resolv" = "xnot found" || break
  15252. done
  15253. LIBS="$ac_save_LIBS"
  15254. fi
  15255. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
  15256. printf "%s\n" "$ac_cv_have_resolv" >&6; }
  15257. case "$ac_cv_have_resolv" in
  15258. "not found") ;;
  15259. "none required")
  15260. printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
  15261. ;;
  15262. *)
  15263. printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
  15264. RESOLV_LIBS=$ac_cv_have_resolv
  15265. ;;
  15266. esac
  15267. if test "x$ac_cv_have_resolv" != "xnot found"
  15268. then
  15269. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
  15270. printf %s "checking for res_getservers... " >&6; }
  15271. if test ${ac_cv_have_res_getservers+y}
  15272. then :
  15273. printf %s "(cached) " >&6
  15274. else $as_nop
  15275. ac_save_LIBS="$LIBS"
  15276. LIBS="$RESOLV_LIBS $LIBS"
  15277. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15278. /* end confdefs.h. */
  15279. #include <resolv.h>
  15280. int
  15281. main (void)
  15282. {
  15283. res_getservers(NULL, NULL, 0);
  15284. ;
  15285. return 0;
  15286. }
  15287. _ACEOF
  15288. if ac_fn_c_try_link "$LINENO"
  15289. then :
  15290. ac_cv_have_res_getservers=yes
  15291. else $as_nop
  15292. ac_cv_have_res_getservers=no
  15293. fi
  15294. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15295. conftest$ac_exeext conftest.$ac_ext
  15296. LIBS="$ac_save_LIBS"
  15297. fi
  15298. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
  15299. printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
  15300. if test "$ac_cv_have_res_getservers" = "yes"
  15301. then
  15302. printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
  15303. fi
  15304. fi
  15305. fi
  15306. if test "x$with_freetype" != "xno"
  15307. then
  15308. if ${FREETYPE_CFLAGS:+false} :
  15309. then :
  15310. if test ${PKG_CONFIG+y}
  15311. then :
  15312. FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
  15313. fi
  15314. fi
  15315. test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
  15316. if ${FREETYPE_LIBS:+false} :
  15317. then :
  15318. if test ${PKG_CONFIG+y}
  15319. then :
  15320. FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
  15321. fi
  15322. fi
  15323. test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
  15324. FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
  15325. printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
  15326. printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
  15327. ac_save_CPPFLAGS=$CPPFLAGS
  15328. CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
  15329. ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
  15330. if test "x$ac_cv_header_ft2build_h" = xyes
  15331. then :
  15332. printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
  15333. fi
  15334. if test "$ac_cv_header_ft2build_h" = "yes"
  15335. then
  15336. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
  15337. printf %s "checking for -lfreetype... " >&6; }
  15338. if test ${ac_cv_lib_soname_freetype+y}
  15339. then :
  15340. printf %s "(cached) " >&6
  15341. else $as_nop
  15342. ac_check_soname_save_LIBS=$LIBS
  15343. LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
  15344. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15345. /* end confdefs.h. */
  15346. /* Override any GCC internal prototype to avoid an error.
  15347. Use char because int might match the return type of a GCC
  15348. builtin and then its argument prototype would still apply. */
  15349. char FT_Init_FreeType ();
  15350. int
  15351. main (void)
  15352. {
  15353. return FT_Init_FreeType ();
  15354. ;
  15355. return 0;
  15356. }
  15357. _ACEOF
  15358. if ac_fn_c_try_link "$LINENO"
  15359. then :
  15360. case "$LIBEXT" in
  15361. dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15362. 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'` ;;
  15363. *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15364. if ${ac_cv_lib_soname_freetype:+false} :
  15365. then :
  15366. ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15367. fi ;;
  15368. esac
  15369. else $as_nop
  15370. ac_cv_lib_soname_freetype=
  15371. fi
  15372. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15373. conftest$ac_exeext conftest.$ac_ext
  15374. LIBS=$ac_check_soname_save_LIBS
  15375. fi
  15376. if ${ac_cv_lib_soname_freetype:+false} :
  15377. then :
  15378. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15379. printf "%s\n" "not found" >&6; }
  15380. FREETYPE_LIBS=""
  15381. else $as_nop
  15382. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
  15383. printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
  15384. printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
  15385. printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
  15386. ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
  15387. #include FT_MODULE_H
  15388. "
  15389. if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
  15390. then :
  15391. printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
  15392. fi
  15393. fi
  15394. else
  15395. FREETYPE_CFLAGS=""
  15396. FREETYPE_LIBS=""
  15397. fi
  15398. CPPFLAGS=$ac_save_CPPFLAGS
  15399. fi
  15400. if test "x$ac_cv_lib_soname_freetype" = x
  15401. then :
  15402. case "x$with_freetype" in
  15403. xno) ;;
  15404. *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
  15405. Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
  15406. esac
  15407. enable_fonts=${enable_fonts:-no}
  15408. fi
  15409. ac_wine_check_funcs_save_LIBS="$LIBS"
  15410. LIBS="$LIBS $PTHREAD_LIBS"
  15411. ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
  15412. if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
  15413. then :
  15414. printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
  15415. fi
  15416. LIBS="$ac_wine_check_funcs_save_LIBS"
  15417. if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
  15418. then
  15419. if test "$ac_cv_header_gettext_po_h" = "yes"
  15420. then
  15421. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
  15422. printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
  15423. if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
  15424. then :
  15425. printf %s "(cached) " >&6
  15426. else $as_nop
  15427. ac_check_lib_save_LIBS=$LIBS
  15428. LIBS="-lgettextpo $LIBS"
  15429. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15430. /* end confdefs.h. */
  15431. /* Override any GCC internal prototype to avoid an error.
  15432. Use char because int might match the return type of a GCC
  15433. builtin and then its argument prototype would still apply. */
  15434. char po_message_msgctxt ();
  15435. int
  15436. main (void)
  15437. {
  15438. return po_message_msgctxt ();
  15439. ;
  15440. return 0;
  15441. }
  15442. _ACEOF
  15443. if ac_fn_c_try_link "$LINENO"
  15444. then :
  15445. ac_cv_lib_gettextpo_po_message_msgctxt=yes
  15446. else $as_nop
  15447. ac_cv_lib_gettextpo_po_message_msgctxt=no
  15448. fi
  15449. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15450. conftest$ac_exeext conftest.$ac_ext
  15451. LIBS=$ac_check_lib_save_LIBS
  15452. fi
  15453. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
  15454. printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
  15455. if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
  15456. then :
  15457. printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
  15458. GETTEXTPO_LIBS="-lgettextpo"
  15459. fi
  15460. fi
  15461. if test "x$GETTEXTPO_LIBS" = "x"
  15462. then :
  15463. case "x$with_gettextpo" in
  15464. x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
  15465. xno) ;;
  15466. *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
  15467. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  15468. esac
  15469. fi
  15470. if test "$srcdir" != .
  15471. then :
  15472. case "x$with_gettextpo" in
  15473. x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
  15474. xno) ;;
  15475. *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
  15476. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  15477. esac
  15478. fi
  15479. fi
  15480. if test "x$with_pulse" != "xno";
  15481. then
  15482. if ${PULSE_CFLAGS:+false} :
  15483. then :
  15484. if test ${PKG_CONFIG+y}
  15485. then :
  15486. PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
  15487. fi
  15488. fi
  15489. if ${PULSE_LIBS:+false} :
  15490. then :
  15491. if test ${PKG_CONFIG+y}
  15492. then :
  15493. PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
  15494. fi
  15495. fi
  15496. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
  15497. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
  15498. ac_save_CPPFLAGS=$CPPFLAGS
  15499. CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
  15500. for ac_header in pulse/pulseaudio.h
  15501. do :
  15502. ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
  15503. if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
  15504. then :
  15505. printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
  15506. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
  15507. printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
  15508. if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
  15509. then :
  15510. printf %s "(cached) " >&6
  15511. else $as_nop
  15512. ac_check_lib_save_LIBS=$LIBS
  15513. LIBS="-lpulse $PULSE_LIBS $LIBS"
  15514. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15515. /* end confdefs.h. */
  15516. /* Override any GCC internal prototype to avoid an error.
  15517. Use char because int might match the return type of a GCC
  15518. builtin and then its argument prototype would still apply. */
  15519. char pa_stream_is_corked ();
  15520. int
  15521. main (void)
  15522. {
  15523. return pa_stream_is_corked ();
  15524. ;
  15525. return 0;
  15526. }
  15527. _ACEOF
  15528. if ac_fn_c_try_link "$LINENO"
  15529. then :
  15530. ac_cv_lib_pulse_pa_stream_is_corked=yes
  15531. else $as_nop
  15532. ac_cv_lib_pulse_pa_stream_is_corked=no
  15533. fi
  15534. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15535. conftest$ac_exeext conftest.$ac_ext
  15536. LIBS=$ac_check_lib_save_LIBS
  15537. fi
  15538. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
  15539. printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
  15540. if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
  15541. then :
  15542. :
  15543. else $as_nop
  15544. PULSE_LIBS=""
  15545. fi
  15546. else $as_nop
  15547. PULSE_LIBS=""
  15548. fi
  15549. done
  15550. CPPFLAGS=$ac_save_CPPFLAGS
  15551. fi
  15552. if test -z "$PULSE_LIBS"
  15553. then :
  15554. case "x$with_pulse" in
  15555. x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
  15556. xno) ;;
  15557. *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
  15558. This is an error since --with-pulse was requested." "$LINENO" 5 ;;
  15559. esac
  15560. enable_winepulse_drv=${enable_winepulse_drv:-no}
  15561. fi
  15562. if test "x$with_gstreamer" != "xno"
  15563. then
  15564. if ${GSTREAMER_CFLAGS:+false} :
  15565. then :
  15566. if test ${PKG_CONFIG+y}
  15567. then :
  15568. GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  15569. fi
  15570. fi
  15571. if ${GSTREAMER_LIBS:+false} :
  15572. then :
  15573. if test ${PKG_CONFIG+y}
  15574. then :
  15575. GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  15576. fi
  15577. fi
  15578. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
  15579. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
  15580. ac_save_CPPFLAGS=$CPPFLAGS
  15581. CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
  15582. ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
  15583. if test "x$ac_cv_header_gst_gst_h" = xyes
  15584. then :
  15585. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
  15586. printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
  15587. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15588. /* end confdefs.h. */
  15589. #include <gst/gst.h>
  15590. int
  15591. main (void)
  15592. {
  15593. static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
  15594. ;
  15595. return 0;
  15596. }
  15597. _ACEOF
  15598. if ac_fn_c_try_compile "$LINENO"
  15599. then :
  15600. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15601. printf "%s\n" "yes" >&6; }
  15602. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
  15603. printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
  15604. if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
  15605. then :
  15606. printf %s "(cached) " >&6
  15607. else $as_nop
  15608. ac_check_lib_save_LIBS=$LIBS
  15609. LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
  15610. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15611. /* end confdefs.h. */
  15612. /* Override any GCC internal prototype to avoid an error.
  15613. Use char because int might match the return type of a GCC
  15614. builtin and then its argument prototype would still apply. */
  15615. char gst_pad_new ();
  15616. int
  15617. main (void)
  15618. {
  15619. return gst_pad_new ();
  15620. ;
  15621. return 0;
  15622. }
  15623. _ACEOF
  15624. if ac_fn_c_try_link "$LINENO"
  15625. then :
  15626. ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
  15627. else $as_nop
  15628. ac_cv_lib_gstreamer_1_0_gst_pad_new=no
  15629. fi
  15630. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15631. conftest$ac_exeext conftest.$ac_ext
  15632. LIBS=$ac_check_lib_save_LIBS
  15633. fi
  15634. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
  15635. printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
  15636. if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
  15637. then :
  15638. :
  15639. fi
  15640. else $as_nop
  15641. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15642. printf "%s\n" "no" >&6; }
  15643. ac_glib2_broken=yes
  15644. as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
  15645. fi
  15646. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  15647. fi
  15648. CPPFLAGS=$ac_save_CPPFLAGS
  15649. fi
  15650. if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
  15651. then :
  15652. case "x$with_gstreamer" in
  15653. x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
  15654. xno) ;;
  15655. *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
  15656. This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
  15657. esac
  15658. enable_winegstreamer=${enable_winegstreamer:-no}
  15659. fi
  15660. ALSA_LIBS=""
  15661. if test "x$with_alsa" != "xno"
  15662. then
  15663. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
  15664. printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
  15665. if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
  15666. then :
  15667. printf %s "(cached) " >&6
  15668. else $as_nop
  15669. ac_check_lib_save_LIBS=$LIBS
  15670. LIBS="-lasound $LIBS"
  15671. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15672. /* end confdefs.h. */
  15673. /* Override any GCC internal prototype to avoid an error.
  15674. Use char because int might match the return type of a GCC
  15675. builtin and then its argument prototype would still apply. */
  15676. char snd_pcm_hw_params_get_access_mask ();
  15677. int
  15678. main (void)
  15679. {
  15680. return snd_pcm_hw_params_get_access_mask ();
  15681. ;
  15682. return 0;
  15683. }
  15684. _ACEOF
  15685. if ac_fn_c_try_link "$LINENO"
  15686. then :
  15687. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
  15688. else $as_nop
  15689. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
  15690. fi
  15691. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15692. conftest$ac_exeext conftest.$ac_ext
  15693. LIBS=$ac_check_lib_save_LIBS
  15694. fi
  15695. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
  15696. printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
  15697. if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
  15698. then :
  15699. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15700. /* end confdefs.h. */
  15701. #include <alsa/asoundlib.h>
  15702. int
  15703. main (void)
  15704. {
  15705. snd_pcm_hw_params_get_access_mask(NULL, NULL)
  15706. ;
  15707. return 0;
  15708. }
  15709. _ACEOF
  15710. if ac_fn_c_try_compile "$LINENO"
  15711. then :
  15712. ALSA_LIBS="-lasound"
  15713. fi
  15714. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  15715. fi
  15716. fi
  15717. test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
  15718. if test "x$with_oss" != xno
  15719. then
  15720. ac_save_CPPFLAGS="$CPPFLAGS"
  15721. if test -f /etc/oss.conf
  15722. then
  15723. . /etc/oss.conf
  15724. fi
  15725. ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
  15726. CPPFLAGS="$CPPFLAGS $ac_oss_incl"
  15727. ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
  15728. if test "x$ac_cv_header_sys_soundcard_h" = xyes
  15729. then :
  15730. ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
  15731. "
  15732. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
  15733. then :
  15734. printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
  15735. OSS4_CFLAGS="$ac_oss_incl"
  15736. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
  15737. printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
  15738. if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
  15739. then :
  15740. printf %s "(cached) " >&6
  15741. else $as_nop
  15742. ac_check_lib_save_LIBS=$LIBS
  15743. LIBS="-lossaudio $LIBS"
  15744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15745. /* end confdefs.h. */
  15746. /* Override any GCC internal prototype to avoid an error.
  15747. Use char because int might match the return type of a GCC
  15748. builtin and then its argument prototype would still apply. */
  15749. char _oss_ioctl ();
  15750. int
  15751. main (void)
  15752. {
  15753. return _oss_ioctl ();
  15754. ;
  15755. return 0;
  15756. }
  15757. _ACEOF
  15758. if ac_fn_c_try_link "$LINENO"
  15759. then :
  15760. ac_cv_lib_ossaudio__oss_ioctl=yes
  15761. else $as_nop
  15762. ac_cv_lib_ossaudio__oss_ioctl=no
  15763. fi
  15764. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15765. conftest$ac_exeext conftest.$ac_ext
  15766. LIBS=$ac_check_lib_save_LIBS
  15767. fi
  15768. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  15769. printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
  15770. if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
  15771. then :
  15772. OSS4_LIBS="-lossaudio"
  15773. fi
  15774. fi
  15775. fi
  15776. CPPFLAGS="$ac_save_CPPFLAGS"
  15777. fi
  15778. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
  15779. then :
  15780. case "x$with_oss" in
  15781. x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
  15782. xno) ;;
  15783. *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
  15784. This is an error since --with-oss was requested." "$LINENO" 5 ;;
  15785. esac
  15786. enable_wineoss_drv=${enable_wineoss_drv:-no}
  15787. fi
  15788. if test "x$with_udev" != "xno"
  15789. then
  15790. if ${UDEV_CFLAGS:+false} :
  15791. then :
  15792. if test ${PKG_CONFIG+y}
  15793. then :
  15794. UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
  15795. fi
  15796. fi
  15797. if ${UDEV_LIBS:+false} :
  15798. then :
  15799. if test ${PKG_CONFIG+y}
  15800. then :
  15801. UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
  15802. fi
  15803. fi
  15804. UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
  15805. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
  15806. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
  15807. ac_save_CPPFLAGS=$CPPFLAGS
  15808. CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
  15809. for ac_header in libudev.h
  15810. do :
  15811. ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
  15812. if test "x$ac_cv_header_libudev_h" = xyes
  15813. then :
  15814. printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
  15815. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
  15816. printf %s "checking for udev_new in -ludev... " >&6; }
  15817. if test ${ac_cv_lib_udev_udev_new+y}
  15818. then :
  15819. printf %s "(cached) " >&6
  15820. else $as_nop
  15821. ac_check_lib_save_LIBS=$LIBS
  15822. LIBS="-ludev $UDEV_LIBS $LIBS"
  15823. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15824. /* end confdefs.h. */
  15825. /* Override any GCC internal prototype to avoid an error.
  15826. Use char because int might match the return type of a GCC
  15827. builtin and then its argument prototype would still apply. */
  15828. char udev_new ();
  15829. int
  15830. main (void)
  15831. {
  15832. return udev_new ();
  15833. ;
  15834. return 0;
  15835. }
  15836. _ACEOF
  15837. if ac_fn_c_try_link "$LINENO"
  15838. then :
  15839. ac_cv_lib_udev_udev_new=yes
  15840. else $as_nop
  15841. ac_cv_lib_udev_udev_new=no
  15842. fi
  15843. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15844. conftest$ac_exeext conftest.$ac_ext
  15845. LIBS=$ac_check_lib_save_LIBS
  15846. fi
  15847. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
  15848. printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
  15849. if test "x$ac_cv_lib_udev_udev_new" = xyes
  15850. then :
  15851. printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
  15852. else $as_nop
  15853. UDEV_LIBS=""
  15854. fi
  15855. else $as_nop
  15856. UDEV_LIBS=""
  15857. fi
  15858. done
  15859. CPPFLAGS=$ac_save_CPPFLAGS
  15860. fi
  15861. if test "x$UDEV_LIBS" = "x"
  15862. then :
  15863. case "x$with_udev" in
  15864. x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
  15865. xno) ;;
  15866. *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
  15867. This is an error since --with-udev was requested." "$LINENO" 5 ;;
  15868. esac
  15869. fi
  15870. if test "x$with_unwind" != xno
  15871. then
  15872. if ${UNWIND_CFLAGS:+false} :
  15873. then :
  15874. if test ${PKG_CONFIG+y}
  15875. then :
  15876. UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
  15877. fi
  15878. fi
  15879. if ${UNWIND_LIBS:+false} :
  15880. then :
  15881. if test ${PKG_CONFIG+y}
  15882. then :
  15883. UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
  15884. fi
  15885. fi
  15886. UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
  15887. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
  15888. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
  15889. ac_save_CPPFLAGS=$CPPFLAGS
  15890. CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
  15891. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
  15892. printf %s "checking for unw_step... " >&6; }
  15893. if test ${wine_cv_have_unw_step+y}
  15894. then :
  15895. printf %s "(cached) " >&6
  15896. else $as_nop
  15897. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15898. /* end confdefs.h. */
  15899. #define UNW_LOCAL_ONLY
  15900. #include <libunwind.h>
  15901. int
  15902. main (void)
  15903. {
  15904. unw_cursor_t cursor; unw_step( &cursor );
  15905. ;
  15906. return 0;
  15907. }
  15908. _ACEOF
  15909. if ac_fn_c_try_link "$LINENO"
  15910. then :
  15911. wine_cv_have_unw_step="yes"
  15912. else $as_nop
  15913. wine_cv_have_unw_step="no"
  15914. fi
  15915. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15916. conftest$ac_exeext conftest.$ac_ext
  15917. fi
  15918. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
  15919. printf "%s\n" "$wine_cv_have_unw_step" >&6; }
  15920. if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
  15921. then
  15922. save_libs=$LIBS
  15923. UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
  15924. LIBS="$UNWIND_LIBS $LIBS"
  15925. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
  15926. printf %s "checking for unw_step in libunwind... " >&6; }
  15927. if test ${wine_cv_have_libunwind_unw_step+y}
  15928. then :
  15929. printf %s "(cached) " >&6
  15930. else $as_nop
  15931. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15932. /* end confdefs.h. */
  15933. #define UNW_LOCAL_ONLY
  15934. #include <libunwind.h>
  15935. int
  15936. main (void)
  15937. {
  15938. unw_cursor_t cursor; unw_step( &cursor );
  15939. ;
  15940. return 0;
  15941. }
  15942. _ACEOF
  15943. if ac_fn_c_try_link "$LINENO"
  15944. then :
  15945. wine_cv_have_libunwind_unw_step="yes"
  15946. else $as_nop
  15947. wine_cv_have_libunwind_unw_step="no"
  15948. fi
  15949. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15950. conftest$ac_exeext conftest.$ac_ext
  15951. fi
  15952. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
  15953. printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
  15954. LIBS=$save_libs
  15955. fi
  15956. test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
  15957. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
  15958. then
  15959. printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
  15960. fi
  15961. CPPFLAGS=$ac_save_CPPFLAGS
  15962. fi
  15963. case $host in
  15964. aarch64*|*-darwin*)
  15965. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
  15966. then :
  15967. case "x$with_unwind" in
  15968. x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
  15969. xno) ;;
  15970. *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
  15971. This is an error since --with-unwind was requested." "$LINENO" 5 ;;
  15972. esac
  15973. fi ;;
  15974. esac
  15975. if test "x$with_sdl" != "xno"
  15976. then
  15977. if ${SDL2_CFLAGS:+false} :
  15978. then :
  15979. if test ${PKG_CONFIG+y}
  15980. then :
  15981. SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
  15982. fi
  15983. fi
  15984. if ${SDL2_LIBS:+false} :
  15985. then :
  15986. if test ${PKG_CONFIG+y}
  15987. then :
  15988. SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
  15989. fi
  15990. fi
  15991. SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
  15992. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
  15993. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
  15994. ac_save_CPPFLAGS=$CPPFLAGS
  15995. CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
  15996. for ac_header in SDL.h
  15997. do :
  15998. ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
  15999. if test "x$ac_cv_header_SDL_h" = xyes
  16000. then :
  16001. printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
  16002. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
  16003. printf %s "checking for -lSDL2... " >&6; }
  16004. if test ${ac_cv_lib_soname_SDL2+y}
  16005. then :
  16006. printf %s "(cached) " >&6
  16007. else $as_nop
  16008. ac_check_soname_save_LIBS=$LIBS
  16009. LIBS="-lSDL2 $SDL2_LIBS $LIBS"
  16010. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16011. /* end confdefs.h. */
  16012. /* Override any GCC internal prototype to avoid an error.
  16013. Use char because int might match the return type of a GCC
  16014. builtin and then its argument prototype would still apply. */
  16015. char SDL_Init ();
  16016. int
  16017. main (void)
  16018. {
  16019. return SDL_Init ();
  16020. ;
  16021. return 0;
  16022. }
  16023. _ACEOF
  16024. if ac_fn_c_try_link "$LINENO"
  16025. then :
  16026. case "$LIBEXT" in
  16027. dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16028. 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'` ;;
  16029. *) 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'`
  16030. if ${ac_cv_lib_soname_SDL2:+false} :
  16031. then :
  16032. ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16033. fi ;;
  16034. esac
  16035. else $as_nop
  16036. ac_cv_lib_soname_SDL2=
  16037. fi
  16038. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16039. conftest$ac_exeext conftest.$ac_ext
  16040. LIBS=$ac_check_soname_save_LIBS
  16041. fi
  16042. if ${ac_cv_lib_soname_SDL2:+false} :
  16043. then :
  16044. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16045. printf "%s\n" "not found" >&6; }
  16046. else $as_nop
  16047. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
  16048. printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
  16049. printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
  16050. fi
  16051. fi
  16052. done
  16053. CPPFLAGS=$ac_save_CPPFLAGS
  16054. fi
  16055. if test "x$ac_cv_lib_soname_SDL2" = "x"
  16056. then :
  16057. case "x$with_sdl" in
  16058. x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
  16059. xno) ;;
  16060. *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
  16061. This is an error since --with-sdl was requested." "$LINENO" 5 ;;
  16062. esac
  16063. fi
  16064. if test "x$with_capi" != "xno"
  16065. then
  16066. if ${CAPI20_CFLAGS:+false} :
  16067. then :
  16068. if test ${PKG_CONFIG+y}
  16069. then :
  16070. CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
  16071. fi
  16072. fi
  16073. if ${CAPI20_LIBS:+false} :
  16074. then :
  16075. if test ${PKG_CONFIG+y}
  16076. then :
  16077. CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
  16078. fi
  16079. fi
  16080. printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
  16081. printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
  16082. ac_save_CPPFLAGS=$CPPFLAGS
  16083. CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
  16084. ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
  16085. "
  16086. if test "x$ac_cv_header_capi20_h" = xyes
  16087. then :
  16088. printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
  16089. fi
  16090. ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
  16091. "
  16092. if test "x$ac_cv_header_linux_capi_h" = xyes
  16093. then :
  16094. printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
  16095. fi
  16096. if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
  16097. then
  16098. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
  16099. printf %s "checking for capi20_register in -lcapi20... " >&6; }
  16100. if test ${ac_cv_lib_capi20_capi20_register+y}
  16101. then :
  16102. printf %s "(cached) " >&6
  16103. else $as_nop
  16104. ac_check_lib_save_LIBS=$LIBS
  16105. LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
  16106. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16107. /* end confdefs.h. */
  16108. /* Override any GCC internal prototype to avoid an error.
  16109. Use char because int might match the return type of a GCC
  16110. builtin and then its argument prototype would still apply. */
  16111. char capi20_register ();
  16112. int
  16113. main (void)
  16114. {
  16115. return capi20_register ();
  16116. ;
  16117. return 0;
  16118. }
  16119. _ACEOF
  16120. if ac_fn_c_try_link "$LINENO"
  16121. then :
  16122. ac_cv_lib_capi20_capi20_register=yes
  16123. else $as_nop
  16124. ac_cv_lib_capi20_capi20_register=no
  16125. fi
  16126. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16127. conftest$ac_exeext conftest.$ac_ext
  16128. LIBS=$ac_check_lib_save_LIBS
  16129. fi
  16130. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
  16131. printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
  16132. if test "x$ac_cv_lib_capi20_capi20_register" = xyes
  16133. then :
  16134. :
  16135. else $as_nop
  16136. CAPI20_LIBS=""
  16137. fi
  16138. fi
  16139. CPPFLAGS=$ac_save_CPPFLAGS
  16140. fi
  16141. if test "x$ac_cv_lib_capi20_capi20_register" != xyes
  16142. then :
  16143. case "x$with_capi" in
  16144. x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
  16145. xno) ;;
  16146. *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
  16147. This is an error since --with-capi was requested." "$LINENO" 5 ;;
  16148. esac
  16149. enable_capi2032=${enable_capi2032:-no}
  16150. fi
  16151. if test "x$with_cups" != "xno"
  16152. then
  16153. if ${CUPS_CFLAGS:+false} :
  16154. then :
  16155. if test ${PKG_CONFIG+y}
  16156. then :
  16157. CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
  16158. fi
  16159. fi
  16160. test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
  16161. if ${CUPS_LIBS:+false} :
  16162. then :
  16163. if test ${PKG_CONFIG+y}
  16164. then :
  16165. CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
  16166. fi
  16167. fi
  16168. test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
  16169. CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
  16170. printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
  16171. printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
  16172. ac_save_CPPFLAGS=$CPPFLAGS
  16173. CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
  16174. ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
  16175. if test "x$ac_cv_header_cups_cups_h" = xyes
  16176. then :
  16177. printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
  16178. fi
  16179. ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
  16180. if test "x$ac_cv_header_cups_ppd_h" = xyes
  16181. then :
  16182. printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
  16183. fi
  16184. if test "$ac_cv_header_cups_cups_h" = "yes"
  16185. then
  16186. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
  16187. printf %s "checking for -lcups... " >&6; }
  16188. if test ${ac_cv_lib_soname_cups+y}
  16189. then :
  16190. printf %s "(cached) " >&6
  16191. else $as_nop
  16192. ac_check_soname_save_LIBS=$LIBS
  16193. LIBS="-lcups $CUPS_LIBS $LIBS"
  16194. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16195. /* end confdefs.h. */
  16196. /* Override any GCC internal prototype to avoid an error.
  16197. Use char because int might match the return type of a GCC
  16198. builtin and then its argument prototype would still apply. */
  16199. char cupsGetDefault ();
  16200. int
  16201. main (void)
  16202. {
  16203. return cupsGetDefault ();
  16204. ;
  16205. return 0;
  16206. }
  16207. _ACEOF
  16208. if ac_fn_c_try_link "$LINENO"
  16209. then :
  16210. case "$LIBEXT" in
  16211. dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16212. 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'` ;;
  16213. *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16214. if ${ac_cv_lib_soname_cups:+false} :
  16215. then :
  16216. ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16217. fi ;;
  16218. esac
  16219. else $as_nop
  16220. ac_cv_lib_soname_cups=
  16221. fi
  16222. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16223. conftest$ac_exeext conftest.$ac_ext
  16224. LIBS=$ac_check_soname_save_LIBS
  16225. fi
  16226. if ${ac_cv_lib_soname_cups:+false} :
  16227. then :
  16228. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16229. printf "%s\n" "not found" >&6; }
  16230. CUPS_LIBS=""
  16231. else $as_nop
  16232. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
  16233. printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
  16234. printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
  16235. fi
  16236. else
  16237. CUPS_CFLAGS=""
  16238. CUPS_LIBS=""
  16239. fi
  16240. CPPFLAGS=$ac_save_CPPFLAGS
  16241. fi
  16242. if test "x$ac_cv_lib_soname_cups" = "x"
  16243. then :
  16244. case "x$with_cups" in
  16245. x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
  16246. xno) ;;
  16247. *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
  16248. This is an error since --with-cups was requested." "$LINENO" 5 ;;
  16249. esac
  16250. fi
  16251. if test "x$with_fontconfig" != "xno"
  16252. then
  16253. if ${FONTCONFIG_CFLAGS:+false} :
  16254. then :
  16255. if test ${PKG_CONFIG+y}
  16256. then :
  16257. FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
  16258. fi
  16259. fi
  16260. test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
  16261. if ${FONTCONFIG_LIBS:+false} :
  16262. then :
  16263. if test ${PKG_CONFIG+y}
  16264. then :
  16265. FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
  16266. fi
  16267. fi
  16268. test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
  16269. printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
  16270. printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
  16271. ac_save_CPPFLAGS=$CPPFLAGS
  16272. CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
  16273. ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
  16274. if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
  16275. then :
  16276. printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
  16277. fi
  16278. if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
  16279. then
  16280. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
  16281. printf %s "checking for -lfontconfig... " >&6; }
  16282. if test ${ac_cv_lib_soname_fontconfig+y}
  16283. then :
  16284. printf %s "(cached) " >&6
  16285. else $as_nop
  16286. ac_check_soname_save_LIBS=$LIBS
  16287. LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
  16288. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16289. /* end confdefs.h. */
  16290. /* Override any GCC internal prototype to avoid an error.
  16291. Use char because int might match the return type of a GCC
  16292. builtin and then its argument prototype would still apply. */
  16293. char FcInit ();
  16294. int
  16295. main (void)
  16296. {
  16297. return FcInit ();
  16298. ;
  16299. return 0;
  16300. }
  16301. _ACEOF
  16302. if ac_fn_c_try_link "$LINENO"
  16303. then :
  16304. case "$LIBEXT" in
  16305. dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16306. 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'` ;;
  16307. *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16308. if ${ac_cv_lib_soname_fontconfig:+false} :
  16309. then :
  16310. ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16311. fi ;;
  16312. esac
  16313. else $as_nop
  16314. ac_cv_lib_soname_fontconfig=
  16315. fi
  16316. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16317. conftest$ac_exeext conftest.$ac_ext
  16318. LIBS=$ac_check_soname_save_LIBS
  16319. fi
  16320. if ${ac_cv_lib_soname_fontconfig:+false} :
  16321. then :
  16322. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16323. printf "%s\n" "not found" >&6; }
  16324. FONTCONFIG_CFLAGS=""
  16325. else $as_nop
  16326. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
  16327. printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
  16328. printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
  16329. fi
  16330. else
  16331. FONTCONFIG_CFLAGS=""
  16332. fi
  16333. CPPFLAGS=$ac_save_CPPFLAGS
  16334. fi
  16335. if test "x$ac_cv_lib_soname_fontconfig" = "x"
  16336. then :
  16337. case "x$with_fontconfig" in
  16338. x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
  16339. xno) ;;
  16340. *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
  16341. This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
  16342. esac
  16343. fi
  16344. if test "x$with_krb5" != "xno"
  16345. then
  16346. if ${KRB5_CFLAGS:+false} :
  16347. then :
  16348. if test ${PKG_CONFIG+y}
  16349. then :
  16350. KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
  16351. fi
  16352. fi
  16353. test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
  16354. if ${KRB5_LIBS:+false} :
  16355. then :
  16356. if test ${PKG_CONFIG+y}
  16357. then :
  16358. KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
  16359. fi
  16360. fi
  16361. test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
  16362. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
  16363. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
  16364. ac_save_CPPFLAGS=$CPPFLAGS
  16365. CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
  16366. ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
  16367. if test "x$ac_cv_header_krb5_krb5_h" = xyes
  16368. then :
  16369. printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
  16370. fi
  16371. if test "$ac_cv_header_krb5_krb5_h" = "yes"
  16372. then
  16373. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
  16374. printf %s "checking for -lkrb5... " >&6; }
  16375. if test ${ac_cv_lib_soname_krb5+y}
  16376. then :
  16377. printf %s "(cached) " >&6
  16378. else $as_nop
  16379. ac_check_soname_save_LIBS=$LIBS
  16380. LIBS="-lkrb5 $KRB5_LIBS $LIBS"
  16381. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16382. /* end confdefs.h. */
  16383. /* Override any GCC internal prototype to avoid an error.
  16384. Use char because int might match the return type of a GCC
  16385. builtin and then its argument prototype would still apply. */
  16386. char krb5_is_config_principal ();
  16387. int
  16388. main (void)
  16389. {
  16390. return krb5_is_config_principal ();
  16391. ;
  16392. return 0;
  16393. }
  16394. _ACEOF
  16395. if ac_fn_c_try_link "$LINENO"
  16396. then :
  16397. case "$LIBEXT" in
  16398. dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16399. 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'` ;;
  16400. *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16401. if ${ac_cv_lib_soname_krb5:+false} :
  16402. then :
  16403. ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16404. fi ;;
  16405. esac
  16406. else $as_nop
  16407. ac_cv_lib_soname_krb5=
  16408. fi
  16409. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16410. conftest$ac_exeext conftest.$ac_ext
  16411. LIBS=$ac_check_soname_save_LIBS
  16412. fi
  16413. if ${ac_cv_lib_soname_krb5:+false} :
  16414. then :
  16415. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16416. printf "%s\n" "not found" >&6; }
  16417. KRB5_CFLAGS=""
  16418. else $as_nop
  16419. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
  16420. printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
  16421. printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
  16422. fi
  16423. else
  16424. KRB5_CFLAGS=""
  16425. fi
  16426. CPPFLAGS=$ac_save_CPPFLAGS
  16427. fi
  16428. if test "x$ac_cv_lib_soname_krb5" = "x"
  16429. then :
  16430. case "x$with_krb5" in
  16431. x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
  16432. xno) ;;
  16433. *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
  16434. This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
  16435. esac
  16436. fi
  16437. test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
  16438. if test "x$with_gssapi" != "xno"
  16439. then
  16440. if ${GSSAPI_CFLAGS:+false} :
  16441. then :
  16442. if test ${PKG_CONFIG+y}
  16443. then :
  16444. GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
  16445. fi
  16446. fi
  16447. test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
  16448. if ${GSSAPI_LIBS:+false} :
  16449. then :
  16450. if test ${PKG_CONFIG+y}
  16451. then :
  16452. GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
  16453. fi
  16454. fi
  16455. test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
  16456. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
  16457. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
  16458. ac_save_CPPFLAGS=$CPPFLAGS
  16459. CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
  16460. ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
  16461. if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
  16462. then :
  16463. printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
  16464. fi
  16465. ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
  16466. if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
  16467. then :
  16468. printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
  16469. fi
  16470. if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
  16471. then
  16472. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
  16473. printf %s "checking for -lgssapi_krb5... " >&6; }
  16474. if test ${ac_cv_lib_soname_gssapi_krb5+y}
  16475. then :
  16476. printf %s "(cached) " >&6
  16477. else $as_nop
  16478. ac_check_soname_save_LIBS=$LIBS
  16479. LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
  16480. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16481. /* end confdefs.h. */
  16482. /* Override any GCC internal prototype to avoid an error.
  16483. Use char because int might match the return type of a GCC
  16484. builtin and then its argument prototype would still apply. */
  16485. char gss_init_sec_context ();
  16486. int
  16487. main (void)
  16488. {
  16489. return gss_init_sec_context ();
  16490. ;
  16491. return 0;
  16492. }
  16493. _ACEOF
  16494. if ac_fn_c_try_link "$LINENO"
  16495. then :
  16496. case "$LIBEXT" in
  16497. dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16498. 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'` ;;
  16499. *) 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'`
  16500. if ${ac_cv_lib_soname_gssapi_krb5:+false} :
  16501. then :
  16502. ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16503. fi ;;
  16504. esac
  16505. else $as_nop
  16506. ac_cv_lib_soname_gssapi_krb5=
  16507. fi
  16508. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16509. conftest$ac_exeext conftest.$ac_ext
  16510. LIBS=$ac_check_soname_save_LIBS
  16511. fi
  16512. if ${ac_cv_lib_soname_gssapi_krb5:+false} :
  16513. then :
  16514. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16515. printf "%s\n" "not found" >&6; }
  16516. GSSAPI_CFLAGS=""
  16517. else $as_nop
  16518. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
  16519. printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
  16520. printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
  16521. fi
  16522. else
  16523. GSSAPI_CFLAGS=""
  16524. fi
  16525. CPPFLAGS=$ac_save_CPPFLAGS
  16526. fi
  16527. if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
  16528. then :
  16529. case "x$with_gssapi" in
  16530. x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
  16531. xno) ;;
  16532. *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
  16533. This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
  16534. esac
  16535. fi
  16536. if test "$ac_cv_header_AL_al_h" = "yes"
  16537. then
  16538. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
  16539. printf %s "checking for -lopenal... " >&6; }
  16540. if test ${ac_cv_lib_soname_openal+y}
  16541. then :
  16542. printf %s "(cached) " >&6
  16543. else $as_nop
  16544. ac_check_soname_save_LIBS=$LIBS
  16545. LIBS="-lopenal $LIBS"
  16546. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16547. /* end confdefs.h. */
  16548. /* Override any GCC internal prototype to avoid an error.
  16549. Use char because int might match the return type of a GCC
  16550. builtin and then its argument prototype would still apply. */
  16551. char alGetSource3i ();
  16552. int
  16553. main (void)
  16554. {
  16555. return alGetSource3i ();
  16556. ;
  16557. return 0;
  16558. }
  16559. _ACEOF
  16560. if ac_fn_c_try_link "$LINENO"
  16561. then :
  16562. case "$LIBEXT" in
  16563. dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16564. 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'` ;;
  16565. *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16566. if ${ac_cv_lib_soname_openal:+false} :
  16567. then :
  16568. ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16569. fi ;;
  16570. esac
  16571. else $as_nop
  16572. ac_cv_lib_soname_openal=
  16573. fi
  16574. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16575. conftest$ac_exeext conftest.$ac_ext
  16576. LIBS=$ac_check_soname_save_LIBS
  16577. fi
  16578. if ${ac_cv_lib_soname_openal:+false} :
  16579. then :
  16580. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16581. printf "%s\n" "not found" >&6; }
  16582. else $as_nop
  16583. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
  16584. printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
  16585. printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
  16586. OPENAL_LIBS="-lopenal"
  16587. ac_cv_lib_openal=yes
  16588. printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
  16589. fi
  16590. fi
  16591. if test "x$ac_cv_lib_openal" != xyes
  16592. then :
  16593. case "x$with_openal" in
  16594. x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
  16595. xno) ;;
  16596. *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
  16597. This is an error since --with-openal was requested." "$LINENO" 5 ;;
  16598. esac
  16599. enable_openal32=${enable_openal32:-no}
  16600. fi
  16601. if test "$ac_cv_header_libprocstat_h" = "yes"
  16602. then
  16603. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
  16604. printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
  16605. if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
  16606. then :
  16607. printf %s "(cached) " >&6
  16608. else $as_nop
  16609. ac_check_lib_save_LIBS=$LIBS
  16610. LIBS="-lprocstat $LIBS"
  16611. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16612. /* end confdefs.h. */
  16613. /* Override any GCC internal prototype to avoid an error.
  16614. Use char because int might match the return type of a GCC
  16615. builtin and then its argument prototype would still apply. */
  16616. char procstat_open_sysctl ();
  16617. int
  16618. main (void)
  16619. {
  16620. return procstat_open_sysctl ();
  16621. ;
  16622. return 0;
  16623. }
  16624. _ACEOF
  16625. if ac_fn_c_try_link "$LINENO"
  16626. then :
  16627. ac_cv_lib_procstat_procstat_open_sysctl=yes
  16628. else $as_nop
  16629. ac_cv_lib_procstat_procstat_open_sysctl=no
  16630. fi
  16631. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16632. conftest$ac_exeext conftest.$ac_ext
  16633. LIBS=$ac_check_lib_save_LIBS
  16634. fi
  16635. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
  16636. printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
  16637. if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
  16638. then :
  16639. printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
  16640. PROCSTAT_LIBS="-lprocstat"
  16641. fi
  16642. fi
  16643. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
  16644. printf %s "checking for -lodbc... " >&6; }
  16645. if test ${ac_cv_lib_soname_odbc+y}
  16646. then :
  16647. printf %s "(cached) " >&6
  16648. else $as_nop
  16649. ac_check_soname_save_LIBS=$LIBS
  16650. LIBS="-lodbc $LIBS"
  16651. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16652. /* end confdefs.h. */
  16653. /* Override any GCC internal prototype to avoid an error.
  16654. Use char because int might match the return type of a GCC
  16655. builtin and then its argument prototype would still apply. */
  16656. char SQLConnect ();
  16657. int
  16658. main (void)
  16659. {
  16660. return SQLConnect ();
  16661. ;
  16662. return 0;
  16663. }
  16664. _ACEOF
  16665. if ac_fn_c_try_link "$LINENO"
  16666. then :
  16667. case "$LIBEXT" in
  16668. dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16669. 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'` ;;
  16670. *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16671. if ${ac_cv_lib_soname_odbc:+false} :
  16672. then :
  16673. ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16674. fi ;;
  16675. esac
  16676. else $as_nop
  16677. ac_cv_lib_soname_odbc=
  16678. fi
  16679. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16680. conftest$ac_exeext conftest.$ac_ext
  16681. LIBS=$ac_check_soname_save_LIBS
  16682. fi
  16683. if ${ac_cv_lib_soname_odbc:+false} :
  16684. then :
  16685. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16686. printf "%s\n" "not found" >&6; }
  16687. printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
  16688. else $as_nop
  16689. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
  16690. printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
  16691. printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
  16692. fi
  16693. if test "x$with_netapi" != "xno"
  16694. then
  16695. if ${NETAPI_CFLAGS:+false} :
  16696. then :
  16697. if test ${PKG_CONFIG+y}
  16698. then :
  16699. NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
  16700. fi
  16701. fi
  16702. if ${NETAPI_LIBS:+false} :
  16703. then :
  16704. if test ${PKG_CONFIG+y}
  16705. then :
  16706. NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
  16707. fi
  16708. fi
  16709. printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
  16710. printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
  16711. ac_save_CPPFLAGS=$CPPFLAGS
  16712. CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
  16713. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
  16714. printf %s "checking for -lnetapi... " >&6; }
  16715. if test ${ac_cv_lib_soname_netapi+y}
  16716. then :
  16717. printf %s "(cached) " >&6
  16718. else $as_nop
  16719. ac_check_soname_save_LIBS=$LIBS
  16720. LIBS="-lnetapi $NETAPI_LIBS $LIBS"
  16721. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16722. /* end confdefs.h. */
  16723. /* Override any GCC internal prototype to avoid an error.
  16724. Use char because int might match the return type of a GCC
  16725. builtin and then its argument prototype would still apply. */
  16726. char libnetapi_init ();
  16727. int
  16728. main (void)
  16729. {
  16730. return libnetapi_init ();
  16731. ;
  16732. return 0;
  16733. }
  16734. _ACEOF
  16735. if ac_fn_c_try_link "$LINENO"
  16736. then :
  16737. case "$LIBEXT" in
  16738. dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16739. 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'` ;;
  16740. *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16741. if ${ac_cv_lib_soname_netapi:+false} :
  16742. then :
  16743. ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16744. fi ;;
  16745. esac
  16746. else $as_nop
  16747. ac_cv_lib_soname_netapi=
  16748. fi
  16749. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16750. conftest$ac_exeext conftest.$ac_ext
  16751. LIBS=$ac_check_soname_save_LIBS
  16752. fi
  16753. if ${ac_cv_lib_soname_netapi:+false} :
  16754. then :
  16755. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16756. printf "%s\n" "not found" >&6; }
  16757. printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
  16758. else $as_nop
  16759. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
  16760. printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
  16761. printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
  16762. fi
  16763. CPPFLAGS=$ac_save_CPPFLAGS
  16764. fi
  16765. if test "x$ac_cv_lib_soname_netapi" = "x"
  16766. then :
  16767. case "x$with_netapi" in
  16768. x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
  16769. xno) ;;
  16770. *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
  16771. This is an error since --with-netapi was requested." "$LINENO" 5 ;;
  16772. esac
  16773. enable_netapi=${enable_netapi:-no}
  16774. fi
  16775. if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
  16776. "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
  16777. then
  16778. as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
  16779. fi
  16780. if test "x$with_vulkan" != "xno"
  16781. then
  16782. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
  16783. printf %s "checking for -lvulkan... " >&6; }
  16784. if test ${ac_cv_lib_soname_vulkan+y}
  16785. then :
  16786. printf %s "(cached) " >&6
  16787. else $as_nop
  16788. ac_check_soname_save_LIBS=$LIBS
  16789. LIBS="-lvulkan $LIBS"
  16790. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16791. /* end confdefs.h. */
  16792. /* Override any GCC internal prototype to avoid an error.
  16793. Use char because int might match the return type of a GCC
  16794. builtin and then its argument prototype would still apply. */
  16795. char vkGetInstanceProcAddr ();
  16796. int
  16797. main (void)
  16798. {
  16799. return vkGetInstanceProcAddr ();
  16800. ;
  16801. return 0;
  16802. }
  16803. _ACEOF
  16804. if ac_fn_c_try_link "$LINENO"
  16805. then :
  16806. case "$LIBEXT" in
  16807. dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16808. 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'` ;;
  16809. *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16810. if ${ac_cv_lib_soname_vulkan:+false} :
  16811. then :
  16812. ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16813. fi ;;
  16814. esac
  16815. else $as_nop
  16816. ac_cv_lib_soname_vulkan=
  16817. fi
  16818. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16819. conftest$ac_exeext conftest.$ac_ext
  16820. LIBS=$ac_check_soname_save_LIBS
  16821. fi
  16822. if ${ac_cv_lib_soname_vulkan:+false} :
  16823. then :
  16824. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16825. printf "%s\n" "not found" >&6; }
  16826. else $as_nop
  16827. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
  16828. printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
  16829. printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
  16830. fi
  16831. if test "x$ac_cv_lib_soname_vulkan" = "x"
  16832. then
  16833. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
  16834. printf %s "checking for -lMoltenVK... " >&6; }
  16835. if test ${ac_cv_lib_soname_MoltenVK+y}
  16836. then :
  16837. printf %s "(cached) " >&6
  16838. else $as_nop
  16839. ac_check_soname_save_LIBS=$LIBS
  16840. LIBS="-lMoltenVK $LIBS"
  16841. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16842. /* end confdefs.h. */
  16843. /* Override any GCC internal prototype to avoid an error.
  16844. Use char because int might match the return type of a GCC
  16845. builtin and then its argument prototype would still apply. */
  16846. char vkGetInstanceProcAddr ();
  16847. int
  16848. main (void)
  16849. {
  16850. return vkGetInstanceProcAddr ();
  16851. ;
  16852. return 0;
  16853. }
  16854. _ACEOF
  16855. if ac_fn_c_try_link "$LINENO"
  16856. then :
  16857. case "$LIBEXT" in
  16858. dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16859. 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'` ;;
  16860. *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16861. if ${ac_cv_lib_soname_MoltenVK:+false} :
  16862. then :
  16863. ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16864. fi ;;
  16865. esac
  16866. else $as_nop
  16867. ac_cv_lib_soname_MoltenVK=
  16868. fi
  16869. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16870. conftest$ac_exeext conftest.$ac_ext
  16871. LIBS=$ac_check_soname_save_LIBS
  16872. fi
  16873. if ${ac_cv_lib_soname_MoltenVK:+false} :
  16874. then :
  16875. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16876. printf "%s\n" "not found" >&6; }
  16877. else $as_nop
  16878. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
  16879. printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
  16880. printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
  16881. fi
  16882. fi
  16883. fi
  16884. if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
  16885. then :
  16886. case "x$with_vulkan" in
  16887. x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
  16888. xno) ;;
  16889. *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
  16890. This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
  16891. esac
  16892. fi
  16893. if test "x${GCC}" = "xyes"
  16894. then
  16895. EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
  16896. saved_CFLAGS=$CFLAGS
  16897. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
  16898. printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
  16899. if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
  16900. then :
  16901. printf %s "(cached) " >&6
  16902. else $as_nop
  16903. ac_wine_try_cflags_saved=$CFLAGS
  16904. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  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_unknown_warning_option=yes
  16912. else $as_nop
  16913. ac_cv_cflags__Werror_unknown_warning_option=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_unknown_warning_option" >&5
  16920. printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
  16921. if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
  16922. then :
  16923. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  16924. fi
  16925. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
  16926. printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
  16927. if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
  16928. then :
  16929. printf %s "(cached) " >&6
  16930. else $as_nop
  16931. ac_wine_try_cflags_saved=$CFLAGS
  16932. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  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__Werror_unused_command_line_argument=yes
  16940. else $as_nop
  16941. ac_cv_cflags__Werror_unused_command_line_argument=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__Werror_unused_command_line_argument" >&5
  16948. printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
  16949. if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
  16950. then :
  16951. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  16952. fi
  16953. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
  16954. printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
  16955. if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
  16956. then :
  16957. printf %s "(cached) " >&6
  16958. else $as_nop
  16959. ac_wine_try_cflags_saved=$CFLAGS
  16960. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  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__Werror_ignored_optimization_argument=yes
  16968. else $as_nop
  16969. ac_cv_cflags__Werror_ignored_optimization_argument=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__Werror_ignored_optimization_argument" >&5
  16976. printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
  16977. if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
  16978. then :
  16979. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  16980. fi
  16981. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
  16982. printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
  16983. if test ${ac_cv_cflags__fcf_protection_none+y}
  16984. then :
  16985. printf %s "(cached) " >&6
  16986. else $as_nop
  16987. ac_wine_try_cflags_saved=$CFLAGS
  16988. CFLAGS="$CFLAGS -fcf-protection=none"
  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__fcf_protection_none=yes
  16996. else $as_nop
  16997. ac_cv_cflags__fcf_protection_none=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__fcf_protection_none" >&5
  17004. printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
  17005. if test "x$ac_cv_cflags__fcf_protection_none" = xyes
  17006. then :
  17007. EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
  17008. fi
  17009. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
  17010. printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
  17011. if test ${ac_cv_cflags__fno_stack_protector+y}
  17012. then :
  17013. printf %s "(cached) " >&6
  17014. else $as_nop
  17015. ac_wine_try_cflags_saved=$CFLAGS
  17016. CFLAGS="$CFLAGS -fno-stack-protector"
  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__fno_stack_protector=yes
  17024. else $as_nop
  17025. ac_cv_cflags__fno_stack_protector=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__fno_stack_protector" >&5
  17032. printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
  17033. if test "x$ac_cv_cflags__fno_stack_protector" = xyes
  17034. then :
  17035. EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
  17036. fi
  17037. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
  17038. printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
  17039. if test ${ac_cv_cflags__fno_strict_aliasing+y}
  17040. then :
  17041. printf %s "(cached) " >&6
  17042. else $as_nop
  17043. ac_wine_try_cflags_saved=$CFLAGS
  17044. CFLAGS="$CFLAGS -fno-strict-aliasing"
  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__fno_strict_aliasing=yes
  17052. else $as_nop
  17053. ac_cv_cflags__fno_strict_aliasing=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__fno_strict_aliasing" >&5
  17060. printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
  17061. if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
  17062. then :
  17063. EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
  17064. fi
  17065. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
  17066. printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
  17067. if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
  17068. then :
  17069. printf %s "(cached) " >&6
  17070. else $as_nop
  17071. ac_wine_try_cflags_saved=$CFLAGS
  17072. CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  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__Wdeclaration_after_statement=yes
  17080. else $as_nop
  17081. ac_cv_cflags__Wdeclaration_after_statement=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__Wdeclaration_after_statement" >&5
  17088. printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
  17089. if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
  17090. then :
  17091. EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
  17092. fi
  17093. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
  17094. printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
  17095. if test ${ac_cv_cflags__Wempty_body+y}
  17096. then :
  17097. printf %s "(cached) " >&6
  17098. else $as_nop
  17099. ac_wine_try_cflags_saved=$CFLAGS
  17100. CFLAGS="$CFLAGS -Wempty-body"
  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__Wempty_body=yes
  17108. else $as_nop
  17109. ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
  17116. printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
  17117. if test "x$ac_cv_cflags__Wempty_body" = xyes
  17118. then :
  17119. EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
  17120. fi
  17121. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
  17122. printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
  17123. if test ${ac_cv_cflags__Wignored_qualifiers+y}
  17124. then :
  17125. printf %s "(cached) " >&6
  17126. else $as_nop
  17127. ac_wine_try_cflags_saved=$CFLAGS
  17128. CFLAGS="$CFLAGS -Wignored-qualifiers"
  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__Wignored_qualifiers=yes
  17136. else $as_nop
  17137. ac_cv_cflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
  17144. printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
  17145. if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
  17146. then :
  17147. EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
  17148. fi
  17149. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
  17150. printf %s "checking whether the compiler supports -Winit-self... " >&6; }
  17151. if test ${ac_cv_cflags__Winit_self+y}
  17152. then :
  17153. printf %s "(cached) " >&6
  17154. else $as_nop
  17155. ac_wine_try_cflags_saved=$CFLAGS
  17156. CFLAGS="$CFLAGS -Winit-self"
  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__Winit_self=yes
  17164. else $as_nop
  17165. ac_cv_cflags__Winit_self=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__Winit_self" >&5
  17172. printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
  17173. if test "x$ac_cv_cflags__Winit_self" = xyes
  17174. then :
  17175. EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
  17176. fi
  17177. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
  17178. printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
  17179. if test ${ac_cv_cflags__Wpacked_not_aligned+y}
  17180. then :
  17181. printf %s "(cached) " >&6
  17182. else $as_nop
  17183. ac_wine_try_cflags_saved=$CFLAGS
  17184. CFLAGS="$CFLAGS -Wpacked-not-aligned"
  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__Wpacked_not_aligned=yes
  17192. else $as_nop
  17193. ac_cv_cflags__Wpacked_not_aligned=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__Wpacked_not_aligned" >&5
  17200. printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
  17201. if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
  17202. then :
  17203. EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
  17204. fi
  17205. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
  17206. printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
  17207. if test ${ac_cv_cflags__Wpragma_pack+y}
  17208. then :
  17209. printf %s "(cached) " >&6
  17210. else $as_nop
  17211. ac_wine_try_cflags_saved=$CFLAGS
  17212. CFLAGS="$CFLAGS -Wpragma-pack"
  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__Wpragma_pack=yes
  17220. else $as_nop
  17221. ac_cv_cflags__Wpragma_pack=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__Wpragma_pack" >&5
  17228. printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
  17229. if test "x$ac_cv_cflags__Wpragma_pack" = xyes
  17230. then :
  17231. EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
  17232. fi
  17233. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
  17234. printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
  17235. if test ${ac_cv_cflags__Wshift_overflow_2+y}
  17236. then :
  17237. printf %s "(cached) " >&6
  17238. else $as_nop
  17239. ac_wine_try_cflags_saved=$CFLAGS
  17240. CFLAGS="$CFLAGS -Wshift-overflow=2"
  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__Wshift_overflow_2=yes
  17248. else $as_nop
  17249. ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
  17256. printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
  17257. if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
  17258. then :
  17259. EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
  17260. fi
  17261. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
  17262. printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
  17263. if test ${ac_cv_cflags__Wstrict_prototypes+y}
  17264. then :
  17265. printf %s "(cached) " >&6
  17266. else $as_nop
  17267. ac_wine_try_cflags_saved=$CFLAGS
  17268. CFLAGS="$CFLAGS -Wstrict-prototypes"
  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__Wstrict_prototypes=yes
  17276. else $as_nop
  17277. ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
  17284. printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
  17285. if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
  17286. then :
  17287. EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
  17288. fi
  17289. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
  17290. printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
  17291. if test ${ac_cv_cflags__Wtype_limits+y}
  17292. then :
  17293. printf %s "(cached) " >&6
  17294. else $as_nop
  17295. ac_wine_try_cflags_saved=$CFLAGS
  17296. CFLAGS="$CFLAGS -Wtype-limits"
  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__Wtype_limits=yes
  17304. else $as_nop
  17305. ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
  17312. printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
  17313. if test "x$ac_cv_cflags__Wtype_limits" = xyes
  17314. then :
  17315. EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
  17316. fi
  17317. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
  17318. printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
  17319. if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
  17320. then :
  17321. printf %s "(cached) " >&6
  17322. else $as_nop
  17323. ac_wine_try_cflags_saved=$CFLAGS
  17324. CFLAGS="$CFLAGS -Wunused-but-set-parameter"
  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__Wunused_but_set_parameter=yes
  17332. else $as_nop
  17333. ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
  17340. printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
  17341. if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
  17342. then :
  17343. EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
  17344. fi
  17345. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
  17346. printf %s "checking whether the compiler supports -Wvla... " >&6; }
  17347. if test ${ac_cv_cflags__Wvla+y}
  17348. then :
  17349. printf %s "(cached) " >&6
  17350. else $as_nop
  17351. ac_wine_try_cflags_saved=$CFLAGS
  17352. CFLAGS="$CFLAGS -Wvla"
  17353. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17354. /* end confdefs.h. */
  17355. int main(int argc, char **argv) { return 0; }
  17356. _ACEOF
  17357. if ac_fn_c_try_link "$LINENO"
  17358. then :
  17359. ac_cv_cflags__Wvla=yes
  17360. else $as_nop
  17361. ac_cv_cflags__Wvla=no
  17362. fi
  17363. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17364. conftest$ac_exeext conftest.$ac_ext
  17365. CFLAGS=$ac_wine_try_cflags_saved
  17366. fi
  17367. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
  17368. printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
  17369. if test "x$ac_cv_cflags__Wvla" = xyes
  17370. then :
  17371. EXTRACFLAGS="$EXTRACFLAGS -Wvla"
  17372. fi
  17373. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
  17374. printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
  17375. if test ${ac_cv_cflags__Wwrite_strings+y}
  17376. then :
  17377. printf %s "(cached) " >&6
  17378. else $as_nop
  17379. ac_wine_try_cflags_saved=$CFLAGS
  17380. CFLAGS="$CFLAGS -Wwrite-strings"
  17381. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17382. /* end confdefs.h. */
  17383. int main(int argc, char **argv) { return 0; }
  17384. _ACEOF
  17385. if ac_fn_c_try_link "$LINENO"
  17386. then :
  17387. ac_cv_cflags__Wwrite_strings=yes
  17388. else $as_nop
  17389. ac_cv_cflags__Wwrite_strings=no
  17390. fi
  17391. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17392. conftest$ac_exeext conftest.$ac_ext
  17393. CFLAGS=$ac_wine_try_cflags_saved
  17394. fi
  17395. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
  17396. printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
  17397. if test "x$ac_cv_cflags__Wwrite_strings" = xyes
  17398. then :
  17399. EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
  17400. fi
  17401. if test -z "$CROSSTARGET"
  17402. then
  17403. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
  17404. printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
  17405. if test ${ac_cv_cflags__fexcess_precision_standard+y}
  17406. then :
  17407. printf %s "(cached) " >&6
  17408. else $as_nop
  17409. ac_wine_try_cflags_saved=$CFLAGS
  17410. CFLAGS="$CFLAGS -fexcess-precision=standard"
  17411. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17412. /* end confdefs.h. */
  17413. int main(int argc, char **argv) { return 0; }
  17414. _ACEOF
  17415. if ac_fn_c_try_link "$LINENO"
  17416. then :
  17417. ac_cv_cflags__fexcess_precision_standard=yes
  17418. else $as_nop
  17419. ac_cv_cflags__fexcess_precision_standard=no
  17420. fi
  17421. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17422. conftest$ac_exeext conftest.$ac_ext
  17423. CFLAGS=$ac_wine_try_cflags_saved
  17424. fi
  17425. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
  17426. printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
  17427. if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
  17428. then :
  17429. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  17430. fi
  17431. fi
  17432. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
  17433. printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
  17434. if test ${ac_cv_cflags__Wpointer_arith+y}
  17435. then :
  17436. printf %s "(cached) " >&6
  17437. else $as_nop
  17438. ac_wine_try_cflags_saved=$CFLAGS
  17439. CFLAGS="$CFLAGS -Wpointer-arith"
  17440. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17441. /* end confdefs.h. */
  17442. int main(int argc, char **argv) { return 0; }
  17443. _ACEOF
  17444. if ac_fn_c_try_link "$LINENO"
  17445. then :
  17446. ac_cv_cflags__Wpointer_arith=yes
  17447. else $as_nop
  17448. ac_cv_cflags__Wpointer_arith=no
  17449. fi
  17450. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17451. conftest$ac_exeext conftest.$ac_ext
  17452. CFLAGS=$ac_wine_try_cflags_saved
  17453. fi
  17454. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
  17455. printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
  17456. if test "x$ac_cv_cflags__Wpointer_arith" = xyes
  17457. then :
  17458. saved_string_h_CFLAGS=$CFLAGS
  17459. CFLAGS="$CFLAGS -Wpointer-arith -Werror"
  17460. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
  17461. printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
  17462. if test ${ac_cv_c_string_h_warnings+y}
  17463. then :
  17464. printf %s "(cached) " >&6
  17465. else $as_nop
  17466. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17467. /* end confdefs.h. */
  17468. #include <string.h>
  17469. int
  17470. main (void)
  17471. {
  17472. ;
  17473. return 0;
  17474. }
  17475. _ACEOF
  17476. if ac_fn_c_try_compile "$LINENO"
  17477. then :
  17478. ac_cv_c_string_h_warnings=no
  17479. else $as_nop
  17480. ac_cv_c_string_h_warnings=yes
  17481. fi
  17482. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17483. fi
  17484. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
  17485. printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
  17486. test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
  17487. CFLAGS=$saved_string_h_CFLAGS
  17488. fi
  17489. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
  17490. printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
  17491. if test ${ac_cv_cflags__Wlogical_op+y}
  17492. then :
  17493. printf %s "(cached) " >&6
  17494. else $as_nop
  17495. ac_wine_try_cflags_saved=$CFLAGS
  17496. CFLAGS="$CFLAGS -Wlogical-op"
  17497. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17498. /* end confdefs.h. */
  17499. int main(int argc, char **argv) { return 0; }
  17500. _ACEOF
  17501. if ac_fn_c_try_link "$LINENO"
  17502. then :
  17503. ac_cv_cflags__Wlogical_op=yes
  17504. else $as_nop
  17505. ac_cv_cflags__Wlogical_op=no
  17506. fi
  17507. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17508. conftest$ac_exeext conftest.$ac_ext
  17509. CFLAGS=$ac_wine_try_cflags_saved
  17510. fi
  17511. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
  17512. printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
  17513. if test "x$ac_cv_cflags__Wlogical_op" = xyes
  17514. then :
  17515. saved_string_h_CFLAGS=$CFLAGS
  17516. CFLAGS="$CFLAGS -Wlogical-op -Werror"
  17517. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
  17518. printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
  17519. if test ${ac_cv_c_logicalop_noisy+y}
  17520. then :
  17521. printf %s "(cached) " >&6
  17522. else $as_nop
  17523. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17524. /* end confdefs.h. */
  17525. #include <string.h>
  17526. char*f(const char *h,char n) {return strchr(h,n);}
  17527. int
  17528. main (void)
  17529. {
  17530. ;
  17531. return 0;
  17532. }
  17533. _ACEOF
  17534. if ac_fn_c_try_compile "$LINENO"
  17535. then :
  17536. ac_cv_c_logicalop_noisy=no
  17537. else $as_nop
  17538. ac_cv_c_logicalop_noisy=yes
  17539. fi
  17540. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17541. fi
  17542. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
  17543. printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
  17544. CFLAGS=$saved_string_h_CFLAGS
  17545. test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
  17546. fi
  17547. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
  17548. printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
  17549. if test ${wine_cv_64bit_compare_swap+y}
  17550. then :
  17551. printf %s "(cached) " >&6
  17552. else $as_nop
  17553. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17554. /* end confdefs.h. */
  17555. #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  17556. #error no
  17557. #endif
  17558. int
  17559. main (void)
  17560. {
  17561. ;
  17562. return 0;
  17563. }
  17564. _ACEOF
  17565. if ac_fn_c_try_compile "$LINENO"
  17566. then :
  17567. wine_cv_64bit_compare_swap="none needed"
  17568. else $as_nop
  17569. case $host_cpu in
  17570. *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
  17571. *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
  17572. *) wine_cv_64bit_compare_swap="unknown" ;;
  17573. esac
  17574. if test "x$wine_cv_64bit_compare_swap" != xunknown
  17575. then
  17576. CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
  17577. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17578. /* end confdefs.h. */
  17579. #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  17580. #error no
  17581. #endif
  17582. int
  17583. main (void)
  17584. {
  17585. ;
  17586. return 0;
  17587. }
  17588. _ACEOF
  17589. if ac_fn_c_try_compile "$LINENO"
  17590. then :
  17591. else $as_nop
  17592. wine_cv_64bit_compare_swap="unknown"
  17593. fi
  17594. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17595. CFLAGS=$saved_CFLAGS
  17596. fi
  17597. fi
  17598. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17599. fi
  17600. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
  17601. printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
  17602. case "$wine_cv_64bit_compare_swap" in
  17603. unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
  17604. "none needed") ;;
  17605. *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
  17606. esac
  17607. ac_debug_format_seen=""
  17608. for ac_flag in $CFLAGS; do
  17609. case $ac_flag in
  17610. -gdwarf*) ac_debug_format_seen=yes ;;
  17611. -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
  17612. esac
  17613. done
  17614. if test "x$ac_debug_format_seen" = xdefault
  17615. then
  17616. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
  17617. printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
  17618. if test ${ac_cv_cflags__gdwarf_4+y}
  17619. then :
  17620. printf %s "(cached) " >&6
  17621. else $as_nop
  17622. ac_wine_try_cflags_saved=$CFLAGS
  17623. CFLAGS="$CFLAGS -gdwarf-4"
  17624. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17625. /* end confdefs.h. */
  17626. int main(int argc, char **argv) { return 0; }
  17627. _ACEOF
  17628. if ac_fn_c_try_link "$LINENO"
  17629. then :
  17630. ac_cv_cflags__gdwarf_4=yes
  17631. else $as_nop
  17632. ac_cv_cflags__gdwarf_4=no
  17633. fi
  17634. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17635. conftest$ac_exeext conftest.$ac_ext
  17636. CFLAGS=$ac_wine_try_cflags_saved
  17637. fi
  17638. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
  17639. printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
  17640. if test "x$ac_cv_cflags__gdwarf_4" = xyes
  17641. then :
  17642. EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
  17643. fi
  17644. fi
  17645. MSVCRTFLAGS=""
  17646. case $host_os in
  17647. mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
  17648. printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
  17649. if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
  17650. then :
  17651. printf %s "(cached) " >&6
  17652. else $as_nop
  17653. ac_wine_try_cflags_saved=$CFLAGS
  17654. CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
  17655. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17656. /* end confdefs.h. */
  17657. int main(int argc, char **argv) { return 0; }
  17658. _ACEOF
  17659. if ac_fn_c_try_link "$LINENO"
  17660. then :
  17661. ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
  17662. else $as_nop
  17663. ac_cv_cflags__Wl__delayload_autoconftest_dll=no
  17664. fi
  17665. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17666. conftest$ac_exeext conftest.$ac_ext
  17667. CFLAGS=$ac_wine_try_cflags_saved
  17668. fi
  17669. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
  17670. printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
  17671. if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
  17672. then :
  17673. DELAYLOADFLAG="-Wl,-delayload,"
  17674. fi ;;
  17675. *) MSVCRTFLAGS="-D_WIN32"
  17676. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
  17677. printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
  17678. if test ${ac_cv_cflags__fno_builtin+y}
  17679. then :
  17680. printf %s "(cached) " >&6
  17681. else $as_nop
  17682. ac_wine_try_cflags_saved=$CFLAGS
  17683. CFLAGS="$CFLAGS -fno-builtin"
  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__fno_builtin=yes
  17691. else $as_nop
  17692. ac_cv_cflags__fno_builtin=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__fno_builtin" >&5
  17699. printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
  17700. if test "x$ac_cv_cflags__fno_builtin" = xyes
  17701. then :
  17702. MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
  17703. fi
  17704. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
  17705. printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
  17706. if test ${ac_cv_cflags__fshort_wchar+y}
  17707. then :
  17708. printf %s "(cached) " >&6
  17709. else $as_nop
  17710. ac_wine_try_cflags_saved=$CFLAGS
  17711. CFLAGS="$CFLAGS -fshort-wchar"
  17712. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17713. /* end confdefs.h. */
  17714. int main(int argc, char **argv) { return 0; }
  17715. _ACEOF
  17716. if ac_fn_c_try_link "$LINENO"
  17717. then :
  17718. ac_cv_cflags__fshort_wchar=yes
  17719. else $as_nop
  17720. ac_cv_cflags__fshort_wchar=no
  17721. fi
  17722. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17723. conftest$ac_exeext conftest.$ac_ext
  17724. CFLAGS=$ac_wine_try_cflags_saved
  17725. fi
  17726. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
  17727. printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
  17728. if test "x$ac_cv_cflags__fshort_wchar" = xyes
  17729. then :
  17730. MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
  17731. fi
  17732. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  17733. printf %s "checking whether the compiler supports -Wno-format... " >&6; }
  17734. if test ${ac_cv_cflags__Wno_format+y}
  17735. then :
  17736. printf %s "(cached) " >&6
  17737. else $as_nop
  17738. ac_wine_try_cflags_saved=$CFLAGS
  17739. CFLAGS="$CFLAGS -Wno-format"
  17740. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17741. /* end confdefs.h. */
  17742. int main(int argc, char **argv) { return 0; }
  17743. _ACEOF
  17744. if ac_fn_c_try_link "$LINENO"
  17745. then :
  17746. ac_cv_cflags__Wno_format=yes
  17747. else $as_nop
  17748. ac_cv_cflags__Wno_format=no
  17749. fi
  17750. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17751. conftest$ac_exeext conftest.$ac_ext
  17752. CFLAGS=$ac_wine_try_cflags_saved
  17753. fi
  17754. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  17755. printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
  17756. if test "x$ac_cv_cflags__Wno_format" = xyes
  17757. then :
  17758. MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
  17759. fi ;;
  17760. esac
  17761. case $host_cpu in
  17762. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
  17763. printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
  17764. if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
  17765. then :
  17766. printf %s "(cached) " >&6
  17767. else $as_nop
  17768. ac_wine_try_cflags_saved=$CFLAGS
  17769. CFLAGS="$CFLAGS -fno-omit-frame-pointer"
  17770. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17771. /* end confdefs.h. */
  17772. int main(int argc, char **argv) { return 0; }
  17773. _ACEOF
  17774. if ac_fn_c_try_link "$LINENO"
  17775. then :
  17776. ac_cv_cflags__fno_omit_frame_pointer=yes
  17777. else $as_nop
  17778. ac_cv_cflags__fno_omit_frame_pointer=no
  17779. fi
  17780. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17781. conftest$ac_exeext conftest.$ac_ext
  17782. CFLAGS=$ac_wine_try_cflags_saved
  17783. fi
  17784. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
  17785. printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
  17786. if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
  17787. then :
  17788. EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
  17789. fi ;;
  17790. *x86_64*)
  17791. case $host_os in
  17792. cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  17793. printf %s "checking whether the compiler supports -Wno-format... " >&6; }
  17794. if test ${ac_cv_cflags__Wno_format+y}
  17795. then :
  17796. printf %s "(cached) " >&6
  17797. else $as_nop
  17798. ac_wine_try_cflags_saved=$CFLAGS
  17799. CFLAGS="$CFLAGS -Wno-format"
  17800. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17801. /* end confdefs.h. */
  17802. int main(int argc, char **argv) { return 0; }
  17803. _ACEOF
  17804. if ac_fn_c_try_link "$LINENO"
  17805. then :
  17806. ac_cv_cflags__Wno_format=yes
  17807. else $as_nop
  17808. ac_cv_cflags__Wno_format=no
  17809. fi
  17810. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17811. conftest$ac_exeext conftest.$ac_ext
  17812. CFLAGS=$ac_wine_try_cflags_saved
  17813. fi
  17814. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  17815. printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
  17816. if test "x$ac_cv_cflags__Wno_format" = xyes
  17817. then :
  17818. EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
  17819. fi ;;
  17820. *) if test -z "$CROSSTARGET"
  17821. then
  17822. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
  17823. printf %s "checking for working -mabi=ms... " >&6; }
  17824. if test ${ac_cv_mabi_ms+y}
  17825. then :
  17826. printf %s "(cached) " >&6
  17827. else $as_nop
  17828. CFLAGS="$CFLAGS -mabi=ms"
  17829. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17830. /* end confdefs.h. */
  17831. #include <stdarg.h>
  17832. int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
  17833. int
  17834. main (void)
  17835. {
  17836. ;
  17837. return 0;
  17838. }
  17839. _ACEOF
  17840. if ac_fn_c_try_compile "$LINENO"
  17841. then :
  17842. ac_cv_mabi_ms=yes
  17843. else $as_nop
  17844. ac_cv_mabi_ms=no
  17845. fi
  17846. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17847. CFLAGS=$saved_CFLAGS
  17848. fi
  17849. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
  17850. printf "%s\n" "$ac_cv_mabi_ms" >&6; }
  17851. 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
  17852. fi
  17853. MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
  17854. esac ;;
  17855. esac
  17856. CFLAGS=$saved_CFLAGS
  17857. if test "x$enable_werror" = "xyes"
  17858. then
  17859. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
  17860. printf %s "checking whether the compiler supports -Werror... " >&6; }
  17861. if test ${ac_cv_cflags__Werror+y}
  17862. then :
  17863. printf %s "(cached) " >&6
  17864. else $as_nop
  17865. ac_wine_try_cflags_saved=$CFLAGS
  17866. CFLAGS="$CFLAGS -Werror"
  17867. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17868. /* end confdefs.h. */
  17869. int main(int argc, char **argv) { return 0; }
  17870. _ACEOF
  17871. if ac_fn_c_try_link "$LINENO"
  17872. then :
  17873. ac_cv_cflags__Werror=yes
  17874. else $as_nop
  17875. ac_cv_cflags__Werror=no
  17876. fi
  17877. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17878. conftest$ac_exeext conftest.$ac_ext
  17879. CFLAGS=$ac_wine_try_cflags_saved
  17880. fi
  17881. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
  17882. printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
  17883. if test "x$ac_cv_cflags__Werror" = xyes
  17884. then :
  17885. EXTRACFLAGS="$EXTRACFLAGS -Werror"
  17886. fi
  17887. fi
  17888. if test "x$enable_build_id" = "xyes"
  17889. then
  17890. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
  17891. printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
  17892. if test ${ac_cv_cflags__Wl___build_id+y}
  17893. then :
  17894. printf %s "(cached) " >&6
  17895. else $as_nop
  17896. ac_wine_try_cflags_saved=$CFLAGS
  17897. CFLAGS="$CFLAGS -Wl,--build-id"
  17898. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17899. /* end confdefs.h. */
  17900. int main(int argc, char **argv) { return 0; }
  17901. _ACEOF
  17902. if ac_fn_c_try_link "$LINENO"
  17903. then :
  17904. ac_cv_cflags__Wl___build_id=yes
  17905. else $as_nop
  17906. ac_cv_cflags__Wl___build_id=no
  17907. fi
  17908. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17909. conftest$ac_exeext conftest.$ac_ext
  17910. CFLAGS=$ac_wine_try_cflags_saved
  17911. fi
  17912. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
  17913. printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
  17914. if test "x$ac_cv_cflags__Wl___build_id" = xyes
  17915. then :
  17916. CFLAGS="$CFLAGS -Wl,--build-id"
  17917. LDFLAGS="$LDFLAGS -Wl,--build-id"
  17918. fi
  17919. fi
  17920. fi
  17921. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
  17922. printf %s "checking for the need to disable Fortify... " >&6; }
  17923. if test ${ac_cv_c_fortify_enabled+y}
  17924. then :
  17925. printf %s "(cached) " >&6
  17926. else $as_nop
  17927. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17928. /* end confdefs.h. */
  17929. #include <string.h>
  17930. int
  17931. main (void)
  17932. {
  17933. #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
  17934. #error Fortify enabled
  17935. #endif
  17936. ;
  17937. return 0;
  17938. }
  17939. _ACEOF
  17940. if ac_fn_c_try_compile "$LINENO"
  17941. then :
  17942. ac_cv_c_fortify_enabled=no
  17943. else $as_nop
  17944. ac_cv_c_fortify_enabled=yes
  17945. fi
  17946. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17947. fi
  17948. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
  17949. printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
  17950. if test "$ac_cv_c_fortify_enabled" = yes
  17951. then
  17952. CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
  17953. fi
  17954. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
  17955. printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
  17956. if test ${ac_cv_c_cfi_support+y}
  17957. then :
  17958. printf %s "(cached) " >&6
  17959. else $as_nop
  17960. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17961. /* end confdefs.h. */
  17962. asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
  17963. int
  17964. main (void)
  17965. {
  17966. ;
  17967. return 0;
  17968. }
  17969. _ACEOF
  17970. if ac_fn_c_try_compile "$LINENO"
  17971. then :
  17972. ac_cv_c_cfi_support="yes"
  17973. else $as_nop
  17974. ac_cv_c_cfi_support="no"
  17975. fi
  17976. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17977. fi
  17978. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
  17979. printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
  17980. if test "$ac_cv_c_cfi_support" = "yes"
  17981. then
  17982. DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
  17983. LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
  17984. UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
  17985. else
  17986. if test "x$enable_win64" = "xyes"
  17987. then
  17988. as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
  17989. fi
  17990. fi
  17991. case $host_os in
  17992. linux*)
  17993. case $host_cpu in
  17994. *i[3456789]86*|x86_64*|*aarch64*|arm*)
  17995. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  17996. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  17997. ;;
  17998. esac
  17999. ;;
  18000. esac
  18001. ac_save_CFLAGS="$CFLAGS"
  18002. CFLAGS="$CFLAGS $BUILTINFLAG"
  18003. ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
  18004. if test "x$ac_cv_func_epoll_create" = xyes
  18005. then :
  18006. printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
  18007. fi
  18008. ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
  18009. if test "x$ac_cv_func_fstatfs" = xyes
  18010. then :
  18011. printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
  18012. fi
  18013. ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
  18014. if test "x$ac_cv_func_futimens" = xyes
  18015. then :
  18016. printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
  18017. fi
  18018. ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
  18019. if test "x$ac_cv_func_futimes" = xyes
  18020. then :
  18021. printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
  18022. fi
  18023. ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
  18024. if test "x$ac_cv_func_futimesat" = xyes
  18025. then :
  18026. printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
  18027. fi
  18028. ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
  18029. if test "x$ac_cv_func_getattrlist" = xyes
  18030. then :
  18031. printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
  18032. fi
  18033. ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
  18034. if test "x$ac_cv_func_getauxval" = xyes
  18035. then :
  18036. printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
  18037. fi
  18038. ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
  18039. if test "x$ac_cv_func_getifaddrs" = xyes
  18040. then :
  18041. printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
  18042. fi
  18043. ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
  18044. if test "x$ac_cv_func_getrandom" = xyes
  18045. then :
  18046. printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
  18047. fi
  18048. ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
  18049. if test "x$ac_cv_func_kqueue" = xyes
  18050. then :
  18051. printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
  18052. fi
  18053. ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
  18054. if test "x$ac_cv_func_mach_continuous_time" = xyes
  18055. then :
  18056. printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
  18057. fi
  18058. ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
  18059. if test "x$ac_cv_func_pipe2" = xyes
  18060. then :
  18061. printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
  18062. fi
  18063. ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
  18064. if test "x$ac_cv_func_port_create" = xyes
  18065. then :
  18066. printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
  18067. fi
  18068. ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
  18069. if test "x$ac_cv_func_posix_fadvise" = xyes
  18070. then :
  18071. printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
  18072. fi
  18073. ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
  18074. if test "x$ac_cv_func_posix_fallocate" = xyes
  18075. then :
  18076. printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
  18077. fi
  18078. ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
  18079. if test "x$ac_cv_func_prctl" = xyes
  18080. then :
  18081. printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
  18082. fi
  18083. ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
  18084. if test "x$ac_cv_func_proc_pidinfo" = xyes
  18085. then :
  18086. printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
  18087. fi
  18088. ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
  18089. if test "x$ac_cv_func_sched_yield" = xyes
  18090. then :
  18091. printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
  18092. fi
  18093. ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
  18094. if test "x$ac_cv_func_setproctitle" = xyes
  18095. then :
  18096. printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
  18097. fi
  18098. ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
  18099. if test "x$ac_cv_func_setprogname" = xyes
  18100. then :
  18101. printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
  18102. fi
  18103. ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
  18104. if test "x$ac_cv_func_sigprocmask" = xyes
  18105. then :
  18106. printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
  18107. fi
  18108. ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
  18109. if test "x$ac_cv_func_sysinfo" = xyes
  18110. then :
  18111. printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
  18112. fi
  18113. ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
  18114. if test "x$ac_cv_func_tcdrain" = xyes
  18115. then :
  18116. printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
  18117. fi
  18118. ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
  18119. if test "x$ac_cv_func_thr_kill2" = xyes
  18120. then :
  18121. printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
  18122. fi
  18123. CFLAGS="$ac_save_CFLAGS"
  18124. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  18125. printf %s "checking for library containing dlopen... " >&6; }
  18126. if test ${ac_cv_search_dlopen+y}
  18127. then :
  18128. printf %s "(cached) " >&6
  18129. else $as_nop
  18130. ac_func_search_save_LIBS=$LIBS
  18131. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18132. /* end confdefs.h. */
  18133. /* Override any GCC internal prototype to avoid an error.
  18134. Use char because int might match the return type of a GCC
  18135. builtin and then its argument prototype would still apply. */
  18136. char dlopen ();
  18137. int
  18138. main (void)
  18139. {
  18140. return dlopen ();
  18141. ;
  18142. return 0;
  18143. }
  18144. _ACEOF
  18145. for ac_lib in '' dl
  18146. do
  18147. if test -z "$ac_lib"; then
  18148. ac_res="none required"
  18149. else
  18150. ac_res=-l$ac_lib
  18151. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18152. fi
  18153. if ac_fn_c_try_link "$LINENO"
  18154. then :
  18155. ac_cv_search_dlopen=$ac_res
  18156. fi
  18157. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18158. conftest$ac_exeext
  18159. if test ${ac_cv_search_dlopen+y}
  18160. then :
  18161. break
  18162. fi
  18163. done
  18164. if test ${ac_cv_search_dlopen+y}
  18165. then :
  18166. else $as_nop
  18167. ac_cv_search_dlopen=no
  18168. fi
  18169. rm conftest.$ac_ext
  18170. LIBS=$ac_func_search_save_LIBS
  18171. fi
  18172. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  18173. printf "%s\n" "$ac_cv_search_dlopen" >&6; }
  18174. ac_res=$ac_cv_search_dlopen
  18175. if test "$ac_res" != no
  18176. then :
  18177. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18178. fi
  18179. ac_wine_check_funcs_save_LIBS="$LIBS"
  18180. LIBS="$LIBS $DL_LIBS"
  18181. ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
  18182. if test "x$ac_cv_func_dlinfo" = xyes
  18183. then :
  18184. printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
  18185. fi
  18186. LIBS="$ac_wine_check_funcs_save_LIBS"
  18187. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
  18188. printf %s "checking for library containing gethostbyname... " >&6; }
  18189. if test ${ac_cv_search_gethostbyname+y}
  18190. then :
  18191. printf %s "(cached) " >&6
  18192. else $as_nop
  18193. ac_func_search_save_LIBS=$LIBS
  18194. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18195. /* end confdefs.h. */
  18196. /* Override any GCC internal prototype to avoid an error.
  18197. Use char because int might match the return type of a GCC
  18198. builtin and then its argument prototype would still apply. */
  18199. char gethostbyname ();
  18200. int
  18201. main (void)
  18202. {
  18203. return gethostbyname ();
  18204. ;
  18205. return 0;
  18206. }
  18207. _ACEOF
  18208. for ac_lib in '' nsl
  18209. do
  18210. if test -z "$ac_lib"; then
  18211. ac_res="none required"
  18212. else
  18213. ac_res=-l$ac_lib
  18214. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18215. fi
  18216. if ac_fn_c_try_link "$LINENO"
  18217. then :
  18218. ac_cv_search_gethostbyname=$ac_res
  18219. fi
  18220. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18221. conftest$ac_exeext
  18222. if test ${ac_cv_search_gethostbyname+y}
  18223. then :
  18224. break
  18225. fi
  18226. done
  18227. if test ${ac_cv_search_gethostbyname+y}
  18228. then :
  18229. else $as_nop
  18230. ac_cv_search_gethostbyname=no
  18231. fi
  18232. rm conftest.$ac_ext
  18233. LIBS=$ac_func_search_save_LIBS
  18234. fi
  18235. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
  18236. printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
  18237. ac_res=$ac_cv_search_gethostbyname
  18238. if test "$ac_res" != no
  18239. then :
  18240. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18241. fi
  18242. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
  18243. printf %s "checking for library containing connect... " >&6; }
  18244. if test ${ac_cv_search_connect+y}
  18245. then :
  18246. printf %s "(cached) " >&6
  18247. else $as_nop
  18248. ac_func_search_save_LIBS=$LIBS
  18249. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18250. /* end confdefs.h. */
  18251. /* Override any GCC internal prototype to avoid an error.
  18252. Use char because int might match the return type of a GCC
  18253. builtin and then its argument prototype would still apply. */
  18254. char connect ();
  18255. int
  18256. main (void)
  18257. {
  18258. return connect ();
  18259. ;
  18260. return 0;
  18261. }
  18262. _ACEOF
  18263. for ac_lib in '' socket
  18264. do
  18265. if test -z "$ac_lib"; then
  18266. ac_res="none required"
  18267. else
  18268. ac_res=-l$ac_lib
  18269. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18270. fi
  18271. if ac_fn_c_try_link "$LINENO"
  18272. then :
  18273. ac_cv_search_connect=$ac_res
  18274. fi
  18275. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18276. conftest$ac_exeext
  18277. if test ${ac_cv_search_connect+y}
  18278. then :
  18279. break
  18280. fi
  18281. done
  18282. if test ${ac_cv_search_connect+y}
  18283. then :
  18284. else $as_nop
  18285. ac_cv_search_connect=no
  18286. fi
  18287. rm conftest.$ac_ext
  18288. LIBS=$ac_func_search_save_LIBS
  18289. fi
  18290. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
  18291. printf "%s\n" "$ac_cv_search_connect" >&6; }
  18292. ac_res=$ac_cv_search_connect
  18293. if test "$ac_res" != no
  18294. then :
  18295. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18296. fi
  18297. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
  18298. printf %s "checking for library containing inet_aton... " >&6; }
  18299. if test ${ac_cv_search_inet_aton+y}
  18300. then :
  18301. printf %s "(cached) " >&6
  18302. else $as_nop
  18303. ac_func_search_save_LIBS=$LIBS
  18304. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18305. /* end confdefs.h. */
  18306. /* Override any GCC internal prototype to avoid an error.
  18307. Use char because int might match the return type of a GCC
  18308. builtin and then its argument prototype would still apply. */
  18309. char inet_aton ();
  18310. int
  18311. main (void)
  18312. {
  18313. return inet_aton ();
  18314. ;
  18315. return 0;
  18316. }
  18317. _ACEOF
  18318. for ac_lib in '' resolv
  18319. do
  18320. if test -z "$ac_lib"; then
  18321. ac_res="none required"
  18322. else
  18323. ac_res=-l$ac_lib
  18324. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18325. fi
  18326. if ac_fn_c_try_link "$LINENO"
  18327. then :
  18328. ac_cv_search_inet_aton=$ac_res
  18329. fi
  18330. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18331. conftest$ac_exeext
  18332. if test ${ac_cv_search_inet_aton+y}
  18333. then :
  18334. break
  18335. fi
  18336. done
  18337. if test ${ac_cv_search_inet_aton+y}
  18338. then :
  18339. else $as_nop
  18340. ac_cv_search_inet_aton=no
  18341. fi
  18342. rm conftest.$ac_ext
  18343. LIBS=$ac_func_search_save_LIBS
  18344. fi
  18345. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
  18346. printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
  18347. ac_res=$ac_cv_search_inet_aton
  18348. if test "$ac_res" != no
  18349. then :
  18350. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18351. fi
  18352. ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
  18353. if test "x$ac_cv_func_getaddrinfo" = xyes
  18354. then :
  18355. printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
  18356. fi
  18357. case $host_os in
  18358. darwin*|macosx*) ;;
  18359. *) ac_save_LIBS=$LIBS
  18360. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  18361. printf %s "checking for library containing clock_gettime... " >&6; }
  18362. if test ${ac_cv_search_clock_gettime+y}
  18363. then :
  18364. printf %s "(cached) " >&6
  18365. else $as_nop
  18366. ac_func_search_save_LIBS=$LIBS
  18367. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18368. /* end confdefs.h. */
  18369. /* Override any GCC internal prototype to avoid an error.
  18370. Use char because int might match the return type of a GCC
  18371. builtin and then its argument prototype would still apply. */
  18372. char clock_gettime ();
  18373. int
  18374. main (void)
  18375. {
  18376. return clock_gettime ();
  18377. ;
  18378. return 0;
  18379. }
  18380. _ACEOF
  18381. for ac_lib in '' rt
  18382. do
  18383. if test -z "$ac_lib"; then
  18384. ac_res="none required"
  18385. else
  18386. ac_res=-l$ac_lib
  18387. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18388. fi
  18389. if ac_fn_c_try_link "$LINENO"
  18390. then :
  18391. ac_cv_search_clock_gettime=$ac_res
  18392. fi
  18393. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18394. conftest$ac_exeext
  18395. if test ${ac_cv_search_clock_gettime+y}
  18396. then :
  18397. break
  18398. fi
  18399. done
  18400. if test ${ac_cv_search_clock_gettime+y}
  18401. then :
  18402. else $as_nop
  18403. ac_cv_search_clock_gettime=no
  18404. fi
  18405. rm conftest.$ac_ext
  18406. LIBS=$ac_func_search_save_LIBS
  18407. fi
  18408. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  18409. printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
  18410. ac_res=$ac_cv_search_clock_gettime
  18411. if test "$ac_res" != no
  18412. then :
  18413. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18414. printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  18415. test "$ac_res" = "none required" || RT_LIBS="$ac_res"
  18416. fi
  18417. LIBS=$ac_save_LIBS
  18418. ;;
  18419. esac
  18420. if test "x$with_ldap" != "xno"
  18421. then
  18422. if ${LDAP_CFLAGS:+false} :
  18423. then :
  18424. if test ${PKG_CONFIG+y}
  18425. then :
  18426. LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
  18427. fi
  18428. fi
  18429. if ${LDAP_LIBS:+false} :
  18430. then :
  18431. if test ${PKG_CONFIG+y}
  18432. then :
  18433. LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
  18434. fi
  18435. fi
  18436. LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
  18437. printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
  18438. printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
  18439. ac_save_CPPFLAGS=$CPPFLAGS
  18440. CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
  18441. ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
  18442. if test "x$ac_cv_header_ldap_h" = xyes
  18443. then :
  18444. printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
  18445. fi
  18446. ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
  18447. if test "x$ac_cv_header_lber_h" = xyes
  18448. then :
  18449. printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
  18450. fi
  18451. if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
  18452. then
  18453. ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
  18454. "
  18455. if test "x$ac_cv_type_LDAPSortKey" = xyes
  18456. then :
  18457. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
  18458. printf %s "checking for ldap_initialize in -lldap... " >&6; }
  18459. if test ${ac_cv_lib_ldap_ldap_initialize+y}
  18460. then :
  18461. printf %s "(cached) " >&6
  18462. else $as_nop
  18463. ac_check_lib_save_LIBS=$LIBS
  18464. LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  18465. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18466. /* end confdefs.h. */
  18467. /* Override any GCC internal prototype to avoid an error.
  18468. Use char because int might match the return type of a GCC
  18469. builtin and then its argument prototype would still apply. */
  18470. char ldap_initialize ();
  18471. int
  18472. main (void)
  18473. {
  18474. return ldap_initialize ();
  18475. ;
  18476. return 0;
  18477. }
  18478. _ACEOF
  18479. if ac_fn_c_try_link "$LINENO"
  18480. then :
  18481. ac_cv_lib_ldap_ldap_initialize=yes
  18482. else $as_nop
  18483. ac_cv_lib_ldap_ldap_initialize=no
  18484. fi
  18485. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18486. conftest$ac_exeext conftest.$ac_ext
  18487. LIBS=$ac_check_lib_save_LIBS
  18488. fi
  18489. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
  18490. printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
  18491. if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
  18492. then :
  18493. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
  18494. printf %s "checking for ber_init in -llber... " >&6; }
  18495. if test ${ac_cv_lib_lber_ber_init+y}
  18496. then :
  18497. printf %s "(cached) " >&6
  18498. else $as_nop
  18499. ac_check_lib_save_LIBS=$LIBS
  18500. LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  18501. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18502. /* end confdefs.h. */
  18503. /* Override any GCC internal prototype to avoid an error.
  18504. Use char because int might match the return type of a GCC
  18505. builtin and then its argument prototype would still apply. */
  18506. char ber_init ();
  18507. int
  18508. main (void)
  18509. {
  18510. return ber_init ();
  18511. ;
  18512. return 0;
  18513. }
  18514. _ACEOF
  18515. if ac_fn_c_try_link "$LINENO"
  18516. then :
  18517. ac_cv_lib_lber_ber_init=yes
  18518. else $as_nop
  18519. ac_cv_lib_lber_ber_init=no
  18520. fi
  18521. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18522. conftest$ac_exeext conftest.$ac_ext
  18523. LIBS=$ac_check_lib_save_LIBS
  18524. fi
  18525. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
  18526. printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
  18527. if test "x$ac_cv_lib_lber_ber_init" = xyes
  18528. then :
  18529. printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
  18530. else $as_nop
  18531. LDAP_LIBS=""
  18532. fi
  18533. else $as_nop
  18534. LDAP_LIBS=""
  18535. fi
  18536. else $as_nop
  18537. LDAP_LIBS=""
  18538. fi
  18539. else
  18540. LDAP_LIBS=""
  18541. fi
  18542. CPPFLAGS=$ac_save_CPPFLAGS
  18543. fi
  18544. if test "x$LDAP_LIBS" = "x"
  18545. then :
  18546. case "x$with_ldap" in
  18547. x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
  18548. xno) ;;
  18549. *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
  18550. This is an error since --with-ldap was requested." "$LINENO" 5 ;;
  18551. esac
  18552. fi
  18553. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
  18554. printf %s "checking for sched_setaffinity... " >&6; }
  18555. if test ${wine_cv_have_sched_setaffinity+y}
  18556. then :
  18557. printf %s "(cached) " >&6
  18558. else $as_nop
  18559. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18560. /* end confdefs.h. */
  18561. #include <sched.h>
  18562. int
  18563. main (void)
  18564. {
  18565. sched_setaffinity(0, 0, 0);
  18566. ;
  18567. return 0;
  18568. }
  18569. _ACEOF
  18570. if ac_fn_c_try_link "$LINENO"
  18571. then :
  18572. wine_cv_have_sched_setaffinity=yes
  18573. else $as_nop
  18574. wine_cv_have_sched_setaffinity=no
  18575. fi
  18576. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18577. conftest$ac_exeext conftest.$ac_ext
  18578. fi
  18579. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
  18580. printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
  18581. if test "$wine_cv_have_sched_setaffinity" = "yes"
  18582. then
  18583. printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
  18584. fi
  18585. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  18586. printf %s "checking for inline... " >&6; }
  18587. if test ${ac_cv_c_inline+y}
  18588. then :
  18589. printf %s "(cached) " >&6
  18590. else $as_nop
  18591. ac_cv_c_inline=no
  18592. for ac_kw in inline __inline__ __inline; do
  18593. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18594. /* end confdefs.h. */
  18595. #ifndef __cplusplus
  18596. typedef int foo_t;
  18597. static $ac_kw foo_t static_foo (void) {return 0; }
  18598. $ac_kw foo_t foo (void) {return 0; }
  18599. #endif
  18600. _ACEOF
  18601. if ac_fn_c_try_compile "$LINENO"
  18602. then :
  18603. ac_cv_c_inline=$ac_kw
  18604. fi
  18605. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  18606. test "$ac_cv_c_inline" != no && break
  18607. done
  18608. fi
  18609. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  18610. printf "%s\n" "$ac_cv_c_inline" >&6; }
  18611. case $ac_cv_c_inline in
  18612. inline | yes) ;;
  18613. *)
  18614. case $ac_cv_c_inline in
  18615. no) ac_val=;;
  18616. *) ac_val=$ac_cv_c_inline;;
  18617. esac
  18618. cat >>confdefs.h <<_ACEOF
  18619. #ifndef __cplusplus
  18620. #define inline $ac_val
  18621. #endif
  18622. _ACEOF
  18623. ;;
  18624. esac
  18625. ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
  18626. #include <signal.h>
  18627. "
  18628. if test "x$ac_cv_type_sigset_t" = xyes
  18629. then :
  18630. printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
  18631. fi
  18632. ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
  18633. "
  18634. if test "x$ac_cv_type_request_sense" = xyes
  18635. then :
  18636. printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
  18637. fi
  18638. ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
  18639. #include <sys/socket.h>
  18640. #ifdef HAVE_SYS_SOCKETVAR_H
  18641. #include <sys/socketvar.h>
  18642. #endif
  18643. #ifdef HAVE_NET_ROUTE_H
  18644. #include <net/route.h>
  18645. #endif
  18646. #ifdef HAVE_NETINET_IN_H
  18647. #include <netinet/in.h>
  18648. #endif
  18649. #ifdef HAVE_NETINET_IN_SYSTM_H
  18650. #include <netinet/in_systm.h>
  18651. #endif
  18652. #ifdef HAVE_NETINET_IP_H
  18653. #include <netinet/ip.h>
  18654. #endif
  18655. #ifdef HAVE_NETINET_IN_PCB_H
  18656. #include <netinet/in_pcb.h>
  18657. #endif
  18658. "
  18659. if test "x$ac_cv_type_struct_xinpgen" = xyes
  18660. then :
  18661. printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
  18662. fi
  18663. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
  18664. printf %s "checking for sigaddset... " >&6; }
  18665. if test ${wine_cv_have_sigaddset+y}
  18666. then :
  18667. printf %s "(cached) " >&6
  18668. else $as_nop
  18669. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18670. /* end confdefs.h. */
  18671. #include <signal.h>
  18672. int
  18673. main (void)
  18674. {
  18675. sigset_t set; sigaddset(&set,SIGTERM);
  18676. ;
  18677. return 0;
  18678. }
  18679. _ACEOF
  18680. if ac_fn_c_try_link "$LINENO"
  18681. then :
  18682. wine_cv_have_sigaddset=yes
  18683. else $as_nop
  18684. wine_cv_have_sigaddset=no
  18685. fi
  18686. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18687. conftest$ac_exeext conftest.$ac_ext
  18688. fi
  18689. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
  18690. printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
  18691. if test "$wine_cv_have_sigaddset" = "yes"
  18692. then
  18693. printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
  18694. fi
  18695. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
  18696. printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
  18697. if test ${wine_cv_linux_gethostbyname_r_6+y}
  18698. then :
  18699. printf %s "(cached) " >&6
  18700. else $as_nop
  18701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18702. /* end confdefs.h. */
  18703. #include <netdb.h>
  18704. int
  18705. main (void)
  18706. {
  18707. char *name=0;
  18708. struct hostent he;
  18709. struct hostent *result;
  18710. char *buf=0;
  18711. int bufsize=0;
  18712. int errnr;
  18713. char *addr=0;
  18714. int addrlen=0;
  18715. int addrtype=0;
  18716. gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
  18717. gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
  18718. ;
  18719. return 0;
  18720. }
  18721. _ACEOF
  18722. if ac_fn_c_try_link "$LINENO"
  18723. then :
  18724. wine_cv_linux_gethostbyname_r_6=yes
  18725. else $as_nop
  18726. wine_cv_linux_gethostbyname_r_6=no
  18727. fi
  18728. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18729. conftest$ac_exeext conftest.$ac_ext
  18730. fi
  18731. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
  18732. printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
  18733. if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
  18734. then
  18735. printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
  18736. fi
  18737. ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
  18738. #include <sys/socket.h>
  18739. #ifdef HAVE_SYS_UN_H
  18740. # include <sys/un.h>
  18741. #endif
  18742. "
  18743. if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
  18744. then :
  18745. printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
  18746. fi
  18747. ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
  18748. #include <sys/socket.h>
  18749. #ifdef HAVE_SYS_UN_H
  18750. # include <sys/un.h>
  18751. #endif
  18752. "
  18753. if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
  18754. then :
  18755. printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
  18756. fi
  18757. ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
  18758. #ifdef HAVE_SCSI_SG_H
  18759. #include <scsi/sg.h>
  18760. #endif
  18761. "
  18762. if test "x$ac_cv_member_scsireq_t_cmd" = xyes
  18763. then :
  18764. printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
  18765. fi
  18766. 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>
  18767. #ifdef HAVE_SCSI_SG_H
  18768. #include <scsi/sg.h>
  18769. #endif
  18770. "
  18771. if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
  18772. then :
  18773. printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
  18774. fi
  18775. ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
  18776. "
  18777. if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
  18778. then :
  18779. printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
  18780. fi
  18781. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
  18782. #ifdef HAVE_SYS_MTIO_H
  18783. #include <sys/mtio.h>
  18784. #endif
  18785. "
  18786. if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
  18787. then :
  18788. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
  18789. fi
  18790. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
  18791. #ifdef HAVE_SYS_MTIO_H
  18792. #include <sys/mtio.h>
  18793. #endif
  18794. "
  18795. if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
  18796. then :
  18797. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
  18798. fi
  18799. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
  18800. #ifdef HAVE_SYS_MTIO_H
  18801. #include <sys/mtio.h>
  18802. #endif
  18803. "
  18804. if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
  18805. then :
  18806. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
  18807. fi
  18808. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
  18809. if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
  18810. then :
  18811. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
  18812. fi
  18813. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
  18814. if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
  18815. then :
  18816. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
  18817. fi
  18818. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
  18819. if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
  18820. then :
  18821. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
  18822. fi
  18823. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
  18824. if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
  18825. then :
  18826. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
  18827. fi
  18828. ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
  18829. if test "x$ac_cv_member_struct_stat_st_atim" = xyes
  18830. then :
  18831. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
  18832. fi
  18833. ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
  18834. if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
  18835. then :
  18836. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
  18837. fi
  18838. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
  18839. if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
  18840. then :
  18841. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
  18842. fi
  18843. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
  18844. if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
  18845. then :
  18846. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
  18847. fi
  18848. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
  18849. if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
  18850. then :
  18851. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
  18852. fi
  18853. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
  18854. if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
  18855. then :
  18856. printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
  18857. fi
  18858. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
  18859. if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
  18860. then :
  18861. printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
  18862. fi
  18863. 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>
  18864. #ifdef HAVE_NETINET_IN_H
  18865. #include <netinet/in.h>
  18866. #endif
  18867. "
  18868. if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
  18869. then :
  18870. printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
  18871. fi
  18872. 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
  18873. #include <resolv.h>
  18874. #endif
  18875. "
  18876. if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
  18877. then :
  18878. printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
  18879. fi
  18880. ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
  18881. #include <netinet/in.h>
  18882. #endif
  18883. "
  18884. if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
  18885. then :
  18886. printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
  18887. fi
  18888. ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
  18889. #ifdef HAVE_SYS_SOCKETVAR_H
  18890. #include <sys/socketvar.h>
  18891. #endif
  18892. #ifdef HAVE_NETINET_IN_H
  18893. #include <netinet/in.h>
  18894. #endif
  18895. #ifdef HAVE_NETINET_IP_VAR_H
  18896. #include <netinet/ip_var.h>
  18897. #endif
  18898. "
  18899. if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
  18900. then :
  18901. printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
  18902. fi
  18903. 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
  18904. #include <netinet/ip_var.h>
  18905. #endif
  18906. "
  18907. if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
  18908. then :
  18909. printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
  18910. fi
  18911. ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
  18912. #ifdef HAVE_SYS_SOCKETVAR_H
  18913. #include <sys/socketvar.h>
  18914. #endif
  18915. #ifdef HAVE_NETINET_IN_H
  18916. #include <netinet/in.h>
  18917. #endif
  18918. #ifdef HAVE_NETINET6_IP6_VAR_H
  18919. #include <netinet6/ip6_var.h>
  18920. #endif
  18921. "
  18922. if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
  18923. then :
  18924. printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
  18925. fi
  18926. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
  18927. #ifdef HAVE_SYS_SOCKETVAR_H
  18928. #include <sys/socketvar.h>
  18929. #endif
  18930. #ifdef HAVE_NETINET_IN_H
  18931. #include <netinet/in.h>
  18932. #endif
  18933. #ifdef HAVE_NETINET_IP_H
  18934. #include <netinet/ip.h>
  18935. #endif
  18936. #ifdef HAVE_NETINET_IP_ICMP_H
  18937. #include <netinet/ip_icmp.h>
  18938. #endif
  18939. #ifdef HAVE_NETINET_ICMP_VAR_H
  18940. #include <netinet/icmp_var.h>
  18941. #endif
  18942. "
  18943. if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
  18944. then :
  18945. printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
  18946. fi
  18947. ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
  18948. #ifdef HAVE_SYS_SOCKETVAR_H
  18949. #include <sys/socketvar.h>
  18950. #endif
  18951. #ifdef HAVE_NETINET_IN_H
  18952. #include <netinet/in.h>
  18953. #endif
  18954. #ifdef HAVE_NETINET_ICMP6_H
  18955. #include <netinet/icmp6.h>
  18956. #endif
  18957. "
  18958. if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
  18959. then :
  18960. printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
  18961. fi
  18962. ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
  18963. #ifdef HAVE_SYS_SOCKETVAR_H
  18964. #include <sys/socketvar.h>
  18965. #endif
  18966. #ifdef HAVE_NETINET_IN_H
  18967. #include <netinet/in.h>
  18968. #endif
  18969. #ifdef HAVE_NETINET_TCP_H
  18970. #include <netinet/tcp.h>
  18971. #endif
  18972. #ifdef HAVE_NETINET_TCP_VAR_H
  18973. #include <netinet/tcp_var.h>
  18974. #endif
  18975. "
  18976. if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
  18977. then :
  18978. printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
  18979. fi
  18980. 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
  18981. #include <netinet/tcp_var.h>
  18982. #endif
  18983. "
  18984. if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
  18985. then :
  18986. printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
  18987. fi
  18988. ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
  18989. #ifdef HAVE_NETINET_IN_H
  18990. #include <netinet/in.h>
  18991. #endif
  18992. #ifdef HAVE_NETINET_IP_VAR_H
  18993. #include <netinet/ip_var.h>
  18994. #endif
  18995. #ifdef HAVE_NETINET_UDP_H
  18996. #include <netinet/udp.h>
  18997. #endif
  18998. #ifdef HAVE_NETINET_UDP_VAR_H
  18999. #include <netinet/udp_var.h>
  19000. #endif
  19001. "
  19002. if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
  19003. then :
  19004. printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
  19005. fi
  19006. ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
  19007. #ifdef HAVE_NET_IF_H
  19008. # include <net/if.h>
  19009. #endif
  19010. "
  19011. if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
  19012. then :
  19013. printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
  19014. fi
  19015. ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
  19016. # include <sys/sysinfo.h>
  19017. #endif
  19018. "
  19019. if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
  19020. then :
  19021. printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
  19022. fi
  19023. ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
  19024. # include <sys/sysinfo.h>
  19025. #endif
  19026. "
  19027. if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
  19028. then :
  19029. printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
  19030. fi
  19031. LIBS="$ac_save_LIBS"
  19032. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
  19033. printf %s "checking for __builtin_popcount... " >&6; }
  19034. if test ${ac_cv_have___builtin_popcount+y}
  19035. then :
  19036. printf %s "(cached) " >&6
  19037. else $as_nop
  19038. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19039. /* end confdefs.h. */
  19040. int
  19041. main (void)
  19042. {
  19043. return __builtin_popcount(1)
  19044. ;
  19045. return 0;
  19046. }
  19047. _ACEOF
  19048. if ac_fn_c_try_link "$LINENO"
  19049. then :
  19050. ac_cv_have___builtin_popcount="yes"
  19051. else $as_nop
  19052. ac_cv_have___builtin_popcount="no"
  19053. fi
  19054. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19055. conftest$ac_exeext conftest.$ac_ext
  19056. fi
  19057. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
  19058. printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
  19059. if test "$ac_cv_have___builtin_popcount" = "yes"
  19060. then
  19061. printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
  19062. fi
  19063. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
  19064. printf %s "checking for __clear_cache... " >&6; }
  19065. if test ${ac_cv_have___clear_cache+y}
  19066. then :
  19067. printf %s "(cached) " >&6
  19068. else $as_nop
  19069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19070. /* end confdefs.h. */
  19071. int
  19072. main (void)
  19073. {
  19074. __clear_cache((void*)0, (void*)0); return 0;
  19075. ;
  19076. return 0;
  19077. }
  19078. _ACEOF
  19079. if ac_fn_c_try_link "$LINENO"
  19080. then :
  19081. ac_cv_have___clear_cache="yes"
  19082. else $as_nop
  19083. ac_cv_have___clear_cache="no"
  19084. fi
  19085. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19086. conftest$ac_exeext conftest.$ac_ext
  19087. fi
  19088. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
  19089. printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
  19090. if test "$ac_cv_have___clear_cache" = "yes"
  19091. then
  19092. printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
  19093. fi
  19094. case $host_cpu in
  19095. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
  19096. printf %s "checking whether we need to define __i386__... " >&6; }
  19097. if test ${ac_cv_cpp_def___i386__+y}
  19098. then :
  19099. printf %s "(cached) " >&6
  19100. else $as_nop
  19101. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19102. /* end confdefs.h. */
  19103. #ifndef __i386__
  19104. yes
  19105. #endif
  19106. _ACEOF
  19107. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19108. $EGREP "yes" >/dev/null 2>&1
  19109. then :
  19110. ac_cv_cpp_def___i386__=yes
  19111. else $as_nop
  19112. ac_cv_cpp_def___i386__=no
  19113. fi
  19114. rm -rf conftest*
  19115. fi
  19116. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
  19117. printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
  19118. if test "x$ac_cv_cpp_def___i386__" = xyes
  19119. then :
  19120. CFLAGS="$CFLAGS -D__i386__"
  19121. LINTFLAGS="$LINTFLAGS -D__i386__"
  19122. fi ;;
  19123. *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
  19124. printf %s "checking whether we need to define __x86_64__... " >&6; }
  19125. if test ${ac_cv_cpp_def___x86_64__+y}
  19126. then :
  19127. printf %s "(cached) " >&6
  19128. else $as_nop
  19129. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19130. /* end confdefs.h. */
  19131. #ifndef __x86_64__
  19132. yes
  19133. #endif
  19134. _ACEOF
  19135. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19136. $EGREP "yes" >/dev/null 2>&1
  19137. then :
  19138. ac_cv_cpp_def___x86_64__=yes
  19139. else $as_nop
  19140. ac_cv_cpp_def___x86_64__=no
  19141. fi
  19142. rm -rf conftest*
  19143. fi
  19144. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
  19145. printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
  19146. if test "x$ac_cv_cpp_def___x86_64__" = xyes
  19147. then :
  19148. CFLAGS="$CFLAGS -D__x86_64__"
  19149. LINTFLAGS="$LINTFLAGS -D__x86_64__"
  19150. fi ;;
  19151. *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
  19152. printf %s "checking whether we need to define __sparc64__... " >&6; }
  19153. if test ${ac_cv_cpp_def___sparc64__+y}
  19154. then :
  19155. printf %s "(cached) " >&6
  19156. else $as_nop
  19157. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19158. /* end confdefs.h. */
  19159. #ifndef __sparc64__
  19160. yes
  19161. #endif
  19162. _ACEOF
  19163. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19164. $EGREP "yes" >/dev/null 2>&1
  19165. then :
  19166. ac_cv_cpp_def___sparc64__=yes
  19167. else $as_nop
  19168. ac_cv_cpp_def___sparc64__=no
  19169. fi
  19170. rm -rf conftest*
  19171. fi
  19172. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
  19173. printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
  19174. if test "x$ac_cv_cpp_def___sparc64__" = xyes
  19175. then :
  19176. CFLAGS="$CFLAGS -D__sparc64__"
  19177. LINTFLAGS="$LINTFLAGS -D__sparc64__"
  19178. fi ;;
  19179. *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
  19180. printf %s "checking whether we need to define __sparc__... " >&6; }
  19181. if test ${ac_cv_cpp_def___sparc__+y}
  19182. then :
  19183. printf %s "(cached) " >&6
  19184. else $as_nop
  19185. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19186. /* end confdefs.h. */
  19187. #ifndef __sparc__
  19188. yes
  19189. #endif
  19190. _ACEOF
  19191. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19192. $EGREP "yes" >/dev/null 2>&1
  19193. then :
  19194. ac_cv_cpp_def___sparc__=yes
  19195. else $as_nop
  19196. ac_cv_cpp_def___sparc__=no
  19197. fi
  19198. rm -rf conftest*
  19199. fi
  19200. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
  19201. printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
  19202. if test "x$ac_cv_cpp_def___sparc__" = xyes
  19203. then :
  19204. CFLAGS="$CFLAGS -D__sparc__"
  19205. LINTFLAGS="$LINTFLAGS -D__sparc__"
  19206. fi ;;
  19207. *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
  19208. printf %s "checking whether we need to define __powerpc64__... " >&6; }
  19209. if test ${ac_cv_cpp_def___powerpc64__+y}
  19210. then :
  19211. printf %s "(cached) " >&6
  19212. else $as_nop
  19213. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19214. /* end confdefs.h. */
  19215. #ifndef __powerpc64__
  19216. yes
  19217. #endif
  19218. _ACEOF
  19219. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19220. $EGREP "yes" >/dev/null 2>&1
  19221. then :
  19222. ac_cv_cpp_def___powerpc64__=yes
  19223. else $as_nop
  19224. ac_cv_cpp_def___powerpc64__=no
  19225. fi
  19226. rm -rf conftest*
  19227. fi
  19228. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
  19229. printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
  19230. if test "x$ac_cv_cpp_def___powerpc64__" = xyes
  19231. then :
  19232. CFLAGS="$CFLAGS -D__powerpc64__"
  19233. LINTFLAGS="$LINTFLAGS -D__powerpc64__"
  19234. fi ;;
  19235. *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
  19236. printf %s "checking whether we need to define __powerpc__... " >&6; }
  19237. if test ${ac_cv_cpp_def___powerpc__+y}
  19238. then :
  19239. printf %s "(cached) " >&6
  19240. else $as_nop
  19241. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19242. /* end confdefs.h. */
  19243. #ifndef __powerpc__
  19244. yes
  19245. #endif
  19246. _ACEOF
  19247. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19248. $EGREP "yes" >/dev/null 2>&1
  19249. then :
  19250. ac_cv_cpp_def___powerpc__=yes
  19251. else $as_nop
  19252. ac_cv_cpp_def___powerpc__=no
  19253. fi
  19254. rm -rf conftest*
  19255. fi
  19256. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
  19257. printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
  19258. if test "x$ac_cv_cpp_def___powerpc__" = xyes
  19259. then :
  19260. CFLAGS="$CFLAGS -D__powerpc__"
  19261. LINTFLAGS="$LINTFLAGS -D__powerpc__"
  19262. fi ;;
  19263. *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
  19264. printf %s "checking whether we need to define __aarch64__... " >&6; }
  19265. if test ${ac_cv_cpp_def___aarch64__+y}
  19266. then :
  19267. printf %s "(cached) " >&6
  19268. else $as_nop
  19269. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19270. /* end confdefs.h. */
  19271. #ifndef __aarch64__
  19272. yes
  19273. #endif
  19274. _ACEOF
  19275. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19276. $EGREP "yes" >/dev/null 2>&1
  19277. then :
  19278. ac_cv_cpp_def___aarch64__=yes
  19279. else $as_nop
  19280. ac_cv_cpp_def___aarch64__=no
  19281. fi
  19282. rm -rf conftest*
  19283. fi
  19284. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
  19285. printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
  19286. if test "x$ac_cv_cpp_def___aarch64__" = xyes
  19287. then :
  19288. CFLAGS="$CFLAGS -D__aarch64__"
  19289. LINTFLAGS="$LINTFLAGS -D__aarch64__"
  19290. fi ;;
  19291. *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
  19292. printf %s "checking whether we need to define __arm__... " >&6; }
  19293. if test ${ac_cv_cpp_def___arm__+y}
  19294. then :
  19295. printf %s "(cached) " >&6
  19296. else $as_nop
  19297. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19298. /* end confdefs.h. */
  19299. #ifndef __arm__
  19300. yes
  19301. #endif
  19302. _ACEOF
  19303. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19304. $EGREP "yes" >/dev/null 2>&1
  19305. then :
  19306. ac_cv_cpp_def___arm__=yes
  19307. else $as_nop
  19308. ac_cv_cpp_def___arm__=no
  19309. fi
  19310. rm -rf conftest*
  19311. fi
  19312. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
  19313. printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
  19314. if test "x$ac_cv_cpp_def___arm__" = xyes
  19315. then :
  19316. CFLAGS="$CFLAGS -D__arm__"
  19317. LINTFLAGS="$LINTFLAGS -D__arm__"
  19318. fi ;;
  19319. esac
  19320. case $host_vendor in
  19321. *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
  19322. printf %s "checking whether we need to define __sun__... " >&6; }
  19323. if test ${ac_cv_cpp_def___sun__+y}
  19324. then :
  19325. printf %s "(cached) " >&6
  19326. else $as_nop
  19327. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19328. /* end confdefs.h. */
  19329. #ifndef __sun__
  19330. yes
  19331. #endif
  19332. _ACEOF
  19333. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19334. $EGREP "yes" >/dev/null 2>&1
  19335. then :
  19336. ac_cv_cpp_def___sun__=yes
  19337. else $as_nop
  19338. ac_cv_cpp_def___sun__=no
  19339. fi
  19340. rm -rf conftest*
  19341. fi
  19342. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
  19343. printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
  19344. if test "x$ac_cv_cpp_def___sun__" = xyes
  19345. then :
  19346. CFLAGS="$CFLAGS -D__sun__"
  19347. LINTFLAGS="$LINTFLAGS -D__sun__"
  19348. fi ;;
  19349. esac
  19350. ac_config_commands="$ac_config_commands include/stamp-h"
  19351. printf %s "creating Makefile rules..." >&6
  19352. makedep_flags=""
  19353. test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
  19354. wine_srcdir=
  19355. test "$srcdir" = . || wine_srcdir="$srcdir/"
  19356. ac_config_links="$ac_config_links wine:tools/winewrapper"
  19357. wine_fn_config_symlink wine
  19358. if test "x$enable_win64" != xno -o -n "$with_wine64"; then
  19359. ac_config_links="$ac_config_links wine64:tools/winewrapper"
  19360. wine_fn_config_symlink wine64
  19361. fi
  19362. wine_fn_config_makefile dlls/acledit enable_acledit
  19363. wine_fn_config_makefile dlls/aclui enable_aclui
  19364. wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
  19365. wine_fn_config_makefile dlls/activeds enable_activeds
  19366. wine_fn_config_makefile dlls/activeds/tests enable_tests
  19367. wine_fn_config_makefile dlls/actxprxy enable_actxprxy
  19368. wine_fn_config_makefile dlls/adsldp enable_adsldp
  19369. wine_fn_config_makefile dlls/adsldp/tests enable_tests
  19370. wine_fn_config_makefile dlls/adsldpc enable_adsldpc
  19371. wine_fn_config_makefile dlls/advapi32 enable_advapi32
  19372. wine_fn_config_makefile dlls/advapi32/tests enable_tests
  19373. wine_fn_config_makefile dlls/advpack enable_advpack
  19374. wine_fn_config_makefile dlls/advpack/tests enable_tests
  19375. wine_fn_config_makefile dlls/amsi enable_amsi
  19376. wine_fn_config_makefile dlls/amstream enable_amstream
  19377. wine_fn_config_makefile dlls/amstream/tests enable_tests
  19378. wine_fn_config_makefile dlls/apisetschema enable_apisetschema
  19379. wine_fn_config_makefile dlls/apphelp enable_apphelp
  19380. wine_fn_config_makefile dlls/apphelp/tests enable_tests
  19381. wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
  19382. wine_fn_config_makefile dlls/atl enable_atl
  19383. wine_fn_config_makefile dlls/atl/tests enable_tests
  19384. wine_fn_config_makefile dlls/atl100 enable_atl100
  19385. wine_fn_config_makefile dlls/atl100/tests enable_tests
  19386. wine_fn_config_makefile dlls/atl110 enable_atl110
  19387. wine_fn_config_makefile dlls/atl80 enable_atl80
  19388. wine_fn_config_makefile dlls/atl80/tests enable_tests
  19389. wine_fn_config_makefile dlls/atl90 enable_atl90
  19390. wine_fn_config_makefile dlls/atlthunk enable_atlthunk
  19391. wine_fn_config_makefile dlls/atlthunk/tests enable_tests
  19392. wine_fn_config_makefile dlls/atmlib enable_atmlib
  19393. wine_fn_config_makefile dlls/authz enable_authz
  19394. wine_fn_config_makefile dlls/avicap32 enable_avicap32
  19395. wine_fn_config_makefile dlls/avifil32 enable_avifil32
  19396. wine_fn_config_makefile dlls/avifil32/tests enable_tests
  19397. wine_fn_config_makefile dlls/avifile.dll16 enable_win16
  19398. wine_fn_config_makefile dlls/avrt enable_avrt
  19399. wine_fn_config_makefile dlls/bcrypt enable_bcrypt
  19400. wine_fn_config_makefile dlls/bcrypt/tests enable_tests
  19401. wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
  19402. wine_fn_config_makefile dlls/browseui enable_browseui
  19403. wine_fn_config_makefile dlls/browseui/tests enable_tests
  19404. wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
  19405. wine_fn_config_makefile dlls/cabinet enable_cabinet
  19406. wine_fn_config_makefile dlls/cabinet/tests enable_tests
  19407. wine_fn_config_makefile dlls/capi2032 enable_capi2032
  19408. wine_fn_config_makefile dlls/cards enable_cards
  19409. wine_fn_config_makefile dlls/cdosys enable_cdosys
  19410. wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
  19411. wine_fn_config_makefile dlls/clusapi enable_clusapi
  19412. wine_fn_config_makefile dlls/cng.sys enable_cng_sys
  19413. wine_fn_config_makefile dlls/combase enable_combase
  19414. wine_fn_config_makefile dlls/combase/tests enable_tests
  19415. wine_fn_config_makefile dlls/comcat enable_comcat
  19416. wine_fn_config_makefile dlls/comcat/tests enable_tests
  19417. wine_fn_config_makefile dlls/comctl32 enable_comctl32
  19418. wine_fn_config_makefile dlls/comctl32/tests enable_tests
  19419. wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
  19420. wine_fn_config_makefile dlls/comdlg32/tests enable_tests
  19421. wine_fn_config_makefile dlls/comm.drv16 enable_win16
  19422. wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
  19423. wine_fn_config_makefile dlls/compobj.dll16 enable_win16
  19424. wine_fn_config_makefile dlls/compstui enable_compstui
  19425. wine_fn_config_makefile dlls/comsvcs enable_comsvcs
  19426. wine_fn_config_makefile dlls/comsvcs/tests enable_tests
  19427. wine_fn_config_makefile dlls/concrt140 enable_concrt140
  19428. wine_fn_config_makefile dlls/concrt140/tests enable_tests
  19429. wine_fn_config_makefile dlls/connect enable_connect
  19430. wine_fn_config_makefile dlls/credui enable_credui
  19431. wine_fn_config_makefile dlls/credui/tests enable_tests
  19432. wine_fn_config_makefile dlls/crtdll enable_crtdll
  19433. wine_fn_config_makefile dlls/crypt32 enable_crypt32
  19434. wine_fn_config_makefile dlls/crypt32/tests enable_tests
  19435. wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
  19436. wine_fn_config_makefile dlls/cryptdll enable_cryptdll
  19437. wine_fn_config_makefile dlls/cryptext enable_cryptext
  19438. wine_fn_config_makefile dlls/cryptnet enable_cryptnet
  19439. wine_fn_config_makefile dlls/cryptnet/tests enable_tests
  19440. wine_fn_config_makefile dlls/cryptsp enable_cryptsp
  19441. wine_fn_config_makefile dlls/cryptui enable_cryptui
  19442. wine_fn_config_makefile dlls/cryptui/tests enable_tests
  19443. wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
  19444. wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
  19445. wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
  19446. wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
  19447. wine_fn_config_makefile dlls/d2d1 enable_d2d1
  19448. wine_fn_config_makefile dlls/d2d1/tests enable_tests
  19449. wine_fn_config_makefile dlls/d3d10 enable_d3d10
  19450. wine_fn_config_makefile dlls/d3d10/tests enable_tests
  19451. wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
  19452. wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
  19453. wine_fn_config_makefile dlls/d3d10core enable_d3d10core
  19454. wine_fn_config_makefile dlls/d3d10core/tests enable_tests
  19455. wine_fn_config_makefile dlls/d3d11 enable_d3d11
  19456. wine_fn_config_makefile dlls/d3d11/tests enable_tests
  19457. wine_fn_config_makefile dlls/d3d12 enable_d3d12
  19458. wine_fn_config_makefile dlls/d3d12/tests enable_tests
  19459. wine_fn_config_makefile dlls/d3d8 enable_d3d8
  19460. wine_fn_config_makefile dlls/d3d8/tests enable_tests
  19461. wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
  19462. wine_fn_config_makefile dlls/d3d9 enable_d3d9
  19463. wine_fn_config_makefile dlls/d3d9/tests enable_tests
  19464. wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
  19465. wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
  19466. wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
  19467. wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
  19468. wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
  19469. wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
  19470. wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
  19471. wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
  19472. wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
  19473. wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
  19474. wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
  19475. wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
  19476. wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
  19477. wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
  19478. wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
  19479. wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
  19480. wine_fn_config_makefile dlls/d3dim enable_d3dim
  19481. wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
  19482. wine_fn_config_makefile dlls/d3drm enable_d3drm
  19483. wine_fn_config_makefile dlls/d3drm/tests enable_tests
  19484. wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
  19485. wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
  19486. wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
  19487. wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
  19488. wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
  19489. wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
  19490. wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
  19491. wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
  19492. wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
  19493. wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
  19494. wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
  19495. wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
  19496. wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
  19497. wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
  19498. wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
  19499. wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
  19500. wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
  19501. wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
  19502. wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
  19503. wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
  19504. wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
  19505. wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
  19506. wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
  19507. wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
  19508. wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
  19509. wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
  19510. wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
  19511. wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
  19512. wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
  19513. wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
  19514. wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
  19515. wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
  19516. wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
  19517. wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
  19518. wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
  19519. wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
  19520. wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
  19521. wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
  19522. wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
  19523. wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
  19524. wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
  19525. wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
  19526. wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
  19527. wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
  19528. wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
  19529. wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
  19530. wine_fn_config_makefile dlls/d3dxof enable_d3dxof
  19531. wine_fn_config_makefile dlls/d3dxof/tests enable_tests
  19532. wine_fn_config_makefile dlls/davclnt enable_davclnt
  19533. wine_fn_config_makefile dlls/dbgeng enable_dbgeng
  19534. wine_fn_config_makefile dlls/dbgeng/tests enable_tests
  19535. wine_fn_config_makefile dlls/dbghelp enable_dbghelp
  19536. wine_fn_config_makefile dlls/dbghelp/tests enable_tests
  19537. wine_fn_config_makefile dlls/dciman32 enable_dciman32
  19538. wine_fn_config_makefile dlls/dcomp enable_dcomp
  19539. wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
  19540. wine_fn_config_makefile dlls/ddraw enable_ddraw
  19541. wine_fn_config_makefile dlls/ddraw/tests enable_tests
  19542. wine_fn_config_makefile dlls/ddrawex enable_ddrawex
  19543. wine_fn_config_makefile dlls/ddrawex/tests enable_tests
  19544. wine_fn_config_makefile dlls/devenum enable_devenum
  19545. wine_fn_config_makefile dlls/devenum/tests enable_tests
  19546. wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
  19547. wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
  19548. wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
  19549. wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
  19550. wine_fn_config_makefile dlls/diasymreader enable_diasymreader
  19551. wine_fn_config_makefile dlls/difxapi enable_difxapi
  19552. wine_fn_config_makefile dlls/dinput enable_dinput
  19553. wine_fn_config_makefile dlls/dinput/tests enable_tests
  19554. wine_fn_config_makefile dlls/dinput8 enable_dinput8
  19555. wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
  19556. wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
  19557. wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
  19558. wine_fn_config_makefile dlls/dispex enable_dispex
  19559. wine_fn_config_makefile dlls/dispex/tests enable_tests
  19560. wine_fn_config_makefile dlls/display.drv16 enable_win16
  19561. wine_fn_config_makefile dlls/dmband enable_dmband
  19562. wine_fn_config_makefile dlls/dmband/tests enable_tests
  19563. wine_fn_config_makefile dlls/dmcompos enable_dmcompos
  19564. wine_fn_config_makefile dlls/dmcompos/tests enable_tests
  19565. wine_fn_config_makefile dlls/dmime enable_dmime
  19566. wine_fn_config_makefile dlls/dmime/tests enable_tests
  19567. wine_fn_config_makefile dlls/dmloader enable_dmloader
  19568. wine_fn_config_makefile dlls/dmloader/tests enable_tests
  19569. wine_fn_config_makefile dlls/dmscript enable_dmscript
  19570. wine_fn_config_makefile dlls/dmscript/tests enable_tests
  19571. wine_fn_config_makefile dlls/dmstyle enable_dmstyle
  19572. wine_fn_config_makefile dlls/dmstyle/tests enable_tests
  19573. wine_fn_config_makefile dlls/dmsynth enable_dmsynth
  19574. wine_fn_config_makefile dlls/dmsynth/tests enable_tests
  19575. wine_fn_config_makefile dlls/dmusic enable_dmusic
  19576. wine_fn_config_makefile dlls/dmusic/tests enable_tests
  19577. wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
  19578. wine_fn_config_makefile dlls/dnsapi enable_dnsapi
  19579. wine_fn_config_makefile dlls/dnsapi/tests enable_tests
  19580. wine_fn_config_makefile dlls/dplay enable_dplay
  19581. wine_fn_config_makefile dlls/dplayx enable_dplayx
  19582. wine_fn_config_makefile dlls/dplayx/tests enable_tests
  19583. wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
  19584. wine_fn_config_makefile dlls/dpnet enable_dpnet
  19585. wine_fn_config_makefile dlls/dpnet/tests enable_tests
  19586. wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
  19587. wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
  19588. wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
  19589. wine_fn_config_makefile dlls/dpvoice enable_dpvoice
  19590. wine_fn_config_makefile dlls/dpvoice/tests enable_tests
  19591. wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
  19592. wine_fn_config_makefile dlls/drmclien enable_drmclien
  19593. wine_fn_config_makefile dlls/dsdmo enable_dsdmo
  19594. wine_fn_config_makefile dlls/dsdmo/tests enable_tests
  19595. wine_fn_config_makefile dlls/dsound enable_dsound
  19596. wine_fn_config_makefile dlls/dsound/tests enable_tests
  19597. wine_fn_config_makefile dlls/dsquery enable_dsquery
  19598. wine_fn_config_makefile dlls/dssenh enable_dssenh
  19599. wine_fn_config_makefile dlls/dssenh/tests enable_tests
  19600. wine_fn_config_makefile dlls/dsuiext enable_dsuiext
  19601. wine_fn_config_makefile dlls/dswave enable_dswave
  19602. wine_fn_config_makefile dlls/dswave/tests enable_tests
  19603. wine_fn_config_makefile dlls/dwmapi enable_dwmapi
  19604. wine_fn_config_makefile dlls/dwmapi/tests enable_tests
  19605. wine_fn_config_makefile dlls/dwrite enable_dwrite
  19606. wine_fn_config_makefile dlls/dwrite/tests enable_tests
  19607. wine_fn_config_makefile dlls/dx8vb enable_dx8vb
  19608. wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
  19609. wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
  19610. wine_fn_config_makefile dlls/dxgi enable_dxgi
  19611. wine_fn_config_makefile dlls/dxgi/tests enable_tests
  19612. wine_fn_config_makefile dlls/dxtrans enable_dxtrans
  19613. wine_fn_config_makefile dlls/dxva2 enable_dxva2
  19614. wine_fn_config_makefile dlls/dxva2/tests enable_tests
  19615. wine_fn_config_makefile dlls/esent enable_esent
  19616. wine_fn_config_makefile dlls/evr enable_evr
  19617. wine_fn_config_makefile dlls/evr/tests enable_tests
  19618. wine_fn_config_makefile dlls/explorerframe enable_explorerframe
  19619. wine_fn_config_makefile dlls/explorerframe/tests enable_tests
  19620. wine_fn_config_makefile dlls/faultrep enable_faultrep
  19621. wine_fn_config_makefile dlls/faultrep/tests enable_tests
  19622. wine_fn_config_makefile dlls/feclient enable_feclient
  19623. wine_fn_config_makefile dlls/fltlib enable_fltlib
  19624. wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
  19625. wine_fn_config_makefile dlls/fntcache enable_fntcache
  19626. wine_fn_config_makefile dlls/fontsub enable_fontsub
  19627. wine_fn_config_makefile dlls/fusion enable_fusion
  19628. wine_fn_config_makefile dlls/fusion/tests enable_tests
  19629. wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
  19630. wine_fn_config_makefile dlls/gameux enable_gameux
  19631. wine_fn_config_makefile dlls/gameux/tests enable_tests
  19632. wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
  19633. wine_fn_config_makefile dlls/gdi.exe16 enable_win16
  19634. wine_fn_config_makefile dlls/gdi32 enable_gdi32
  19635. wine_fn_config_makefile dlls/gdi32/tests enable_tests
  19636. wine_fn_config_makefile dlls/gdiplus enable_gdiplus
  19637. wine_fn_config_makefile dlls/gdiplus/tests enable_tests
  19638. wine_fn_config_makefile dlls/glu32 enable_glu32
  19639. wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
  19640. wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
  19641. wine_fn_config_makefile dlls/hal enable_hal
  19642. wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
  19643. wine_fn_config_makefile dlls/hid enable_hid
  19644. wine_fn_config_makefile dlls/hid/tests enable_tests
  19645. wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
  19646. wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
  19647. wine_fn_config_makefile dlls/hlink enable_hlink
  19648. wine_fn_config_makefile dlls/hlink/tests enable_tests
  19649. wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
  19650. wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
  19651. wine_fn_config_makefile dlls/http.sys enable_http_sys
  19652. wine_fn_config_makefile dlls/httpapi enable_httpapi
  19653. wine_fn_config_makefile dlls/httpapi/tests enable_tests
  19654. wine_fn_config_makefile dlls/iccvid enable_iccvid
  19655. wine_fn_config_makefile dlls/icmp enable_icmp
  19656. wine_fn_config_makefile dlls/ieframe enable_ieframe
  19657. wine_fn_config_makefile dlls/ieframe/tests enable_tests
  19658. wine_fn_config_makefile dlls/ieproxy enable_ieproxy
  19659. wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
  19660. wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
  19661. wine_fn_config_makefile dlls/imagehlp enable_imagehlp
  19662. wine_fn_config_makefile dlls/imagehlp/tests enable_tests
  19663. wine_fn_config_makefile dlls/imm.dll16 enable_win16
  19664. wine_fn_config_makefile dlls/imm32 enable_imm32
  19665. wine_fn_config_makefile dlls/imm32/tests enable_tests
  19666. wine_fn_config_makefile dlls/inetcomm enable_inetcomm
  19667. wine_fn_config_makefile dlls/inetcomm/tests enable_tests
  19668. wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
  19669. wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
  19670. wine_fn_config_makefile dlls/inetmib1/tests enable_tests
  19671. wine_fn_config_makefile dlls/infosoft enable_infosoft
  19672. wine_fn_config_makefile dlls/infosoft/tests enable_tests
  19673. wine_fn_config_makefile dlls/initpki enable_initpki
  19674. wine_fn_config_makefile dlls/inkobj enable_inkobj
  19675. wine_fn_config_makefile dlls/inseng enable_inseng
  19676. wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
  19677. wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
  19678. wine_fn_config_makefile dlls/iprop enable_iprop
  19679. wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
  19680. wine_fn_config_makefile dlls/itircl enable_itircl
  19681. wine_fn_config_makefile dlls/itss enable_itss
  19682. wine_fn_config_makefile dlls/itss/tests enable_tests
  19683. wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
  19684. wine_fn_config_makefile dlls/jscript enable_jscript
  19685. wine_fn_config_makefile dlls/jscript/tests enable_tests
  19686. wine_fn_config_makefile dlls/jsproxy enable_jsproxy
  19687. wine_fn_config_makefile dlls/jsproxy/tests enable_tests
  19688. wine_fn_config_makefile dlls/kerberos enable_kerberos
  19689. wine_fn_config_makefile dlls/kernel32 enable_kernel32
  19690. wine_fn_config_makefile dlls/kernel32/tests enable_tests
  19691. wine_fn_config_makefile dlls/kernelbase enable_kernelbase
  19692. wine_fn_config_makefile dlls/kernelbase/tests enable_tests
  19693. wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
  19694. wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
  19695. wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
  19696. wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
  19697. wine_fn_config_makefile dlls/ksuser enable_ksuser
  19698. wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
  19699. wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
  19700. wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
  19701. wine_fn_config_makefile dlls/loadperf enable_loadperf
  19702. wine_fn_config_makefile dlls/localspl enable_localspl
  19703. wine_fn_config_makefile dlls/localspl/tests enable_tests
  19704. wine_fn_config_makefile dlls/localui enable_localui
  19705. wine_fn_config_makefile dlls/localui/tests enable_tests
  19706. wine_fn_config_makefile dlls/lz32 enable_lz32
  19707. wine_fn_config_makefile dlls/lz32/tests enable_tests
  19708. wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
  19709. wine_fn_config_makefile dlls/mapi32 enable_mapi32
  19710. wine_fn_config_makefile dlls/mapi32/tests enable_tests
  19711. wine_fn_config_makefile dlls/mapistub enable_mapistub
  19712. wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
  19713. wine_fn_config_makefile dlls/mcicda enable_mcicda
  19714. wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
  19715. wine_fn_config_makefile dlls/mciseq enable_mciseq
  19716. wine_fn_config_makefile dlls/mciwave enable_mciwave
  19717. wine_fn_config_makefile dlls/mf enable_mf
  19718. wine_fn_config_makefile dlls/mf/tests enable_tests
  19719. wine_fn_config_makefile dlls/mf3216 enable_mf3216
  19720. wine_fn_config_makefile dlls/mferror enable_mferror
  19721. wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
  19722. wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
  19723. wine_fn_config_makefile dlls/mfplat enable_mfplat
  19724. wine_fn_config_makefile dlls/mfplat/tests enable_tests
  19725. wine_fn_config_makefile dlls/mfplay enable_mfplay
  19726. wine_fn_config_makefile dlls/mfplay/tests enable_tests
  19727. wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
  19728. wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
  19729. wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
  19730. wine_fn_config_makefile dlls/midimap enable_midimap
  19731. wine_fn_config_makefile dlls/mlang enable_mlang
  19732. wine_fn_config_makefile dlls/mlang/tests enable_tests
  19733. wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
  19734. wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
  19735. wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
  19736. wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
  19737. wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
  19738. wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
  19739. wine_fn_config_makefile dlls/monodebg.vxd enable_win16
  19740. wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
  19741. wine_fn_config_makefile dlls/mouse.drv16 enable_win16
  19742. wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
  19743. wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
  19744. wine_fn_config_makefile dlls/mpr enable_mpr
  19745. wine_fn_config_makefile dlls/mpr/tests enable_tests
  19746. wine_fn_config_makefile dlls/mprapi enable_mprapi
  19747. wine_fn_config_makefile dlls/msacm.dll16 enable_win16
  19748. wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
  19749. wine_fn_config_makefile dlls/msacm32 enable_msacm32
  19750. wine_fn_config_makefile dlls/msacm32/tests enable_tests
  19751. wine_fn_config_makefile dlls/msado15 enable_msado15
  19752. wine_fn_config_makefile dlls/msado15/tests enable_tests
  19753. wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
  19754. wine_fn_config_makefile dlls/msasn1 enable_msasn1
  19755. wine_fn_config_makefile dlls/msasn1/tests enable_tests
  19756. wine_fn_config_makefile dlls/mscat32 enable_mscat32
  19757. wine_fn_config_makefile dlls/mscms enable_mscms
  19758. wine_fn_config_makefile dlls/mscms/tests enable_tests
  19759. wine_fn_config_makefile dlls/mscoree enable_mscoree
  19760. wine_fn_config_makefile dlls/mscoree/tests enable_tests
  19761. wine_fn_config_makefile dlls/mscorwks enable_mscorwks
  19762. wine_fn_config_makefile dlls/msctf enable_msctf
  19763. wine_fn_config_makefile dlls/msctf/tests enable_tests
  19764. wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
  19765. wine_fn_config_makefile dlls/msctfp enable_msctfp
  19766. wine_fn_config_makefile dlls/msdaps enable_msdaps
  19767. wine_fn_config_makefile dlls/msdasql enable_msdasql
  19768. wine_fn_config_makefile dlls/msdasql/tests enable_tests
  19769. wine_fn_config_makefile dlls/msdelta enable_msdelta
  19770. wine_fn_config_makefile dlls/msdmo enable_msdmo
  19771. wine_fn_config_makefile dlls/msdmo/tests enable_tests
  19772. wine_fn_config_makefile dlls/msdrm enable_msdrm
  19773. wine_fn_config_makefile dlls/msftedit enable_msftedit
  19774. wine_fn_config_makefile dlls/msftedit/tests enable_tests
  19775. wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
  19776. wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
  19777. wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
  19778. wine_fn_config_makefile dlls/mshtml enable_mshtml
  19779. wine_fn_config_makefile dlls/mshtml/tests enable_tests
  19780. wine_fn_config_makefile dlls/msi enable_msi
  19781. wine_fn_config_makefile dlls/msi/tests enable_tests
  19782. wine_fn_config_makefile dlls/msident enable_msident
  19783. wine_fn_config_makefile dlls/msimg32 enable_msimg32
  19784. wine_fn_config_makefile dlls/msimsg enable_msimsg
  19785. wine_fn_config_makefile dlls/msimtf enable_msimtf
  19786. wine_fn_config_makefile dlls/msisip enable_msisip
  19787. wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
  19788. wine_fn_config_makefile dlls/msls31 enable_msls31
  19789. wine_fn_config_makefile dlls/msnet32 enable_msnet32
  19790. wine_fn_config_makefile dlls/mspatcha enable_mspatcha
  19791. wine_fn_config_makefile dlls/mspatcha/tests enable_tests
  19792. wine_fn_config_makefile dlls/msports enable_msports
  19793. wine_fn_config_makefile dlls/msrle32 enable_msrle32
  19794. wine_fn_config_makefile dlls/msrle32/tests enable_tests
  19795. wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
  19796. wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
  19797. wine_fn_config_makefile dlls/mssign32 enable_mssign32
  19798. wine_fn_config_makefile dlls/mssip32 enable_mssip32
  19799. wine_fn_config_makefile dlls/mstask enable_mstask
  19800. wine_fn_config_makefile dlls/mstask/tests enable_tests
  19801. wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
  19802. wine_fn_config_makefile dlls/msvcirt enable_msvcirt
  19803. wine_fn_config_makefile dlls/msvcirt/tests enable_tests
  19804. wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
  19805. wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
  19806. wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
  19807. wine_fn_config_makefile dlls/msvcp100/tests enable_tests
  19808. wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
  19809. wine_fn_config_makefile dlls/msvcp110/tests enable_tests
  19810. wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
  19811. wine_fn_config_makefile dlls/msvcp120/tests enable_tests
  19812. wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
  19813. wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
  19814. wine_fn_config_makefile dlls/msvcp140/tests enable_tests
  19815. wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
  19816. wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
  19817. wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
  19818. wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
  19819. wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
  19820. wine_fn_config_makefile dlls/msvcp60/tests enable_tests
  19821. wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
  19822. wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
  19823. wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
  19824. wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
  19825. wine_fn_config_makefile dlls/msvcp90/tests enable_tests
  19826. wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
  19827. wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
  19828. wine_fn_config_makefile dlls/msvcr100/tests enable_tests
  19829. wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
  19830. wine_fn_config_makefile dlls/msvcr110/tests enable_tests
  19831. wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
  19832. wine_fn_config_makefile dlls/msvcr120/tests enable_tests
  19833. wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
  19834. wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
  19835. wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
  19836. wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
  19837. wine_fn_config_makefile dlls/msvcr80/tests enable_tests
  19838. wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
  19839. wine_fn_config_makefile dlls/msvcr90/tests enable_tests
  19840. wine_fn_config_makefile dlls/msvcrt enable_msvcrt
  19841. wine_fn_config_makefile dlls/msvcrt/tests enable_tests
  19842. wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
  19843. wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
  19844. wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
  19845. wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
  19846. wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
  19847. wine_fn_config_makefile dlls/msvfw32/tests enable_tests
  19848. wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
  19849. wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
  19850. wine_fn_config_makefile dlls/mswsock enable_mswsock
  19851. wine_fn_config_makefile dlls/msxml enable_msxml
  19852. wine_fn_config_makefile dlls/msxml2 enable_msxml2
  19853. wine_fn_config_makefile dlls/msxml3 enable_msxml3
  19854. wine_fn_config_makefile dlls/msxml3/tests enable_tests
  19855. wine_fn_config_makefile dlls/msxml4 enable_msxml4
  19856. wine_fn_config_makefile dlls/msxml6 enable_msxml6
  19857. wine_fn_config_makefile dlls/mtxdm enable_mtxdm
  19858. wine_fn_config_makefile dlls/ncrypt enable_ncrypt
  19859. wine_fn_config_makefile dlls/ncrypt/tests enable_tests
  19860. wine_fn_config_makefile dlls/nddeapi enable_nddeapi
  19861. wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
  19862. wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
  19863. wine_fn_config_makefile dlls/netapi32 enable_netapi32
  19864. wine_fn_config_makefile dlls/netapi32/tests enable_tests
  19865. wine_fn_config_makefile dlls/netcfgx enable_netcfgx
  19866. wine_fn_config_makefile dlls/netcfgx/tests enable_tests
  19867. wine_fn_config_makefile dlls/netio.sys enable_netio_sys
  19868. wine_fn_config_makefile dlls/netprofm enable_netprofm
  19869. wine_fn_config_makefile dlls/netprofm/tests enable_tests
  19870. wine_fn_config_makefile dlls/netutils enable_netutils
  19871. wine_fn_config_makefile dlls/newdev enable_newdev
  19872. wine_fn_config_makefile dlls/ninput enable_ninput
  19873. wine_fn_config_makefile dlls/ninput/tests enable_tests
  19874. wine_fn_config_makefile dlls/normaliz enable_normaliz
  19875. wine_fn_config_makefile dlls/npmshtml enable_npmshtml
  19876. wine_fn_config_makefile dlls/npptools enable_npptools
  19877. wine_fn_config_makefile dlls/nsi enable_nsi
  19878. wine_fn_config_makefile dlls/nsi/tests enable_tests
  19879. wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
  19880. wine_fn_config_makefile dlls/ntdll enable_ntdll
  19881. wine_fn_config_makefile dlls/ntdll/tests enable_tests
  19882. wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
  19883. wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
  19884. wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
  19885. wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
  19886. wine_fn_config_makefile dlls/ntprint enable_ntprint
  19887. wine_fn_config_makefile dlls/ntprint/tests enable_tests
  19888. wine_fn_config_makefile dlls/objsel enable_objsel
  19889. wine_fn_config_makefile dlls/odbc32 enable_odbc32
  19890. wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
  19891. wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
  19892. wine_fn_config_makefile dlls/odbccp32/tests enable_tests
  19893. wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
  19894. wine_fn_config_makefile dlls/ole2.dll16 enable_win16
  19895. wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
  19896. wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
  19897. wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
  19898. wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
  19899. wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
  19900. wine_fn_config_makefile dlls/ole32 enable_ole32
  19901. wine_fn_config_makefile dlls/ole32/tests enable_tests
  19902. wine_fn_config_makefile dlls/oleacc enable_oleacc
  19903. wine_fn_config_makefile dlls/oleacc/tests enable_tests
  19904. wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
  19905. wine_fn_config_makefile dlls/oleaut32/tests enable_tests
  19906. wine_fn_config_makefile dlls/olecli.dll16 enable_win16
  19907. wine_fn_config_makefile dlls/olecli32 enable_olecli32
  19908. wine_fn_config_makefile dlls/oledb32 enable_oledb32
  19909. wine_fn_config_makefile dlls/oledb32/tests enable_tests
  19910. wine_fn_config_makefile dlls/oledlg enable_oledlg
  19911. wine_fn_config_makefile dlls/oledlg/tests enable_tests
  19912. wine_fn_config_makefile dlls/olepro32 enable_olepro32
  19913. wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
  19914. wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
  19915. wine_fn_config_makefile dlls/olethk32 enable_olethk32
  19916. wine_fn_config_makefile dlls/opcservices enable_opcservices
  19917. wine_fn_config_makefile dlls/opcservices/tests enable_tests
  19918. wine_fn_config_makefile dlls/openal32 enable_openal32
  19919. wine_fn_config_makefile dlls/opencl enable_opencl
  19920. wine_fn_config_makefile dlls/opengl32 enable_opengl32
  19921. wine_fn_config_makefile dlls/opengl32/tests enable_tests
  19922. wine_fn_config_makefile dlls/packager enable_packager
  19923. wine_fn_config_makefile dlls/packager/tests enable_tests
  19924. wine_fn_config_makefile dlls/pdh enable_pdh
  19925. wine_fn_config_makefile dlls/pdh/tests enable_tests
  19926. wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
  19927. wine_fn_config_makefile dlls/pidgen enable_pidgen
  19928. wine_fn_config_makefile dlls/powrprof enable_powrprof
  19929. wine_fn_config_makefile dlls/printui enable_printui
  19930. wine_fn_config_makefile dlls/prntvpt enable_prntvpt
  19931. wine_fn_config_makefile dlls/prntvpt/tests enable_tests
  19932. wine_fn_config_makefile dlls/propsys enable_propsys
  19933. wine_fn_config_makefile dlls/propsys/tests enable_tests
  19934. wine_fn_config_makefile dlls/psapi enable_psapi
  19935. wine_fn_config_makefile dlls/psapi/tests enable_tests
  19936. wine_fn_config_makefile dlls/pstorec enable_pstorec
  19937. wine_fn_config_makefile dlls/pstorec/tests enable_tests
  19938. wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
  19939. wine_fn_config_makefile dlls/qasf enable_qasf
  19940. wine_fn_config_makefile dlls/qasf/tests enable_tests
  19941. wine_fn_config_makefile dlls/qcap enable_qcap
  19942. wine_fn_config_makefile dlls/qcap/tests enable_tests
  19943. wine_fn_config_makefile dlls/qdvd enable_qdvd
  19944. wine_fn_config_makefile dlls/qdvd/tests enable_tests
  19945. wine_fn_config_makefile dlls/qedit enable_qedit
  19946. wine_fn_config_makefile dlls/qedit/tests enable_tests
  19947. wine_fn_config_makefile dlls/qmgr enable_qmgr
  19948. wine_fn_config_makefile dlls/qmgr/tests enable_tests
  19949. wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
  19950. wine_fn_config_makefile dlls/quartz enable_quartz
  19951. wine_fn_config_makefile dlls/quartz/tests enable_tests
  19952. wine_fn_config_makefile dlls/query enable_query
  19953. wine_fn_config_makefile dlls/qwave enable_qwave
  19954. wine_fn_config_makefile dlls/qwave/tests enable_tests
  19955. wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
  19956. wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
  19957. wine_fn_config_makefile dlls/rasapi32/tests enable_tests
  19958. wine_fn_config_makefile dlls/rasdlg enable_rasdlg
  19959. wine_fn_config_makefile dlls/regapi enable_regapi
  19960. wine_fn_config_makefile dlls/resutils enable_resutils
  19961. wine_fn_config_makefile dlls/riched20 enable_riched20
  19962. wine_fn_config_makefile dlls/riched20/tests enable_tests
  19963. wine_fn_config_makefile dlls/riched32 enable_riched32
  19964. wine_fn_config_makefile dlls/riched32/tests enable_tests
  19965. wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
  19966. wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
  19967. wine_fn_config_makefile dlls/rsabase enable_rsabase
  19968. wine_fn_config_makefile dlls/rsaenh enable_rsaenh
  19969. wine_fn_config_makefile dlls/rsaenh/tests enable_tests
  19970. wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
  19971. wine_fn_config_makefile dlls/rtutils enable_rtutils
  19972. wine_fn_config_makefile dlls/rtworkq enable_rtworkq
  19973. wine_fn_config_makefile dlls/rtworkq/tests enable_tests
  19974. wine_fn_config_makefile dlls/samlib enable_samlib
  19975. wine_fn_config_makefile dlls/sane.ds enable_sane_ds
  19976. wine_fn_config_makefile dlls/sapi enable_sapi
  19977. wine_fn_config_makefile dlls/sapi/tests enable_tests
  19978. wine_fn_config_makefile dlls/sas enable_sas
  19979. wine_fn_config_makefile dlls/scarddlg enable_scarddlg
  19980. wine_fn_config_makefile dlls/sccbase enable_sccbase
  19981. wine_fn_config_makefile dlls/schannel enable_schannel
  19982. wine_fn_config_makefile dlls/schannel/tests enable_tests
  19983. wine_fn_config_makefile dlls/schedsvc enable_schedsvc
  19984. wine_fn_config_makefile dlls/schedsvc/tests enable_tests
  19985. wine_fn_config_makefile dlls/scrobj enable_scrobj
  19986. wine_fn_config_makefile dlls/scrobj/tests enable_tests
  19987. wine_fn_config_makefile dlls/scrrun enable_scrrun
  19988. wine_fn_config_makefile dlls/scrrun/tests enable_tests
  19989. wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
  19990. wine_fn_config_makefile dlls/sechost enable_sechost
  19991. wine_fn_config_makefile dlls/secur32 enable_secur32
  19992. wine_fn_config_makefile dlls/secur32/tests enable_tests
  19993. wine_fn_config_makefile dlls/security enable_security
  19994. wine_fn_config_makefile dlls/sensapi enable_sensapi
  19995. wine_fn_config_makefile dlls/serialui enable_serialui
  19996. wine_fn_config_makefile dlls/serialui/tests enable_tests
  19997. wine_fn_config_makefile dlls/setupapi enable_setupapi
  19998. wine_fn_config_makefile dlls/setupapi/tests enable_tests
  19999. wine_fn_config_makefile dlls/setupx.dll16 enable_win16
  20000. wine_fn_config_makefile dlls/sfc enable_sfc
  20001. wine_fn_config_makefile dlls/sfc_os enable_sfc_os
  20002. wine_fn_config_makefile dlls/shcore enable_shcore
  20003. wine_fn_config_makefile dlls/shcore/tests enable_tests
  20004. wine_fn_config_makefile dlls/shdoclc enable_shdoclc
  20005. wine_fn_config_makefile dlls/shdocvw enable_shdocvw
  20006. wine_fn_config_makefile dlls/shdocvw/tests enable_tests
  20007. wine_fn_config_makefile dlls/shell.dll16 enable_win16
  20008. wine_fn_config_makefile dlls/shell32 enable_shell32
  20009. wine_fn_config_makefile dlls/shell32/tests enable_tests
  20010. wine_fn_config_makefile dlls/shfolder enable_shfolder
  20011. wine_fn_config_makefile dlls/shlwapi enable_shlwapi
  20012. wine_fn_config_makefile dlls/shlwapi/tests enable_tests
  20013. wine_fn_config_makefile dlls/slbcsp enable_slbcsp
  20014. wine_fn_config_makefile dlls/slc enable_slc
  20015. wine_fn_config_makefile dlls/slc/tests enable_tests
  20016. wine_fn_config_makefile dlls/snmpapi enable_snmpapi
  20017. wine_fn_config_makefile dlls/snmpapi/tests enable_tests
  20018. wine_fn_config_makefile dlls/softpub enable_softpub
  20019. wine_fn_config_makefile dlls/sound.drv16 enable_win16
  20020. wine_fn_config_makefile dlls/spoolss enable_spoolss
  20021. wine_fn_config_makefile dlls/spoolss/tests enable_tests
  20022. wine_fn_config_makefile dlls/sppc enable_sppc
  20023. wine_fn_config_makefile dlls/srclient enable_srclient
  20024. wine_fn_config_makefile dlls/srvcli enable_srvcli
  20025. wine_fn_config_makefile dlls/sspicli enable_sspicli
  20026. wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
  20027. wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
  20028. wine_fn_config_makefile dlls/sti enable_sti
  20029. wine_fn_config_makefile dlls/sti/tests enable_tests
  20030. wine_fn_config_makefile dlls/storage.dll16 enable_win16
  20031. wine_fn_config_makefile dlls/stress.dll16 enable_win16
  20032. wine_fn_config_makefile dlls/strmdll enable_strmdll
  20033. wine_fn_config_makefile dlls/svrapi enable_svrapi
  20034. wine_fn_config_makefile dlls/sxs enable_sxs
  20035. wine_fn_config_makefile dlls/sxs/tests enable_tests
  20036. wine_fn_config_makefile dlls/system.drv16 enable_win16
  20037. wine_fn_config_makefile dlls/t2embed enable_t2embed
  20038. wine_fn_config_makefile dlls/t2embed/tests enable_tests
  20039. wine_fn_config_makefile dlls/tapi32 enable_tapi32
  20040. wine_fn_config_makefile dlls/tapi32/tests enable_tests
  20041. wine_fn_config_makefile dlls/taskschd enable_taskschd
  20042. wine_fn_config_makefile dlls/taskschd/tests enable_tests
  20043. wine_fn_config_makefile dlls/tbs enable_tbs
  20044. wine_fn_config_makefile dlls/tdh enable_tdh
  20045. wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
  20046. wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
  20047. wine_fn_config_makefile dlls/traffic enable_traffic
  20048. wine_fn_config_makefile dlls/twain.dll16 enable_win16
  20049. wine_fn_config_makefile dlls/twain_32 enable_twain_32
  20050. wine_fn_config_makefile dlls/twain_32/tests enable_tests
  20051. wine_fn_config_makefile dlls/typelib.dll16 enable_win16
  20052. wine_fn_config_makefile dlls/tzres enable_tzres
  20053. wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
  20054. wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
  20055. wine_fn_config_makefile dlls/uianimation enable_uianimation
  20056. wine_fn_config_makefile dlls/uianimation/tests enable_tests
  20057. wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
  20058. wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
  20059. wine_fn_config_makefile dlls/uiribbon enable_uiribbon
  20060. wine_fn_config_makefile dlls/unicows enable_unicows
  20061. wine_fn_config_makefile dlls/updspapi enable_updspapi
  20062. wine_fn_config_makefile dlls/url enable_url
  20063. wine_fn_config_makefile dlls/urlmon enable_urlmon
  20064. wine_fn_config_makefile dlls/urlmon/tests enable_tests
  20065. wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
  20066. wine_fn_config_makefile dlls/user.exe16 enable_win16
  20067. wine_fn_config_makefile dlls/user32 enable_user32
  20068. wine_fn_config_makefile dlls/user32/tests enable_tests
  20069. wine_fn_config_makefile dlls/userenv enable_userenv
  20070. wine_fn_config_makefile dlls/userenv/tests enable_tests
  20071. wine_fn_config_makefile dlls/usp10 enable_usp10
  20072. wine_fn_config_makefile dlls/usp10/tests enable_tests
  20073. wine_fn_config_makefile dlls/utildll enable_utildll
  20074. wine_fn_config_makefile dlls/uxtheme enable_uxtheme
  20075. wine_fn_config_makefile dlls/uxtheme/tests enable_tests
  20076. wine_fn_config_makefile dlls/vbscript enable_vbscript
  20077. wine_fn_config_makefile dlls/vbscript/tests enable_tests
  20078. wine_fn_config_makefile dlls/vcomp enable_vcomp
  20079. wine_fn_config_makefile dlls/vcomp/tests enable_tests
  20080. wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
  20081. wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
  20082. wine_fn_config_makefile dlls/vcomp110/tests enable_tests
  20083. wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
  20084. wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
  20085. wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
  20086. wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
  20087. wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
  20088. wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
  20089. wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
  20090. wine_fn_config_makefile dlls/ver.dll16 enable_win16
  20091. wine_fn_config_makefile dlls/version enable_version
  20092. wine_fn_config_makefile dlls/version/tests enable_tests
  20093. wine_fn_config_makefile dlls/vga enable_vga
  20094. wine_fn_config_makefile dlls/virtdisk enable_virtdisk
  20095. wine_fn_config_makefile dlls/virtdisk/tests enable_tests
  20096. wine_fn_config_makefile dlls/vmm.vxd enable_win16
  20097. wine_fn_config_makefile dlls/vnbt.vxd enable_win16
  20098. wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
  20099. wine_fn_config_makefile dlls/vssapi enable_vssapi
  20100. wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
  20101. wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
  20102. wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
  20103. wine_fn_config_makefile dlls/vwin32.vxd enable_win16
  20104. wine_fn_config_makefile dlls/w32skrnl enable_win16
  20105. wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
  20106. wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
  20107. wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
  20108. wine_fn_config_makefile dlls/wbemprox enable_wbemprox
  20109. wine_fn_config_makefile dlls/wbemprox/tests enable_tests
  20110. wine_fn_config_makefile dlls/wdscore enable_wdscore
  20111. wine_fn_config_makefile dlls/webservices enable_webservices
  20112. wine_fn_config_makefile dlls/webservices/tests enable_tests
  20113. wine_fn_config_makefile dlls/websocket enable_websocket
  20114. wine_fn_config_makefile dlls/wer enable_wer
  20115. wine_fn_config_makefile dlls/wer/tests enable_tests
  20116. wine_fn_config_makefile dlls/wevtapi enable_wevtapi
  20117. wine_fn_config_makefile dlls/wevtapi/tests enable_tests
  20118. wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
  20119. wine_fn_config_makefile dlls/wiaservc enable_wiaservc
  20120. wine_fn_config_makefile dlls/wiaservc/tests enable_tests
  20121. wine_fn_config_makefile dlls/wimgapi enable_wimgapi
  20122. wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
  20123. wine_fn_config_makefile dlls/win32u enable_win32u
  20124. wine_fn_config_makefile dlls/win32u/tests enable_tests
  20125. wine_fn_config_makefile dlls/win87em.dll16 enable_win16
  20126. wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
  20127. wine_fn_config_makefile dlls/windebug.dll16 enable_win16
  20128. wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
  20129. wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
  20130. wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
  20131. wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
  20132. wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
  20133. wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
  20134. wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
  20135. wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
  20136. wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
  20137. wine_fn_config_makefile dlls/windows.networking enable_windows_networking
  20138. wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
  20139. wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
  20140. wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
  20141. wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
  20142. wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
  20143. wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
  20144. wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
  20145. wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
  20146. wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
  20147. wine_fn_config_makefile dlls/wined3d enable_wined3d
  20148. wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
  20149. wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
  20150. wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
  20151. wine_fn_config_makefile dlls/winemapi enable_winemapi
  20152. wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
  20153. wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
  20154. wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
  20155. wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
  20156. wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
  20157. wine_fn_config_makefile dlls/winevulkan enable_winevulkan
  20158. wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
  20159. wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
  20160. wine_fn_config_makefile dlls/wing.dll16 enable_win16
  20161. wine_fn_config_makefile dlls/wing32 enable_wing32
  20162. wine_fn_config_makefile dlls/winhttp enable_winhttp
  20163. wine_fn_config_makefile dlls/winhttp/tests enable_tests
  20164. wine_fn_config_makefile dlls/wininet enable_wininet
  20165. wine_fn_config_makefile dlls/wininet/tests enable_tests
  20166. wine_fn_config_makefile dlls/winmm enable_winmm
  20167. wine_fn_config_makefile dlls/winmm/tests enable_tests
  20168. wine_fn_config_makefile dlls/winnls.dll16 enable_win16
  20169. wine_fn_config_makefile dlls/winnls32 enable_winnls32
  20170. wine_fn_config_makefile dlls/winscard enable_winscard
  20171. wine_fn_config_makefile dlls/winsock.dll16 enable_win16
  20172. wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
  20173. wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
  20174. wine_fn_config_makefile dlls/winsta enable_winsta
  20175. wine_fn_config_makefile dlls/wintab.dll16 enable_win16
  20176. wine_fn_config_makefile dlls/wintab32 enable_wintab32
  20177. wine_fn_config_makefile dlls/wintab32/tests enable_tests
  20178. wine_fn_config_makefile dlls/wintrust enable_wintrust
  20179. wine_fn_config_makefile dlls/wintrust/tests enable_tests
  20180. wine_fn_config_makefile dlls/wintypes enable_wintypes
  20181. wine_fn_config_makefile dlls/wintypes/tests enable_tests
  20182. wine_fn_config_makefile dlls/winusb enable_winusb
  20183. wine_fn_config_makefile dlls/wlanapi enable_wlanapi
  20184. wine_fn_config_makefile dlls/wlanapi/tests enable_tests
  20185. wine_fn_config_makefile dlls/wlanui enable_wlanui
  20186. wine_fn_config_makefile dlls/wldap32 enable_wldap32
  20187. wine_fn_config_makefile dlls/wldap32/tests enable_tests
  20188. wine_fn_config_makefile dlls/wmasf enable_wmasf
  20189. wine_fn_config_makefile dlls/wmi enable_wmi
  20190. wine_fn_config_makefile dlls/wmiutils enable_wmiutils
  20191. wine_fn_config_makefile dlls/wmiutils/tests enable_tests
  20192. wine_fn_config_makefile dlls/wmp enable_wmp
  20193. wine_fn_config_makefile dlls/wmp/tests enable_tests
  20194. wine_fn_config_makefile dlls/wmphoto enable_wmphoto
  20195. wine_fn_config_makefile dlls/wmvcore enable_wmvcore
  20196. wine_fn_config_makefile dlls/wmvcore/tests enable_tests
  20197. wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
  20198. wine_fn_config_makefile dlls/wow32 enable_win16
  20199. wine_fn_config_makefile dlls/wow64 enable_wow64
  20200. wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
  20201. wine_fn_config_makefile dlls/wow64win enable_wow64win
  20202. wine_fn_config_makefile dlls/wpc enable_wpc
  20203. wine_fn_config_makefile dlls/wpc/tests enable_tests
  20204. wine_fn_config_makefile dlls/wpcap enable_wpcap
  20205. wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
  20206. wine_fn_config_makefile dlls/ws2_32/tests enable_tests
  20207. wine_fn_config_makefile dlls/wsdapi enable_wsdapi
  20208. wine_fn_config_makefile dlls/wsdapi/tests enable_tests
  20209. wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
  20210. wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
  20211. wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
  20212. wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
  20213. wine_fn_config_makefile dlls/wsock32 enable_wsock32
  20214. wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
  20215. wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
  20216. wine_fn_config_makefile dlls/wuapi enable_wuapi
  20217. wine_fn_config_makefile dlls/wuaueng enable_wuaueng
  20218. wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
  20219. wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
  20220. wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
  20221. wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
  20222. wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
  20223. wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
  20224. wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
  20225. wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
  20226. wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
  20227. wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
  20228. wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
  20229. wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
  20230. wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
  20231. wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
  20232. wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
  20233. wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
  20234. wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
  20235. wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
  20236. wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
  20237. wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
  20238. wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
  20239. wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
  20240. wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
  20241. wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
  20242. wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
  20243. wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
  20244. wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
  20245. wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
  20246. wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
  20247. wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
  20248. wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
  20249. wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
  20250. wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
  20251. wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
  20252. wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
  20253. wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
  20254. wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
  20255. wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
  20256. wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
  20257. wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
  20258. wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
  20259. wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
  20260. wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
  20261. wine_fn_config_makefile dlls/xmllite enable_xmllite
  20262. wine_fn_config_makefile dlls/xmllite/tests enable_tests
  20263. wine_fn_config_makefile dlls/xolehlp enable_xolehlp
  20264. wine_fn_config_makefile dlls/xpsprint enable_xpsprint
  20265. wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
  20266. wine_fn_config_makefile fonts enable_fonts
  20267. wine_fn_config_makefile include enable_include
  20268. wine_fn_config_makefile libs/adsiid enable_adsiid
  20269. wine_fn_config_makefile libs/dmoguids enable_dmoguids
  20270. wine_fn_config_makefile libs/dxerr8 enable_dxerr8
  20271. wine_fn_config_makefile libs/dxerr9 enable_dxerr9
  20272. wine_fn_config_makefile libs/dxguid enable_dxguid
  20273. wine_fn_config_makefile libs/faudio enable_faudio
  20274. wine_fn_config_makefile libs/gsm enable_gsm
  20275. wine_fn_config_makefile libs/jpeg enable_jpeg
  20276. wine_fn_config_makefile libs/jxr enable_jxr
  20277. wine_fn_config_makefile libs/lcms2 enable_lcms2
  20278. wine_fn_config_makefile libs/mfuuid enable_mfuuid
  20279. wine_fn_config_makefile libs/mpg123 enable_mpg123
  20280. wine_fn_config_makefile libs/png enable_png
  20281. wine_fn_config_makefile libs/strmbase enable_strmbase
  20282. wine_fn_config_makefile libs/strmiids enable_strmiids
  20283. wine_fn_config_makefile libs/tiff enable_tiff
  20284. wine_fn_config_makefile libs/uuid enable_uuid
  20285. wine_fn_config_makefile libs/vkd3d enable_vkd3d
  20286. wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
  20287. wine_fn_config_makefile libs/wine enable_wine
  20288. wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
  20289. wine_fn_config_makefile libs/xml2 enable_xml2
  20290. wine_fn_config_makefile libs/xslt enable_xslt
  20291. wine_fn_config_makefile libs/zlib enable_zlib
  20292. wine_fn_config_makefile loader enable_loader
  20293. wine_fn_config_makefile nls enable_nls
  20294. wine_fn_config_makefile po enable_po
  20295. wine_fn_config_makefile programs/arp enable_arp
  20296. wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
  20297. wine_fn_config_makefile programs/attrib enable_attrib
  20298. wine_fn_config_makefile programs/cabarc enable_cabarc
  20299. wine_fn_config_makefile programs/cacls enable_cacls
  20300. wine_fn_config_makefile programs/chcp.com enable_chcp_com
  20301. wine_fn_config_makefile programs/clock enable_clock
  20302. wine_fn_config_makefile programs/cmd enable_cmd
  20303. wine_fn_config_makefile programs/cmd/tests enable_tests
  20304. wine_fn_config_makefile programs/conhost enable_conhost
  20305. wine_fn_config_makefile programs/conhost/tests enable_tests
  20306. wine_fn_config_makefile programs/control enable_control
  20307. wine_fn_config_makefile programs/cscript enable_cscript
  20308. wine_fn_config_makefile programs/dism enable_dism
  20309. wine_fn_config_makefile programs/dllhost enable_dllhost
  20310. wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
  20311. wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
  20312. wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
  20313. wine_fn_config_makefile programs/dxdiag enable_dxdiag
  20314. wine_fn_config_makefile programs/eject enable_eject
  20315. wine_fn_config_makefile programs/expand enable_expand
  20316. wine_fn_config_makefile programs/explorer enable_explorer
  20317. wine_fn_config_makefile programs/extrac32 enable_extrac32
  20318. wine_fn_config_makefile programs/fc enable_fc
  20319. wine_fn_config_makefile programs/find enable_find
  20320. wine_fn_config_makefile programs/find/tests enable_tests
  20321. wine_fn_config_makefile programs/findstr enable_findstr
  20322. wine_fn_config_makefile programs/fsutil enable_fsutil
  20323. wine_fn_config_makefile programs/fsutil/tests enable_tests
  20324. wine_fn_config_makefile programs/hh enable_hh
  20325. wine_fn_config_makefile programs/hostname enable_hostname
  20326. wine_fn_config_makefile programs/icacls enable_icacls
  20327. wine_fn_config_makefile programs/icinfo enable_icinfo
  20328. wine_fn_config_makefile programs/iexplore enable_iexplore
  20329. wine_fn_config_makefile programs/ipconfig enable_ipconfig
  20330. wine_fn_config_makefile programs/lodctr enable_lodctr
  20331. wine_fn_config_makefile programs/mofcomp enable_mofcomp
  20332. wine_fn_config_makefile programs/mshta enable_mshta
  20333. wine_fn_config_makefile programs/msidb enable_msidb
  20334. wine_fn_config_makefile programs/msiexec enable_msiexec
  20335. wine_fn_config_makefile programs/msinfo32 enable_msinfo32
  20336. wine_fn_config_makefile programs/net enable_net
  20337. wine_fn_config_makefile programs/netsh enable_netsh
  20338. wine_fn_config_makefile programs/netstat enable_netstat
  20339. wine_fn_config_makefile programs/ngen enable_ngen
  20340. wine_fn_config_makefile programs/notepad enable_notepad
  20341. wine_fn_config_makefile programs/oleview enable_oleview
  20342. wine_fn_config_makefile programs/ping enable_ping
  20343. wine_fn_config_makefile programs/plugplay enable_plugplay
  20344. wine_fn_config_makefile programs/powershell enable_powershell
  20345. wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
  20346. wine_fn_config_makefile programs/progman enable_progman
  20347. wine_fn_config_makefile programs/reg enable_reg
  20348. wine_fn_config_makefile programs/reg/tests enable_tests
  20349. wine_fn_config_makefile programs/regasm enable_regasm
  20350. wine_fn_config_makefile programs/regedit enable_regedit
  20351. wine_fn_config_makefile programs/regedit/tests enable_tests
  20352. wine_fn_config_makefile programs/regini enable_regini
  20353. wine_fn_config_makefile programs/regsvcs enable_regsvcs
  20354. wine_fn_config_makefile programs/regsvr32 enable_regsvr32
  20355. wine_fn_config_makefile programs/robocopy enable_robocopy
  20356. wine_fn_config_makefile programs/rpcss enable_rpcss
  20357. wine_fn_config_makefile programs/rundll.exe16 enable_win16
  20358. wine_fn_config_makefile programs/rundll32 enable_rundll32
  20359. wine_fn_config_makefile programs/sc enable_sc
  20360. wine_fn_config_makefile programs/sc/tests enable_tests
  20361. wine_fn_config_makefile programs/schtasks enable_schtasks
  20362. wine_fn_config_makefile programs/schtasks/tests enable_tests
  20363. wine_fn_config_makefile programs/sdbinst enable_sdbinst
  20364. wine_fn_config_makefile programs/secedit enable_secedit
  20365. wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
  20366. wine_fn_config_makefile programs/services enable_services
  20367. wine_fn_config_makefile programs/services/tests enable_tests
  20368. wine_fn_config_makefile programs/shutdown enable_shutdown
  20369. wine_fn_config_makefile programs/spoolsv enable_spoolsv
  20370. wine_fn_config_makefile programs/start enable_start
  20371. wine_fn_config_makefile programs/subst enable_subst
  20372. wine_fn_config_makefile programs/svchost enable_svchost
  20373. wine_fn_config_makefile programs/systeminfo enable_systeminfo
  20374. wine_fn_config_makefile programs/taskkill enable_taskkill
  20375. wine_fn_config_makefile programs/tasklist enable_tasklist
  20376. wine_fn_config_makefile programs/taskmgr enable_taskmgr
  20377. wine_fn_config_makefile programs/termsv enable_termsv
  20378. wine_fn_config_makefile programs/uninstaller enable_uninstaller
  20379. wine_fn_config_makefile programs/unlodctr enable_unlodctr
  20380. wine_fn_config_makefile programs/view enable_view
  20381. wine_fn_config_makefile programs/wevtutil enable_wevtutil
  20382. wine_fn_config_makefile programs/where enable_where
  20383. wine_fn_config_makefile programs/whoami enable_whoami
  20384. wine_fn_config_makefile programs/wineboot enable_wineboot
  20385. wine_fn_config_makefile programs/winebrowser enable_winebrowser
  20386. wine_fn_config_makefile programs/winecfg enable_winecfg
  20387. wine_fn_config_makefile programs/wineconsole enable_wineconsole
  20388. wine_fn_config_makefile programs/winedbg enable_winedbg
  20389. wine_fn_config_makefile programs/winedevice enable_winedevice
  20390. wine_fn_config_makefile programs/winefile enable_winefile
  20391. wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
  20392. wine_fn_config_makefile programs/winemine enable_winemine
  20393. wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
  20394. wine_fn_config_makefile programs/winepath enable_winepath
  20395. wine_fn_config_makefile programs/winetest enable_winetest
  20396. wine_fn_config_makefile programs/winevdm enable_win16
  20397. wine_fn_config_makefile programs/winhelp.exe16 enable_win16
  20398. wine_fn_config_makefile programs/winhlp32 enable_winhlp32
  20399. wine_fn_config_makefile programs/winmgmt enable_winmgmt
  20400. wine_fn_config_makefile programs/winoldap.mod16 enable_win16
  20401. wine_fn_config_makefile programs/winver enable_winver
  20402. wine_fn_config_makefile programs/wmic enable_wmic
  20403. wine_fn_config_makefile programs/wmplayer enable_wmplayer
  20404. wine_fn_config_makefile programs/wordpad enable_wordpad
  20405. wine_fn_config_makefile programs/write enable_write
  20406. wine_fn_config_makefile programs/wscript enable_wscript
  20407. wine_fn_config_makefile programs/wscript/tests enable_tests
  20408. wine_fn_config_makefile programs/wuauserv enable_wuauserv
  20409. wine_fn_config_makefile programs/wusa enable_wusa
  20410. wine_fn_config_makefile programs/xcopy enable_xcopy
  20411. wine_fn_config_makefile programs/xcopy/tests enable_tests
  20412. wine_fn_config_makefile server enable_server
  20413. test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
  20414. test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
  20415. test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
  20416. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
  20417. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
  20418. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
  20419. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
  20420. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
  20421. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
  20422. wine_fn_append_file CONFIGURE_TARGETS "TAGS"
  20423. wine_fn_append_file CONFIGURE_TARGETS "tags"
  20424. wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
  20425. wine_fn_append_file CONFIGURE_TARGETS "config.log"
  20426. wine_fn_append_file CONFIGURE_TARGETS "config.status"
  20427. wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
  20428. wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
  20429. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
  20430. if test "x$enable_tools" != xno
  20431. then
  20432. wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
  20433. ac_config_commands="$ac_config_commands tools/makedep"
  20434. fi
  20435. ac_config_commands="$ac_config_commands Makefile"
  20436. SHELL=/bin/sh
  20437. wine_fn_append_rule "all: wine
  20438. @echo \"Wine build complete.\"
  20439. .INIT: Makefile
  20440. .MAKEFILEDEPS:
  20441. all: Makefile
  20442. Makefile: config.status \$(MAKEDEP)
  20443. @./config.status Makefile
  20444. depend: \$(MAKEDEP)
  20445. \$(MAKEDEP)$makedep_flags"
  20446. wine_fn_append_rule "config.status: ${wine_srcdir}configure
  20447. @./config.status --recheck
  20448. include/config.h: include/stamp-h
  20449. include/stamp-h: ${wine_srcdir}include/config.h.in config.status
  20450. @./config.status include/config.h include/stamp-h"
  20451. if test "x$enable_maintainer_mode" = xyes
  20452. then
  20453. wine_fn_append_rule "configure: configure.ac aclocal.m4
  20454. autoconf --warnings=all
  20455. include/config.h.in: include/stamp-h.in
  20456. include/stamp-h.in: configure.ac aclocal.m4
  20457. autoheader --warnings=all
  20458. @echo timestamp > \$@"
  20459. fi
  20460. if test "x$enable_tools" != xno
  20461. then
  20462. wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
  20463. @./config.status tools/makedep
  20464. Makefile: tools/makedep$ac_exeext"
  20465. else
  20466. wine_fn_append_rule "\$(MAKEDEP):
  20467. @echo \"You need to run make in $toolsdir first\" && false"
  20468. fi
  20469. if test -n "$with_wine64"
  20470. then
  20471. case "$with_wine64" in
  20472. /*) reldir="" ;;
  20473. *) reldir="../" ;;
  20474. esac
  20475. rm -f fonts server 2>/dev/null
  20476. wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
  20477. loader/wine64 loader/wine64-preloader:
  20478. rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
  20479. $with_wine64/loader/wine:
  20480. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
  20481. $with_wine64/loader/wine-preloader:
  20482. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
  20483. clean::
  20484. rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
  20485. else
  20486. TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
  20487. TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
  20488. fonts \
  20489. loader/wine.inf \
  20490. nls \
  20491. programs/msidb/msidb \
  20492. programs/msiexec/msiexec \
  20493. programs/notepad/notepad \
  20494. programs/regedit/regedit \
  20495. programs/regsvr32/regsvr32 \
  20496. programs/wineboot/wineboot \
  20497. programs/winecfg/winecfg \
  20498. programs/wineconsole/wineconsole \
  20499. programs/winedbg/winedbg \
  20500. programs/winefile/winefile \
  20501. programs/winemine/winemine \
  20502. programs/winepath/winepath \
  20503. server/wineserver"
  20504. case $host_os in
  20505. cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
  20506. *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
  20507. esac
  20508. fi
  20509. wine_fn_append_rule "distclean:: clean
  20510. rm -rf autom4te.cache
  20511. maintainer-clean::
  20512. rm -f configure include/config.h.in"
  20513. wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
  20514. @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)
  20515. programs/winetest/build.rc: dummy
  20516. @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)
  20517. programs/winetest/build.nfo:
  20518. @-\$(CC) -v 2>\$@
  20519. 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
  20520. cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
  20521. mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
  20522. TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
  20523. wine_fn_append_rule "TAGS etags:
  20524. rm -f TAGS
  20525. (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
  20526. tags ctags:
  20527. rm -f tags
  20528. (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
  20529. dummy:
  20530. .PHONY: depend dummy install-manpages"
  20531. printf "%s\n" " done" >&6
  20532. cat >confcache <<\_ACEOF
  20533. # This file is a shell script that caches the results of configure
  20534. # tests run on this system so they can be shared between configure
  20535. # scripts and configure runs, see configure's option --config-cache.
  20536. # It is not useful on other systems. If it contains results you don't
  20537. # want to keep, you may remove or edit it.
  20538. #
  20539. # config.status only pays attention to the cache file if you give it
  20540. # the --recheck option to rerun configure.
  20541. #
  20542. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  20543. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  20544. # following values.
  20545. _ACEOF
  20546. # The following way of writing the cache mishandles newlines in values,
  20547. # but we know of no workaround that is simple, portable, and efficient.
  20548. # So, we kill variables containing newlines.
  20549. # Ultrix sh set writes to stderr and can't be redirected directly,
  20550. # and sets the high bit in the cache file unless we assign to the vars.
  20551. (
  20552. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  20553. eval ac_val=\$$ac_var
  20554. case $ac_val in #(
  20555. *${as_nl}*)
  20556. case $ac_var in #(
  20557. *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  20558. printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  20559. esac
  20560. case $ac_var in #(
  20561. _ | IFS | as_nl) ;; #(
  20562. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  20563. *) { eval $ac_var=; unset $ac_var;} ;;
  20564. esac ;;
  20565. esac
  20566. done
  20567. (set) 2>&1 |
  20568. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  20569. *${as_nl}ac_space=\ *)
  20570. # `set' does not quote correctly, so add quotes: double-quote
  20571. # substitution turns \\\\ into \\, and sed turns \\ into \.
  20572. sed -n \
  20573. "s/'/'\\\\''/g;
  20574. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  20575. ;; #(
  20576. *)
  20577. # `set' quotes correctly as required by POSIX, so do not add quotes.
  20578. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  20579. ;;
  20580. esac |
  20581. sort
  20582. ) |
  20583. sed '
  20584. /^ac_cv_env_/b end
  20585. t clear
  20586. :clear
  20587. s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
  20588. t end
  20589. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  20590. :end' >>confcache
  20591. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  20592. if test -w "$cache_file"; then
  20593. if test "x$cache_file" != "x/dev/null"; then
  20594. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  20595. printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
  20596. if test ! -f "$cache_file" || test -h "$cache_file"; then
  20597. cat confcache >"$cache_file"
  20598. else
  20599. case $cache_file in #(
  20600. */* | ?:*)
  20601. mv -f confcache "$cache_file"$$ &&
  20602. mv -f "$cache_file"$$ "$cache_file" ;; #(
  20603. *)
  20604. mv -f confcache "$cache_file" ;;
  20605. esac
  20606. fi
  20607. fi
  20608. else
  20609. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  20610. printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
  20611. fi
  20612. fi
  20613. rm -f confcache
  20614. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  20615. # Let make expand exec_prefix.
  20616. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  20617. DEFS=-DHAVE_CONFIG_H
  20618. ac_libobjs=
  20619. ac_ltlibobjs=
  20620. U=
  20621. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  20622. # 1. Remove the extension, and $U if already installed.
  20623. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  20624. ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
  20625. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  20626. # will be set to the directory where LIBOBJS objects are built.
  20627. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  20628. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  20629. done
  20630. LIBOBJS=$ac_libobjs
  20631. LTLIBOBJS=$ac_ltlibobjs
  20632. : "${CONFIG_STATUS=./config.status}"
  20633. ac_write_fail=0
  20634. ac_clean_files_save=$ac_clean_files
  20635. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  20636. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  20637. printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
  20638. as_write_fail=0
  20639. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  20640. #! $SHELL
  20641. # Generated by $as_me.
  20642. # Run this file to recreate the current configuration.
  20643. # Compiler output produced by configure, useful for debugging
  20644. # configure, is in config.log if it exists.
  20645. debug=false
  20646. ac_cs_recheck=false
  20647. ac_cs_silent=false
  20648. SHELL=\${CONFIG_SHELL-$SHELL}
  20649. export SHELL
  20650. _ASEOF
  20651. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  20652. ## -------------------- ##
  20653. ## M4sh Initialization. ##
  20654. ## -------------------- ##
  20655. # Be more Bourne compatible
  20656. DUALCASE=1; export DUALCASE # for MKS sh
  20657. as_nop=:
  20658. if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  20659. then :
  20660. emulate sh
  20661. NULLCMD=:
  20662. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20663. # is contrary to our usage. Disable this feature.
  20664. alias -g '${1+"$@"}'='"$@"'
  20665. setopt NO_GLOB_SUBST
  20666. else $as_nop
  20667. case `(set -o) 2>/dev/null` in #(
  20668. *posix*) :
  20669. set -o posix ;; #(
  20670. *) :
  20671. ;;
  20672. esac
  20673. fi
  20674. # Reset variables that may have inherited troublesome values from
  20675. # the environment.
  20676. # IFS needs to be set, to space, tab, and newline, in precisely that order.
  20677. # (If _AS_PATH_WALK were called with IFS unset, it would have the
  20678. # side effect of setting IFS to empty, thus disabling word splitting.)
  20679. # Quoting is to prevent editors from complaining about space-tab.
  20680. as_nl='
  20681. '
  20682. export as_nl
  20683. IFS=" "" $as_nl"
  20684. PS1='$ '
  20685. PS2='> '
  20686. PS4='+ '
  20687. # Ensure predictable behavior from utilities with locale-dependent output.
  20688. LC_ALL=C
  20689. export LC_ALL
  20690. LANGUAGE=C
  20691. export LANGUAGE
  20692. # We cannot yet rely on "unset" to work, but we need these variables
  20693. # to be unset--not just set to an empty or harmless value--now, to
  20694. # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
  20695. # also avoids known problems related to "unset" and subshell syntax
  20696. # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  20697. for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  20698. do eval test \${$as_var+y} \
  20699. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  20700. done
  20701. # Ensure that fds 0, 1, and 2 are open.
  20702. if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  20703. if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  20704. if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
  20705. # The user is always right.
  20706. if ${PATH_SEPARATOR+false} :; then
  20707. PATH_SEPARATOR=:
  20708. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  20709. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  20710. PATH_SEPARATOR=';'
  20711. }
  20712. fi
  20713. # Find who we are. Look in the path if we contain no directory separator.
  20714. as_myself=
  20715. case $0 in #((
  20716. *[\\/]* ) as_myself=$0 ;;
  20717. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20718. for as_dir in $PATH
  20719. do
  20720. IFS=$as_save_IFS
  20721. case $as_dir in #(((
  20722. '') as_dir=./ ;;
  20723. */) ;;
  20724. *) as_dir=$as_dir/ ;;
  20725. esac
  20726. test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  20727. done
  20728. IFS=$as_save_IFS
  20729. ;;
  20730. esac
  20731. # We did not find ourselves, most probably we were run as `sh COMMAND'
  20732. # in which case we are not to be found in the path.
  20733. if test "x$as_myself" = x; then
  20734. as_myself=$0
  20735. fi
  20736. if test ! -f "$as_myself"; then
  20737. printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  20738. exit 1
  20739. fi
  20740. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  20741. # ----------------------------------------
  20742. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  20743. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  20744. # script with STATUS, using 1 if that was 0.
  20745. as_fn_error ()
  20746. {
  20747. as_status=$1; test $as_status -eq 0 && as_status=1
  20748. if test "$4"; then
  20749. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  20750. printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  20751. fi
  20752. printf "%s\n" "$as_me: error: $2" >&2
  20753. as_fn_exit $as_status
  20754. } # as_fn_error
  20755. # as_fn_set_status STATUS
  20756. # -----------------------
  20757. # Set $? to STATUS, without forking.
  20758. as_fn_set_status ()
  20759. {
  20760. return $1
  20761. } # as_fn_set_status
  20762. # as_fn_exit STATUS
  20763. # -----------------
  20764. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  20765. as_fn_exit ()
  20766. {
  20767. set +e
  20768. as_fn_set_status $1
  20769. exit $1
  20770. } # as_fn_exit
  20771. # as_fn_unset VAR
  20772. # ---------------
  20773. # Portably unset VAR.
  20774. as_fn_unset ()
  20775. {
  20776. { eval $1=; unset $1;}
  20777. }
  20778. as_unset=as_fn_unset
  20779. # as_fn_append VAR VALUE
  20780. # ----------------------
  20781. # Append the text in VALUE to the end of the definition contained in VAR. Take
  20782. # advantage of any shell optimizations that allow amortized linear growth over
  20783. # repeated appends, instead of the typical quadratic growth present in naive
  20784. # implementations.
  20785. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  20786. then :
  20787. eval 'as_fn_append ()
  20788. {
  20789. eval $1+=\$2
  20790. }'
  20791. else $as_nop
  20792. as_fn_append ()
  20793. {
  20794. eval $1=\$$1\$2
  20795. }
  20796. fi # as_fn_append
  20797. # as_fn_arith ARG...
  20798. # ------------------
  20799. # Perform arithmetic evaluation on the ARGs, and store the result in the
  20800. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  20801. # must be portable across $(()) and expr.
  20802. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  20803. then :
  20804. eval 'as_fn_arith ()
  20805. {
  20806. as_val=$(( $* ))
  20807. }'
  20808. else $as_nop
  20809. as_fn_arith ()
  20810. {
  20811. as_val=`expr "$@" || test $? -eq 1`
  20812. }
  20813. fi # as_fn_arith
  20814. if expr a : '\(a\)' >/dev/null 2>&1 &&
  20815. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  20816. as_expr=expr
  20817. else
  20818. as_expr=false
  20819. fi
  20820. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  20821. as_basename=basename
  20822. else
  20823. as_basename=false
  20824. fi
  20825. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  20826. as_dirname=dirname
  20827. else
  20828. as_dirname=false
  20829. fi
  20830. as_me=`$as_basename -- "$0" ||
  20831. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  20832. X"$0" : 'X\(//\)$' \| \
  20833. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  20834. printf "%s\n" X/"$0" |
  20835. sed '/^.*\/\([^/][^/]*\)\/*$/{
  20836. s//\1/
  20837. q
  20838. }
  20839. /^X\/\(\/\/\)$/{
  20840. s//\1/
  20841. q
  20842. }
  20843. /^X\/\(\/\).*/{
  20844. s//\1/
  20845. q
  20846. }
  20847. s/.*/./; q'`
  20848. # Avoid depending upon Character Ranges.
  20849. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  20850. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  20851. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  20852. as_cr_digits='0123456789'
  20853. as_cr_alnum=$as_cr_Letters$as_cr_digits
  20854. # Determine whether it's possible to make 'echo' print without a newline.
  20855. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  20856. # for compatibility with existing Makefiles.
  20857. ECHO_C= ECHO_N= ECHO_T=
  20858. case `echo -n x` in #(((((
  20859. -n*)
  20860. case `echo 'xy\c'` in
  20861. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  20862. xy) ECHO_C='\c';;
  20863. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  20864. ECHO_T=' ';;
  20865. esac;;
  20866. *)
  20867. ECHO_N='-n';;
  20868. esac
  20869. # For backward compatibility with old third-party macros, we provide
  20870. # the shell variables $as_echo and $as_echo_n. New code should use
  20871. # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  20872. as_echo='printf %s\n'
  20873. as_echo_n='printf %s'
  20874. rm -f conf$$ conf$$.exe conf$$.file
  20875. if test -d conf$$.dir; then
  20876. rm -f conf$$.dir/conf$$.file
  20877. else
  20878. rm -f conf$$.dir
  20879. mkdir conf$$.dir 2>/dev/null
  20880. fi
  20881. if (echo >conf$$.file) 2>/dev/null; then
  20882. if ln -s conf$$.file conf$$ 2>/dev/null; then
  20883. as_ln_s='ln -s'
  20884. # ... but there are two gotchas:
  20885. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  20886. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  20887. # In both cases, we have to default to `cp -pR'.
  20888. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  20889. as_ln_s='cp -pR'
  20890. elif ln conf$$.file conf$$ 2>/dev/null; then
  20891. as_ln_s=ln
  20892. else
  20893. as_ln_s='cp -pR'
  20894. fi
  20895. else
  20896. as_ln_s='cp -pR'
  20897. fi
  20898. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  20899. rmdir conf$$.dir 2>/dev/null
  20900. # as_fn_mkdir_p
  20901. # -------------
  20902. # Create "$as_dir" as a directory, including parents if necessary.
  20903. as_fn_mkdir_p ()
  20904. {
  20905. case $as_dir in #(
  20906. -*) as_dir=./$as_dir;;
  20907. esac
  20908. test -d "$as_dir" || eval $as_mkdir_p || {
  20909. as_dirs=
  20910. while :; do
  20911. case $as_dir in #(
  20912. *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20913. *) as_qdir=$as_dir;;
  20914. esac
  20915. as_dirs="'$as_qdir' $as_dirs"
  20916. as_dir=`$as_dirname -- "$as_dir" ||
  20917. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20918. X"$as_dir" : 'X\(//\)[^/]' \| \
  20919. X"$as_dir" : 'X\(//\)$' \| \
  20920. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20921. printf "%s\n" X"$as_dir" |
  20922. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20923. s//\1/
  20924. q
  20925. }
  20926. /^X\(\/\/\)[^/].*/{
  20927. s//\1/
  20928. q
  20929. }
  20930. /^X\(\/\/\)$/{
  20931. s//\1/
  20932. q
  20933. }
  20934. /^X\(\/\).*/{
  20935. s//\1/
  20936. q
  20937. }
  20938. s/.*/./; q'`
  20939. test -d "$as_dir" && break
  20940. done
  20941. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20942. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  20943. } # as_fn_mkdir_p
  20944. if mkdir -p . 2>/dev/null; then
  20945. as_mkdir_p='mkdir -p "$as_dir"'
  20946. else
  20947. test -d ./-p && rmdir ./-p
  20948. as_mkdir_p=false
  20949. fi
  20950. # as_fn_executable_p FILE
  20951. # -----------------------
  20952. # Test if FILE is an executable regular file.
  20953. as_fn_executable_p ()
  20954. {
  20955. test -f "$1" && test -x "$1"
  20956. } # as_fn_executable_p
  20957. as_test_x='test -x'
  20958. as_executable_p=as_fn_executable_p
  20959. # Sed expression to map a string onto a valid CPP name.
  20960. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  20961. # Sed expression to map a string onto a valid variable name.
  20962. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  20963. exec 6>&1
  20964. ## ----------------------------------- ##
  20965. ## Main body of $CONFIG_STATUS script. ##
  20966. ## ----------------------------------- ##
  20967. _ASEOF
  20968. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  20969. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20970. # Save the log message, to keep $0 and so on meaningful, and to
  20971. # report actual input values of CONFIG_FILES etc. instead of their
  20972. # values after options handling.
  20973. ac_log="
  20974. This file was extended by Wine $as_me 7.9, which was
  20975. generated by GNU Autoconf 2.71. Invocation command line was
  20976. CONFIG_FILES = $CONFIG_FILES
  20977. CONFIG_HEADERS = $CONFIG_HEADERS
  20978. CONFIG_LINKS = $CONFIG_LINKS
  20979. CONFIG_COMMANDS = $CONFIG_COMMANDS
  20980. $ $0 $@
  20981. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  20982. "
  20983. _ACEOF
  20984. case $ac_config_headers in *"
  20985. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  20986. esac
  20987. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20988. # Files that config.status was made for.
  20989. config_headers="$ac_config_headers"
  20990. config_links="$ac_config_links"
  20991. config_commands="$ac_config_commands"
  20992. _ACEOF
  20993. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20994. ac_cs_usage="\
  20995. \`$as_me' instantiates files and other configuration actions
  20996. from templates according to the current configuration. Unless the files
  20997. and actions are specified as TAGs, all are instantiated by default.
  20998. Usage: $0 [OPTION]... [TAG]...
  20999. -h, --help print this help, then exit
  21000. -V, --version print version number and configuration settings, then exit
  21001. --config print configuration, then exit
  21002. -q, --quiet, --silent
  21003. do not print progress messages
  21004. -d, --debug don't remove temporary files
  21005. --recheck update $as_me by reconfiguring in the same conditions
  21006. --header=FILE[:TEMPLATE]
  21007. instantiate the configuration header FILE
  21008. Configuration headers:
  21009. $config_headers
  21010. Configuration links:
  21011. $config_links
  21012. Configuration commands:
  21013. $config_commands
  21014. Report bugs to <wine-devel@winehq.org>.
  21015. Wine home page: <https://www.winehq.org>."
  21016. _ACEOF
  21017. ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
  21018. ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
  21019. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21020. ac_cs_config='$ac_cs_config_escaped'
  21021. ac_cs_version="\\
  21022. Wine config.status 7.9
  21023. configured by $0, generated by GNU Autoconf 2.71,
  21024. with options \\"\$ac_cs_config\\"
  21025. Copyright (C) 2021 Free Software Foundation, Inc.
  21026. This config.status script is free software; the Free Software Foundation
  21027. gives unlimited permission to copy, distribute and modify it."
  21028. ac_pwd='$ac_pwd'
  21029. srcdir='$srcdir'
  21030. test -n "\$AWK" || AWK=awk
  21031. _ACEOF
  21032. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21033. # The default lists apply if the user does not specify any file.
  21034. ac_need_defaults=:
  21035. while test $# != 0
  21036. do
  21037. case $1 in
  21038. --*=?*)
  21039. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  21040. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  21041. ac_shift=:
  21042. ;;
  21043. --*=)
  21044. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  21045. ac_optarg=
  21046. ac_shift=:
  21047. ;;
  21048. *)
  21049. ac_option=$1
  21050. ac_optarg=$2
  21051. ac_shift=shift
  21052. ;;
  21053. esac
  21054. case $ac_option in
  21055. # Handling of the options.
  21056. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  21057. ac_cs_recheck=: ;;
  21058. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  21059. printf "%s\n" "$ac_cs_version"; exit ;;
  21060. --config | --confi | --conf | --con | --co | --c )
  21061. printf "%s\n" "$ac_cs_config"; exit ;;
  21062. --debug | --debu | --deb | --de | --d | -d )
  21063. debug=: ;;
  21064. --header | --heade | --head | --hea )
  21065. $ac_shift
  21066. case $ac_optarg in
  21067. *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  21068. esac
  21069. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  21070. ac_need_defaults=false;;
  21071. --he | --h)
  21072. # Conflict between --help and --header
  21073. as_fn_error $? "ambiguous option: \`$1'
  21074. Try \`$0 --help' for more information.";;
  21075. --help | --hel | -h )
  21076. printf "%s\n" "$ac_cs_usage"; exit ;;
  21077. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  21078. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  21079. ac_cs_silent=: ;;
  21080. # This is an error.
  21081. -*) as_fn_error $? "unrecognized option: \`$1'
  21082. Try \`$0 --help' for more information." ;;
  21083. *) as_fn_append ac_config_targets " $1"
  21084. ac_need_defaults=false ;;
  21085. esac
  21086. shift
  21087. done
  21088. ac_configure_extra_args=
  21089. if $ac_cs_silent; then
  21090. exec 6>/dev/null
  21091. ac_configure_extra_args="$ac_configure_extra_args --silent"
  21092. fi
  21093. _ACEOF
  21094. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21095. if \$ac_cs_recheck; then
  21096. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  21097. shift
  21098. \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
  21099. CONFIG_SHELL='$SHELL'
  21100. export CONFIG_SHELL
  21101. exec "\$@"
  21102. fi
  21103. _ACEOF
  21104. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21105. exec 5>>config.log
  21106. {
  21107. echo
  21108. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  21109. ## Running $as_me. ##
  21110. _ASBOX
  21111. printf "%s\n" "$ac_log"
  21112. } >&5
  21113. _ACEOF
  21114. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21115. #
  21116. # INIT-COMMANDS
  21117. #
  21118. wine_fn_output_makedep ()
  21119. {
  21120. as_dir=tools; as_fn_mkdir_p
  21121. $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
  21122. }
  21123. wine_fn_output_makefile ()
  21124. {
  21125. cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
  21126. # This Makefile understands the following targets:
  21127. #
  21128. # all (default): build wine
  21129. # clean: remove all intermediate files
  21130. # distclean: also remove all files created by configure
  21131. # test: run tests
  21132. # testclean: clean test results to force running all tests again
  21133. # install-lib: install libraries needed to run applications
  21134. # install-dev: install development environment
  21135. # install: install everything
  21136. # uninstall: uninstall everything
  21137. # ctags: create a tags file for vim and others.
  21138. # etags: create a TAGS file for Emacs.
  21139. SHELL = $SHELL
  21140. PATH_SEPARATOR = $PATH_SEPARATOR
  21141. PACKAGE_NAME = $PACKAGE_NAME
  21142. PACKAGE_TARNAME = $PACKAGE_TARNAME
  21143. PACKAGE_VERSION = $PACKAGE_VERSION
  21144. PACKAGE_STRING = $PACKAGE_STRING
  21145. PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
  21146. PACKAGE_URL = $PACKAGE_URL
  21147. exec_prefix = $exec_prefix
  21148. prefix = $prefix
  21149. program_transform_name = $program_transform_name
  21150. bindir = $bindir
  21151. sbindir = $sbindir
  21152. libexecdir = $libexecdir
  21153. datarootdir = $datarootdir
  21154. datadir = $datadir
  21155. sysconfdir = $sysconfdir
  21156. sharedstatedir = $sharedstatedir
  21157. localstatedir = $localstatedir
  21158. runstatedir = $runstatedir
  21159. includedir = $includedir
  21160. oldincludedir = $oldincludedir
  21161. docdir = $docdir
  21162. infodir = $infodir
  21163. htmldir = $htmldir
  21164. dvidir = $dvidir
  21165. pdfdir = $pdfdir
  21166. psdir = $psdir
  21167. libdir = $libdir
  21168. localedir = $localedir
  21169. mandir = $mandir
  21170. DEFS = $DEFS
  21171. ECHO_C = $ECHO_C
  21172. ECHO_N = $ECHO_N
  21173. ECHO_T = $ECHO_T
  21174. LIBS = $LIBS
  21175. build_alias = $build_alias
  21176. host_alias = $host_alias
  21177. target_alias = $target_alias
  21178. system_dllpath = $system_dllpath
  21179. build = $build
  21180. build_cpu = $build_cpu
  21181. build_vendor = $build_vendor
  21182. build_os = $build_os
  21183. host = $host
  21184. host_cpu = $host_cpu
  21185. host_vendor = $host_vendor
  21186. host_os = $host_os
  21187. dlldir = $dlldir
  21188. fontdir = $fontdir
  21189. nlsdir = $nlsdir
  21190. srcdir = $srcdir
  21191. SET_MAKE = $SET_MAKE
  21192. CC = $CC
  21193. CFLAGS = $CFLAGS
  21194. LDFLAGS = $LDFLAGS
  21195. CPPFLAGS = $CPPFLAGS
  21196. ac_ct_CC = $ac_ct_CC
  21197. EXEEXT = $EXEEXT
  21198. OBJEXT = $OBJEXT
  21199. CXX = $CXX
  21200. CXXFLAGS = $CXXFLAGS
  21201. ac_ct_CXX = $ac_ct_CXX
  21202. CPPBIN = $CPPBIN
  21203. LD = $LD
  21204. TARGETFLAGS = $TARGETFLAGS
  21205. toolsext = $toolsext
  21206. toolsdir = $toolsdir
  21207. MAKEDEP = $MAKEDEP
  21208. RUNTESTFLAGS = $RUNTESTFLAGS
  21209. SED_CMD = $SED_CMD
  21210. FLEX = $FLEX
  21211. BISON = $BISON
  21212. AR = $AR
  21213. ac_ct_AR = $ac_ct_AR
  21214. STRIP = $STRIP
  21215. RANLIB = $RANLIB
  21216. LN_S = $LN_S
  21217. GREP = $GREP
  21218. EGREP = $EGREP
  21219. LDCONFIG = $LDCONFIG
  21220. MSGFMT = $MSGFMT
  21221. PKG_CONFIG = $PKG_CONFIG
  21222. FONTFORGE = $FONTFORGE
  21223. RSVG = $RSVG
  21224. CONVERT = $CONVERT
  21225. ICOTOOL = $ICOTOOL
  21226. I386_LIBS = $I386_LIBS
  21227. OPENGL_LIBS = $OPENGL_LIBS
  21228. DLLFLAGS = $DLLFLAGS
  21229. LDDLLFLAGS = $LDDLLFLAGS
  21230. LDEXECFLAGS = $LDEXECFLAGS
  21231. EXTRACFLAGS = $EXTRACFLAGS
  21232. UNIXDLLFLAGS = $UNIXDLLFLAGS
  21233. UNIXLDFLAGS = $UNIXLDFLAGS
  21234. TOP_INSTALL_LIB = $TOP_INSTALL_LIB
  21235. TOP_INSTALL_DEV = $TOP_INSTALL_DEV
  21236. WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
  21237. WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
  21238. LDD = $LDD
  21239. OTOOL = $OTOOL
  21240. READELF = $READELF
  21241. SUBDIRS = $SUBDIRS
  21242. DISABLED_SUBDIRS = $DISABLED_SUBDIRS
  21243. CONFIGURE_TARGETS = $CONFIGURE_TARGETS
  21244. WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
  21245. DLLTOOL = $DLLTOOL
  21246. OBJC = $OBJC
  21247. OBJCFLAGS = $OBJCFLAGS
  21248. ac_ct_OBJC = $ac_ct_OBJC
  21249. COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
  21250. IOKIT_LIBS = $IOKIT_LIBS
  21251. APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
  21252. CORESERVICES_LIBS = $CORESERVICES_LIBS
  21253. APPKIT_LIBS = $APPKIT_LIBS
  21254. SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
  21255. DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
  21256. SECURITY_LIBS = $SECURITY_LIBS
  21257. COREAUDIO_LIBS = $COREAUDIO_LIBS
  21258. OPENAL_LIBS = $OPENAL_LIBS
  21259. OPENCL_LIBS = $OPENCL_LIBS
  21260. CARBON_LIBS = $CARBON_LIBS
  21261. METAL_LIBS = $METAL_LIBS
  21262. LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
  21263. LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
  21264. WINELOADER_DEPENDS = $WINELOADER_DEPENDS
  21265. PRELINK = $PRELINK
  21266. LIBWINE_DEPENDS = $LIBWINE_DEPENDS
  21267. CROSSTARGET = $CROSSTARGET
  21268. CROSSCC = $CROSSCC
  21269. CROSSCFLAGS = $CROSSCFLAGS
  21270. EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
  21271. CROSSLDFLAGS = $CROSSLDFLAGS
  21272. DELAYLOADFLAG = $DELAYLOADFLAG
  21273. CROSSDEBUG = $CROSSDEBUG
  21274. EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
  21275. MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
  21276. FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
  21277. FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
  21278. GSM_PE_CFLAGS = $GSM_PE_CFLAGS
  21279. GSM_PE_LIBS = $GSM_PE_LIBS
  21280. JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
  21281. JPEG_PE_LIBS = $JPEG_PE_LIBS
  21282. JXR_PE_CFLAGS = $JXR_PE_CFLAGS
  21283. JXR_PE_LIBS = $JXR_PE_LIBS
  21284. LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
  21285. LCMS2_PE_LIBS = $LCMS2_PE_LIBS
  21286. MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
  21287. MPG123_PE_LIBS = $MPG123_PE_LIBS
  21288. PNG_PE_CFLAGS = $PNG_PE_CFLAGS
  21289. PNG_PE_LIBS = $PNG_PE_LIBS
  21290. TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
  21291. TIFF_PE_LIBS = $TIFF_PE_LIBS
  21292. VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
  21293. VKD3D_PE_LIBS = $VKD3D_PE_LIBS
  21294. XML2_PE_CFLAGS = $XML2_PE_CFLAGS
  21295. XML2_PE_LIBS = $XML2_PE_LIBS
  21296. XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
  21297. XSLT_PE_LIBS = $XSLT_PE_LIBS
  21298. ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
  21299. ZLIB_PE_LIBS = $ZLIB_PE_LIBS
  21300. PTHREAD_LIBS = $PTHREAD_LIBS
  21301. XMKMF = $XMKMF
  21302. CPP = $CPP
  21303. X_CFLAGS = $X_CFLAGS
  21304. X_PRE_LIBS = $X_PRE_LIBS
  21305. X_LIBS = $X_LIBS
  21306. X_EXTRA_LIBS = $X_EXTRA_LIBS
  21307. PCAP_LIBS = $PCAP_LIBS
  21308. INOTIFY_CFLAGS = $INOTIFY_CFLAGS
  21309. INOTIFY_LIBS = $INOTIFY_LIBS
  21310. DBUS_CFLAGS = $DBUS_CFLAGS
  21311. DBUS_LIBS = $DBUS_LIBS
  21312. GNUTLS_CFLAGS = $GNUTLS_CFLAGS
  21313. GNUTLS_LIBS = $GNUTLS_LIBS
  21314. SANE_CFLAGS = $SANE_CFLAGS
  21315. SANE_LIBS = $SANE_LIBS
  21316. USB_CFLAGS = $USB_CFLAGS
  21317. USB_LIBS = $USB_LIBS
  21318. GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
  21319. GPHOTO2_LIBS = $GPHOTO2_LIBS
  21320. GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
  21321. GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
  21322. RESOLV_LIBS = $RESOLV_LIBS
  21323. FREETYPE_CFLAGS = $FREETYPE_CFLAGS
  21324. FREETYPE_LIBS = $FREETYPE_LIBS
  21325. GETTEXTPO_LIBS = $GETTEXTPO_LIBS
  21326. PULSE_CFLAGS = $PULSE_CFLAGS
  21327. PULSE_LIBS = $PULSE_LIBS
  21328. GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
  21329. GSTREAMER_LIBS = $GSTREAMER_LIBS
  21330. ALSA_LIBS = $ALSA_LIBS
  21331. OSS4_CFLAGS = $OSS4_CFLAGS
  21332. OSS4_LIBS = $OSS4_LIBS
  21333. UDEV_CFLAGS = $UDEV_CFLAGS
  21334. UDEV_LIBS = $UDEV_LIBS
  21335. UNWIND_CFLAGS = $UNWIND_CFLAGS
  21336. UNWIND_LIBS = $UNWIND_LIBS
  21337. SDL2_CFLAGS = $SDL2_CFLAGS
  21338. SDL2_LIBS = $SDL2_LIBS
  21339. CAPI20_CFLAGS = $CAPI20_CFLAGS
  21340. CAPI20_LIBS = $CAPI20_LIBS
  21341. CUPS_CFLAGS = $CUPS_CFLAGS
  21342. CUPS_LIBS = $CUPS_LIBS
  21343. FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
  21344. FONTCONFIG_LIBS = $FONTCONFIG_LIBS
  21345. KRB5_CFLAGS = $KRB5_CFLAGS
  21346. KRB5_LIBS = $KRB5_LIBS
  21347. GSSAPI_CFLAGS = $GSSAPI_CFLAGS
  21348. GSSAPI_LIBS = $GSSAPI_LIBS
  21349. PROCSTAT_LIBS = $PROCSTAT_LIBS
  21350. NETAPI_CFLAGS = $NETAPI_CFLAGS
  21351. NETAPI_LIBS = $NETAPI_LIBS
  21352. MSVCRTFLAGS = $MSVCRTFLAGS
  21353. RT_LIBS = $RT_LIBS
  21354. LDAP_CFLAGS = $LDAP_CFLAGS
  21355. LDAP_LIBS = $LDAP_LIBS
  21356. TAGSFLAGS = $TAGSFLAGS
  21357. LIBOBJS = $LIBOBJS
  21358. LTLIBOBJS = $LTLIBOBJS
  21359. $SET_MAKE
  21360. $wine_rules
  21361. _WINE_EOF
  21362. as_fn_error $? "could not create Makefile" "$LINENO" 5
  21363. }
  21364. _ACEOF
  21365. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21366. # Handling of arguments.
  21367. for ac_config_target in $ac_config_targets
  21368. do
  21369. case $ac_config_target in
  21370. "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  21371. "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
  21372. "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
  21373. "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
  21374. "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
  21375. "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
  21376. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  21377. esac
  21378. done
  21379. # If the user did not use the arguments to specify the items to instantiate,
  21380. # then the envvar interface is used. Set only those that are not.
  21381. # We use the long form for the default assignment because of an extremely
  21382. # bizarre bug on SunOS 4.1.3.
  21383. if $ac_need_defaults; then
  21384. test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
  21385. test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
  21386. test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
  21387. fi
  21388. # Have a temporary directory for convenience. Make it in the build tree
  21389. # simply because there is no reason against having it here, and in addition,
  21390. # creating and moving files from /tmp can sometimes cause problems.
  21391. # Hook for its removal unless debugging.
  21392. # Note that there is a small window in which the directory will not be cleaned:
  21393. # after its creation but before its name has been assigned to `$tmp'.
  21394. $debug ||
  21395. {
  21396. tmp= ac_tmp=
  21397. trap 'exit_status=$?
  21398. : "${ac_tmp:=$tmp}"
  21399. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  21400. ' 0
  21401. trap 'as_fn_exit 1' 1 2 13 15
  21402. }
  21403. # Create a (secure) tmp directory for tmp files.
  21404. {
  21405. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  21406. test -d "$tmp"
  21407. } ||
  21408. {
  21409. tmp=./conf$$-$RANDOM
  21410. (umask 077 && mkdir "$tmp")
  21411. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  21412. ac_tmp=$tmp
  21413. # Set up the scripts for CONFIG_HEADERS section.
  21414. # No need to generate them if there are no CONFIG_HEADERS.
  21415. # This happens for instance with `./config.status Makefile'.
  21416. if test -n "$CONFIG_HEADERS"; then
  21417. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  21418. BEGIN {
  21419. _ACEOF
  21420. # Transform confdefs.h into an awk script `defines.awk', embedded as
  21421. # here-document in config.status, that substitutes the proper values into
  21422. # config.h.in to produce config.h.
  21423. # Create a delimiter string that does not exist in confdefs.h, to ease
  21424. # handling of long lines.
  21425. ac_delim='%!_!# '
  21426. for ac_last_try in false false :; do
  21427. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  21428. if test -z "$ac_tt"; then
  21429. break
  21430. elif $ac_last_try; then
  21431. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  21432. else
  21433. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  21434. fi
  21435. done
  21436. # For the awk script, D is an array of macro values keyed by name,
  21437. # likewise P contains macro parameters if any. Preserve backslash
  21438. # newline sequences.
  21439. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  21440. sed -n '
  21441. s/.\{148\}/&'"$ac_delim"'/g
  21442. t rset
  21443. :rset
  21444. s/^[ ]*#[ ]*define[ ][ ]*/ /
  21445. t def
  21446. d
  21447. :def
  21448. s/\\$//
  21449. t bsnl
  21450. s/["\\]/\\&/g
  21451. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  21452. D["\1"]=" \3"/p
  21453. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  21454. d
  21455. :bsnl
  21456. s/["\\]/\\&/g
  21457. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  21458. D["\1"]=" \3\\\\\\n"\\/p
  21459. t cont
  21460. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  21461. t cont
  21462. d
  21463. :cont
  21464. n
  21465. s/.\{148\}/&'"$ac_delim"'/g
  21466. t clear
  21467. :clear
  21468. s/\\$//
  21469. t bsnlc
  21470. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  21471. d
  21472. :bsnlc
  21473. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  21474. b cont
  21475. ' <confdefs.h | sed '
  21476. s/'"$ac_delim"'/"\\\
  21477. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  21478. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21479. for (key in D) D_is_set[key] = 1
  21480. FS = ""
  21481. }
  21482. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  21483. line = \$ 0
  21484. split(line, arg, " ")
  21485. if (arg[1] == "#") {
  21486. defundef = arg[2]
  21487. mac1 = arg[3]
  21488. } else {
  21489. defundef = substr(arg[1], 2)
  21490. mac1 = arg[2]
  21491. }
  21492. split(mac1, mac2, "(") #)
  21493. macro = mac2[1]
  21494. prefix = substr(line, 1, index(line, defundef) - 1)
  21495. if (D_is_set[macro]) {
  21496. # Preserve the white space surrounding the "#".
  21497. print prefix "define", macro P[macro] D[macro]
  21498. next
  21499. } else {
  21500. # Replace #undef with comments. This is necessary, for example,
  21501. # in the case of _POSIX_SOURCE, which is predefined and required
  21502. # on some systems where configure will not decide to define it.
  21503. if (defundef == "undef") {
  21504. print "/*", prefix defundef, macro, "*/"
  21505. next
  21506. }
  21507. }
  21508. }
  21509. { print }
  21510. _ACAWK
  21511. _ACEOF
  21512. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21513. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  21514. fi # test -n "$CONFIG_HEADERS"
  21515. eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  21516. shift
  21517. for ac_tag
  21518. do
  21519. case $ac_tag in
  21520. :[FHLC]) ac_mode=$ac_tag; continue;;
  21521. esac
  21522. case $ac_mode$ac_tag in
  21523. :[FHL]*:*);;
  21524. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  21525. :[FH]-) ac_tag=-:-;;
  21526. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  21527. esac
  21528. ac_save_IFS=$IFS
  21529. IFS=:
  21530. set x $ac_tag
  21531. IFS=$ac_save_IFS
  21532. shift
  21533. ac_file=$1
  21534. shift
  21535. case $ac_mode in
  21536. :L) ac_source=$1;;
  21537. :[FH])
  21538. ac_file_inputs=
  21539. for ac_f
  21540. do
  21541. case $ac_f in
  21542. -) ac_f="$ac_tmp/stdin";;
  21543. *) # Look for the file first in the build tree, then in the source tree
  21544. # (if the path is not absolute). The absolute path cannot be DOS-style,
  21545. # because $ac_f cannot contain `:'.
  21546. test -f "$ac_f" ||
  21547. case $ac_f in
  21548. [\\/$]*) false;;
  21549. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  21550. esac ||
  21551. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  21552. esac
  21553. case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  21554. as_fn_append ac_file_inputs " '$ac_f'"
  21555. done
  21556. # Let's still pretend it is `configure' which instantiates (i.e., don't
  21557. # use $as_me), people would be surprised to read:
  21558. # /* config.h. Generated by config.status. */
  21559. configure_input='Generated from '`
  21560. printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  21561. `' by configure.'
  21562. if test x"$ac_file" != x-; then
  21563. configure_input="$ac_file. $configure_input"
  21564. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  21565. printf "%s\n" "$as_me: creating $ac_file" >&6;}
  21566. fi
  21567. # Neutralize special characters interpreted by sed in replacement strings.
  21568. case $configure_input in #(
  21569. *\&* | *\|* | *\\* )
  21570. ac_sed_conf_input=`printf "%s\n" "$configure_input" |
  21571. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  21572. *) ac_sed_conf_input=$configure_input;;
  21573. esac
  21574. case $ac_tag in
  21575. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  21576. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  21577. esac
  21578. ;;
  21579. esac
  21580. ac_dir=`$as_dirname -- "$ac_file" ||
  21581. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  21582. X"$ac_file" : 'X\(//\)[^/]' \| \
  21583. X"$ac_file" : 'X\(//\)$' \| \
  21584. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  21585. printf "%s\n" X"$ac_file" |
  21586. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  21587. s//\1/
  21588. q
  21589. }
  21590. /^X\(\/\/\)[^/].*/{
  21591. s//\1/
  21592. q
  21593. }
  21594. /^X\(\/\/\)$/{
  21595. s//\1/
  21596. q
  21597. }
  21598. /^X\(\/\).*/{
  21599. s//\1/
  21600. q
  21601. }
  21602. s/.*/./; q'`
  21603. as_dir="$ac_dir"; as_fn_mkdir_p
  21604. ac_builddir=.
  21605. case "$ac_dir" in
  21606. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  21607. *)
  21608. ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  21609. # A ".." for each directory in $ac_dir_suffix.
  21610. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  21611. case $ac_top_builddir_sub in
  21612. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  21613. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  21614. esac ;;
  21615. esac
  21616. ac_abs_top_builddir=$ac_pwd
  21617. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  21618. # for backward compatibility:
  21619. ac_top_builddir=$ac_top_build_prefix
  21620. case $srcdir in
  21621. .) # We are building in place.
  21622. ac_srcdir=.
  21623. ac_top_srcdir=$ac_top_builddir_sub
  21624. ac_abs_top_srcdir=$ac_pwd ;;
  21625. [\\/]* | ?:[\\/]* ) # Absolute name.
  21626. ac_srcdir=$srcdir$ac_dir_suffix;
  21627. ac_top_srcdir=$srcdir
  21628. ac_abs_top_srcdir=$srcdir ;;
  21629. *) # Relative name.
  21630. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  21631. ac_top_srcdir=$ac_top_build_prefix$srcdir
  21632. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  21633. esac
  21634. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  21635. case $ac_mode in
  21636. :H)
  21637. #
  21638. # CONFIG_HEADER
  21639. #
  21640. if test x"$ac_file" != x-; then
  21641. {
  21642. printf "%s\n" "/* $configure_input */" >&1 \
  21643. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  21644. } >"$ac_tmp/config.h" \
  21645. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21646. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  21647. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  21648. printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
  21649. else
  21650. rm -f "$ac_file"
  21651. mv "$ac_tmp/config.h" "$ac_file" \
  21652. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21653. fi
  21654. else
  21655. printf "%s\n" "/* $configure_input */" >&1 \
  21656. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  21657. || as_fn_error $? "could not create -" "$LINENO" 5
  21658. fi
  21659. ;;
  21660. :L)
  21661. #
  21662. # CONFIG_LINK
  21663. #
  21664. if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  21665. :
  21666. else
  21667. # Prefer the file from the source tree if names are identical.
  21668. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  21669. ac_source=$srcdir/$ac_source
  21670. fi
  21671. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  21672. printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
  21673. if test ! -r "$ac_source"; then
  21674. as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  21675. fi
  21676. rm -f "$ac_file"
  21677. # Try a relative symlink, then a hard link, then a copy.
  21678. case $ac_source in
  21679. [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  21680. *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  21681. esac
  21682. ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  21683. ln "$ac_source" "$ac_file" 2>/dev/null ||
  21684. cp -p "$ac_source" "$ac_file" ||
  21685. as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  21686. fi
  21687. ;;
  21688. :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  21689. printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
  21690. ;;
  21691. esac
  21692. case $ac_file$ac_mode in
  21693. "include/stamp-h":C) echo timestamp > include/stamp-h ;;
  21694. "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
  21695. "Makefile":C) wine_fn_output_makefile Makefile ;;
  21696. esac
  21697. done # for ac_tag
  21698. as_fn_exit 0
  21699. _ACEOF
  21700. ac_clean_files=$ac_clean_files_save
  21701. test $ac_write_fail = 0 ||
  21702. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  21703. # configure is writing to config.log, and then calls config.status.
  21704. # config.status does its own redirection, appending to config.log.
  21705. # Unfortunately, on DOS this fails, as config.log is still kept open
  21706. # by configure, so config.status won't be able to write to it; its
  21707. # output is simply discarded. So we exec the FD to /dev/null,
  21708. # effectively closing config.log, so it can be properly (re)opened and
  21709. # appended to by config.status. When coming back to configure, we
  21710. # need to make the FD available again.
  21711. if test "$no_create" != yes; then
  21712. ac_cs_success=:
  21713. ac_config_status_args=
  21714. test "$silent" = yes &&
  21715. ac_config_status_args="$ac_config_status_args --quiet"
  21716. exec 5>/dev/null
  21717. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  21718. exec 5>>config.log
  21719. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  21720. # would make configure fail if this is the last instruction.
  21721. $ac_cs_success || as_fn_exit 1
  21722. fi
  21723. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  21724. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  21725. printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  21726. fi
  21727. if test "$no_create" = "yes"
  21728. then
  21729. exit 0
  21730. fi
  21731. ac_save_IFS="$IFS"
  21732. if test "x$wine_notices" != x; then
  21733. echo >&6
  21734. IFS="|"
  21735. for msg in $wine_notices; do
  21736. IFS="$ac_save_IFS"
  21737. if ${msg:+false} :
  21738. then :
  21739. else $as_nop
  21740. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
  21741. printf "%s\n" "$as_me: $msg" >&6;}
  21742. fi
  21743. done
  21744. fi
  21745. IFS="|"
  21746. for msg in $wine_warnings; do
  21747. IFS="$ac_save_IFS"
  21748. if ${msg:+false} :
  21749. then :
  21750. else $as_nop
  21751. echo >&2
  21752. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
  21753. printf "%s\n" "$as_me: WARNING: $msg" >&2;}
  21754. fi
  21755. done
  21756. IFS="$ac_save_IFS"
  21757. printf "%s\n" "
  21758. $as_me: Finished. Do '${ac_make}' to compile Wine.
  21759. " >&6