configure 701 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.71 for Wine 7.2.
  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.2'
  559. PACKAGE_STRING='Wine 7.2'
  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. VKD3D_SHADER_LIBS
  602. VKD3D_SHADER_CFLAGS
  603. VKD3D_LIBS
  604. VKD3D_CFLAGS
  605. NETAPI_LIBS
  606. NETAPI_CFLAGS
  607. PROCSTAT_LIBS
  608. GSSAPI_LIBS
  609. GSSAPI_CFLAGS
  610. KRB5_LIBS
  611. KRB5_CFLAGS
  612. FONTCONFIG_LIBS
  613. FONTCONFIG_CFLAGS
  614. CUPS_LIBS
  615. CUPS_CFLAGS
  616. CAPI20_LIBS
  617. CAPI20_CFLAGS
  618. SDL2_LIBS
  619. SDL2_CFLAGS
  620. UNWIND_LIBS
  621. UNWIND_CFLAGS
  622. UDEV_LIBS
  623. UDEV_CFLAGS
  624. OSS4_LIBS
  625. OSS4_CFLAGS
  626. ALSA_LIBS
  627. GSTREAMER_LIBS
  628. GSTREAMER_CFLAGS
  629. PULSE_LIBS
  630. PULSE_CFLAGS
  631. GETTEXTPO_LIBS
  632. FREETYPE_LIBS
  633. FREETYPE_CFLAGS
  634. RESOLV_LIBS
  635. GPHOTO2_PORT_LIBS
  636. GPHOTO2_PORT_CFLAGS
  637. GPHOTO2_LIBS
  638. GPHOTO2_CFLAGS
  639. USB_LIBS
  640. USB_CFLAGS
  641. SANE_LIBS
  642. SANE_CFLAGS
  643. GNUTLS_LIBS
  644. GNUTLS_CFLAGS
  645. DBUS_LIBS
  646. DBUS_CFLAGS
  647. INOTIFY_LIBS
  648. INOTIFY_CFLAGS
  649. PCAP_LIBS
  650. X_EXTRA_LIBS
  651. X_LIBS
  652. X_PRE_LIBS
  653. X_CFLAGS
  654. CPP
  655. XMKMF
  656. PTHREAD_LIBS
  657. ZLIB_PE_LIBS
  658. ZLIB_PE_CFLAGS
  659. XSLT_PE_LIBS
  660. XSLT_PE_CFLAGS
  661. XML2_PE_LIBS
  662. XML2_PE_CFLAGS
  663. TIFF_PE_LIBS
  664. TIFF_PE_CFLAGS
  665. PNG_PE_LIBS
  666. PNG_PE_CFLAGS
  667. MPG123_PE_LIBS
  668. MPG123_PE_CFLAGS
  669. LCMS2_PE_LIBS
  670. LCMS2_PE_CFLAGS
  671. JXR_PE_LIBS
  672. JXR_PE_CFLAGS
  673. JPEG_PE_LIBS
  674. JPEG_PE_CFLAGS
  675. GSM_PE_LIBS
  676. GSM_PE_CFLAGS
  677. FAUDIO_PE_LIBS
  678. FAUDIO_PE_CFLAGS
  679. MINGW_PKG_CONFIG
  680. EXCESS_PRECISION_CFLAGS
  681. CROSSDEBUG
  682. DELAYLOADFLAG
  683. CROSSLDFLAGS
  684. EXTRACROSSCFLAGS
  685. CROSSCFLAGS
  686. CROSSCC
  687. CROSSTARGET
  688. LIBWINE_DEPENDS
  689. PRELINK
  690. WINELOADER_DEPENDS
  691. LIBWINE_LDFLAGS
  692. LIBWINE_SHAREDLIB
  693. METAL_LIBS
  694. CARBON_LIBS
  695. OPENCL_LIBS
  696. OPENAL_LIBS
  697. COREAUDIO_LIBS
  698. SECURITY_LIBS
  699. DISKARBITRATION_LIBS
  700. SYSTEMCONFIGURATION_LIBS
  701. APPKIT_LIBS
  702. CORESERVICES_LIBS
  703. APPLICATIONSERVICES_LIBS
  704. IOKIT_LIBS
  705. COREFOUNDATION_LIBS
  706. ac_ct_OBJC
  707. OBJCFLAGS
  708. OBJC
  709. DLLTOOL
  710. WINELOADER_PROGRAMS
  711. CONFIGURE_TARGETS
  712. DISABLED_SUBDIRS
  713. SUBDIRS
  714. READELF
  715. OTOOL
  716. LDD
  717. WINEPRELOADER_LDFLAGS
  718. WINELOADER_LDFLAGS
  719. TOP_INSTALL_DEV
  720. TOP_INSTALL_LIB
  721. UNIXLDFLAGS
  722. UNIXDLLFLAGS
  723. EXTRACFLAGS
  724. LDEXECFLAGS
  725. LDDLLFLAGS
  726. DLLFLAGS
  727. OPENGL_LIBS
  728. I386_LIBS
  729. ICOTOOL
  730. CONVERT
  731. RSVG
  732. FONTFORGE
  733. PKG_CONFIG
  734. MSGFMT
  735. LDCONFIG
  736. EGREP
  737. GREP
  738. LN_S
  739. RANLIB
  740. STRIP
  741. ac_ct_AR
  742. AR
  743. BISON
  744. FLEX
  745. SED_CMD
  746. RUNTESTFLAGS
  747. MAKEDEP
  748. toolsdir
  749. toolsext
  750. TARGETFLAGS
  751. LD
  752. CPPBIN
  753. ac_ct_CXX
  754. CXXFLAGS
  755. CXX
  756. OBJEXT
  757. EXEEXT
  758. ac_ct_CC
  759. CPPFLAGS
  760. LDFLAGS
  761. CFLAGS
  762. CC
  763. SET_MAKE
  764. srcdir
  765. nlsdir
  766. fontdir
  767. dlldir
  768. host_os
  769. host_vendor
  770. host_cpu
  771. host
  772. build_os
  773. build_vendor
  774. build_cpu
  775. build
  776. system_dllpath
  777. target_alias
  778. host_alias
  779. build_alias
  780. LIBS
  781. ECHO_T
  782. ECHO_N
  783. ECHO_C
  784. DEFS
  785. mandir
  786. localedir
  787. libdir
  788. psdir
  789. pdfdir
  790. dvidir
  791. htmldir
  792. infodir
  793. docdir
  794. oldincludedir
  795. includedir
  796. runstatedir
  797. localstatedir
  798. sharedstatedir
  799. sysconfdir
  800. datadir
  801. datarootdir
  802. libexecdir
  803. sbindir
  804. bindir
  805. program_transform_name
  806. prefix
  807. exec_prefix
  808. PACKAGE_URL
  809. PACKAGE_BUGREPORT
  810. PACKAGE_STRING
  811. PACKAGE_VERSION
  812. PACKAGE_TARNAME
  813. PACKAGE_NAME
  814. PATH_SEPARATOR
  815. SHELL'
  816. ac_subst_files=''
  817. ac_user_opts='
  818. enable_option_checking
  819. enable_win16
  820. enable_win64
  821. enable_tests
  822. enable_build_id
  823. enable_maintainer_mode
  824. enable_silent_rules
  825. enable_werror
  826. with_alsa
  827. with_capi
  828. with_coreaudio
  829. with_cups
  830. with_dbus
  831. with_float_abi
  832. with_fontconfig
  833. with_freetype
  834. with_gettext
  835. with_gettextpo
  836. with_gphoto
  837. with_gnutls
  838. with_gssapi
  839. with_gstreamer
  840. with_inotify
  841. with_krb5
  842. with_ldap
  843. with_mingw
  844. with_netapi
  845. with_openal
  846. with_opencl
  847. with_opengl
  848. with_osmesa
  849. with_oss
  850. with_pcap
  851. with_pthread
  852. with_pulse
  853. with_sane
  854. with_sdl
  855. with_udev
  856. with_unwind
  857. with_usb
  858. with_v4l2
  859. with_vkd3d
  860. with_vulkan
  861. with_xcomposite
  862. with_xcursor
  863. with_xfixes
  864. with_xinerama
  865. with_xinput
  866. with_xinput2
  867. with_xrandr
  868. with_xrender
  869. with_xshape
  870. with_xshm
  871. with_xxf86vm
  872. with_system_dllpath
  873. with_wine_tools
  874. with_wine64
  875. enable_largefile
  876. with_x
  877. enable_acledit
  878. enable_aclui
  879. enable_activeds_tlb
  880. enable_activeds
  881. enable_actxprxy
  882. enable_adsldp
  883. enable_adsldpc
  884. enable_advapi32
  885. enable_advpack
  886. enable_amsi
  887. enable_amstream
  888. enable_apisetschema
  889. enable_apphelp
  890. enable_appwiz_cpl
  891. enable_atl
  892. enable_atl100
  893. enable_atl110
  894. enable_atl80
  895. enable_atl90
  896. enable_atlthunk
  897. enable_atmlib
  898. enable_authz
  899. enable_avicap32
  900. enable_avifil32
  901. enable_avrt
  902. enable_bcrypt
  903. enable_bluetoothapis
  904. enable_browseui
  905. enable_bthprops_cpl
  906. enable_cabinet
  907. enable_capi2032
  908. enable_cards
  909. enable_cdosys
  910. enable_cfgmgr32
  911. enable_clusapi
  912. enable_cng_sys
  913. enable_combase
  914. enable_comcat
  915. enable_comctl32
  916. enable_comdlg32
  917. enable_compstui
  918. enable_comsvcs
  919. enable_concrt140
  920. enable_connect
  921. enable_credui
  922. enable_crtdll
  923. enable_crypt32
  924. enable_cryptdlg
  925. enable_cryptdll
  926. enable_cryptext
  927. enable_cryptnet
  928. enable_cryptsp
  929. enable_cryptui
  930. enable_ctapi32
  931. enable_ctl3d32
  932. enable_d2d1
  933. enable_d3d10
  934. enable_d3d10_1
  935. enable_d3d10core
  936. enable_d3d11
  937. enable_d3d12
  938. enable_d3d8
  939. enable_d3d8thk
  940. enable_d3d9
  941. enable_d3dcompiler_33
  942. enable_d3dcompiler_34
  943. enable_d3dcompiler_35
  944. enable_d3dcompiler_36
  945. enable_d3dcompiler_37
  946. enable_d3dcompiler_38
  947. enable_d3dcompiler_39
  948. enable_d3dcompiler_40
  949. enable_d3dcompiler_41
  950. enable_d3dcompiler_42
  951. enable_d3dcompiler_43
  952. enable_d3dcompiler_46
  953. enable_d3dcompiler_47
  954. enable_d3dim
  955. enable_d3dim700
  956. enable_d3drm
  957. enable_d3dx10_33
  958. enable_d3dx10_34
  959. enable_d3dx10_35
  960. enable_d3dx10_36
  961. enable_d3dx10_37
  962. enable_d3dx10_38
  963. enable_d3dx10_39
  964. enable_d3dx10_40
  965. enable_d3dx10_41
  966. enable_d3dx10_42
  967. enable_d3dx10_43
  968. enable_d3dx11_42
  969. enable_d3dx11_43
  970. enable_d3dx9_24
  971. enable_d3dx9_25
  972. enable_d3dx9_26
  973. enable_d3dx9_27
  974. enable_d3dx9_28
  975. enable_d3dx9_29
  976. enable_d3dx9_30
  977. enable_d3dx9_31
  978. enable_d3dx9_32
  979. enable_d3dx9_33
  980. enable_d3dx9_34
  981. enable_d3dx9_35
  982. enable_d3dx9_36
  983. enable_d3dx9_37
  984. enable_d3dx9_38
  985. enable_d3dx9_39
  986. enable_d3dx9_40
  987. enable_d3dx9_41
  988. enable_d3dx9_42
  989. enable_d3dx9_43
  990. enable_d3dxof
  991. enable_davclnt
  992. enable_dbgeng
  993. enable_dbghelp
  994. enable_dciman32
  995. enable_dcomp
  996. enable_ddraw
  997. enable_ddrawex
  998. enable_devenum
  999. enable_dhcpcsvc
  1000. enable_dhcpcsvc6
  1001. enable_dhtmled_ocx
  1002. enable_diasymreader
  1003. enable_difxapi
  1004. enable_dinput
  1005. enable_dinput8
  1006. enable_directmanipulation
  1007. enable_dispex
  1008. enable_dmband
  1009. enable_dmcompos
  1010. enable_dmime
  1011. enable_dmloader
  1012. enable_dmscript
  1013. enable_dmstyle
  1014. enable_dmsynth
  1015. enable_dmusic
  1016. enable_dmusic32
  1017. enable_dnsapi
  1018. enable_dplay
  1019. enable_dplayx
  1020. enable_dpnaddr
  1021. enable_dpnet
  1022. enable_dpnhpast
  1023. enable_dpnhupnp
  1024. enable_dpnlobby
  1025. enable_dpvoice
  1026. enable_dpwsockx
  1027. enable_drmclien
  1028. enable_dsdmo
  1029. enable_dsound
  1030. enable_dsquery
  1031. enable_dssenh
  1032. enable_dsuiext
  1033. enable_dswave
  1034. enable_dwmapi
  1035. enable_dwrite
  1036. enable_dx8vb
  1037. enable_dxdiagn
  1038. enable_dxgi
  1039. enable_dxtrans
  1040. enable_dxva2
  1041. enable_esent
  1042. enable_evr
  1043. enable_explorerframe
  1044. enable_faultrep
  1045. enable_feclient
  1046. enable_fltlib
  1047. enable_fltmgr_sys
  1048. enable_fntcache
  1049. enable_fontsub
  1050. enable_fusion
  1051. enable_fwpuclnt
  1052. enable_gameux
  1053. enable_gamingtcui
  1054. enable_gdi32
  1055. enable_gdiplus
  1056. enable_glu32
  1057. enable_gphoto2_ds
  1058. enable_gpkcsp
  1059. enable_hal
  1060. enable_hhctrl_ocx
  1061. enable_hid
  1062. enable_hidclass_sys
  1063. enable_hidparse_sys
  1064. enable_hlink
  1065. enable_hnetcfg
  1066. enable_http_sys
  1067. enable_httpapi
  1068. enable_iccvid
  1069. enable_icmp
  1070. enable_ieframe
  1071. enable_ieproxy
  1072. enable_imaadp32_acm
  1073. enable_imagehlp
  1074. enable_imm32
  1075. enable_inetcomm
  1076. enable_inetcpl_cpl
  1077. enable_inetmib1
  1078. enable_infosoft
  1079. enable_initpki
  1080. enable_inkobj
  1081. enable_inseng
  1082. enable_iphlpapi
  1083. enable_iprop
  1084. enable_irprops_cpl
  1085. enable_itircl
  1086. enable_itss
  1087. enable_joy_cpl
  1088. enable_jscript
  1089. enable_jsproxy
  1090. enable_kerberos
  1091. enable_kernel32
  1092. enable_kernelbase
  1093. enable_ksecdd_sys
  1094. enable_ksproxy_ax
  1095. enable_ksuser
  1096. enable_ktmw32
  1097. enable_l3codeca_acm
  1098. enable_light_msstyles
  1099. enable_loadperf
  1100. enable_localspl
  1101. enable_localui
  1102. enable_lz32
  1103. enable_mapi32
  1104. enable_mapistub
  1105. enable_mciavi32
  1106. enable_mcicda
  1107. enable_mciqtz32
  1108. enable_mciseq
  1109. enable_mciwave
  1110. enable_mf
  1111. enable_mf3216
  1112. enable_mferror
  1113. enable_mfmediaengine
  1114. enable_mfplat
  1115. enable_mfplay
  1116. enable_mfreadwrite
  1117. enable_mgmtapi
  1118. enable_midimap
  1119. enable_mlang
  1120. enable_mmcndmgr
  1121. enable_mmdevapi
  1122. enable_mountmgr_sys
  1123. enable_mp3dmod
  1124. enable_mpr
  1125. enable_mprapi
  1126. enable_msacm32_drv
  1127. enable_msacm32
  1128. enable_msado15
  1129. enable_msadp32_acm
  1130. enable_msasn1
  1131. enable_mscat32
  1132. enable_mscms
  1133. enable_mscoree
  1134. enable_mscorwks
  1135. enable_msctf
  1136. enable_msctfmonitor
  1137. enable_msctfp
  1138. enable_msdaps
  1139. enable_msdasql
  1140. enable_msdelta
  1141. enable_msdmo
  1142. enable_msdrm
  1143. enable_msftedit
  1144. enable_msg711_acm
  1145. enable_msgsm32_acm
  1146. enable_mshtml_tlb
  1147. enable_mshtml
  1148. enable_msi
  1149. enable_msident
  1150. enable_msimg32
  1151. enable_msimsg
  1152. enable_msimtf
  1153. enable_msisip
  1154. enable_msisys_ocx
  1155. enable_msls31
  1156. enable_msnet32
  1157. enable_mspatcha
  1158. enable_msports
  1159. enable_msrle32
  1160. enable_msscript_ocx
  1161. enable_mssign32
  1162. enable_mssip32
  1163. enable_mstask
  1164. enable_msv1_0
  1165. enable_msvcirt
  1166. enable_msvcm80
  1167. enable_msvcm90
  1168. enable_msvcp100
  1169. enable_msvcp110
  1170. enable_msvcp120
  1171. enable_msvcp120_app
  1172. enable_msvcp140
  1173. enable_msvcp140_1
  1174. enable_msvcp140_atomic_wait
  1175. enable_msvcp60
  1176. enable_msvcp70
  1177. enable_msvcp71
  1178. enable_msvcp80
  1179. enable_msvcp90
  1180. enable_msvcp_win
  1181. enable_msvcr100
  1182. enable_msvcr110
  1183. enable_msvcr120
  1184. enable_msvcr120_app
  1185. enable_msvcr70
  1186. enable_msvcr71
  1187. enable_msvcr80
  1188. enable_msvcr90
  1189. enable_msvcrt
  1190. enable_msvcrt20
  1191. enable_msvcrt40
  1192. enable_msvcrtd
  1193. enable_msvfw32
  1194. enable_msvidc32
  1195. enable_mswsock
  1196. enable_msxml
  1197. enable_msxml2
  1198. enable_msxml3
  1199. enable_msxml4
  1200. enable_msxml6
  1201. enable_mtxdm
  1202. enable_ncrypt
  1203. enable_nddeapi
  1204. enable_ndis_sys
  1205. enable_netapi32
  1206. enable_netcfgx
  1207. enable_netio_sys
  1208. enable_netprofm
  1209. enable_netutils
  1210. enable_newdev
  1211. enable_ninput
  1212. enable_normaliz
  1213. enable_npmshtml
  1214. enable_npptools
  1215. enable_nsi
  1216. enable_nsiproxy_sys
  1217. enable_ntdll
  1218. enable_ntdsapi
  1219. enable_ntoskrnl_exe
  1220. enable_ntprint
  1221. enable_objsel
  1222. enable_odbc32
  1223. enable_odbcbcp
  1224. enable_odbccp32
  1225. enable_odbccu32
  1226. enable_ole32
  1227. enable_oleacc
  1228. enable_oleaut32
  1229. enable_olecli32
  1230. enable_oledb32
  1231. enable_oledlg
  1232. enable_olepro32
  1233. enable_olesvr32
  1234. enable_olethk32
  1235. enable_opcservices
  1236. enable_openal32
  1237. enable_opencl
  1238. enable_opengl32
  1239. enable_packager
  1240. enable_pdh
  1241. enable_photometadatahandler
  1242. enable_pidgen
  1243. enable_powrprof
  1244. enable_printui
  1245. enable_prntvpt
  1246. enable_propsys
  1247. enable_psapi
  1248. enable_pstorec
  1249. enable_pwrshplugin
  1250. enable_qasf
  1251. enable_qcap
  1252. enable_qdvd
  1253. enable_qedit
  1254. enable_qmgr
  1255. enable_qmgrprxy
  1256. enable_quartz
  1257. enable_query
  1258. enable_qwave
  1259. enable_rasapi32
  1260. enable_rasdlg
  1261. enable_regapi
  1262. enable_resutils
  1263. enable_riched20
  1264. enable_riched32
  1265. enable_rpcrt4
  1266. enable_rsabase
  1267. enable_rsaenh
  1268. enable_rstrtmgr
  1269. enable_rtutils
  1270. enable_rtworkq
  1271. enable_samlib
  1272. enable_sane_ds
  1273. enable_sapi
  1274. enable_sas
  1275. enable_scarddlg
  1276. enable_sccbase
  1277. enable_schannel
  1278. enable_schedsvc
  1279. enable_scrobj
  1280. enable_scrrun
  1281. enable_scsiport_sys
  1282. enable_sechost
  1283. enable_secur32
  1284. enable_security
  1285. enable_sensapi
  1286. enable_serialui
  1287. enable_setupapi
  1288. enable_sfc
  1289. enable_sfc_os
  1290. enable_shcore
  1291. enable_shdoclc
  1292. enable_shdocvw
  1293. enable_shell32
  1294. enable_shfolder
  1295. enable_shlwapi
  1296. enable_slbcsp
  1297. enable_slc
  1298. enable_snmpapi
  1299. enable_softpub
  1300. enable_spoolss
  1301. enable_sppc
  1302. enable_srclient
  1303. enable_srvcli
  1304. enable_sspicli
  1305. enable_stdole2_tlb
  1306. enable_stdole32_tlb
  1307. enable_sti
  1308. enable_strmdll
  1309. enable_svrapi
  1310. enable_sxs
  1311. enable_t2embed
  1312. enable_tapi32
  1313. enable_taskschd
  1314. enable_tbs
  1315. enable_tdh
  1316. enable_tdi_sys
  1317. enable_traffic
  1318. enable_twain_32
  1319. enable_tzres
  1320. enable_ucrtbase
  1321. enable_uianimation
  1322. enable_uiautomationcore
  1323. enable_uiribbon
  1324. enable_unicows
  1325. enable_updspapi
  1326. enable_url
  1327. enable_urlmon
  1328. enable_usbd_sys
  1329. enable_user32
  1330. enable_userenv
  1331. enable_usp10
  1332. enable_utildll
  1333. enable_uxtheme
  1334. enable_vbscript
  1335. enable_vcomp
  1336. enable_vcomp100
  1337. enable_vcomp110
  1338. enable_vcomp120
  1339. enable_vcomp140
  1340. enable_vcomp90
  1341. enable_vcruntime140
  1342. enable_vcruntime140_1
  1343. enable_vdmdbg
  1344. enable_version
  1345. enable_vga
  1346. enable_virtdisk
  1347. enable_vssapi
  1348. enable_vulkan_1
  1349. enable_wbemdisp
  1350. enable_wbemprox
  1351. enable_wdscore
  1352. enable_webservices
  1353. enable_websocket
  1354. enable_wer
  1355. enable_wevtapi
  1356. enable_wevtsvc
  1357. enable_wiaservc
  1358. enable_wimgapi
  1359. enable_win32u
  1360. enable_windows_devices_enumeration
  1361. enable_windows_gaming_input
  1362. enable_windows_globalization
  1363. enable_windows_media_devices
  1364. enable_windows_media_speech
  1365. enable_windowscodecs
  1366. enable_windowscodecsext
  1367. enable_winealsa_drv
  1368. enable_wineandroid_drv
  1369. enable_winebus_sys
  1370. enable_winecoreaudio_drv
  1371. enable_winecrt0
  1372. enable_wined3d
  1373. enable_winegstreamer
  1374. enable_winehid_sys
  1375. enable_winemac_drv
  1376. enable_winemapi
  1377. enable_wineoss_drv
  1378. enable_wineps_drv
  1379. enable_winepulse_drv
  1380. enable_wineusb_sys
  1381. enable_winevulkan
  1382. enable_winex11_drv
  1383. enable_winexinput_sys
  1384. enable_wing32
  1385. enable_winhttp
  1386. enable_wininet
  1387. enable_winmm
  1388. enable_winnls32
  1389. enable_winscard
  1390. enable_winspool_drv
  1391. enable_winsta
  1392. enable_wintab32
  1393. enable_wintrust
  1394. enable_winusb
  1395. enable_wlanapi
  1396. enable_wlanui
  1397. enable_wldap32
  1398. enable_wmadmod
  1399. enable_wmasf
  1400. enable_wmi
  1401. enable_wmiutils
  1402. enable_wmp
  1403. enable_wmphoto
  1404. enable_wmvcore
  1405. enable_wnaspi32
  1406. enable_wow64
  1407. enable_wow64cpu
  1408. enable_wow64win
  1409. enable_wpc
  1410. enable_wpcap
  1411. enable_ws2_32
  1412. enable_wsdapi
  1413. enable_wshom_ocx
  1414. enable_wsnmp32
  1415. enable_wsock32
  1416. enable_wtsapi32
  1417. enable_wuapi
  1418. enable_wuaueng
  1419. enable_x3daudio1_0
  1420. enable_x3daudio1_1
  1421. enable_x3daudio1_2
  1422. enable_x3daudio1_3
  1423. enable_x3daudio1_4
  1424. enable_x3daudio1_5
  1425. enable_x3daudio1_6
  1426. enable_x3daudio1_7
  1427. enable_xactengine2_0
  1428. enable_xactengine2_4
  1429. enable_xactengine2_7
  1430. enable_xactengine2_9
  1431. enable_xactengine3_0
  1432. enable_xactengine3_1
  1433. enable_xactengine3_2
  1434. enable_xactengine3_3
  1435. enable_xactengine3_4
  1436. enable_xactengine3_5
  1437. enable_xactengine3_6
  1438. enable_xactengine3_7
  1439. enable_xapofx1_1
  1440. enable_xapofx1_2
  1441. enable_xapofx1_3
  1442. enable_xapofx1_4
  1443. enable_xapofx1_5
  1444. enable_xaudio2_0
  1445. enable_xaudio2_1
  1446. enable_xaudio2_2
  1447. enable_xaudio2_3
  1448. enable_xaudio2_4
  1449. enable_xaudio2_5
  1450. enable_xaudio2_6
  1451. enable_xaudio2_7
  1452. enable_xaudio2_8
  1453. enable_xaudio2_9
  1454. enable_xinput1_1
  1455. enable_xinput1_2
  1456. enable_xinput1_3
  1457. enable_xinput1_4
  1458. enable_xinput9_1_0
  1459. enable_xmllite
  1460. enable_xolehlp
  1461. enable_xpsprint
  1462. enable_xpssvcs
  1463. enable_fonts
  1464. enable_include
  1465. enable_adsiid
  1466. enable_dmoguids
  1467. enable_dxerr8
  1468. enable_dxerr9
  1469. enable_dxguid
  1470. enable_faudio
  1471. enable_gsm
  1472. enable_jpeg
  1473. enable_jxr
  1474. enable_lcms2
  1475. enable_mfuuid
  1476. enable_mpg123
  1477. enable_png
  1478. enable_strmbase
  1479. enable_strmiids
  1480. enable_tiff
  1481. enable_uuid
  1482. enable_wbemuuid
  1483. enable_wine
  1484. enable_wmcodecdspuuid
  1485. enable_xml2
  1486. enable_xslt
  1487. enable_zlib
  1488. enable_loader
  1489. enable_nls
  1490. enable_po
  1491. enable_arp
  1492. enable_aspnet_regiis
  1493. enable_attrib
  1494. enable_cabarc
  1495. enable_cacls
  1496. enable_chcp_com
  1497. enable_clock
  1498. enable_cmd
  1499. enable_conhost
  1500. enable_control
  1501. enable_cscript
  1502. enable_dism
  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. XML2_PE_CFLAGS
  1633. XML2_PE_LIBS
  1634. XSLT_PE_CFLAGS
  1635. XSLT_PE_LIBS
  1636. ZLIB_PE_CFLAGS
  1637. ZLIB_PE_LIBS
  1638. XMKMF
  1639. CPP
  1640. INOTIFY_CFLAGS
  1641. INOTIFY_LIBS
  1642. DBUS_CFLAGS
  1643. DBUS_LIBS
  1644. GNUTLS_CFLAGS
  1645. GNUTLS_LIBS
  1646. SANE_CFLAGS
  1647. SANE_LIBS
  1648. USB_CFLAGS
  1649. USB_LIBS
  1650. GPHOTO2_CFLAGS
  1651. GPHOTO2_LIBS
  1652. GPHOTO2_PORT_CFLAGS
  1653. GPHOTO2_PORT_LIBS
  1654. FREETYPE_CFLAGS
  1655. FREETYPE_LIBS
  1656. PULSE_CFLAGS
  1657. PULSE_LIBS
  1658. GSTREAMER_CFLAGS
  1659. GSTREAMER_LIBS
  1660. UDEV_CFLAGS
  1661. UDEV_LIBS
  1662. UNWIND_CFLAGS
  1663. UNWIND_LIBS
  1664. SDL2_CFLAGS
  1665. SDL2_LIBS
  1666. CAPI20_CFLAGS
  1667. CAPI20_LIBS
  1668. CUPS_CFLAGS
  1669. CUPS_LIBS
  1670. FONTCONFIG_CFLAGS
  1671. FONTCONFIG_LIBS
  1672. KRB5_CFLAGS
  1673. KRB5_LIBS
  1674. GSSAPI_CFLAGS
  1675. GSSAPI_LIBS
  1676. NETAPI_CFLAGS
  1677. NETAPI_LIBS
  1678. VKD3D_CFLAGS
  1679. VKD3D_LIBS
  1680. VKD3D_SHADER_CFLAGS
  1681. VKD3D_SHADER_LIBS
  1682. LDAP_CFLAGS
  1683. LDAP_LIBS'
  1684. # Initialize some variables set by options.
  1685. ac_init_help=
  1686. ac_init_version=false
  1687. ac_unrecognized_opts=
  1688. ac_unrecognized_sep=
  1689. # The variables have the same names as the options, with
  1690. # dashes changed to underlines.
  1691. cache_file=/dev/null
  1692. exec_prefix=NONE
  1693. no_create=
  1694. no_recursion=
  1695. prefix=NONE
  1696. program_prefix=NONE
  1697. program_suffix=NONE
  1698. program_transform_name=s,x,x,
  1699. silent=
  1700. site=
  1701. srcdir=
  1702. verbose=
  1703. x_includes=NONE
  1704. x_libraries=NONE
  1705. # Installation directory options.
  1706. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1707. # and all the variables that are supposed to be based on exec_prefix
  1708. # by default will actually change.
  1709. # Use braces instead of parens because sh, perl, etc. also accept them.
  1710. # (The list follows the same order as the GNU Coding Standards.)
  1711. bindir='${exec_prefix}/bin'
  1712. sbindir='${exec_prefix}/sbin'
  1713. libexecdir='${exec_prefix}/libexec'
  1714. datarootdir='${prefix}/share'
  1715. datadir='${datarootdir}'
  1716. sysconfdir='${prefix}/etc'
  1717. sharedstatedir='${prefix}/com'
  1718. localstatedir='${prefix}/var'
  1719. runstatedir='${localstatedir}/run'
  1720. includedir='${prefix}/include'
  1721. oldincludedir='/usr/include'
  1722. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1723. infodir='${datarootdir}/info'
  1724. htmldir='${docdir}'
  1725. dvidir='${docdir}'
  1726. pdfdir='${docdir}'
  1727. psdir='${docdir}'
  1728. libdir='${exec_prefix}/lib'
  1729. localedir='${datarootdir}/locale'
  1730. mandir='${datarootdir}/man'
  1731. ac_prev=
  1732. ac_dashdash=
  1733. for ac_option
  1734. do
  1735. # If the previous option needs an argument, assign it.
  1736. if test -n "$ac_prev"; then
  1737. eval $ac_prev=\$ac_option
  1738. ac_prev=
  1739. continue
  1740. fi
  1741. case $ac_option in
  1742. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1743. *=) ac_optarg= ;;
  1744. *) ac_optarg=yes ;;
  1745. esac
  1746. case $ac_dashdash$ac_option in
  1747. --)
  1748. ac_dashdash=yes ;;
  1749. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1750. ac_prev=bindir ;;
  1751. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1752. bindir=$ac_optarg ;;
  1753. -build | --build | --buil | --bui | --bu)
  1754. ac_prev=build_alias ;;
  1755. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1756. build_alias=$ac_optarg ;;
  1757. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1758. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1759. ac_prev=cache_file ;;
  1760. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1761. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1762. cache_file=$ac_optarg ;;
  1763. --config-cache | -C)
  1764. cache_file=config.cache ;;
  1765. -datadir | --datadir | --datadi | --datad)
  1766. ac_prev=datadir ;;
  1767. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1768. datadir=$ac_optarg ;;
  1769. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1770. | --dataroo | --dataro | --datar)
  1771. ac_prev=datarootdir ;;
  1772. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1773. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1774. datarootdir=$ac_optarg ;;
  1775. -disable-* | --disable-*)
  1776. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1777. # Reject names that are not valid shell variable names.
  1778. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1779. as_fn_error $? "invalid feature name: \`$ac_useropt'"
  1780. ac_useropt_orig=$ac_useropt
  1781. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1782. case $ac_user_opts in
  1783. *"
  1784. "enable_$ac_useropt"
  1785. "*) ;;
  1786. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1787. ac_unrecognized_sep=', ';;
  1788. esac
  1789. eval enable_$ac_useropt=no ;;
  1790. -docdir | --docdir | --docdi | --doc | --do)
  1791. ac_prev=docdir ;;
  1792. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1793. docdir=$ac_optarg ;;
  1794. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1795. ac_prev=dvidir ;;
  1796. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1797. dvidir=$ac_optarg ;;
  1798. -enable-* | --enable-*)
  1799. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1800. # Reject names that are not valid shell variable names.
  1801. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1802. as_fn_error $? "invalid feature name: \`$ac_useropt'"
  1803. ac_useropt_orig=$ac_useropt
  1804. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1805. case $ac_user_opts in
  1806. *"
  1807. "enable_$ac_useropt"
  1808. "*) ;;
  1809. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1810. ac_unrecognized_sep=', ';;
  1811. esac
  1812. eval enable_$ac_useropt=\$ac_optarg ;;
  1813. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1814. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1815. | --exec | --exe | --ex)
  1816. ac_prev=exec_prefix ;;
  1817. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1818. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1819. | --exec=* | --exe=* | --ex=*)
  1820. exec_prefix=$ac_optarg ;;
  1821. -gas | --gas | --ga | --g)
  1822. # Obsolete; use --with-gas.
  1823. with_gas=yes ;;
  1824. -help | --help | --hel | --he | -h)
  1825. ac_init_help=long ;;
  1826. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1827. ac_init_help=recursive ;;
  1828. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1829. ac_init_help=short ;;
  1830. -host | --host | --hos | --ho)
  1831. ac_prev=host_alias ;;
  1832. -host=* | --host=* | --hos=* | --ho=*)
  1833. host_alias=$ac_optarg ;;
  1834. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1835. ac_prev=htmldir ;;
  1836. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1837. | --ht=*)
  1838. htmldir=$ac_optarg ;;
  1839. -includedir | --includedir | --includedi | --included | --include \
  1840. | --includ | --inclu | --incl | --inc)
  1841. ac_prev=includedir ;;
  1842. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1843. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1844. includedir=$ac_optarg ;;
  1845. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1846. ac_prev=infodir ;;
  1847. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1848. infodir=$ac_optarg ;;
  1849. -libdir | --libdir | --libdi | --libd)
  1850. ac_prev=libdir ;;
  1851. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1852. libdir=$ac_optarg ;;
  1853. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1854. | --libexe | --libex | --libe)
  1855. ac_prev=libexecdir ;;
  1856. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1857. | --libexe=* | --libex=* | --libe=*)
  1858. libexecdir=$ac_optarg ;;
  1859. -localedir | --localedir | --localedi | --localed | --locale)
  1860. ac_prev=localedir ;;
  1861. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1862. localedir=$ac_optarg ;;
  1863. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1864. | --localstate | --localstat | --localsta | --localst | --locals)
  1865. ac_prev=localstatedir ;;
  1866. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1867. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1868. localstatedir=$ac_optarg ;;
  1869. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1870. ac_prev=mandir ;;
  1871. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1872. mandir=$ac_optarg ;;
  1873. -nfp | --nfp | --nf)
  1874. # Obsolete; use --without-fp.
  1875. with_fp=no ;;
  1876. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1877. | --no-cr | --no-c | -n)
  1878. no_create=yes ;;
  1879. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1880. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1881. no_recursion=yes ;;
  1882. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1883. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1884. | --oldin | --oldi | --old | --ol | --o)
  1885. ac_prev=oldincludedir ;;
  1886. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1887. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1888. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1889. oldincludedir=$ac_optarg ;;
  1890. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1891. ac_prev=prefix ;;
  1892. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1893. prefix=$ac_optarg ;;
  1894. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1895. | --program-pre | --program-pr | --program-p)
  1896. ac_prev=program_prefix ;;
  1897. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1898. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1899. program_prefix=$ac_optarg ;;
  1900. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1901. | --program-suf | --program-su | --program-s)
  1902. ac_prev=program_suffix ;;
  1903. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1904. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1905. program_suffix=$ac_optarg ;;
  1906. -program-transform-name | --program-transform-name \
  1907. | --program-transform-nam | --program-transform-na \
  1908. | --program-transform-n | --program-transform- \
  1909. | --program-transform | --program-transfor \
  1910. | --program-transfo | --program-transf \
  1911. | --program-trans | --program-tran \
  1912. | --progr-tra | --program-tr | --program-t)
  1913. ac_prev=program_transform_name ;;
  1914. -program-transform-name=* | --program-transform-name=* \
  1915. | --program-transform-nam=* | --program-transform-na=* \
  1916. | --program-transform-n=* | --program-transform-=* \
  1917. | --program-transform=* | --program-transfor=* \
  1918. | --program-transfo=* | --program-transf=* \
  1919. | --program-trans=* | --program-tran=* \
  1920. | --progr-tra=* | --program-tr=* | --program-t=*)
  1921. program_transform_name=$ac_optarg ;;
  1922. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1923. ac_prev=pdfdir ;;
  1924. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1925. pdfdir=$ac_optarg ;;
  1926. -psdir | --psdir | --psdi | --psd | --ps)
  1927. ac_prev=psdir ;;
  1928. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1929. psdir=$ac_optarg ;;
  1930. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1931. | -silent | --silent | --silen | --sile | --sil)
  1932. silent=yes ;;
  1933. -runstatedir | --runstatedir | --runstatedi | --runstated \
  1934. | --runstate | --runstat | --runsta | --runst | --runs \
  1935. | --run | --ru | --r)
  1936. ac_prev=runstatedir ;;
  1937. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  1938. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  1939. | --run=* | --ru=* | --r=*)
  1940. runstatedir=$ac_optarg ;;
  1941. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1942. ac_prev=sbindir ;;
  1943. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1944. | --sbi=* | --sb=*)
  1945. sbindir=$ac_optarg ;;
  1946. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1947. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1948. | --sharedst | --shareds | --shared | --share | --shar \
  1949. | --sha | --sh)
  1950. ac_prev=sharedstatedir ;;
  1951. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1952. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1953. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1954. | --sha=* | --sh=*)
  1955. sharedstatedir=$ac_optarg ;;
  1956. -site | --site | --sit)
  1957. ac_prev=site ;;
  1958. -site=* | --site=* | --sit=*)
  1959. site=$ac_optarg ;;
  1960. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1961. ac_prev=srcdir ;;
  1962. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1963. srcdir=$ac_optarg ;;
  1964. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1965. | --syscon | --sysco | --sysc | --sys | --sy)
  1966. ac_prev=sysconfdir ;;
  1967. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1968. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1969. sysconfdir=$ac_optarg ;;
  1970. -target | --target | --targe | --targ | --tar | --ta | --t)
  1971. ac_prev=target_alias ;;
  1972. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1973. target_alias=$ac_optarg ;;
  1974. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1975. verbose=yes ;;
  1976. -version | --version | --versio | --versi | --vers | -V)
  1977. ac_init_version=: ;;
  1978. -with-* | --with-*)
  1979. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1980. # Reject names that are not valid shell variable names.
  1981. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1982. as_fn_error $? "invalid package name: \`$ac_useropt'"
  1983. ac_useropt_orig=$ac_useropt
  1984. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1985. case $ac_user_opts in
  1986. *"
  1987. "with_$ac_useropt"
  1988. "*) ;;
  1989. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1990. ac_unrecognized_sep=', ';;
  1991. esac
  1992. eval with_$ac_useropt=\$ac_optarg ;;
  1993. -without-* | --without-*)
  1994. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1995. # Reject names that are not valid shell variable names.
  1996. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1997. as_fn_error $? "invalid package name: \`$ac_useropt'"
  1998. ac_useropt_orig=$ac_useropt
  1999. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  2000. case $ac_user_opts in
  2001. *"
  2002. "with_$ac_useropt"
  2003. "*) ;;
  2004. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  2005. ac_unrecognized_sep=', ';;
  2006. esac
  2007. eval with_$ac_useropt=no ;;
  2008. --x)
  2009. # Obsolete; use --with-x.
  2010. with_x=yes ;;
  2011. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  2012. | --x-incl | --x-inc | --x-in | --x-i)
  2013. ac_prev=x_includes ;;
  2014. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  2015. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  2016. x_includes=$ac_optarg ;;
  2017. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  2018. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  2019. ac_prev=x_libraries ;;
  2020. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  2021. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2022. x_libraries=$ac_optarg ;;
  2023. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  2024. Try \`$0 --help' for more information"
  2025. ;;
  2026. *=*)
  2027. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  2028. # Reject names that are not valid shell variable names.
  2029. case $ac_envvar in #(
  2030. '' | [0-9]* | *[!_$as_cr_alnum]* )
  2031. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  2032. esac
  2033. eval $ac_envvar=\$ac_optarg
  2034. export $ac_envvar ;;
  2035. *)
  2036. # FIXME: should be removed in autoconf 3.0.
  2037. printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
  2038. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  2039. printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
  2040. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  2041. ;;
  2042. esac
  2043. done
  2044. if test -n "$ac_prev"; then
  2045. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  2046. as_fn_error $? "missing argument to $ac_option"
  2047. fi
  2048. if test -n "$ac_unrecognized_opts"; then
  2049. case $enable_option_checking in
  2050. no) ;;
  2051. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  2052. *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  2053. esac
  2054. fi
  2055. # Check all directory arguments for consistency.
  2056. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  2057. datadir sysconfdir sharedstatedir localstatedir includedir \
  2058. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  2059. libdir localedir mandir runstatedir
  2060. do
  2061. eval ac_val=\$$ac_var
  2062. # Remove trailing slashes.
  2063. case $ac_val in
  2064. */ )
  2065. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  2066. eval $ac_var=\$ac_val;;
  2067. esac
  2068. # Be sure to have absolute directory names.
  2069. case $ac_val in
  2070. [\\/$]* | ?:[\\/]* ) continue;;
  2071. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  2072. esac
  2073. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  2074. done
  2075. # There might be people who depend on the old broken behavior: `$host'
  2076. # used to hold the argument of --host etc.
  2077. # FIXME: To remove some day.
  2078. build=$build_alias
  2079. host=$host_alias
  2080. target=$target_alias
  2081. # FIXME: To remove some day.
  2082. if test "x$host_alias" != x; then
  2083. if test "x$build_alias" = x; then
  2084. cross_compiling=maybe
  2085. elif test "x$build_alias" != "x$host_alias"; then
  2086. cross_compiling=yes
  2087. fi
  2088. fi
  2089. ac_tool_prefix=
  2090. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  2091. test "$silent" = yes && exec 6>/dev/null
  2092. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  2093. ac_ls_di=`ls -di .` &&
  2094. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  2095. as_fn_error $? "working directory cannot be determined"
  2096. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  2097. as_fn_error $? "pwd does not report name of working directory"
  2098. # Find the source files, if location was not specified.
  2099. if test -z "$srcdir"; then
  2100. ac_srcdir_defaulted=yes
  2101. # Try the directory containing this script, then the parent directory.
  2102. ac_confdir=`$as_dirname -- "$as_myself" ||
  2103. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2104. X"$as_myself" : 'X\(//\)[^/]' \| \
  2105. X"$as_myself" : 'X\(//\)$' \| \
  2106. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  2107. printf "%s\n" X"$as_myself" |
  2108. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  2109. s//\1/
  2110. q
  2111. }
  2112. /^X\(\/\/\)[^/].*/{
  2113. s//\1/
  2114. q
  2115. }
  2116. /^X\(\/\/\)$/{
  2117. s//\1/
  2118. q
  2119. }
  2120. /^X\(\/\).*/{
  2121. s//\1/
  2122. q
  2123. }
  2124. s/.*/./; q'`
  2125. srcdir=$ac_confdir
  2126. if test ! -r "$srcdir/$ac_unique_file"; then
  2127. srcdir=..
  2128. fi
  2129. else
  2130. ac_srcdir_defaulted=no
  2131. fi
  2132. if test ! -r "$srcdir/$ac_unique_file"; then
  2133. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  2134. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  2135. fi
  2136. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  2137. ac_abs_confdir=`(
  2138. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  2139. pwd)`
  2140. # When building in place, set srcdir=.
  2141. if test "$ac_abs_confdir" = "$ac_pwd"; then
  2142. srcdir=.
  2143. fi
  2144. # Remove unnecessary trailing slashes from srcdir.
  2145. # Double slashes in file names in object file debugging info
  2146. # mess up M-x gdb in Emacs.
  2147. case $srcdir in
  2148. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  2149. esac
  2150. for ac_var in $ac_precious_vars; do
  2151. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  2152. eval ac_env_${ac_var}_value=\$${ac_var}
  2153. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  2154. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  2155. done
  2156. #
  2157. # Report the --help message.
  2158. #
  2159. if test "$ac_init_help" = "long"; then
  2160. # Omit some internal or obsolete options to make the list less imposing.
  2161. # This message is too long to be a string in the A/UX 3.1 sh.
  2162. cat <<_ACEOF
  2163. \`configure' configures Wine 7.2 to adapt to many kinds of systems.
  2164. Usage: $0 [OPTION]... [VAR=VALUE]...
  2165. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  2166. VAR=VALUE. See below for descriptions of some of the useful variables.
  2167. Defaults for the options are specified in brackets.
  2168. Configuration:
  2169. -h, --help display this help and exit
  2170. --help=short display options specific to this package
  2171. --help=recursive display the short help of all the included packages
  2172. -V, --version display version information and exit
  2173. -q, --quiet, --silent do not print \`checking ...' messages
  2174. --cache-file=FILE cache test results in FILE [disabled]
  2175. -C, --config-cache alias for \`--cache-file=config.cache'
  2176. -n, --no-create do not create output files
  2177. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  2178. Installation directories:
  2179. --prefix=PREFIX install architecture-independent files in PREFIX
  2180. [$ac_default_prefix]
  2181. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  2182. [PREFIX]
  2183. By default, \`make install' will install all the files in
  2184. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  2185. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  2186. for instance \`--prefix=\$HOME'.
  2187. For better control, use the options below.
  2188. Fine tuning of the installation directories:
  2189. --bindir=DIR user executables [EPREFIX/bin]
  2190. --sbindir=DIR system admin executables [EPREFIX/sbin]
  2191. --libexecdir=DIR program executables [EPREFIX/libexec]
  2192. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  2193. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  2194. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  2195. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  2196. --libdir=DIR object code libraries [EPREFIX/lib]
  2197. --includedir=DIR C header files [PREFIX/include]
  2198. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  2199. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  2200. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  2201. --infodir=DIR info documentation [DATAROOTDIR/info]
  2202. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  2203. --mandir=DIR man documentation [DATAROOTDIR/man]
  2204. --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
  2205. --htmldir=DIR html documentation [DOCDIR]
  2206. --dvidir=DIR dvi documentation [DOCDIR]
  2207. --pdfdir=DIR pdf documentation [DOCDIR]
  2208. --psdir=DIR ps documentation [DOCDIR]
  2209. _ACEOF
  2210. cat <<\_ACEOF
  2211. X features:
  2212. --x-includes=DIR X include files are in DIR
  2213. --x-libraries=DIR X library files are in DIR
  2214. System types:
  2215. --build=BUILD configure for building on BUILD [guessed]
  2216. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  2217. _ACEOF
  2218. fi
  2219. if test -n "$ac_init_help"; then
  2220. case $ac_init_help in
  2221. short | recursive ) echo "Configuration of Wine 7.2:";;
  2222. esac
  2223. cat <<\_ACEOF
  2224. Optional Features:
  2225. --disable-option-checking ignore unrecognized --enable/--with options
  2226. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  2227. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  2228. --disable-win16 do not include Win16 support
  2229. --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
  2230. binaries)
  2231. --disable-tests do not build the regression tests
  2232. --enable-build-id include .buildid section in output objects
  2233. --enable-maintainer-mode
  2234. enable maintainer-specific build rules
  2235. --enable-silent-rules use silent build rules (override: "make V=1")
  2236. --enable-werror treat compilation warnings as errors
  2237. --disable-largefile omit support for large files
  2238. Optional Packages:
  2239. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  2240. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  2241. --without-alsa do not use the Alsa sound support
  2242. --without-capi do not use CAPI (ISDN support)
  2243. --without-coreaudio do not use the CoreAudio sound support
  2244. --without-cups do not use CUPS
  2245. --without-dbus do not use DBus (dynamic device support)
  2246. --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
  2247. --without-fontconfig do not use fontconfig
  2248. --without-freetype do not use the FreeType library
  2249. --without-gettext do not use gettext
  2250. --with-gettextpo use the GetTextPO library to rebuild po files
  2251. --without-gphoto do not use gphoto (Digital Camera support)
  2252. --without-gnutls do not use GnuTLS (schannel support)
  2253. --without-gssapi do not use GSSAPI (Kerberos SSP support)
  2254. --without-gstreamer do not use GStreamer (codecs support)
  2255. --without-inotify do not use inotify (filesystem change notifications)
  2256. --without-krb5 do not use krb5 (Kerberos)
  2257. --without-ldap do not use LDAP
  2258. --without-mingw do not use the MinGW cross-compiler
  2259. --without-netapi do not use the Samba NetAPI library
  2260. --without-openal do not use OpenAL
  2261. --without-opencl do not use OpenCL
  2262. --without-opengl do not use OpenGL
  2263. --without-osmesa do not use the OSMesa library
  2264. --without-oss do not use the OSS sound support
  2265. --without-pcap do not use the Packet Capture library
  2266. --without-pthread do not use the pthread library
  2267. --without-pulse do not use PulseAudio sound support
  2268. --without-sane do not use SANE (scanner support)
  2269. --without-sdl do not use SDL
  2270. --without-udev do not use udev (plug and play support)
  2271. --without-unwind do not use the libunwind library (exception
  2272. handling)
  2273. --without-usb do not use the libusb library
  2274. --without-v4l2 do not use v4l2 (video capture)
  2275. --without-vkd3d do not use vkd3d (Direct3D 12 support)
  2276. --without-vulkan do not use Vulkan
  2277. --without-xcomposite do not use the Xcomposite extension
  2278. --without-xcursor do not use the Xcursor extension
  2279. --without-xfixes do not use Xfixes for clipboard change notifications
  2280. --without-xinerama do not use Xinerama (legacy multi-monitor support)
  2281. --without-xinput do not use the Xinput extension
  2282. --without-xinput2 do not use the Xinput 2 extension
  2283. --without-xrandr do not use Xrandr (multi-monitor support)
  2284. --without-xrender do not use the Xrender extension
  2285. --without-xshape do not use the Xshape extension
  2286. --without-xshm do not use XShm (shared memory extension)
  2287. --without-xxf86vm do not use XFree video mode extension
  2288. --with-system-dllpath=PATH
  2289. load external PE dependencies from colon-separated
  2290. path PATH
  2291. --with-wine-tools=DIR use Wine tools from directory DIR
  2292. --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
  2293. --with-x use the X Window System
  2294. Some influential environment variables:
  2295. CC C compiler command
  2296. CFLAGS C compiler flags
  2297. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2298. nonstandard directory <lib dir>
  2299. LIBS libraries to pass to the linker, e.g. -l<library>
  2300. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2301. you have headers in a nonstandard directory <include dir>
  2302. CXX C++ compiler command
  2303. CXXFLAGS C++ compiler flags
  2304. OBJC Objective C compiler command
  2305. OBJCFLAGS Objective C compiler flags
  2306. FAUDIO_PE_CFLAGS
  2307. C compiler flags for the PE faudio, overriding the bundled
  2308. version
  2309. FAUDIO_PE_LIBS
  2310. Linker flags for the PE faudio, overriding the bundled version
  2311. GSM_PE_CFLAGS
  2312. C compiler flags for the PE gsm, overriding the bundled version
  2313. GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
  2314. JPEG_PE_CFLAGS
  2315. C compiler flags for the PE jpeg, overriding the bundled version
  2316. JPEG_PE_LIBS
  2317. Linker flags for the PE jpeg, overriding the bundled version
  2318. JXR_PE_CFLAGS
  2319. C compiler flags for the PE jxr, overriding the bundled version
  2320. JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
  2321. LCMS2_PE_CFLAGS
  2322. C compiler flags for the PE lcms2, overriding the bundled
  2323. version
  2324. LCMS2_PE_LIBS
  2325. Linker flags for the PE lcms2, overriding the bundled version
  2326. MPG123_PE_CFLAGS
  2327. C compiler flags for the PE mpg123, overriding the bundled
  2328. version
  2329. MPG123_PE_LIBS
  2330. Linker flags for the PE mpg123, overriding the bundled version
  2331. PNG_PE_CFLAGS
  2332. C compiler flags for the PE png, overriding the bundled version
  2333. PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
  2334. TIFF_PE_CFLAGS
  2335. C compiler flags for the PE tiff, overriding the bundled version
  2336. TIFF_PE_LIBS
  2337. Linker flags for the PE tiff, overriding the bundled version
  2338. XML2_PE_CFLAGS
  2339. C compiler flags for the PE xml2, overriding the bundled version
  2340. XML2_PE_LIBS
  2341. Linker flags for the PE xml2, overriding the bundled version
  2342. XSLT_PE_CFLAGS
  2343. C compiler flags for the PE xslt, overriding the bundled version
  2344. XSLT_PE_LIBS
  2345. Linker flags for the PE xslt, overriding the bundled version
  2346. ZLIB_PE_CFLAGS
  2347. C compiler flags for the PE zlib, overriding the bundled version
  2348. ZLIB_PE_LIBS
  2349. Linker flags for the PE zlib, overriding the bundled version
  2350. XMKMF Path to xmkmf, Makefile generator for X Window System
  2351. CPP C preprocessor
  2352. INOTIFY_CFLAGS
  2353. C compiler flags for libinotify, overriding pkg-config
  2354. INOTIFY_LIBS
  2355. Linker flags for libinotify, overriding pkg-config
  2356. DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
  2357. DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
  2358. GNUTLS_CFLAGS
  2359. C compiler flags for gnutls, overriding pkg-config
  2360. GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
  2361. SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
  2362. SANE_LIBS Linker flags for sane-backends, overriding pkg-config
  2363. USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
  2364. USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
  2365. GPHOTO2_CFLAGS
  2366. C compiler flags for libgphoto2, overriding pkg-config
  2367. GPHOTO2_LIBS
  2368. Linker flags for libgphoto2, overriding pkg-config
  2369. GPHOTO2_PORT_CFLAGS
  2370. C compiler flags for libgphoto2_port, overriding pkg-config
  2371. GPHOTO2_PORT_LIBS
  2372. Linker flags for libgphoto2_port, overriding pkg-config
  2373. FREETYPE_CFLAGS
  2374. C compiler flags for freetype2, overriding pkg-config
  2375. FREETYPE_LIBS
  2376. Linker flags for freetype2, overriding pkg-config
  2377. PULSE_CFLAGS
  2378. C compiler flags for libpulse, overriding pkg-config
  2379. PULSE_LIBS Linker flags for libpulse, overriding pkg-config
  2380. GSTREAMER_CFLAGS
  2381. C compiler flags for gstreamer-1.0 gstreamer-video-1.0
  2382. gstreamer-audio-1.0, overriding pkg-config
  2383. GSTREAMER_LIBS
  2384. Linker flags for gstreamer-1.0 gstreamer-video-1.0
  2385. gstreamer-audio-1.0, overriding pkg-config
  2386. UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
  2387. UDEV_LIBS Linker flags for libudev, overriding pkg-config
  2388. UNWIND_CFLAGS
  2389. C compiler flags for libunwind, overriding pkg-config
  2390. UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
  2391. SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
  2392. SDL2_LIBS Linker flags for sdl2, overriding pkg-config
  2393. CAPI20_CFLAGS
  2394. C compiler flags for capi20, overriding pkg-config
  2395. CAPI20_LIBS Linker flags for capi20, overriding pkg-config
  2396. CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
  2397. CUPS_LIBS Linker flags for cups, overriding pkg-config
  2398. FONTCONFIG_CFLAGS
  2399. C compiler flags for fontconfig, overriding pkg-config
  2400. FONTCONFIG_LIBS
  2401. Linker flags for fontconfig, overriding pkg-config
  2402. KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
  2403. KRB5_LIBS Linker flags for krb5, overriding pkg-config
  2404. GSSAPI_CFLAGS
  2405. C compiler flags for krb5-gssapi, overriding pkg-config
  2406. GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
  2407. NETAPI_CFLAGS
  2408. C compiler flags for netapi, overriding pkg-config
  2409. NETAPI_LIBS Linker flags for netapi, overriding pkg-config
  2410. VKD3D_CFLAGS
  2411. C compiler flags for libvkd3d, overriding pkg-config
  2412. VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
  2413. VKD3D_SHADER_CFLAGS
  2414. C compiler flags for libvkd3d-shader, overriding pkg-config
  2415. VKD3D_SHADER_LIBS
  2416. Linker flags for libvkd3d-shader, overriding pkg-config
  2417. LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
  2418. LDAP_LIBS Linker flags for openldap, overriding pkg-config
  2419. Use these variables to override the choices made by `configure' or to help
  2420. it to find libraries and programs with nonstandard names/locations.
  2421. Report bugs to <wine-devel@winehq.org>.
  2422. Wine home page: <https://www.winehq.org>.
  2423. _ACEOF
  2424. ac_status=$?
  2425. fi
  2426. if test "$ac_init_help" = "recursive"; then
  2427. # If there are subdirs, report their specific --help.
  2428. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2429. test -d "$ac_dir" ||
  2430. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2431. continue
  2432. ac_builddir=.
  2433. case "$ac_dir" in
  2434. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2435. *)
  2436. ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  2437. # A ".." for each directory in $ac_dir_suffix.
  2438. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2439. case $ac_top_builddir_sub in
  2440. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2441. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2442. esac ;;
  2443. esac
  2444. ac_abs_top_builddir=$ac_pwd
  2445. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2446. # for backward compatibility:
  2447. ac_top_builddir=$ac_top_build_prefix
  2448. case $srcdir in
  2449. .) # We are building in place.
  2450. ac_srcdir=.
  2451. ac_top_srcdir=$ac_top_builddir_sub
  2452. ac_abs_top_srcdir=$ac_pwd ;;
  2453. [\\/]* | ?:[\\/]* ) # Absolute name.
  2454. ac_srcdir=$srcdir$ac_dir_suffix;
  2455. ac_top_srcdir=$srcdir
  2456. ac_abs_top_srcdir=$srcdir ;;
  2457. *) # Relative name.
  2458. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2459. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2460. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2461. esac
  2462. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2463. cd "$ac_dir" || { ac_status=$?; continue; }
  2464. # Check for configure.gnu first; this name is used for a wrapper for
  2465. # Metaconfig's "Configure" on case-insensitive file systems.
  2466. if test -f "$ac_srcdir/configure.gnu"; then
  2467. echo &&
  2468. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2469. elif test -f "$ac_srcdir/configure"; then
  2470. echo &&
  2471. $SHELL "$ac_srcdir/configure" --help=recursive
  2472. else
  2473. printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2474. fi || ac_status=$?
  2475. cd "$ac_pwd" || { ac_status=$?; break; }
  2476. done
  2477. fi
  2478. test -n "$ac_init_help" && exit $ac_status
  2479. if $ac_init_version; then
  2480. cat <<\_ACEOF
  2481. Wine configure 7.2
  2482. generated by GNU Autoconf 2.71
  2483. Copyright (C) 2021 Free Software Foundation, Inc.
  2484. This configure script is free software; the Free Software Foundation
  2485. gives unlimited permission to copy, distribute and modify it.
  2486. _ACEOF
  2487. exit
  2488. fi
  2489. ## ------------------------ ##
  2490. ## Autoconf initialization. ##
  2491. ## ------------------------ ##
  2492. # ac_fn_c_try_compile LINENO
  2493. # --------------------------
  2494. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2495. ac_fn_c_try_compile ()
  2496. {
  2497. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2498. rm -f conftest.$ac_objext conftest.beam
  2499. if { { ac_try="$ac_compile"
  2500. case "(($ac_try" in
  2501. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2502. *) ac_try_echo=$ac_try;;
  2503. esac
  2504. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2505. printf "%s\n" "$ac_try_echo"; } >&5
  2506. (eval "$ac_compile") 2>conftest.err
  2507. ac_status=$?
  2508. if test -s conftest.err; then
  2509. grep -v '^ *+' conftest.err >conftest.er1
  2510. cat conftest.er1 >&5
  2511. mv -f conftest.er1 conftest.err
  2512. fi
  2513. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2514. test $ac_status = 0; } && {
  2515. test -z "$ac_c_werror_flag" ||
  2516. test ! -s conftest.err
  2517. } && test -s conftest.$ac_objext
  2518. then :
  2519. ac_retval=0
  2520. else $as_nop
  2521. printf "%s\n" "$as_me: failed program was:" >&5
  2522. sed 's/^/| /' conftest.$ac_ext >&5
  2523. ac_retval=1
  2524. fi
  2525. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2526. as_fn_set_status $ac_retval
  2527. } # ac_fn_c_try_compile
  2528. # ac_fn_cxx_try_compile LINENO
  2529. # ----------------------------
  2530. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2531. ac_fn_cxx_try_compile ()
  2532. {
  2533. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2534. rm -f conftest.$ac_objext conftest.beam
  2535. if { { ac_try="$ac_compile"
  2536. case "(($ac_try" in
  2537. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2538. *) ac_try_echo=$ac_try;;
  2539. esac
  2540. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2541. printf "%s\n" "$ac_try_echo"; } >&5
  2542. (eval "$ac_compile") 2>conftest.err
  2543. ac_status=$?
  2544. if test -s conftest.err; then
  2545. grep -v '^ *+' conftest.err >conftest.er1
  2546. cat conftest.er1 >&5
  2547. mv -f conftest.er1 conftest.err
  2548. fi
  2549. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2550. test $ac_status = 0; } && {
  2551. test -z "$ac_cxx_werror_flag" ||
  2552. test ! -s conftest.err
  2553. } && test -s conftest.$ac_objext
  2554. then :
  2555. ac_retval=0
  2556. else $as_nop
  2557. printf "%s\n" "$as_me: failed program was:" >&5
  2558. sed 's/^/| /' conftest.$ac_ext >&5
  2559. ac_retval=1
  2560. fi
  2561. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2562. as_fn_set_status $ac_retval
  2563. } # ac_fn_cxx_try_compile
  2564. # ac_fn_c_try_link LINENO
  2565. # -----------------------
  2566. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2567. ac_fn_c_try_link ()
  2568. {
  2569. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2570. rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
  2571. if { { ac_try="$ac_link"
  2572. case "(($ac_try" in
  2573. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2574. *) ac_try_echo=$ac_try;;
  2575. esac
  2576. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2577. printf "%s\n" "$ac_try_echo"; } >&5
  2578. (eval "$ac_link") 2>conftest.err
  2579. ac_status=$?
  2580. if test -s conftest.err; then
  2581. grep -v '^ *+' conftest.err >conftest.er1
  2582. cat conftest.er1 >&5
  2583. mv -f conftest.er1 conftest.err
  2584. fi
  2585. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2586. test $ac_status = 0; } && {
  2587. test -z "$ac_c_werror_flag" ||
  2588. test ! -s conftest.err
  2589. } && test -s conftest$ac_exeext && {
  2590. test "$cross_compiling" = yes ||
  2591. test -x conftest$ac_exeext
  2592. }
  2593. then :
  2594. ac_retval=0
  2595. else $as_nop
  2596. printf "%s\n" "$as_me: failed program was:" >&5
  2597. sed 's/^/| /' conftest.$ac_ext >&5
  2598. ac_retval=1
  2599. fi
  2600. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2601. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2602. # interfere with the next link command; also delete a directory that is
  2603. # left behind by Apple's compiler. We do this before executing the actions.
  2604. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2605. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2606. as_fn_set_status $ac_retval
  2607. } # ac_fn_c_try_link
  2608. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2609. # -------------------------------------------------------
  2610. # Tests whether HEADER exists and can be compiled using the include files in
  2611. # INCLUDES, setting the cache variable VAR accordingly.
  2612. ac_fn_c_check_header_compile ()
  2613. {
  2614. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2615. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2616. printf %s "checking for $2... " >&6; }
  2617. if eval test \${$3+y}
  2618. then :
  2619. printf %s "(cached) " >&6
  2620. else $as_nop
  2621. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2622. /* end confdefs.h. */
  2623. $4
  2624. #include <$2>
  2625. _ACEOF
  2626. if ac_fn_c_try_compile "$LINENO"
  2627. then :
  2628. eval "$3=yes"
  2629. else $as_nop
  2630. eval "$3=no"
  2631. fi
  2632. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2633. fi
  2634. eval ac_res=\$$3
  2635. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2636. printf "%s\n" "$ac_res" >&6; }
  2637. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2638. } # ac_fn_c_check_header_compile
  2639. # ac_fn_objc_try_compile LINENO
  2640. # -----------------------------
  2641. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2642. ac_fn_objc_try_compile ()
  2643. {
  2644. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2645. rm -f conftest.$ac_objext conftest.beam
  2646. if { { ac_try="$ac_compile"
  2647. case "(($ac_try" in
  2648. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2649. *) ac_try_echo=$ac_try;;
  2650. esac
  2651. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2652. printf "%s\n" "$ac_try_echo"; } >&5
  2653. (eval "$ac_compile") 2>conftest.err
  2654. ac_status=$?
  2655. if test -s conftest.err; then
  2656. grep -v '^ *+' conftest.err >conftest.er1
  2657. cat conftest.er1 >&5
  2658. mv -f conftest.er1 conftest.err
  2659. fi
  2660. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2661. test $ac_status = 0; } && {
  2662. test -z "$ac_objc_werror_flag" ||
  2663. test ! -s conftest.err
  2664. } && test -s conftest.$ac_objext
  2665. then :
  2666. ac_retval=0
  2667. else $as_nop
  2668. printf "%s\n" "$as_me: failed program was:" >&5
  2669. sed 's/^/| /' conftest.$ac_ext >&5
  2670. ac_retval=1
  2671. fi
  2672. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2673. as_fn_set_status $ac_retval
  2674. } # ac_fn_objc_try_compile
  2675. # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
  2676. # ----------------------------------------------------------
  2677. # Tests whether HEADER exists and can be compiled using the include files in
  2678. # INCLUDES, setting the cache variable VAR accordingly.
  2679. ac_fn_objc_check_header_compile ()
  2680. {
  2681. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2682. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2683. printf %s "checking for $2... " >&6; }
  2684. if eval test \${$3+y}
  2685. then :
  2686. printf %s "(cached) " >&6
  2687. else $as_nop
  2688. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2689. /* end confdefs.h. */
  2690. $4
  2691. #include <$2>
  2692. _ACEOF
  2693. if ac_fn_objc_try_compile "$LINENO"
  2694. then :
  2695. eval "$3=yes"
  2696. else $as_nop
  2697. eval "$3=no"
  2698. fi
  2699. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2700. fi
  2701. eval ac_res=\$$3
  2702. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2703. printf "%s\n" "$ac_res" >&6; }
  2704. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2705. } # ac_fn_objc_check_header_compile
  2706. # ac_fn_c_check_func LINENO FUNC VAR
  2707. # ----------------------------------
  2708. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  2709. ac_fn_c_check_func ()
  2710. {
  2711. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2712. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2713. printf %s "checking for $2... " >&6; }
  2714. if eval test \${$3+y}
  2715. then :
  2716. printf %s "(cached) " >&6
  2717. else $as_nop
  2718. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2719. /* end confdefs.h. */
  2720. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  2721. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2722. #define $2 innocuous_$2
  2723. /* System header to define __stub macros and hopefully few prototypes,
  2724. which can conflict with char $2 (); below. */
  2725. #include <limits.h>
  2726. #undef $2
  2727. /* Override any GCC internal prototype to avoid an error.
  2728. Use char because int might match the return type of a GCC
  2729. builtin and then its argument prototype would still apply. */
  2730. #ifdef __cplusplus
  2731. extern "C"
  2732. #endif
  2733. char $2 ();
  2734. /* The GNU C library defines this for functions which it implements
  2735. to always fail with ENOSYS. Some functions are actually named
  2736. something starting with __ and the normal name is an alias. */
  2737. #if defined __stub_$2 || defined __stub___$2
  2738. choke me
  2739. #endif
  2740. int
  2741. main (void)
  2742. {
  2743. return $2 ();
  2744. ;
  2745. return 0;
  2746. }
  2747. _ACEOF
  2748. if ac_fn_c_try_link "$LINENO"
  2749. then :
  2750. eval "$3=yes"
  2751. else $as_nop
  2752. eval "$3=no"
  2753. fi
  2754. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  2755. conftest$ac_exeext conftest.$ac_ext
  2756. fi
  2757. eval ac_res=\$$3
  2758. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2759. printf "%s\n" "$ac_res" >&6; }
  2760. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2761. } # ac_fn_c_check_func
  2762. # ac_fn_c_try_cpp LINENO
  2763. # ----------------------
  2764. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2765. ac_fn_c_try_cpp ()
  2766. {
  2767. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2768. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2769. case "(($ac_try" in
  2770. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2771. *) ac_try_echo=$ac_try;;
  2772. esac
  2773. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2774. printf "%s\n" "$ac_try_echo"; } >&5
  2775. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2776. ac_status=$?
  2777. if test -s conftest.err; then
  2778. grep -v '^ *+' conftest.err >conftest.er1
  2779. cat conftest.er1 >&5
  2780. mv -f conftest.er1 conftest.err
  2781. fi
  2782. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2783. test $ac_status = 0; } > conftest.i && {
  2784. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2785. test ! -s conftest.err
  2786. }
  2787. then :
  2788. ac_retval=0
  2789. else $as_nop
  2790. printf "%s\n" "$as_me: failed program was:" >&5
  2791. sed 's/^/| /' conftest.$ac_ext >&5
  2792. ac_retval=1
  2793. fi
  2794. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2795. as_fn_set_status $ac_retval
  2796. } # ac_fn_c_try_cpp
  2797. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  2798. # ----------------------------------------------------
  2799. # Tries to find if the field MEMBER exists in type AGGR, after including
  2800. # INCLUDES, setting cache variable VAR accordingly.
  2801. ac_fn_c_check_member ()
  2802. {
  2803. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2804. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2805. printf %s "checking for $2.$3... " >&6; }
  2806. if eval test \${$4+y}
  2807. then :
  2808. printf %s "(cached) " >&6
  2809. else $as_nop
  2810. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2811. /* end confdefs.h. */
  2812. $5
  2813. int
  2814. main (void)
  2815. {
  2816. static $2 ac_aggr;
  2817. if (ac_aggr.$3)
  2818. return 0;
  2819. ;
  2820. return 0;
  2821. }
  2822. _ACEOF
  2823. if ac_fn_c_try_compile "$LINENO"
  2824. then :
  2825. eval "$4=yes"
  2826. else $as_nop
  2827. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2828. /* end confdefs.h. */
  2829. $5
  2830. int
  2831. main (void)
  2832. {
  2833. static $2 ac_aggr;
  2834. if (sizeof ac_aggr.$3)
  2835. return 0;
  2836. ;
  2837. return 0;
  2838. }
  2839. _ACEOF
  2840. if ac_fn_c_try_compile "$LINENO"
  2841. then :
  2842. eval "$4=yes"
  2843. else $as_nop
  2844. eval "$4=no"
  2845. fi
  2846. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2847. fi
  2848. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2849. fi
  2850. eval ac_res=\$$4
  2851. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2852. printf "%s\n" "$ac_res" >&6; }
  2853. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2854. } # ac_fn_c_check_member
  2855. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  2856. # -------------------------------------------
  2857. # Tests whether TYPE exists after having included INCLUDES, setting cache
  2858. # variable VAR accordingly.
  2859. ac_fn_c_check_type ()
  2860. {
  2861. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2862. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2863. printf %s "checking for $2... " >&6; }
  2864. if eval test \${$3+y}
  2865. then :
  2866. printf %s "(cached) " >&6
  2867. else $as_nop
  2868. eval "$3=no"
  2869. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2870. /* end confdefs.h. */
  2871. $4
  2872. int
  2873. main (void)
  2874. {
  2875. if (sizeof ($2))
  2876. return 0;
  2877. ;
  2878. return 0;
  2879. }
  2880. _ACEOF
  2881. if ac_fn_c_try_compile "$LINENO"
  2882. then :
  2883. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2884. /* end confdefs.h. */
  2885. $4
  2886. int
  2887. main (void)
  2888. {
  2889. if (sizeof (($2)))
  2890. return 0;
  2891. ;
  2892. return 0;
  2893. }
  2894. _ACEOF
  2895. if ac_fn_c_try_compile "$LINENO"
  2896. then :
  2897. else $as_nop
  2898. eval "$3=yes"
  2899. fi
  2900. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2901. fi
  2902. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  2903. fi
  2904. eval ac_res=\$$3
  2905. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2906. printf "%s\n" "$ac_res" >&6; }
  2907. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2908. } # ac_fn_c_check_type
  2909. ac_configure_args_raw=
  2910. for ac_arg
  2911. do
  2912. case $ac_arg in
  2913. *\'*)
  2914. ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2915. esac
  2916. as_fn_append ac_configure_args_raw " '$ac_arg'"
  2917. done
  2918. case $ac_configure_args_raw in
  2919. *$as_nl*)
  2920. ac_safe_unquote= ;;
  2921. *)
  2922. ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
  2923. ac_unsafe_a="$ac_unsafe_z#~"
  2924. ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
  2925. ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
  2926. esac
  2927. cat >config.log <<_ACEOF
  2928. This file contains any messages produced by compilers while
  2929. running configure, to aid debugging if configure makes a mistake.
  2930. It was created by Wine $as_me 7.2, which was
  2931. generated by GNU Autoconf 2.71. Invocation command line was
  2932. $ $0$ac_configure_args_raw
  2933. _ACEOF
  2934. exec 5>>config.log
  2935. {
  2936. cat <<_ASUNAME
  2937. ## --------- ##
  2938. ## Platform. ##
  2939. ## --------- ##
  2940. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2941. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2942. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2943. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2944. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2945. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2946. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2947. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2948. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2949. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2950. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2951. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2952. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2953. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2954. _ASUNAME
  2955. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2956. for as_dir in $PATH
  2957. do
  2958. IFS=$as_save_IFS
  2959. case $as_dir in #(((
  2960. '') as_dir=./ ;;
  2961. */) ;;
  2962. *) as_dir=$as_dir/ ;;
  2963. esac
  2964. printf "%s\n" "PATH: $as_dir"
  2965. done
  2966. IFS=$as_save_IFS
  2967. } >&5
  2968. cat >&5 <<_ACEOF
  2969. ## ----------- ##
  2970. ## Core tests. ##
  2971. ## ----------- ##
  2972. _ACEOF
  2973. # Keep a trace of the command line.
  2974. # Strip out --no-create and --no-recursion so they do not pile up.
  2975. # Strip out --silent because we don't want to record it for future runs.
  2976. # Also quote any args containing shell meta-characters.
  2977. # Make two passes to allow for proper duplicate-argument suppression.
  2978. ac_configure_args=
  2979. ac_configure_args0=
  2980. ac_configure_args1=
  2981. ac_must_keep_next=false
  2982. for ac_pass in 1 2
  2983. do
  2984. for ac_arg
  2985. do
  2986. case $ac_arg in
  2987. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2988. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2989. | -silent | --silent | --silen | --sile | --sil)
  2990. continue ;;
  2991. *\'*)
  2992. ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2993. esac
  2994. case $ac_pass in
  2995. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2996. 2)
  2997. as_fn_append ac_configure_args1 " '$ac_arg'"
  2998. if test $ac_must_keep_next = true; then
  2999. ac_must_keep_next=false # Got value, back to normal.
  3000. else
  3001. case $ac_arg in
  3002. *=* | --config-cache | -C | -disable-* | --disable-* \
  3003. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3004. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3005. | -with-* | --with-* | -without-* | --without-* | --x)
  3006. case "$ac_configure_args0 " in
  3007. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3008. esac
  3009. ;;
  3010. -* ) ac_must_keep_next=true ;;
  3011. esac
  3012. fi
  3013. as_fn_append ac_configure_args " '$ac_arg'"
  3014. ;;
  3015. esac
  3016. done
  3017. done
  3018. { ac_configure_args0=; unset ac_configure_args0;}
  3019. { ac_configure_args1=; unset ac_configure_args1;}
  3020. # When interrupted or exit'd, cleanup temporary files, and complete
  3021. # config.log. We remove comments because anyway the quotes in there
  3022. # would cause problems or look ugly.
  3023. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3024. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3025. trap 'exit_status=$?
  3026. # Sanitize IFS.
  3027. IFS=" "" $as_nl"
  3028. # Save into config.log some information that might help in debugging.
  3029. {
  3030. echo
  3031. printf "%s\n" "## ---------------- ##
  3032. ## Cache variables. ##
  3033. ## ---------------- ##"
  3034. echo
  3035. # The following way of writing the cache mishandles newlines in values,
  3036. (
  3037. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3038. eval ac_val=\$$ac_var
  3039. case $ac_val in #(
  3040. *${as_nl}*)
  3041. case $ac_var in #(
  3042. *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3043. printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3044. esac
  3045. case $ac_var in #(
  3046. _ | IFS | as_nl) ;; #(
  3047. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3048. *) { eval $ac_var=; unset $ac_var;} ;;
  3049. esac ;;
  3050. esac
  3051. done
  3052. (set) 2>&1 |
  3053. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3054. *${as_nl}ac_space=\ *)
  3055. sed -n \
  3056. "s/'\''/'\''\\\\'\'''\''/g;
  3057. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3058. ;; #(
  3059. *)
  3060. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3061. ;;
  3062. esac |
  3063. sort
  3064. )
  3065. echo
  3066. printf "%s\n" "## ----------------- ##
  3067. ## Output variables. ##
  3068. ## ----------------- ##"
  3069. echo
  3070. for ac_var in $ac_subst_vars
  3071. do
  3072. eval ac_val=\$$ac_var
  3073. case $ac_val in
  3074. *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3075. esac
  3076. printf "%s\n" "$ac_var='\''$ac_val'\''"
  3077. done | sort
  3078. echo
  3079. if test -n "$ac_subst_files"; then
  3080. printf "%s\n" "## ------------------- ##
  3081. ## File substitutions. ##
  3082. ## ------------------- ##"
  3083. echo
  3084. for ac_var in $ac_subst_files
  3085. do
  3086. eval ac_val=\$$ac_var
  3087. case $ac_val in
  3088. *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3089. esac
  3090. printf "%s\n" "$ac_var='\''$ac_val'\''"
  3091. done | sort
  3092. echo
  3093. fi
  3094. if test -s confdefs.h; then
  3095. printf "%s\n" "## ----------- ##
  3096. ## confdefs.h. ##
  3097. ## ----------- ##"
  3098. echo
  3099. cat confdefs.h
  3100. echo
  3101. fi
  3102. test "$ac_signal" != 0 &&
  3103. printf "%s\n" "$as_me: caught signal $ac_signal"
  3104. printf "%s\n" "$as_me: exit $exit_status"
  3105. } >&5
  3106. rm -f core *.core core.conftest.* &&
  3107. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3108. exit $exit_status
  3109. ' 0
  3110. for ac_signal in 1 2 13 15; do
  3111. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3112. done
  3113. ac_signal=0
  3114. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3115. rm -f -r conftest* confdefs.h
  3116. printf "%s\n" "/* confdefs.h */" > confdefs.h
  3117. # Predefined preprocessor variables.
  3118. printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
  3119. printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
  3120. printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
  3121. printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
  3122. printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
  3123. printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
  3124. # Let the site file select an alternate cache file if it wants to.
  3125. # Prefer an explicitly selected file to automatically selected ones.
  3126. if test -n "$CONFIG_SITE"; then
  3127. ac_site_files="$CONFIG_SITE"
  3128. elif test "x$prefix" != xNONE; then
  3129. ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
  3130. else
  3131. ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  3132. fi
  3133. for ac_site_file in $ac_site_files
  3134. do
  3135. case $ac_site_file in #(
  3136. */*) :
  3137. ;; #(
  3138. *) :
  3139. ac_site_file=./$ac_site_file ;;
  3140. esac
  3141. if test -f "$ac_site_file" && test -r "$ac_site_file"; then
  3142. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3143. printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
  3144. sed 's/^/| /' "$ac_site_file" >&5
  3145. . "$ac_site_file" \
  3146. || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3147. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3148. as_fn_error $? "failed to load site script $ac_site_file
  3149. See \`config.log' for more details" "$LINENO" 5; }
  3150. fi
  3151. done
  3152. if test -r "$cache_file"; then
  3153. # Some versions of bash will fail to source /dev/null (special files
  3154. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3155. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3156. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3157. printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
  3158. case $cache_file in
  3159. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3160. *) . "./$cache_file";;
  3161. esac
  3162. fi
  3163. else
  3164. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3165. printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
  3166. >$cache_file
  3167. fi
  3168. # Test code for whether the C compiler supports C89 (global declarations)
  3169. ac_c_conftest_c89_globals='
  3170. /* Does the compiler advertise C89 conformance?
  3171. Do not test the value of __STDC__, because some compilers set it to 0
  3172. while being otherwise adequately conformant. */
  3173. #if !defined __STDC__
  3174. # error "Compiler does not advertise C89 conformance"
  3175. #endif
  3176. #include <stddef.h>
  3177. #include <stdarg.h>
  3178. struct stat;
  3179. /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
  3180. struct buf { int x; };
  3181. struct buf * (*rcsopen) (struct buf *, struct stat *, int);
  3182. static char *e (p, i)
  3183. char **p;
  3184. int i;
  3185. {
  3186. return p[i];
  3187. }
  3188. static char *f (char * (*g) (char **, int), char **p, ...)
  3189. {
  3190. char *s;
  3191. va_list v;
  3192. va_start (v,p);
  3193. s = g (p, va_arg (v,int));
  3194. va_end (v);
  3195. return s;
  3196. }
  3197. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3198. function prototypes and stuff, but not \xHH hex character constants.
  3199. These do not provoke an error unfortunately, instead are silently treated
  3200. as an "x". The following induces an error, until -std is added to get
  3201. proper ANSI mode. Curiously \x00 != x always comes out true, for an
  3202. array size at least. It is necessary to write \x00 == 0 to get something
  3203. that is true only with -std. */
  3204. int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
  3205. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3206. inside strings and character constants. */
  3207. #define FOO(x) '\''x'\''
  3208. int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
  3209. int test (int i, double x);
  3210. struct s1 {int (*f) (int a);};
  3211. struct s2 {int (*f) (double a);};
  3212. int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
  3213. int, int);'
  3214. # Test code for whether the C compiler supports C89 (body of main).
  3215. ac_c_conftest_c89_main='
  3216. ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
  3217. '
  3218. # Test code for whether the C compiler supports C99 (global declarations)
  3219. ac_c_conftest_c99_globals='
  3220. // Does the compiler advertise C99 conformance?
  3221. #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
  3222. # error "Compiler does not advertise C99 conformance"
  3223. #endif
  3224. #include <stdbool.h>
  3225. extern int puts (const char *);
  3226. extern int printf (const char *, ...);
  3227. extern int dprintf (int, const char *, ...);
  3228. extern void *malloc (size_t);
  3229. // Check varargs macros. These examples are taken from C99 6.10.3.5.
  3230. // dprintf is used instead of fprintf to avoid needing to declare
  3231. // FILE and stderr.
  3232. #define debug(...) dprintf (2, __VA_ARGS__)
  3233. #define showlist(...) puts (#__VA_ARGS__)
  3234. #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  3235. static void
  3236. test_varargs_macros (void)
  3237. {
  3238. int x = 1234;
  3239. int y = 5678;
  3240. debug ("Flag");
  3241. debug ("X = %d\n", x);
  3242. showlist (The first, second, and third items.);
  3243. report (x>y, "x is %d but y is %d", x, y);
  3244. }
  3245. // Check long long types.
  3246. #define BIG64 18446744073709551615ull
  3247. #define BIG32 4294967295ul
  3248. #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  3249. #if !BIG_OK
  3250. #error "your preprocessor is broken"
  3251. #endif
  3252. #if BIG_OK
  3253. #else
  3254. #error "your preprocessor is broken"
  3255. #endif
  3256. static long long int bignum = -9223372036854775807LL;
  3257. static unsigned long long int ubignum = BIG64;
  3258. struct incomplete_array
  3259. {
  3260. int datasize;
  3261. double data[];
  3262. };
  3263. struct named_init {
  3264. int number;
  3265. const wchar_t *name;
  3266. double average;
  3267. };
  3268. typedef const char *ccp;
  3269. static inline int
  3270. test_restrict (ccp restrict text)
  3271. {
  3272. // See if C++-style comments work.
  3273. // Iterate through items via the restricted pointer.
  3274. // Also check for declarations in for loops.
  3275. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
  3276. continue;
  3277. return 0;
  3278. }
  3279. // Check varargs and va_copy.
  3280. static bool
  3281. test_varargs (const char *format, ...)
  3282. {
  3283. va_list args;
  3284. va_start (args, format);
  3285. va_list args_copy;
  3286. va_copy (args_copy, args);
  3287. const char *str = "";
  3288. int number = 0;
  3289. float fnumber = 0;
  3290. while (*format)
  3291. {
  3292. switch (*format++)
  3293. {
  3294. case '\''s'\'': // string
  3295. str = va_arg (args_copy, const char *);
  3296. break;
  3297. case '\''d'\'': // int
  3298. number = va_arg (args_copy, int);
  3299. break;
  3300. case '\''f'\'': // float
  3301. fnumber = va_arg (args_copy, double);
  3302. break;
  3303. default:
  3304. break;
  3305. }
  3306. }
  3307. va_end (args_copy);
  3308. va_end (args);
  3309. return *str && number && fnumber;
  3310. }
  3311. '
  3312. # Test code for whether the C compiler supports C99 (body of main).
  3313. ac_c_conftest_c99_main='
  3314. // Check bool.
  3315. _Bool success = false;
  3316. success |= (argc != 0);
  3317. // Check restrict.
  3318. if (test_restrict ("String literal") == 0)
  3319. success = true;
  3320. char *restrict newvar = "Another string";
  3321. // Check varargs.
  3322. success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
  3323. test_varargs_macros ();
  3324. // Check flexible array members.
  3325. struct incomplete_array *ia =
  3326. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  3327. ia->datasize = 10;
  3328. for (int i = 0; i < ia->datasize; ++i)
  3329. ia->data[i] = i * 1.234;
  3330. // Check named initializers.
  3331. struct named_init ni = {
  3332. .number = 34,
  3333. .name = L"Test wide string",
  3334. .average = 543.34343,
  3335. };
  3336. ni.number = 58;
  3337. int dynamic_array[ni.number];
  3338. dynamic_array[0] = argv[0][0];
  3339. dynamic_array[ni.number - 1] = 543;
  3340. // work around unused variable warnings
  3341. ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
  3342. || dynamic_array[ni.number - 1] != 543);
  3343. '
  3344. # Test code for whether the C compiler supports C11 (global declarations)
  3345. ac_c_conftest_c11_globals='
  3346. // Does the compiler advertise C11 conformance?
  3347. #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
  3348. # error "Compiler does not advertise C11 conformance"
  3349. #endif
  3350. // Check _Alignas.
  3351. char _Alignas (double) aligned_as_double;
  3352. char _Alignas (0) no_special_alignment;
  3353. extern char aligned_as_int;
  3354. char _Alignas (0) _Alignas (int) aligned_as_int;
  3355. // Check _Alignof.
  3356. enum
  3357. {
  3358. int_alignment = _Alignof (int),
  3359. int_array_alignment = _Alignof (int[100]),
  3360. char_alignment = _Alignof (char)
  3361. };
  3362. _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
  3363. // Check _Noreturn.
  3364. int _Noreturn does_not_return (void) { for (;;) continue; }
  3365. // Check _Static_assert.
  3366. struct test_static_assert
  3367. {
  3368. int x;
  3369. _Static_assert (sizeof (int) <= sizeof (long int),
  3370. "_Static_assert does not work in struct");
  3371. long int y;
  3372. };
  3373. // Check UTF-8 literals.
  3374. #define u8 syntax error!
  3375. char const utf8_literal[] = u8"happens to be ASCII" "another string";
  3376. // Check duplicate typedefs.
  3377. typedef long *long_ptr;
  3378. typedef long int *long_ptr;
  3379. typedef long_ptr long_ptr;
  3380. // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
  3381. struct anonymous
  3382. {
  3383. union {
  3384. struct { int i; int j; };
  3385. struct { int k; long int l; } w;
  3386. };
  3387. int m;
  3388. } v1;
  3389. '
  3390. # Test code for whether the C compiler supports C11 (body of main).
  3391. ac_c_conftest_c11_main='
  3392. _Static_assert ((offsetof (struct anonymous, i)
  3393. == offsetof (struct anonymous, w.k)),
  3394. "Anonymous union alignment botch");
  3395. v1.i = 2;
  3396. v1.w.k = 5;
  3397. ok |= v1.i != 5;
  3398. '
  3399. # Test code for whether the C compiler supports C11 (complete).
  3400. ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
  3401. ${ac_c_conftest_c99_globals}
  3402. ${ac_c_conftest_c11_globals}
  3403. int
  3404. main (int argc, char **argv)
  3405. {
  3406. int ok = 0;
  3407. ${ac_c_conftest_c89_main}
  3408. ${ac_c_conftest_c99_main}
  3409. ${ac_c_conftest_c11_main}
  3410. return ok;
  3411. }
  3412. "
  3413. # Test code for whether the C compiler supports C99 (complete).
  3414. ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
  3415. ${ac_c_conftest_c99_globals}
  3416. int
  3417. main (int argc, char **argv)
  3418. {
  3419. int ok = 0;
  3420. ${ac_c_conftest_c89_main}
  3421. ${ac_c_conftest_c99_main}
  3422. return ok;
  3423. }
  3424. "
  3425. # Test code for whether the C compiler supports C89 (complete).
  3426. ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
  3427. int
  3428. main (int argc, char **argv)
  3429. {
  3430. int ok = 0;
  3431. ${ac_c_conftest_c89_main}
  3432. return ok;
  3433. }
  3434. "
  3435. # Test code for whether the C++ compiler supports C++98 (global declarations)
  3436. ac_cxx_conftest_cxx98_globals='
  3437. // Does the compiler advertise C++98 conformance?
  3438. #if !defined __cplusplus || __cplusplus < 199711L
  3439. # error "Compiler does not advertise C++98 conformance"
  3440. #endif
  3441. // These inclusions are to reject old compilers that
  3442. // lack the unsuffixed header files.
  3443. #include <cstdlib>
  3444. #include <exception>
  3445. // <cassert> and <cstring> are *not* freestanding headers in C++98.
  3446. extern void assert (int);
  3447. namespace std {
  3448. extern int strcmp (const char *, const char *);
  3449. }
  3450. // Namespaces, exceptions, and templates were all added after "C++ 2.0".
  3451. using std::exception;
  3452. using std::strcmp;
  3453. namespace {
  3454. void test_exception_syntax()
  3455. {
  3456. try {
  3457. throw "test";
  3458. } catch (const char *s) {
  3459. // Extra parentheses suppress a warning when building autoconf itself,
  3460. // due to lint rules shared with more typical C programs.
  3461. assert (!(strcmp) (s, "test"));
  3462. }
  3463. }
  3464. template <typename T> struct test_template
  3465. {
  3466. T const val;
  3467. explicit test_template(T t) : val(t) {}
  3468. template <typename U> T add(U u) { return static_cast<T>(u) + val; }
  3469. };
  3470. } // anonymous namespace
  3471. '
  3472. # Test code for whether the C++ compiler supports C++98 (body of main)
  3473. ac_cxx_conftest_cxx98_main='
  3474. assert (argc);
  3475. assert (! argv[0]);
  3476. {
  3477. test_exception_syntax ();
  3478. test_template<double> tt (2.0);
  3479. assert (tt.add (4) == 6.0);
  3480. assert (true && !false);
  3481. }
  3482. '
  3483. # Test code for whether the C++ compiler supports C++11 (global declarations)
  3484. ac_cxx_conftest_cxx11_globals='
  3485. // Does the compiler advertise C++ 2011 conformance?
  3486. #if !defined __cplusplus || __cplusplus < 201103L
  3487. # error "Compiler does not advertise C++11 conformance"
  3488. #endif
  3489. namespace cxx11test
  3490. {
  3491. constexpr int get_val() { return 20; }
  3492. struct testinit
  3493. {
  3494. int i;
  3495. double d;
  3496. };
  3497. class delegate
  3498. {
  3499. public:
  3500. delegate(int n) : n(n) {}
  3501. delegate(): delegate(2354) {}
  3502. virtual int getval() { return this->n; };
  3503. protected:
  3504. int n;
  3505. };
  3506. class overridden : public delegate
  3507. {
  3508. public:
  3509. overridden(int n): delegate(n) {}
  3510. virtual int getval() override final { return this->n * 2; }
  3511. };
  3512. class nocopy
  3513. {
  3514. public:
  3515. nocopy(int i): i(i) {}
  3516. nocopy() = default;
  3517. nocopy(const nocopy&) = delete;
  3518. nocopy & operator=(const nocopy&) = delete;
  3519. private:
  3520. int i;
  3521. };
  3522. // for testing lambda expressions
  3523. template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
  3524. {
  3525. return f(v);
  3526. }
  3527. // for testing variadic templates and trailing return types
  3528. template <typename V> auto sum(V first) -> V
  3529. {
  3530. return first;
  3531. }
  3532. template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
  3533. {
  3534. return first + sum(rest...);
  3535. }
  3536. }
  3537. '
  3538. # Test code for whether the C++ compiler supports C++11 (body of main)
  3539. ac_cxx_conftest_cxx11_main='
  3540. {
  3541. // Test auto and decltype
  3542. auto a1 = 6538;
  3543. auto a2 = 48573953.4;
  3544. auto a3 = "String literal";
  3545. int total = 0;
  3546. for (auto i = a3; *i; ++i) { total += *i; }
  3547. decltype(a2) a4 = 34895.034;
  3548. }
  3549. {
  3550. // Test constexpr
  3551. short sa[cxx11test::get_val()] = { 0 };
  3552. }
  3553. {
  3554. // Test initializer lists
  3555. cxx11test::testinit il = { 4323, 435234.23544 };
  3556. }
  3557. {
  3558. // Test range-based for
  3559. int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
  3560. 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
  3561. for (auto &x : array) { x += 23; }
  3562. }
  3563. {
  3564. // Test lambda expressions
  3565. using cxx11test::eval;
  3566. assert (eval ([](int x) { return x*2; }, 21) == 42);
  3567. double d = 2.0;
  3568. assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
  3569. assert (d == 5.0);
  3570. assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
  3571. assert (d == 5.0);
  3572. }
  3573. {
  3574. // Test use of variadic templates
  3575. using cxx11test::sum;
  3576. auto a = sum(1);
  3577. auto b = sum(1, 2);
  3578. auto c = sum(1.0, 2.0, 3.0);
  3579. }
  3580. {
  3581. // Test constructor delegation
  3582. cxx11test::delegate d1;
  3583. cxx11test::delegate d2();
  3584. cxx11test::delegate d3(45);
  3585. }
  3586. {
  3587. // Test override and final
  3588. cxx11test::overridden o1(55464);
  3589. }
  3590. {
  3591. // Test nullptr
  3592. char *c = nullptr;
  3593. }
  3594. {
  3595. // Test template brackets
  3596. test_template<::test_template<int>> v(test_template<int>(12));
  3597. }
  3598. {
  3599. // Unicode literals
  3600. char const *utf8 = u8"UTF-8 string \u2500";
  3601. char16_t const *utf16 = u"UTF-8 string \u2500";
  3602. char32_t const *utf32 = U"UTF-32 string \u2500";
  3603. }
  3604. '
  3605. # Test code for whether the C compiler supports C++11 (complete).
  3606. ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
  3607. ${ac_cxx_conftest_cxx11_globals}
  3608. int
  3609. main (int argc, char **argv)
  3610. {
  3611. int ok = 0;
  3612. ${ac_cxx_conftest_cxx98_main}
  3613. ${ac_cxx_conftest_cxx11_main}
  3614. return ok;
  3615. }
  3616. "
  3617. # Test code for whether the C compiler supports C++98 (complete).
  3618. ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
  3619. int
  3620. main (int argc, char **argv)
  3621. {
  3622. int ok = 0;
  3623. ${ac_cxx_conftest_cxx98_main}
  3624. return ok;
  3625. }
  3626. "
  3627. as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
  3628. as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
  3629. as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
  3630. as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
  3631. as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
  3632. as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
  3633. as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
  3634. as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
  3635. as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
  3636. # Auxiliary files required by this configure script.
  3637. ac_aux_files="config.guess config.sub"
  3638. # Locations in which to look for auxiliary files.
  3639. ac_aux_dir_candidates="${srcdir}/tools"
  3640. # Search for a directory containing all of the required auxiliary files,
  3641. # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
  3642. # If we don't find one directory that contains all the files we need,
  3643. # we report the set of missing files from the *first* directory in
  3644. # $ac_aux_dir_candidates and give up.
  3645. ac_missing_aux_files=""
  3646. ac_first_candidate=:
  3647. printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
  3648. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3649. as_found=false
  3650. for as_dir in $ac_aux_dir_candidates
  3651. do
  3652. IFS=$as_save_IFS
  3653. case $as_dir in #(((
  3654. '') as_dir=./ ;;
  3655. */) ;;
  3656. *) as_dir=$as_dir/ ;;
  3657. esac
  3658. as_found=:
  3659. printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
  3660. ac_aux_dir_found=yes
  3661. ac_install_sh=
  3662. for ac_aux in $ac_aux_files
  3663. do
  3664. # As a special case, if "install-sh" is required, that requirement
  3665. # can be satisfied by any of "install-sh", "install.sh", or "shtool",
  3666. # and $ac_install_sh is set appropriately for whichever one is found.
  3667. if test x"$ac_aux" = x"install-sh"
  3668. then
  3669. if test -f "${as_dir}install-sh"; then
  3670. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
  3671. ac_install_sh="${as_dir}install-sh -c"
  3672. elif test -f "${as_dir}install.sh"; then
  3673. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
  3674. ac_install_sh="${as_dir}install.sh -c"
  3675. elif test -f "${as_dir}shtool"; then
  3676. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
  3677. ac_install_sh="${as_dir}shtool install -c"
  3678. else
  3679. ac_aux_dir_found=no
  3680. if $ac_first_candidate; then
  3681. ac_missing_aux_files="${ac_missing_aux_files} install-sh"
  3682. else
  3683. break
  3684. fi
  3685. fi
  3686. else
  3687. if test -f "${as_dir}${ac_aux}"; then
  3688. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
  3689. else
  3690. ac_aux_dir_found=no
  3691. if $ac_first_candidate; then
  3692. ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
  3693. else
  3694. break
  3695. fi
  3696. fi
  3697. fi
  3698. done
  3699. if test "$ac_aux_dir_found" = yes; then
  3700. ac_aux_dir="$as_dir"
  3701. break
  3702. fi
  3703. ac_first_candidate=false
  3704. as_found=false
  3705. done
  3706. IFS=$as_save_IFS
  3707. if $as_found
  3708. then :
  3709. else $as_nop
  3710. as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
  3711. fi
  3712. # These three variables are undocumented and unsupported,
  3713. # and are intended to be withdrawn in a future Autoconf release.
  3714. # They can cause serious problems if a builder's source tree is in a directory
  3715. # whose full name contains unusual characters.
  3716. if test -f "${ac_aux_dir}config.guess"; then
  3717. ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
  3718. fi
  3719. if test -f "${ac_aux_dir}config.sub"; then
  3720. ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
  3721. fi
  3722. if test -f "$ac_aux_dir/configure"; then
  3723. ac_configure="$SHELL ${ac_aux_dir}configure"
  3724. fi
  3725. # Check that the precious variables saved in the cache have kept the same
  3726. # value.
  3727. ac_cache_corrupted=false
  3728. for ac_var in $ac_precious_vars; do
  3729. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3730. eval ac_new_set=\$ac_env_${ac_var}_set
  3731. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3732. eval ac_new_val=\$ac_env_${ac_var}_value
  3733. case $ac_old_set,$ac_new_set in
  3734. set,)
  3735. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3736. printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3737. ac_cache_corrupted=: ;;
  3738. ,set)
  3739. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3740. printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3741. ac_cache_corrupted=: ;;
  3742. ,);;
  3743. *)
  3744. if test "x$ac_old_val" != "x$ac_new_val"; then
  3745. # differences in whitespace do not lead to failure.
  3746. ac_old_val_w=`echo x $ac_old_val`
  3747. ac_new_val_w=`echo x $ac_new_val`
  3748. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3749. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3750. printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3751. ac_cache_corrupted=:
  3752. else
  3753. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3754. printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3755. eval $ac_var=\$ac_old_val
  3756. fi
  3757. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3758. printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
  3759. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3760. printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
  3761. fi;;
  3762. esac
  3763. # Pass precious variables to config.status.
  3764. if test "$ac_new_set" = set; then
  3765. case $ac_new_val in
  3766. *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3767. *) ac_arg=$ac_var=$ac_new_val ;;
  3768. esac
  3769. case " $ac_configure_args " in
  3770. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3771. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3772. esac
  3773. fi
  3774. done
  3775. if $ac_cache_corrupted; then
  3776. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3777. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3778. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3779. printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
  3780. as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
  3781. and start over" "$LINENO" 5
  3782. fi
  3783. ## -------------------- ##
  3784. ## Main body of script. ##
  3785. ## -------------------- ##
  3786. ac_ext=c
  3787. ac_cpp='$CPP $CPPFLAGS'
  3788. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3789. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3790. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3791. ac_config_headers="$ac_config_headers include/config.h"
  3792. libwine_version="1.0"
  3793. # Check whether --enable-win16 was given.
  3794. if test ${enable_win16+y}
  3795. then :
  3796. enableval=$enable_win16;
  3797. fi
  3798. # Check whether --enable-win64 was given.
  3799. if test ${enable_win64+y}
  3800. then :
  3801. enableval=$enable_win64;
  3802. fi
  3803. # Check whether --enable-tests was given.
  3804. if test ${enable_tests+y}
  3805. then :
  3806. enableval=$enable_tests;
  3807. fi
  3808. # Check whether --enable-build-id was given.
  3809. if test ${enable_build_id+y}
  3810. then :
  3811. enableval=$enable_build_id;
  3812. fi
  3813. # Check whether --enable-maintainer-mode was given.
  3814. if test ${enable_maintainer_mode+y}
  3815. then :
  3816. enableval=$enable_maintainer_mode;
  3817. fi
  3818. # Check whether --enable-silent-rules was given.
  3819. if test ${enable_silent_rules+y}
  3820. then :
  3821. enableval=$enable_silent_rules;
  3822. fi
  3823. # Check whether --enable-werror was given.
  3824. if test ${enable_werror+y}
  3825. then :
  3826. enableval=$enable_werror;
  3827. fi
  3828. # Check whether --with-alsa was given.
  3829. if test ${with_alsa+y}
  3830. then :
  3831. withval=$with_alsa;
  3832. fi
  3833. # Check whether --with-capi was given.
  3834. if test ${with_capi+y}
  3835. then :
  3836. withval=$with_capi;
  3837. fi
  3838. # Check whether --with-coreaudio was given.
  3839. if test ${with_coreaudio+y}
  3840. then :
  3841. withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
  3842. fi
  3843. # Check whether --with-cups was given.
  3844. if test ${with_cups+y}
  3845. then :
  3846. withval=$with_cups;
  3847. fi
  3848. # Check whether --with-dbus was given.
  3849. if test ${with_dbus+y}
  3850. then :
  3851. withval=$with_dbus;
  3852. fi
  3853. # Check whether --with-float-abi was given.
  3854. if test ${with_float_abi+y}
  3855. then :
  3856. withval=$with_float_abi;
  3857. fi
  3858. # Check whether --with-fontconfig was given.
  3859. if test ${with_fontconfig+y}
  3860. then :
  3861. withval=$with_fontconfig;
  3862. fi
  3863. # Check whether --with-freetype was given.
  3864. if test ${with_freetype+y}
  3865. then :
  3866. withval=$with_freetype;
  3867. fi
  3868. # Check whether --with-gettext was given.
  3869. if test ${with_gettext+y}
  3870. then :
  3871. withval=$with_gettext;
  3872. fi
  3873. # Check whether --with-gettextpo was given.
  3874. if test ${with_gettextpo+y}
  3875. then :
  3876. withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
  3877. fi
  3878. # Check whether --with-gphoto was given.
  3879. if test ${with_gphoto+y}
  3880. then :
  3881. withval=$with_gphoto;
  3882. fi
  3883. # Check whether --with-gnutls was given.
  3884. if test ${with_gnutls+y}
  3885. then :
  3886. withval=$with_gnutls;
  3887. fi
  3888. # Check whether --with-gssapi was given.
  3889. if test ${with_gssapi+y}
  3890. then :
  3891. withval=$with_gssapi;
  3892. fi
  3893. # Check whether --with-gstreamer was given.
  3894. if test ${with_gstreamer+y}
  3895. then :
  3896. withval=$with_gstreamer;
  3897. fi
  3898. # Check whether --with-inotify was given.
  3899. if test ${with_inotify+y}
  3900. then :
  3901. withval=$with_inotify;
  3902. fi
  3903. # Check whether --with-krb5 was given.
  3904. if test ${with_krb5+y}
  3905. then :
  3906. withval=$with_krb5;
  3907. fi
  3908. # Check whether --with-ldap was given.
  3909. if test ${with_ldap+y}
  3910. then :
  3911. withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
  3912. fi
  3913. # Check whether --with-mingw was given.
  3914. if test ${with_mingw+y}
  3915. then :
  3916. withval=$with_mingw;
  3917. fi
  3918. # Check whether --with-netapi was given.
  3919. if test ${with_netapi+y}
  3920. then :
  3921. withval=$with_netapi;
  3922. fi
  3923. # Check whether --with-openal was given.
  3924. if test ${with_openal+y}
  3925. then :
  3926. withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
  3927. fi
  3928. # Check whether --with-opencl was given.
  3929. if test ${with_opencl+y}
  3930. then :
  3931. withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
  3932. fi
  3933. # Check whether --with-opengl was given.
  3934. if test ${with_opengl+y}
  3935. then :
  3936. withval=$with_opengl;
  3937. fi
  3938. # Check whether --with-osmesa was given.
  3939. if test ${with_osmesa+y}
  3940. then :
  3941. withval=$with_osmesa;
  3942. fi
  3943. # Check whether --with-oss was given.
  3944. if test ${with_oss+y}
  3945. then :
  3946. withval=$with_oss;
  3947. fi
  3948. # Check whether --with-pcap was given.
  3949. if test ${with_pcap+y}
  3950. then :
  3951. withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
  3952. fi
  3953. # Check whether --with-pthread was given.
  3954. if test ${with_pthread+y}
  3955. then :
  3956. withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
  3957. fi
  3958. # Check whether --with-pulse was given.
  3959. if test ${with_pulse+y}
  3960. then :
  3961. withval=$with_pulse;
  3962. fi
  3963. # Check whether --with-sane was given.
  3964. if test ${with_sane+y}
  3965. then :
  3966. withval=$with_sane;
  3967. fi
  3968. # Check whether --with-sdl was given.
  3969. if test ${with_sdl+y}
  3970. then :
  3971. withval=$with_sdl;
  3972. fi
  3973. # Check whether --with-udev was given.
  3974. if test ${with_udev+y}
  3975. then :
  3976. withval=$with_udev;
  3977. fi
  3978. # Check whether --with-unwind was given.
  3979. if test ${with_unwind+y}
  3980. then :
  3981. withval=$with_unwind;
  3982. fi
  3983. # Check whether --with-usb was given.
  3984. if test ${with_usb+y}
  3985. then :
  3986. withval=$with_usb;
  3987. fi
  3988. # Check whether --with-v4l2 was given.
  3989. if test ${with_v4l2+y}
  3990. then :
  3991. withval=$with_v4l2;
  3992. fi
  3993. # Check whether --with-vkd3d was given.
  3994. if test ${with_vkd3d+y}
  3995. then :
  3996. withval=$with_vkd3d;
  3997. fi
  3998. # Check whether --with-vulkan was given.
  3999. if test ${with_vulkan+y}
  4000. then :
  4001. withval=$with_vulkan;
  4002. fi
  4003. # Check whether --with-xcomposite was given.
  4004. if test ${with_xcomposite+y}
  4005. then :
  4006. withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
  4007. fi
  4008. # Check whether --with-xcursor was given.
  4009. if test ${with_xcursor+y}
  4010. then :
  4011. withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
  4012. fi
  4013. # Check whether --with-xfixes was given.
  4014. if test ${with_xfixes+y}
  4015. then :
  4016. withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
  4017. fi
  4018. # Check whether --with-xinerama was given.
  4019. if test ${with_xinerama+y}
  4020. then :
  4021. withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
  4022. fi
  4023. # Check whether --with-xinput was given.
  4024. if test ${with_xinput+y}
  4025. then :
  4026. withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
  4027. fi
  4028. # Check whether --with-xinput2 was given.
  4029. if test ${with_xinput2+y}
  4030. then :
  4031. withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
  4032. fi
  4033. # Check whether --with-xrandr was given.
  4034. if test ${with_xrandr+y}
  4035. then :
  4036. withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
  4037. fi
  4038. # Check whether --with-xrender was given.
  4039. if test ${with_xrender+y}
  4040. then :
  4041. withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
  4042. fi
  4043. # Check whether --with-xshape was given.
  4044. if test ${with_xshape+y}
  4045. then :
  4046. withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
  4047. fi
  4048. # Check whether --with-xshm was given.
  4049. if test ${with_xshm+y}
  4050. then :
  4051. withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
  4052. fi
  4053. # Check whether --with-xxf86vm was given.
  4054. if test ${with_xxf86vm+y}
  4055. then :
  4056. 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
  4057. fi
  4058. # Check whether --with-system-dllpath was given.
  4059. if test ${with_system_dllpath+y}
  4060. then :
  4061. withval=$with_system_dllpath; system_dllpath=$withval
  4062. fi
  4063. # Check whether --with-wine-tools was given.
  4064. if test ${with_wine_tools+y}
  4065. then :
  4066. withval=$with_wine_tools;
  4067. fi
  4068. # Check whether --with-wine64 was given.
  4069. if test ${with_wine64+y}
  4070. then :
  4071. withval=$with_wine64;
  4072. fi
  4073. # Make sure we can run config.sub.
  4074. $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
  4075. as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
  4076. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  4077. printf %s "checking build system type... " >&6; }
  4078. if test ${ac_cv_build+y}
  4079. then :
  4080. printf %s "(cached) " >&6
  4081. else $as_nop
  4082. ac_build_alias=$build_alias
  4083. test "x$ac_build_alias" = x &&
  4084. ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
  4085. test "x$ac_build_alias" = x &&
  4086. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  4087. ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
  4088. as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
  4089. fi
  4090. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  4091. printf "%s\n" "$ac_cv_build" >&6; }
  4092. case $ac_cv_build in
  4093. *-*-*) ;;
  4094. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  4095. esac
  4096. build=$ac_cv_build
  4097. ac_save_IFS=$IFS; IFS='-'
  4098. set x $ac_cv_build
  4099. shift
  4100. build_cpu=$1
  4101. build_vendor=$2
  4102. shift; shift
  4103. # Remember, the first character of IFS is used to create $*,
  4104. # except with old shells:
  4105. build_os=$*
  4106. IFS=$ac_save_IFS
  4107. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4108. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  4109. printf %s "checking host system type... " >&6; }
  4110. if test ${ac_cv_host+y}
  4111. then :
  4112. printf %s "(cached) " >&6
  4113. else $as_nop
  4114. if test "x$host_alias" = x; then
  4115. ac_cv_host=$ac_cv_build
  4116. else
  4117. ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
  4118. as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
  4119. fi
  4120. fi
  4121. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  4122. printf "%s\n" "$ac_cv_host" >&6; }
  4123. case $ac_cv_host in
  4124. *-*-*) ;;
  4125. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  4126. esac
  4127. host=$ac_cv_host
  4128. ac_save_IFS=$IFS; IFS='-'
  4129. set x $ac_cv_host
  4130. shift
  4131. host_cpu=$1
  4132. host_vendor=$2
  4133. shift; shift
  4134. # Remember, the first character of IFS is used to create $*,
  4135. # except with old shells:
  4136. host_os=$*
  4137. IFS=$ac_save_IFS
  4138. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4139. dlldir=\${libdir}/wine
  4140. fontdir=\${datadir}/wine/fonts
  4141. nlsdir=\${datadir}/wine/nls
  4142. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  4143. printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  4144. set x ${MAKE-make}
  4145. ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  4146. if eval test \${ac_cv_prog_make_${ac_make}_set+y}
  4147. then :
  4148. printf %s "(cached) " >&6
  4149. else $as_nop
  4150. cat >conftest.make <<\_ACEOF
  4151. SHELL = /bin/sh
  4152. all:
  4153. @echo '@@@%%%=$(MAKE)=@@@%%%'
  4154. _ACEOF
  4155. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  4156. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  4157. *@@@%%%=?*=@@@%%%*)
  4158. eval ac_cv_prog_make_${ac_make}_set=yes;;
  4159. *)
  4160. eval ac_cv_prog_make_${ac_make}_set=no;;
  4161. esac
  4162. rm -f conftest.make
  4163. fi
  4164. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  4165. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4166. printf "%s\n" "yes" >&6; }
  4167. SET_MAKE=
  4168. else
  4169. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4170. printf "%s\n" "no" >&6; }
  4171. SET_MAKE="MAKE=${MAKE-make}"
  4172. fi
  4173. ac_ext=c
  4174. ac_cpp='$CPP $CPPFLAGS'
  4175. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4176. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4177. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4178. if test -n "$ac_tool_prefix"; then
  4179. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4180. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4181. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4182. printf %s "checking for $ac_word... " >&6; }
  4183. if test ${ac_cv_prog_CC+y}
  4184. then :
  4185. printf %s "(cached) " >&6
  4186. else $as_nop
  4187. if test -n "$CC"; then
  4188. ac_cv_prog_CC="$CC" # Let the user override the test.
  4189. else
  4190. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4191. for as_dir in $PATH
  4192. do
  4193. IFS=$as_save_IFS
  4194. case $as_dir in #(((
  4195. '') as_dir=./ ;;
  4196. */) ;;
  4197. *) as_dir=$as_dir/ ;;
  4198. esac
  4199. for ac_exec_ext in '' $ac_executable_extensions; do
  4200. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4201. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4202. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4203. break 2
  4204. fi
  4205. done
  4206. done
  4207. IFS=$as_save_IFS
  4208. fi
  4209. fi
  4210. CC=$ac_cv_prog_CC
  4211. if test -n "$CC"; then
  4212. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4213. printf "%s\n" "$CC" >&6; }
  4214. else
  4215. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4216. printf "%s\n" "no" >&6; }
  4217. fi
  4218. fi
  4219. if test -z "$ac_cv_prog_CC"; then
  4220. ac_ct_CC=$CC
  4221. # Extract the first word of "gcc", so it can be a program name with args.
  4222. set dummy gcc; ac_word=$2
  4223. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4224. printf %s "checking for $ac_word... " >&6; }
  4225. if test ${ac_cv_prog_ac_ct_CC+y}
  4226. then :
  4227. printf %s "(cached) " >&6
  4228. else $as_nop
  4229. if test -n "$ac_ct_CC"; then
  4230. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4231. else
  4232. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4233. for as_dir in $PATH
  4234. do
  4235. IFS=$as_save_IFS
  4236. case $as_dir in #(((
  4237. '') as_dir=./ ;;
  4238. */) ;;
  4239. *) as_dir=$as_dir/ ;;
  4240. esac
  4241. for ac_exec_ext in '' $ac_executable_extensions; do
  4242. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4243. ac_cv_prog_ac_ct_CC="gcc"
  4244. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4245. break 2
  4246. fi
  4247. done
  4248. done
  4249. IFS=$as_save_IFS
  4250. fi
  4251. fi
  4252. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4253. if test -n "$ac_ct_CC"; then
  4254. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4255. printf "%s\n" "$ac_ct_CC" >&6; }
  4256. else
  4257. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4258. printf "%s\n" "no" >&6; }
  4259. fi
  4260. if test "x$ac_ct_CC" = x; then
  4261. CC=""
  4262. else
  4263. case $cross_compiling:$ac_tool_warned in
  4264. yes:)
  4265. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4266. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4267. ac_tool_warned=yes ;;
  4268. esac
  4269. CC=$ac_ct_CC
  4270. fi
  4271. else
  4272. CC="$ac_cv_prog_CC"
  4273. fi
  4274. if test -z "$CC"; then
  4275. if test -n "$ac_tool_prefix"; then
  4276. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4277. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4278. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4279. printf %s "checking for $ac_word... " >&6; }
  4280. if test ${ac_cv_prog_CC+y}
  4281. then :
  4282. printf %s "(cached) " >&6
  4283. else $as_nop
  4284. if test -n "$CC"; then
  4285. ac_cv_prog_CC="$CC" # Let the user override the test.
  4286. else
  4287. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4288. for as_dir in $PATH
  4289. do
  4290. IFS=$as_save_IFS
  4291. case $as_dir in #(((
  4292. '') as_dir=./ ;;
  4293. */) ;;
  4294. *) as_dir=$as_dir/ ;;
  4295. esac
  4296. for ac_exec_ext in '' $ac_executable_extensions; do
  4297. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4298. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4299. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4300. break 2
  4301. fi
  4302. done
  4303. done
  4304. IFS=$as_save_IFS
  4305. fi
  4306. fi
  4307. CC=$ac_cv_prog_CC
  4308. if test -n "$CC"; then
  4309. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4310. printf "%s\n" "$CC" >&6; }
  4311. else
  4312. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4313. printf "%s\n" "no" >&6; }
  4314. fi
  4315. fi
  4316. fi
  4317. if test -z "$CC"; then
  4318. # Extract the first word of "cc", so it can be a program name with args.
  4319. set dummy cc; ac_word=$2
  4320. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4321. printf %s "checking for $ac_word... " >&6; }
  4322. if test ${ac_cv_prog_CC+y}
  4323. then :
  4324. printf %s "(cached) " >&6
  4325. else $as_nop
  4326. if test -n "$CC"; then
  4327. ac_cv_prog_CC="$CC" # Let the user override the test.
  4328. else
  4329. ac_prog_rejected=no
  4330. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4331. for as_dir in $PATH
  4332. do
  4333. IFS=$as_save_IFS
  4334. case $as_dir in #(((
  4335. '') as_dir=./ ;;
  4336. */) ;;
  4337. *) as_dir=$as_dir/ ;;
  4338. esac
  4339. for ac_exec_ext in '' $ac_executable_extensions; do
  4340. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4341. if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4342. ac_prog_rejected=yes
  4343. continue
  4344. fi
  4345. ac_cv_prog_CC="cc"
  4346. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4347. break 2
  4348. fi
  4349. done
  4350. done
  4351. IFS=$as_save_IFS
  4352. if test $ac_prog_rejected = yes; then
  4353. # We found a bogon in the path, so make sure we never use it.
  4354. set dummy $ac_cv_prog_CC
  4355. shift
  4356. if test $# != 0; then
  4357. # We chose a different compiler from the bogus one.
  4358. # However, it has the same basename, so the bogon will be chosen
  4359. # first if we set CC to just the basename; use the full file name.
  4360. shift
  4361. ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
  4362. fi
  4363. fi
  4364. fi
  4365. fi
  4366. CC=$ac_cv_prog_CC
  4367. if test -n "$CC"; then
  4368. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4369. printf "%s\n" "$CC" >&6; }
  4370. else
  4371. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4372. printf "%s\n" "no" >&6; }
  4373. fi
  4374. fi
  4375. if test -z "$CC"; then
  4376. if test -n "$ac_tool_prefix"; then
  4377. for ac_prog in cl.exe
  4378. do
  4379. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4380. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4381. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4382. printf %s "checking for $ac_word... " >&6; }
  4383. if test ${ac_cv_prog_CC+y}
  4384. then :
  4385. printf %s "(cached) " >&6
  4386. else $as_nop
  4387. if test -n "$CC"; then
  4388. ac_cv_prog_CC="$CC" # Let the user override the test.
  4389. else
  4390. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4391. for as_dir in $PATH
  4392. do
  4393. IFS=$as_save_IFS
  4394. case $as_dir in #(((
  4395. '') as_dir=./ ;;
  4396. */) ;;
  4397. *) as_dir=$as_dir/ ;;
  4398. esac
  4399. for ac_exec_ext in '' $ac_executable_extensions; do
  4400. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4401. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4402. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4403. break 2
  4404. fi
  4405. done
  4406. done
  4407. IFS=$as_save_IFS
  4408. fi
  4409. fi
  4410. CC=$ac_cv_prog_CC
  4411. if test -n "$CC"; then
  4412. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4413. printf "%s\n" "$CC" >&6; }
  4414. else
  4415. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4416. printf "%s\n" "no" >&6; }
  4417. fi
  4418. test -n "$CC" && break
  4419. done
  4420. fi
  4421. if test -z "$CC"; then
  4422. ac_ct_CC=$CC
  4423. for ac_prog in cl.exe
  4424. do
  4425. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4426. set dummy $ac_prog; ac_word=$2
  4427. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4428. printf %s "checking for $ac_word... " >&6; }
  4429. if test ${ac_cv_prog_ac_ct_CC+y}
  4430. then :
  4431. printf %s "(cached) " >&6
  4432. else $as_nop
  4433. if test -n "$ac_ct_CC"; then
  4434. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4435. else
  4436. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4437. for as_dir in $PATH
  4438. do
  4439. IFS=$as_save_IFS
  4440. case $as_dir in #(((
  4441. '') as_dir=./ ;;
  4442. */) ;;
  4443. *) as_dir=$as_dir/ ;;
  4444. esac
  4445. for ac_exec_ext in '' $ac_executable_extensions; do
  4446. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4447. ac_cv_prog_ac_ct_CC="$ac_prog"
  4448. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4449. break 2
  4450. fi
  4451. done
  4452. done
  4453. IFS=$as_save_IFS
  4454. fi
  4455. fi
  4456. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4457. if test -n "$ac_ct_CC"; then
  4458. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4459. printf "%s\n" "$ac_ct_CC" >&6; }
  4460. else
  4461. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4462. printf "%s\n" "no" >&6; }
  4463. fi
  4464. test -n "$ac_ct_CC" && break
  4465. done
  4466. if test "x$ac_ct_CC" = x; then
  4467. CC=""
  4468. else
  4469. case $cross_compiling:$ac_tool_warned in
  4470. yes:)
  4471. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4472. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4473. ac_tool_warned=yes ;;
  4474. esac
  4475. CC=$ac_ct_CC
  4476. fi
  4477. fi
  4478. fi
  4479. if test -z "$CC"; then
  4480. if test -n "$ac_tool_prefix"; then
  4481. # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
  4482. set dummy ${ac_tool_prefix}clang; ac_word=$2
  4483. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4484. printf %s "checking for $ac_word... " >&6; }
  4485. if test ${ac_cv_prog_CC+y}
  4486. then :
  4487. printf %s "(cached) " >&6
  4488. else $as_nop
  4489. if test -n "$CC"; then
  4490. ac_cv_prog_CC="$CC" # Let the user override the test.
  4491. else
  4492. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4493. for as_dir in $PATH
  4494. do
  4495. IFS=$as_save_IFS
  4496. case $as_dir in #(((
  4497. '') as_dir=./ ;;
  4498. */) ;;
  4499. *) as_dir=$as_dir/ ;;
  4500. esac
  4501. for ac_exec_ext in '' $ac_executable_extensions; do
  4502. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4503. ac_cv_prog_CC="${ac_tool_prefix}clang"
  4504. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4505. break 2
  4506. fi
  4507. done
  4508. done
  4509. IFS=$as_save_IFS
  4510. fi
  4511. fi
  4512. CC=$ac_cv_prog_CC
  4513. if test -n "$CC"; then
  4514. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4515. printf "%s\n" "$CC" >&6; }
  4516. else
  4517. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4518. printf "%s\n" "no" >&6; }
  4519. fi
  4520. fi
  4521. if test -z "$ac_cv_prog_CC"; then
  4522. ac_ct_CC=$CC
  4523. # Extract the first word of "clang", so it can be a program name with args.
  4524. set dummy clang; ac_word=$2
  4525. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4526. printf %s "checking for $ac_word... " >&6; }
  4527. if test ${ac_cv_prog_ac_ct_CC+y}
  4528. then :
  4529. printf %s "(cached) " >&6
  4530. else $as_nop
  4531. if test -n "$ac_ct_CC"; then
  4532. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4533. else
  4534. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4535. for as_dir in $PATH
  4536. do
  4537. IFS=$as_save_IFS
  4538. case $as_dir in #(((
  4539. '') as_dir=./ ;;
  4540. */) ;;
  4541. *) as_dir=$as_dir/ ;;
  4542. esac
  4543. for ac_exec_ext in '' $ac_executable_extensions; do
  4544. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  4545. ac_cv_prog_ac_ct_CC="clang"
  4546. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  4547. break 2
  4548. fi
  4549. done
  4550. done
  4551. IFS=$as_save_IFS
  4552. fi
  4553. fi
  4554. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4555. if test -n "$ac_ct_CC"; then
  4556. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4557. printf "%s\n" "$ac_ct_CC" >&6; }
  4558. else
  4559. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4560. printf "%s\n" "no" >&6; }
  4561. fi
  4562. if test "x$ac_ct_CC" = x; then
  4563. CC=""
  4564. else
  4565. case $cross_compiling:$ac_tool_warned in
  4566. yes:)
  4567. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4568. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4569. ac_tool_warned=yes ;;
  4570. esac
  4571. CC=$ac_ct_CC
  4572. fi
  4573. else
  4574. CC="$ac_cv_prog_CC"
  4575. fi
  4576. fi
  4577. test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4578. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4579. as_fn_error $? "no acceptable C compiler found in \$PATH
  4580. See \`config.log' for more details" "$LINENO" 5; }
  4581. # Provide some information about the compiler.
  4582. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4583. set X $ac_compile
  4584. ac_compiler=$2
  4585. for ac_option in --version -v -V -qversion -version; do
  4586. { { ac_try="$ac_compiler $ac_option >&5"
  4587. case "(($ac_try" in
  4588. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4589. *) ac_try_echo=$ac_try;;
  4590. esac
  4591. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4592. printf "%s\n" "$ac_try_echo"; } >&5
  4593. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4594. ac_status=$?
  4595. if test -s conftest.err; then
  4596. sed '10a\
  4597. ... rest of stderr output deleted ...
  4598. 10q' conftest.err >conftest.er1
  4599. cat conftest.er1 >&5
  4600. fi
  4601. rm -f conftest.er1 conftest.err
  4602. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4603. test $ac_status = 0; }
  4604. done
  4605. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4606. /* end confdefs.h. */
  4607. int
  4608. main (void)
  4609. {
  4610. ;
  4611. return 0;
  4612. }
  4613. _ACEOF
  4614. ac_clean_files_save=$ac_clean_files
  4615. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  4616. # Try to create an executable without -o first, disregard a.out.
  4617. # It will help us diagnose broken compilers, and finding out an intuition
  4618. # of exeext.
  4619. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  4620. printf %s "checking whether the C compiler works... " >&6; }
  4621. ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4622. # The possible output files:
  4623. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  4624. ac_rmfiles=
  4625. for ac_file in $ac_files
  4626. do
  4627. case $ac_file in
  4628. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4629. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  4630. esac
  4631. done
  4632. rm -f $ac_rmfiles
  4633. if { { ac_try="$ac_link_default"
  4634. case "(($ac_try" in
  4635. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4636. *) ac_try_echo=$ac_try;;
  4637. esac
  4638. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4639. printf "%s\n" "$ac_try_echo"; } >&5
  4640. (eval "$ac_link_default") 2>&5
  4641. ac_status=$?
  4642. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4643. test $ac_status = 0; }
  4644. then :
  4645. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  4646. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  4647. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  4648. # so that the user can short-circuit this test for compilers unknown to
  4649. # Autoconf.
  4650. for ac_file in $ac_files ''
  4651. do
  4652. test -f "$ac_file" || continue
  4653. case $ac_file in
  4654. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  4655. ;;
  4656. [ab].out )
  4657. # We found the default executable, but exeext='' is most
  4658. # certainly right.
  4659. break;;
  4660. *.* )
  4661. if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
  4662. then :; else
  4663. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4664. fi
  4665. # We set ac_cv_exeext here because the later test for it is not
  4666. # safe: cross compilers may not add the suffix if given an `-o'
  4667. # argument, so we may need to know it at that point already.
  4668. # Even if this section looks crufty: it has the advantage of
  4669. # actually working.
  4670. break;;
  4671. * )
  4672. break;;
  4673. esac
  4674. done
  4675. test "$ac_cv_exeext" = no && ac_cv_exeext=
  4676. else $as_nop
  4677. ac_file=''
  4678. fi
  4679. if test -z "$ac_file"
  4680. then :
  4681. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4682. printf "%s\n" "no" >&6; }
  4683. printf "%s\n" "$as_me: failed program was:" >&5
  4684. sed 's/^/| /' conftest.$ac_ext >&5
  4685. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4686. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4687. as_fn_error 77 "C compiler cannot create executables
  4688. See \`config.log' for more details" "$LINENO" 5; }
  4689. else $as_nop
  4690. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4691. printf "%s\n" "yes" >&6; }
  4692. fi
  4693. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  4694. printf %s "checking for C compiler default output file name... " >&6; }
  4695. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  4696. printf "%s\n" "$ac_file" >&6; }
  4697. ac_exeext=$ac_cv_exeext
  4698. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  4699. ac_clean_files=$ac_clean_files_save
  4700. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  4701. printf %s "checking for suffix of executables... " >&6; }
  4702. if { { ac_try="$ac_link"
  4703. case "(($ac_try" in
  4704. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4705. *) ac_try_echo=$ac_try;;
  4706. esac
  4707. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4708. printf "%s\n" "$ac_try_echo"; } >&5
  4709. (eval "$ac_link") 2>&5
  4710. ac_status=$?
  4711. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4712. test $ac_status = 0; }
  4713. then :
  4714. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  4715. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  4716. # work properly (i.e., refer to `conftest.exe'), while it won't with
  4717. # `rm'.
  4718. for ac_file in conftest.exe conftest conftest.*; do
  4719. test -f "$ac_file" || continue
  4720. case $ac_file in
  4721. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4722. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4723. break;;
  4724. * ) break;;
  4725. esac
  4726. done
  4727. else $as_nop
  4728. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4729. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4730. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  4731. See \`config.log' for more details" "$LINENO" 5; }
  4732. fi
  4733. rm -f conftest conftest$ac_cv_exeext
  4734. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  4735. printf "%s\n" "$ac_cv_exeext" >&6; }
  4736. rm -f conftest.$ac_ext
  4737. EXEEXT=$ac_cv_exeext
  4738. ac_exeext=$EXEEXT
  4739. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4740. /* end confdefs.h. */
  4741. #include <stdio.h>
  4742. int
  4743. main (void)
  4744. {
  4745. FILE *f = fopen ("conftest.out", "w");
  4746. return ferror (f) || fclose (f) != 0;
  4747. ;
  4748. return 0;
  4749. }
  4750. _ACEOF
  4751. ac_clean_files="$ac_clean_files conftest.out"
  4752. # Check that the compiler produces executables we can run. If not, either
  4753. # the compiler is broken, or we cross compile.
  4754. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  4755. printf %s "checking whether we are cross compiling... " >&6; }
  4756. if test "$cross_compiling" != yes; then
  4757. { { ac_try="$ac_link"
  4758. case "(($ac_try" in
  4759. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4760. *) ac_try_echo=$ac_try;;
  4761. esac
  4762. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4763. printf "%s\n" "$ac_try_echo"; } >&5
  4764. (eval "$ac_link") 2>&5
  4765. ac_status=$?
  4766. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4767. test $ac_status = 0; }
  4768. if { ac_try='./conftest$ac_cv_exeext'
  4769. { { case "(($ac_try" in
  4770. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4771. *) ac_try_echo=$ac_try;;
  4772. esac
  4773. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4774. printf "%s\n" "$ac_try_echo"; } >&5
  4775. (eval "$ac_try") 2>&5
  4776. ac_status=$?
  4777. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4778. test $ac_status = 0; }; }; then
  4779. cross_compiling=no
  4780. else
  4781. if test "$cross_compiling" = maybe; then
  4782. cross_compiling=yes
  4783. else
  4784. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4785. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4786. as_fn_error 77 "cannot run C compiled programs.
  4787. If you meant to cross compile, use \`--host'.
  4788. See \`config.log' for more details" "$LINENO" 5; }
  4789. fi
  4790. fi
  4791. fi
  4792. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  4793. printf "%s\n" "$cross_compiling" >&6; }
  4794. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  4795. ac_clean_files=$ac_clean_files_save
  4796. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  4797. printf %s "checking for suffix of object files... " >&6; }
  4798. if test ${ac_cv_objext+y}
  4799. then :
  4800. printf %s "(cached) " >&6
  4801. else $as_nop
  4802. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4803. /* end confdefs.h. */
  4804. int
  4805. main (void)
  4806. {
  4807. ;
  4808. return 0;
  4809. }
  4810. _ACEOF
  4811. rm -f conftest.o conftest.obj
  4812. if { { ac_try="$ac_compile"
  4813. case "(($ac_try" in
  4814. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4815. *) ac_try_echo=$ac_try;;
  4816. esac
  4817. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4818. printf "%s\n" "$ac_try_echo"; } >&5
  4819. (eval "$ac_compile") 2>&5
  4820. ac_status=$?
  4821. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4822. test $ac_status = 0; }
  4823. then :
  4824. for ac_file in conftest.o conftest.obj conftest.*; do
  4825. test -f "$ac_file" || continue;
  4826. case $ac_file in
  4827. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  4828. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  4829. break;;
  4830. esac
  4831. done
  4832. else $as_nop
  4833. printf "%s\n" "$as_me: failed program was:" >&5
  4834. sed 's/^/| /' conftest.$ac_ext >&5
  4835. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4836. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4837. as_fn_error $? "cannot compute suffix of object files: cannot compile
  4838. See \`config.log' for more details" "$LINENO" 5; }
  4839. fi
  4840. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4841. fi
  4842. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4843. printf "%s\n" "$ac_cv_objext" >&6; }
  4844. OBJEXT=$ac_cv_objext
  4845. ac_objext=$OBJEXT
  4846. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
  4847. printf %s "checking whether the compiler supports GNU C... " >&6; }
  4848. if test ${ac_cv_c_compiler_gnu+y}
  4849. then :
  4850. printf %s "(cached) " >&6
  4851. else $as_nop
  4852. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4853. /* end confdefs.h. */
  4854. int
  4855. main (void)
  4856. {
  4857. #ifndef __GNUC__
  4858. choke me
  4859. #endif
  4860. ;
  4861. return 0;
  4862. }
  4863. _ACEOF
  4864. if ac_fn_c_try_compile "$LINENO"
  4865. then :
  4866. ac_compiler_gnu=yes
  4867. else $as_nop
  4868. ac_compiler_gnu=no
  4869. fi
  4870. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  4871. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4872. fi
  4873. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4874. printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
  4875. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4876. if test $ac_compiler_gnu = yes; then
  4877. GCC=yes
  4878. else
  4879. GCC=
  4880. fi
  4881. ac_test_CFLAGS=${CFLAGS+y}
  4882. ac_save_CFLAGS=$CFLAGS
  4883. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4884. printf %s "checking whether $CC accepts -g... " >&6; }
  4885. if test ${ac_cv_prog_cc_g+y}
  4886. then :
  4887. printf %s "(cached) " >&6
  4888. else $as_nop
  4889. ac_save_c_werror_flag=$ac_c_werror_flag
  4890. ac_c_werror_flag=yes
  4891. ac_cv_prog_cc_g=no
  4892. CFLAGS="-g"
  4893. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4894. /* end confdefs.h. */
  4895. int
  4896. main (void)
  4897. {
  4898. ;
  4899. return 0;
  4900. }
  4901. _ACEOF
  4902. if ac_fn_c_try_compile "$LINENO"
  4903. then :
  4904. ac_cv_prog_cc_g=yes
  4905. else $as_nop
  4906. CFLAGS=""
  4907. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4908. /* end confdefs.h. */
  4909. int
  4910. main (void)
  4911. {
  4912. ;
  4913. return 0;
  4914. }
  4915. _ACEOF
  4916. if ac_fn_c_try_compile "$LINENO"
  4917. then :
  4918. else $as_nop
  4919. ac_c_werror_flag=$ac_save_c_werror_flag
  4920. CFLAGS="-g"
  4921. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4922. /* end confdefs.h. */
  4923. int
  4924. main (void)
  4925. {
  4926. ;
  4927. return 0;
  4928. }
  4929. _ACEOF
  4930. if ac_fn_c_try_compile "$LINENO"
  4931. then :
  4932. ac_cv_prog_cc_g=yes
  4933. fi
  4934. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  4935. fi
  4936. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  4937. fi
  4938. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  4939. ac_c_werror_flag=$ac_save_c_werror_flag
  4940. fi
  4941. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4942. printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
  4943. if test $ac_test_CFLAGS; then
  4944. CFLAGS=$ac_save_CFLAGS
  4945. elif test $ac_cv_prog_cc_g = yes; then
  4946. if test "$GCC" = yes; then
  4947. CFLAGS="-g -O2"
  4948. else
  4949. CFLAGS="-g"
  4950. fi
  4951. else
  4952. if test "$GCC" = yes; then
  4953. CFLAGS="-O2"
  4954. else
  4955. CFLAGS=
  4956. fi
  4957. fi
  4958. ac_prog_cc_stdc=no
  4959. if test x$ac_prog_cc_stdc = xno
  4960. then :
  4961. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
  4962. printf %s "checking for $CC option to enable C11 features... " >&6; }
  4963. if test ${ac_cv_prog_cc_c11+y}
  4964. then :
  4965. printf %s "(cached) " >&6
  4966. else $as_nop
  4967. ac_cv_prog_cc_c11=no
  4968. ac_save_CC=$CC
  4969. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4970. /* end confdefs.h. */
  4971. $ac_c_conftest_c11_program
  4972. _ACEOF
  4973. for ac_arg in '' -std=gnu11
  4974. do
  4975. CC="$ac_save_CC $ac_arg"
  4976. if ac_fn_c_try_compile "$LINENO"
  4977. then :
  4978. ac_cv_prog_cc_c11=$ac_arg
  4979. fi
  4980. rm -f core conftest.err conftest.$ac_objext conftest.beam
  4981. test "x$ac_cv_prog_cc_c11" != "xno" && break
  4982. done
  4983. rm -f conftest.$ac_ext
  4984. CC=$ac_save_CC
  4985. fi
  4986. if test "x$ac_cv_prog_cc_c11" = xno
  4987. then :
  4988. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4989. printf "%s\n" "unsupported" >&6; }
  4990. else $as_nop
  4991. if test "x$ac_cv_prog_cc_c11" = x
  4992. then :
  4993. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4994. printf "%s\n" "none needed" >&6; }
  4995. else $as_nop
  4996. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
  4997. printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
  4998. CC="$CC $ac_cv_prog_cc_c11"
  4999. fi
  5000. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
  5001. ac_prog_cc_stdc=c11
  5002. fi
  5003. fi
  5004. if test x$ac_prog_cc_stdc = xno
  5005. then :
  5006. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
  5007. printf %s "checking for $CC option to enable C99 features... " >&6; }
  5008. if test ${ac_cv_prog_cc_c99+y}
  5009. then :
  5010. printf %s "(cached) " >&6
  5011. else $as_nop
  5012. ac_cv_prog_cc_c99=no
  5013. ac_save_CC=$CC
  5014. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5015. /* end confdefs.h. */
  5016. $ac_c_conftest_c99_program
  5017. _ACEOF
  5018. for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
  5019. do
  5020. CC="$ac_save_CC $ac_arg"
  5021. if ac_fn_c_try_compile "$LINENO"
  5022. then :
  5023. ac_cv_prog_cc_c99=$ac_arg
  5024. fi
  5025. rm -f core conftest.err conftest.$ac_objext conftest.beam
  5026. test "x$ac_cv_prog_cc_c99" != "xno" && break
  5027. done
  5028. rm -f conftest.$ac_ext
  5029. CC=$ac_save_CC
  5030. fi
  5031. if test "x$ac_cv_prog_cc_c99" = xno
  5032. then :
  5033. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5034. printf "%s\n" "unsupported" >&6; }
  5035. else $as_nop
  5036. if test "x$ac_cv_prog_cc_c99" = x
  5037. then :
  5038. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5039. printf "%s\n" "none needed" >&6; }
  5040. else $as_nop
  5041. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  5042. printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
  5043. CC="$CC $ac_cv_prog_cc_c99"
  5044. fi
  5045. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  5046. ac_prog_cc_stdc=c99
  5047. fi
  5048. fi
  5049. if test x$ac_prog_cc_stdc = xno
  5050. then :
  5051. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
  5052. printf %s "checking for $CC option to enable C89 features... " >&6; }
  5053. if test ${ac_cv_prog_cc_c89+y}
  5054. then :
  5055. printf %s "(cached) " >&6
  5056. else $as_nop
  5057. ac_cv_prog_cc_c89=no
  5058. ac_save_CC=$CC
  5059. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5060. /* end confdefs.h. */
  5061. $ac_c_conftest_c89_program
  5062. _ACEOF
  5063. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5064. do
  5065. CC="$ac_save_CC $ac_arg"
  5066. if ac_fn_c_try_compile "$LINENO"
  5067. then :
  5068. ac_cv_prog_cc_c89=$ac_arg
  5069. fi
  5070. rm -f core conftest.err conftest.$ac_objext conftest.beam
  5071. test "x$ac_cv_prog_cc_c89" != "xno" && break
  5072. done
  5073. rm -f conftest.$ac_ext
  5074. CC=$ac_save_CC
  5075. fi
  5076. if test "x$ac_cv_prog_cc_c89" = xno
  5077. then :
  5078. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5079. printf "%s\n" "unsupported" >&6; }
  5080. else $as_nop
  5081. if test "x$ac_cv_prog_cc_c89" = x
  5082. then :
  5083. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5084. printf "%s\n" "none needed" >&6; }
  5085. else $as_nop
  5086. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  5087. printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
  5088. CC="$CC $ac_cv_prog_cc_c89"
  5089. fi
  5090. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  5091. ac_prog_cc_stdc=c89
  5092. fi
  5093. fi
  5094. ac_ext=c
  5095. ac_cpp='$CPP $CPPFLAGS'
  5096. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5097. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5098. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5099. ac_ext=cpp
  5100. ac_cpp='$CXXCPP $CPPFLAGS'
  5101. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5102. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5103. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  5104. if test -z "$CXX"; then
  5105. if test -n "$CCC"; then
  5106. CXX=$CCC
  5107. else
  5108. if test -n "$ac_tool_prefix"; then
  5109. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
  5110. do
  5111. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5112. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5113. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5114. printf %s "checking for $ac_word... " >&6; }
  5115. if test ${ac_cv_prog_CXX+y}
  5116. then :
  5117. printf %s "(cached) " >&6
  5118. else $as_nop
  5119. if test -n "$CXX"; then
  5120. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  5121. else
  5122. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5123. for as_dir in $PATH
  5124. do
  5125. IFS=$as_save_IFS
  5126. case $as_dir in #(((
  5127. '') as_dir=./ ;;
  5128. */) ;;
  5129. *) as_dir=$as_dir/ ;;
  5130. esac
  5131. for ac_exec_ext in '' $ac_executable_extensions; do
  5132. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5133. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  5134. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5135. break 2
  5136. fi
  5137. done
  5138. done
  5139. IFS=$as_save_IFS
  5140. fi
  5141. fi
  5142. CXX=$ac_cv_prog_CXX
  5143. if test -n "$CXX"; then
  5144. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  5145. printf "%s\n" "$CXX" >&6; }
  5146. else
  5147. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5148. printf "%s\n" "no" >&6; }
  5149. fi
  5150. test -n "$CXX" && break
  5151. done
  5152. fi
  5153. if test -z "$CXX"; then
  5154. ac_ct_CXX=$CXX
  5155. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
  5156. do
  5157. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5158. set dummy $ac_prog; ac_word=$2
  5159. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5160. printf %s "checking for $ac_word... " >&6; }
  5161. if test ${ac_cv_prog_ac_ct_CXX+y}
  5162. then :
  5163. printf %s "(cached) " >&6
  5164. else $as_nop
  5165. if test -n "$ac_ct_CXX"; then
  5166. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  5167. else
  5168. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5169. for as_dir in $PATH
  5170. do
  5171. IFS=$as_save_IFS
  5172. case $as_dir in #(((
  5173. '') as_dir=./ ;;
  5174. */) ;;
  5175. *) as_dir=$as_dir/ ;;
  5176. esac
  5177. for ac_exec_ext in '' $ac_executable_extensions; do
  5178. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5179. ac_cv_prog_ac_ct_CXX="$ac_prog"
  5180. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5181. break 2
  5182. fi
  5183. done
  5184. done
  5185. IFS=$as_save_IFS
  5186. fi
  5187. fi
  5188. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  5189. if test -n "$ac_ct_CXX"; then
  5190. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  5191. printf "%s\n" "$ac_ct_CXX" >&6; }
  5192. else
  5193. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5194. printf "%s\n" "no" >&6; }
  5195. fi
  5196. test -n "$ac_ct_CXX" && break
  5197. done
  5198. if test "x$ac_ct_CXX" = x; then
  5199. CXX="g++"
  5200. else
  5201. case $cross_compiling:$ac_tool_warned in
  5202. yes:)
  5203. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5204. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5205. ac_tool_warned=yes ;;
  5206. esac
  5207. CXX=$ac_ct_CXX
  5208. fi
  5209. fi
  5210. fi
  5211. fi
  5212. # Provide some information about the compiler.
  5213. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  5214. set X $ac_compile
  5215. ac_compiler=$2
  5216. for ac_option in --version -v -V -qversion; do
  5217. { { ac_try="$ac_compiler $ac_option >&5"
  5218. case "(($ac_try" in
  5219. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5220. *) ac_try_echo=$ac_try;;
  5221. esac
  5222. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5223. printf "%s\n" "$ac_try_echo"; } >&5
  5224. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  5225. ac_status=$?
  5226. if test -s conftest.err; then
  5227. sed '10a\
  5228. ... rest of stderr output deleted ...
  5229. 10q' conftest.err >conftest.er1
  5230. cat conftest.er1 >&5
  5231. fi
  5232. rm -f conftest.er1 conftest.err
  5233. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5234. test $ac_status = 0; }
  5235. done
  5236. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
  5237. printf %s "checking whether the compiler supports GNU C++... " >&6; }
  5238. if test ${ac_cv_cxx_compiler_gnu+y}
  5239. then :
  5240. printf %s "(cached) " >&6
  5241. else $as_nop
  5242. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5243. /* end confdefs.h. */
  5244. int
  5245. main (void)
  5246. {
  5247. #ifndef __GNUC__
  5248. choke me
  5249. #endif
  5250. ;
  5251. return 0;
  5252. }
  5253. _ACEOF
  5254. if ac_fn_cxx_try_compile "$LINENO"
  5255. then :
  5256. ac_compiler_gnu=yes
  5257. else $as_nop
  5258. ac_compiler_gnu=no
  5259. fi
  5260. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5261. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  5262. fi
  5263. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  5264. printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
  5265. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  5266. if test $ac_compiler_gnu = yes; then
  5267. GXX=yes
  5268. else
  5269. GXX=
  5270. fi
  5271. ac_test_CXXFLAGS=${CXXFLAGS+y}
  5272. ac_save_CXXFLAGS=$CXXFLAGS
  5273. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  5274. printf %s "checking whether $CXX accepts -g... " >&6; }
  5275. if test ${ac_cv_prog_cxx_g+y}
  5276. then :
  5277. printf %s "(cached) " >&6
  5278. else $as_nop
  5279. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  5280. ac_cxx_werror_flag=yes
  5281. ac_cv_prog_cxx_g=no
  5282. CXXFLAGS="-g"
  5283. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5284. /* end confdefs.h. */
  5285. int
  5286. main (void)
  5287. {
  5288. ;
  5289. return 0;
  5290. }
  5291. _ACEOF
  5292. if ac_fn_cxx_try_compile "$LINENO"
  5293. then :
  5294. ac_cv_prog_cxx_g=yes
  5295. else $as_nop
  5296. CXXFLAGS=""
  5297. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5298. /* end confdefs.h. */
  5299. int
  5300. main (void)
  5301. {
  5302. ;
  5303. return 0;
  5304. }
  5305. _ACEOF
  5306. if ac_fn_cxx_try_compile "$LINENO"
  5307. then :
  5308. else $as_nop
  5309. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  5310. CXXFLAGS="-g"
  5311. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5312. /* end confdefs.h. */
  5313. int
  5314. main (void)
  5315. {
  5316. ;
  5317. return 0;
  5318. }
  5319. _ACEOF
  5320. if ac_fn_cxx_try_compile "$LINENO"
  5321. then :
  5322. ac_cv_prog_cxx_g=yes
  5323. fi
  5324. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5325. fi
  5326. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5327. fi
  5328. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5329. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  5330. fi
  5331. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  5332. printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
  5333. if test $ac_test_CXXFLAGS; then
  5334. CXXFLAGS=$ac_save_CXXFLAGS
  5335. elif test $ac_cv_prog_cxx_g = yes; then
  5336. if test "$GXX" = yes; then
  5337. CXXFLAGS="-g -O2"
  5338. else
  5339. CXXFLAGS="-g"
  5340. fi
  5341. else
  5342. if test "$GXX" = yes; then
  5343. CXXFLAGS="-O2"
  5344. else
  5345. CXXFLAGS=
  5346. fi
  5347. fi
  5348. ac_prog_cxx_stdcxx=no
  5349. if test x$ac_prog_cxx_stdcxx = xno
  5350. then :
  5351. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
  5352. printf %s "checking for $CXX option to enable C++11 features... " >&6; }
  5353. if test ${ac_cv_prog_cxx_11+y}
  5354. then :
  5355. printf %s "(cached) " >&6
  5356. else $as_nop
  5357. ac_cv_prog_cxx_11=no
  5358. ac_save_CXX=$CXX
  5359. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5360. /* end confdefs.h. */
  5361. $ac_cxx_conftest_cxx11_program
  5362. _ACEOF
  5363. for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
  5364. do
  5365. CXX="$ac_save_CXX $ac_arg"
  5366. if ac_fn_cxx_try_compile "$LINENO"
  5367. then :
  5368. ac_cv_prog_cxx_cxx11=$ac_arg
  5369. fi
  5370. rm -f core conftest.err conftest.$ac_objext conftest.beam
  5371. test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
  5372. done
  5373. rm -f conftest.$ac_ext
  5374. CXX=$ac_save_CXX
  5375. fi
  5376. if test "x$ac_cv_prog_cxx_cxx11" = xno
  5377. then :
  5378. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5379. printf "%s\n" "unsupported" >&6; }
  5380. else $as_nop
  5381. if test "x$ac_cv_prog_cxx_cxx11" = x
  5382. then :
  5383. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5384. printf "%s\n" "none needed" >&6; }
  5385. else $as_nop
  5386. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
  5387. printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
  5388. CXX="$CXX $ac_cv_prog_cxx_cxx11"
  5389. fi
  5390. ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
  5391. ac_prog_cxx_stdcxx=cxx11
  5392. fi
  5393. fi
  5394. if test x$ac_prog_cxx_stdcxx = xno
  5395. then :
  5396. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
  5397. printf %s "checking for $CXX option to enable C++98 features... " >&6; }
  5398. if test ${ac_cv_prog_cxx_98+y}
  5399. then :
  5400. printf %s "(cached) " >&6
  5401. else $as_nop
  5402. ac_cv_prog_cxx_98=no
  5403. ac_save_CXX=$CXX
  5404. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5405. /* end confdefs.h. */
  5406. $ac_cxx_conftest_cxx98_program
  5407. _ACEOF
  5408. for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
  5409. do
  5410. CXX="$ac_save_CXX $ac_arg"
  5411. if ac_fn_cxx_try_compile "$LINENO"
  5412. then :
  5413. ac_cv_prog_cxx_cxx98=$ac_arg
  5414. fi
  5415. rm -f core conftest.err conftest.$ac_objext conftest.beam
  5416. test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
  5417. done
  5418. rm -f conftest.$ac_ext
  5419. CXX=$ac_save_CXX
  5420. fi
  5421. if test "x$ac_cv_prog_cxx_cxx98" = xno
  5422. then :
  5423. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5424. printf "%s\n" "unsupported" >&6; }
  5425. else $as_nop
  5426. if test "x$ac_cv_prog_cxx_cxx98" = x
  5427. then :
  5428. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5429. printf "%s\n" "none needed" >&6; }
  5430. else $as_nop
  5431. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
  5432. printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
  5433. CXX="$CXX $ac_cv_prog_cxx_cxx98"
  5434. fi
  5435. ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
  5436. ac_prog_cxx_stdcxx=cxx98
  5437. fi
  5438. fi
  5439. ac_ext=c
  5440. ac_cpp='$CPP $CPPFLAGS'
  5441. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5442. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5443. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5444. if test -n "$ac_tool_prefix"; then
  5445. # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
  5446. set dummy ${ac_tool_prefix}cpp; ac_word=$2
  5447. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5448. printf %s "checking for $ac_word... " >&6; }
  5449. if test ${ac_cv_prog_CPPBIN+y}
  5450. then :
  5451. printf %s "(cached) " >&6
  5452. else $as_nop
  5453. if test -n "$CPPBIN"; then
  5454. ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
  5455. else
  5456. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5457. for as_dir in $PATH
  5458. do
  5459. IFS=$as_save_IFS
  5460. case $as_dir in #(((
  5461. '') as_dir=./ ;;
  5462. */) ;;
  5463. *) as_dir=$as_dir/ ;;
  5464. esac
  5465. for ac_exec_ext in '' $ac_executable_extensions; do
  5466. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5467. ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
  5468. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5469. break 2
  5470. fi
  5471. done
  5472. done
  5473. IFS=$as_save_IFS
  5474. fi
  5475. fi
  5476. CPPBIN=$ac_cv_prog_CPPBIN
  5477. if test -n "$CPPBIN"; then
  5478. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
  5479. printf "%s\n" "$CPPBIN" >&6; }
  5480. else
  5481. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5482. printf "%s\n" "no" >&6; }
  5483. fi
  5484. fi
  5485. if test -z "$ac_cv_prog_CPPBIN"; then
  5486. ac_ct_CPPBIN=$CPPBIN
  5487. # Extract the first word of "cpp", so it can be a program name with args.
  5488. set dummy cpp; ac_word=$2
  5489. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5490. printf %s "checking for $ac_word... " >&6; }
  5491. if test ${ac_cv_prog_ac_ct_CPPBIN+y}
  5492. then :
  5493. printf %s "(cached) " >&6
  5494. else $as_nop
  5495. if test -n "$ac_ct_CPPBIN"; then
  5496. ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
  5497. else
  5498. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5499. for as_dir in $PATH
  5500. do
  5501. IFS=$as_save_IFS
  5502. case $as_dir in #(((
  5503. '') as_dir=./ ;;
  5504. */) ;;
  5505. *) as_dir=$as_dir/ ;;
  5506. esac
  5507. for ac_exec_ext in '' $ac_executable_extensions; do
  5508. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5509. ac_cv_prog_ac_ct_CPPBIN="cpp"
  5510. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5511. break 2
  5512. fi
  5513. done
  5514. done
  5515. IFS=$as_save_IFS
  5516. fi
  5517. fi
  5518. ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
  5519. if test -n "$ac_ct_CPPBIN"; then
  5520. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
  5521. printf "%s\n" "$ac_ct_CPPBIN" >&6; }
  5522. else
  5523. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5524. printf "%s\n" "no" >&6; }
  5525. fi
  5526. if test "x$ac_ct_CPPBIN" = x; then
  5527. CPPBIN="cpp"
  5528. else
  5529. case $cross_compiling:$ac_tool_warned in
  5530. yes:)
  5531. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5532. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5533. ac_tool_warned=yes ;;
  5534. esac
  5535. CPPBIN=$ac_ct_CPPBIN
  5536. fi
  5537. else
  5538. CPPBIN="$ac_cv_prog_CPPBIN"
  5539. fi
  5540. printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
  5541. if test -n "$ac_tool_prefix"; then
  5542. # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
  5543. set dummy ${ac_tool_prefix}ld; ac_word=$2
  5544. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5545. printf %s "checking for $ac_word... " >&6; }
  5546. if test ${ac_cv_prog_LD+y}
  5547. then :
  5548. printf %s "(cached) " >&6
  5549. else $as_nop
  5550. if test -n "$LD"; then
  5551. ac_cv_prog_LD="$LD" # Let the user override the test.
  5552. else
  5553. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5554. for as_dir in $PATH
  5555. do
  5556. IFS=$as_save_IFS
  5557. case $as_dir in #(((
  5558. '') as_dir=./ ;;
  5559. */) ;;
  5560. *) as_dir=$as_dir/ ;;
  5561. esac
  5562. for ac_exec_ext in '' $ac_executable_extensions; do
  5563. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5564. ac_cv_prog_LD="${ac_tool_prefix}ld"
  5565. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5566. break 2
  5567. fi
  5568. done
  5569. done
  5570. IFS=$as_save_IFS
  5571. fi
  5572. fi
  5573. LD=$ac_cv_prog_LD
  5574. if test -n "$LD"; then
  5575. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5576. printf "%s\n" "$LD" >&6; }
  5577. else
  5578. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5579. printf "%s\n" "no" >&6; }
  5580. fi
  5581. fi
  5582. if test -z "$ac_cv_prog_LD"; then
  5583. ac_ct_LD=$LD
  5584. # Extract the first word of "ld", so it can be a program name with args.
  5585. set dummy ld; ac_word=$2
  5586. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5587. printf %s "checking for $ac_word... " >&6; }
  5588. if test ${ac_cv_prog_ac_ct_LD+y}
  5589. then :
  5590. printf %s "(cached) " >&6
  5591. else $as_nop
  5592. if test -n "$ac_ct_LD"; then
  5593. ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
  5594. else
  5595. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5596. for as_dir in $PATH
  5597. do
  5598. IFS=$as_save_IFS
  5599. case $as_dir in #(((
  5600. '') as_dir=./ ;;
  5601. */) ;;
  5602. *) as_dir=$as_dir/ ;;
  5603. esac
  5604. for ac_exec_ext in '' $ac_executable_extensions; do
  5605. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5606. ac_cv_prog_ac_ct_LD="ld"
  5607. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5608. break 2
  5609. fi
  5610. done
  5611. done
  5612. IFS=$as_save_IFS
  5613. fi
  5614. fi
  5615. ac_ct_LD=$ac_cv_prog_ac_ct_LD
  5616. if test -n "$ac_ct_LD"; then
  5617. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
  5618. printf "%s\n" "$ac_ct_LD" >&6; }
  5619. else
  5620. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5621. printf "%s\n" "no" >&6; }
  5622. fi
  5623. if test "x$ac_ct_LD" = x; then
  5624. LD=""
  5625. else
  5626. case $cross_compiling:$ac_tool_warned in
  5627. yes:)
  5628. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5629. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5630. ac_tool_warned=yes ;;
  5631. esac
  5632. LD=$ac_ct_LD
  5633. fi
  5634. else
  5635. LD="$ac_cv_prog_LD"
  5636. fi
  5637. case $host in
  5638. *-darwin*)
  5639. with_fontconfig=${with_fontconfig:-no}
  5640. ;;
  5641. *-mingw32*|*-cygwin*)
  5642. enable_win16=${enable_win16:-no}
  5643. with_mingw=${with_mingw:-no}
  5644. ;;
  5645. esac
  5646. case $host in
  5647. x86_64*|amd64*)
  5648. if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
  5649. then
  5650. CC="$CC -m32"
  5651. CXX="$CXX -m32"
  5652. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
  5653. printf %s "checking whether $CC works... " >&6; }
  5654. if test ${wine_cv_cc_m32+y}
  5655. then :
  5656. printf %s "(cached) " >&6
  5657. else $as_nop
  5658. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5659. /* end confdefs.h. */
  5660. int
  5661. main (void)
  5662. {
  5663. ;
  5664. return 0;
  5665. }
  5666. _ACEOF
  5667. if ac_fn_c_try_link "$LINENO"
  5668. then :
  5669. wine_cv_cc_m32=yes
  5670. else $as_nop
  5671. wine_cv_cc_m32=no
  5672. fi
  5673. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5674. conftest$ac_exeext conftest.$ac_ext
  5675. fi
  5676. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
  5677. printf "%s\n" "$wine_cv_cc_m32" >&6; }
  5678. 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
  5679. host_cpu="i386"
  5680. notice_platform="32-bit "
  5681. TARGETFLAGS="$TARGETFLAGS -m32"
  5682. PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
  5683. export PKG_CONFIG_PATH
  5684. enable_win16=${enable_win16:-yes}
  5685. with_unwind=${with_unwind:-no}
  5686. else
  5687. if test "x${GCC}" = "xyes"
  5688. then
  5689. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5690. printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5691. if test ${wine_cv_builtin_ms_va_list+y}
  5692. then :
  5693. printf %s "(cached) " >&6
  5694. else $as_nop
  5695. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5696. /* end confdefs.h. */
  5697. #include <stdarg.h>
  5698. int
  5699. main (void)
  5700. {
  5701. void func(__builtin_ms_va_list *args);
  5702. ;
  5703. return 0;
  5704. }
  5705. _ACEOF
  5706. if ac_fn_c_try_compile "$LINENO"
  5707. then :
  5708. wine_cv_builtin_ms_va_list=yes
  5709. else $as_nop
  5710. wine_cv_builtin_ms_va_list=no
  5711. fi
  5712. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5713. fi
  5714. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5715. printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
  5716. 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
  5717. fi
  5718. CC="$CC -m64"
  5719. CXX="$CXX -m64"
  5720. host_cpu="x86_64"
  5721. notice_platform="64-bit "
  5722. TARGETFLAGS="$TARGETFLAGS -m64"
  5723. enable_wow64=${enable_wow64:-yes}
  5724. enable_wow64win=${enable_wow64win:-yes}
  5725. enable_wow64cpu=${enable_wow64cpu:-yes}
  5726. fi
  5727. ;;
  5728. arm*)
  5729. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
  5730. printf %s "checking whether $CC supports Thumb-2... " >&6; }
  5731. if test ${wine_cv_thumb2+y}
  5732. then :
  5733. printf %s "(cached) " >&6
  5734. else $as_nop
  5735. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5736. /* end confdefs.h. */
  5737. int
  5738. main (void)
  5739. {
  5740. asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
  5741. ;
  5742. return 0;
  5743. }
  5744. _ACEOF
  5745. if ac_fn_c_try_link "$LINENO"
  5746. then :
  5747. wine_cv_thumb2=yes
  5748. else $as_nop
  5749. wine_cv_thumb2=no
  5750. fi
  5751. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5752. conftest$ac_exeext conftest.$ac_ext
  5753. fi
  5754. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
  5755. printf "%s\n" "$wine_cv_thumb2" >&6; }
  5756. if test x"$wine_cv_thumb2" = xyes
  5757. then
  5758. CFLAGS="$CFLAGS -mthumb"
  5759. TARGETFLAGS="$TARGETFLAGS -mthumb"
  5760. else
  5761. CFLAGS="$CFLAGS -marm"
  5762. TARGETFLAGS="$TARGETFLAGS -marm"
  5763. fi
  5764. case $with_float_abi in
  5765. soft|softfp|hard)
  5766. float_abi=$with_float_abi ;;
  5767. *)
  5768. case $host_os in
  5769. *eabihf)
  5770. float_abi=hard ;;
  5771. *)
  5772. float_abi=softfp
  5773. saved_CFLAGS=$CFLAGS
  5774. CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
  5775. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
  5776. printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
  5777. if test ${wine_cv_float_abi+y}
  5778. then :
  5779. printf %s "(cached) " >&6
  5780. else $as_nop
  5781. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5782. /* end confdefs.h. */
  5783. int
  5784. main (void)
  5785. {
  5786. asm("vmrs r2,fpscr");
  5787. ;
  5788. return 0;
  5789. }
  5790. _ACEOF
  5791. if ac_fn_c_try_link "$LINENO"
  5792. then :
  5793. wine_cv_float_abi=yes
  5794. else $as_nop
  5795. wine_cv_float_abi=no
  5796. fi
  5797. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5798. conftest$ac_exeext conftest.$ac_ext
  5799. fi
  5800. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
  5801. printf "%s\n" "$wine_cv_float_abi" >&6; }
  5802. if test $wine_cv_float_abi = no
  5803. then
  5804. float_abi=soft
  5805. as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
  5806. fi
  5807. CFLAGS=$saved_CFLAGS
  5808. esac
  5809. ;;
  5810. esac
  5811. CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
  5812. TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
  5813. ;;
  5814. aarch64*)
  5815. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5816. printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5817. if test ${wine_cv_builtin_ms_va_list+y}
  5818. then :
  5819. printf %s "(cached) " >&6
  5820. else $as_nop
  5821. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5822. /* end confdefs.h. */
  5823. #include <stdarg.h>
  5824. int
  5825. main (void)
  5826. {
  5827. void func(__builtin_ms_va_list *args);
  5828. ;
  5829. return 0;
  5830. }
  5831. _ACEOF
  5832. if ac_fn_c_try_compile "$LINENO"
  5833. then :
  5834. wine_cv_builtin_ms_va_list=yes
  5835. else $as_nop
  5836. wine_cv_builtin_ms_va_list=no
  5837. fi
  5838. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  5839. fi
  5840. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5841. printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
  5842. test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
  5843. enable_wow64=${enable_wow64:-yes}
  5844. enable_wow64win=${enable_wow64win:-yes}
  5845. ;;
  5846. i[3456789]86*)
  5847. enable_win16=${enable_win16:-yes}
  5848. with_unwind=${with_unwind:-no}
  5849. ;;
  5850. esac
  5851. enable_win16=${enable_win16:-no}
  5852. enable_win64=${enable_win64:-no}
  5853. enable_wow64=${enable_wow64:-no}
  5854. enable_wow64win=${enable_wow64win:-no}
  5855. enable_wow64cpu=${enable_wow64cpu:-no}
  5856. enable_winetest=${enable_winetest:-$enable_tests}
  5857. if test "x$enable_win64" = "xyes"
  5858. then
  5859. test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
  5860. --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
  5861. fi
  5862. case $build_os in
  5863. cygwin*|mingw32*) toolsext=".exe"
  5864. ;;
  5865. *) toolsext=""
  5866. ;;
  5867. esac
  5868. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
  5869. printf %s "checking for the directory containing the Wine tools... " >&6; }
  5870. if test ${wine_cv_toolsdir+y}
  5871. then :
  5872. printf %s "(cached) " >&6
  5873. else $as_nop
  5874. wine_cv_toolsdir="$with_wine_tools"
  5875. if test -z "$with_wine_tools"; then
  5876. if test "$cross_compiling" = "yes"; then
  5877. as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
  5878. elif test -n "$with_wine64"; then
  5879. wine_cv_toolsdir="$with_wine64"
  5880. fi
  5881. fi
  5882. fi
  5883. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
  5884. printf "%s\n" "$wine_cv_toolsdir" >&6; }
  5885. if test -z "$wine_cv_toolsdir"; then
  5886. wine_makedep=tools/makedep$toolsext
  5887. elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
  5888. wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
  5889. enable_tools=${enable_tools:-no}
  5890. test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
  5891. else
  5892. as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
  5893. fi
  5894. toolsdir=$wine_cv_toolsdir
  5895. MAKEDEP=$wine_makedep
  5896. RUNTESTFLAGS="-q -P wine"
  5897. 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'"
  5898. if test -n "$host_alias" -a "$host_alias" != "$build_alias"
  5899. then
  5900. TARGETFLAGS="-b $host_alias $TARGETFLAGS"
  5901. fi
  5902. for ac_prog in flex
  5903. do
  5904. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5905. set dummy $ac_prog; ac_word=$2
  5906. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5907. printf %s "checking for $ac_word... " >&6; }
  5908. if test ${ac_cv_prog_FLEX+y}
  5909. then :
  5910. printf %s "(cached) " >&6
  5911. else $as_nop
  5912. if test -n "$FLEX"; then
  5913. ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
  5914. else
  5915. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5916. for as_dir in $PATH
  5917. do
  5918. IFS=$as_save_IFS
  5919. case $as_dir in #(((
  5920. '') as_dir=./ ;;
  5921. */) ;;
  5922. *) as_dir=$as_dir/ ;;
  5923. esac
  5924. for ac_exec_ext in '' $ac_executable_extensions; do
  5925. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5926. ac_cv_prog_FLEX="$ac_prog"
  5927. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5928. break 2
  5929. fi
  5930. done
  5931. done
  5932. IFS=$as_save_IFS
  5933. fi
  5934. fi
  5935. FLEX=$ac_cv_prog_FLEX
  5936. if test -n "$FLEX"; then
  5937. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
  5938. printf "%s\n" "$FLEX" >&6; }
  5939. else
  5940. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5941. printf "%s\n" "no" >&6; }
  5942. fi
  5943. test -n "$FLEX" && break
  5944. done
  5945. test -n "$FLEX" || FLEX="none"
  5946. if test "$FLEX" = "none"
  5947. then
  5948. as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
  5949. fi
  5950. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
  5951. printf %s "checking whether flex is recent enough... " >&6; }
  5952. if test ${wine_cv_recent_flex+y}
  5953. then :
  5954. printf %s "(cached) " >&6
  5955. else $as_nop
  5956. cat >conftest.l <<EOF
  5957. %top{
  5958. #include "prediluvian.h"
  5959. }
  5960. %%
  5961. EOF
  5962. if $FLEX -t conftest.l >/dev/null 2>&5
  5963. then
  5964. wine_cv_recent_flex=yes
  5965. else
  5966. wine_cv_recent_flex=no
  5967. fi
  5968. fi
  5969. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
  5970. printf "%s\n" "$wine_cv_recent_flex" >&6; }
  5971. 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
  5972. for ac_prog in bison
  5973. do
  5974. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5975. set dummy $ac_prog; ac_word=$2
  5976. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5977. printf %s "checking for $ac_word... " >&6; }
  5978. if test ${ac_cv_prog_BISON+y}
  5979. then :
  5980. printf %s "(cached) " >&6
  5981. else $as_nop
  5982. if test -n "$BISON"; then
  5983. ac_cv_prog_BISON="$BISON" # Let the user override the test.
  5984. else
  5985. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5986. for as_dir in $PATH
  5987. do
  5988. IFS=$as_save_IFS
  5989. case $as_dir in #(((
  5990. '') as_dir=./ ;;
  5991. */) ;;
  5992. *) as_dir=$as_dir/ ;;
  5993. esac
  5994. for ac_exec_ext in '' $ac_executable_extensions; do
  5995. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  5996. ac_cv_prog_BISON="$ac_prog"
  5997. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  5998. break 2
  5999. fi
  6000. done
  6001. done
  6002. IFS=$as_save_IFS
  6003. fi
  6004. fi
  6005. BISON=$ac_cv_prog_BISON
  6006. if test -n "$BISON"; then
  6007. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
  6008. printf "%s\n" "$BISON" >&6; }
  6009. else
  6010. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6011. printf "%s\n" "no" >&6; }
  6012. fi
  6013. test -n "$BISON" && break
  6014. done
  6015. test -n "$BISON" || BISON="none"
  6016. if test "$BISON" = "none"
  6017. then
  6018. as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
  6019. fi
  6020. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
  6021. printf %s "checking whether bison is recent enough... " >&6; }
  6022. if test ${wine_cv_recent_bison+y}
  6023. then :
  6024. printf %s "(cached) " >&6
  6025. else $as_nop
  6026. cat >conftest.y <<EOF
  6027. %define parse.error verbose
  6028. %%
  6029. empty: ;
  6030. EOF
  6031. if $BISON conftest.y >/dev/null 2>&5
  6032. then
  6033. wine_cv_recent_bison=yes
  6034. else
  6035. wine_cv_recent_bison=no
  6036. fi
  6037. fi
  6038. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
  6039. printf "%s\n" "$wine_cv_recent_bison" >&6; }
  6040. 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
  6041. if test -n "$ac_tool_prefix"; then
  6042. for ac_prog in ar gar
  6043. do
  6044. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6045. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6046. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6047. printf %s "checking for $ac_word... " >&6; }
  6048. if test ${ac_cv_prog_AR+y}
  6049. then :
  6050. printf %s "(cached) " >&6
  6051. else $as_nop
  6052. if test -n "$AR"; then
  6053. ac_cv_prog_AR="$AR" # Let the user override the test.
  6054. else
  6055. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6056. for as_dir in $PATH
  6057. do
  6058. IFS=$as_save_IFS
  6059. case $as_dir in #(((
  6060. '') as_dir=./ ;;
  6061. */) ;;
  6062. *) as_dir=$as_dir/ ;;
  6063. esac
  6064. for ac_exec_ext in '' $ac_executable_extensions; do
  6065. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6066. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  6067. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6068. break 2
  6069. fi
  6070. done
  6071. done
  6072. IFS=$as_save_IFS
  6073. fi
  6074. fi
  6075. AR=$ac_cv_prog_AR
  6076. if test -n "$AR"; then
  6077. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6078. printf "%s\n" "$AR" >&6; }
  6079. else
  6080. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6081. printf "%s\n" "no" >&6; }
  6082. fi
  6083. test -n "$AR" && break
  6084. done
  6085. fi
  6086. if test -z "$AR"; then
  6087. ac_ct_AR=$AR
  6088. for ac_prog in ar gar
  6089. do
  6090. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6091. set dummy $ac_prog; ac_word=$2
  6092. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6093. printf %s "checking for $ac_word... " >&6; }
  6094. if test ${ac_cv_prog_ac_ct_AR+y}
  6095. then :
  6096. printf %s "(cached) " >&6
  6097. else $as_nop
  6098. if test -n "$ac_ct_AR"; then
  6099. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6100. else
  6101. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6102. for as_dir in $PATH
  6103. do
  6104. IFS=$as_save_IFS
  6105. case $as_dir in #(((
  6106. '') as_dir=./ ;;
  6107. */) ;;
  6108. *) as_dir=$as_dir/ ;;
  6109. esac
  6110. for ac_exec_ext in '' $ac_executable_extensions; do
  6111. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6112. ac_cv_prog_ac_ct_AR="$ac_prog"
  6113. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6114. break 2
  6115. fi
  6116. done
  6117. done
  6118. IFS=$as_save_IFS
  6119. fi
  6120. fi
  6121. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6122. if test -n "$ac_ct_AR"; then
  6123. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6124. printf "%s\n" "$ac_ct_AR" >&6; }
  6125. else
  6126. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6127. printf "%s\n" "no" >&6; }
  6128. fi
  6129. test -n "$ac_ct_AR" && break
  6130. done
  6131. if test "x$ac_ct_AR" = x; then
  6132. AR="ar"
  6133. else
  6134. case $cross_compiling:$ac_tool_warned in
  6135. yes:)
  6136. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6137. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6138. ac_tool_warned=yes ;;
  6139. esac
  6140. AR=$ac_ct_AR
  6141. fi
  6142. fi
  6143. if test -n "$ac_tool_prefix"; then
  6144. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6145. set dummy ${ac_tool_prefix}strip; ac_word=$2
  6146. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6147. printf %s "checking for $ac_word... " >&6; }
  6148. if test ${ac_cv_prog_STRIP+y}
  6149. then :
  6150. printf %s "(cached) " >&6
  6151. else $as_nop
  6152. if test -n "$STRIP"; then
  6153. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6154. else
  6155. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6156. for as_dir in $PATH
  6157. do
  6158. IFS=$as_save_IFS
  6159. case $as_dir in #(((
  6160. '') as_dir=./ ;;
  6161. */) ;;
  6162. *) as_dir=$as_dir/ ;;
  6163. esac
  6164. for ac_exec_ext in '' $ac_executable_extensions; do
  6165. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6166. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6167. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6168. break 2
  6169. fi
  6170. done
  6171. done
  6172. IFS=$as_save_IFS
  6173. fi
  6174. fi
  6175. STRIP=$ac_cv_prog_STRIP
  6176. if test -n "$STRIP"; then
  6177. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6178. printf "%s\n" "$STRIP" >&6; }
  6179. else
  6180. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6181. printf "%s\n" "no" >&6; }
  6182. fi
  6183. fi
  6184. if test -z "$ac_cv_prog_STRIP"; then
  6185. ac_ct_STRIP=$STRIP
  6186. # Extract the first word of "strip", so it can be a program name with args.
  6187. set dummy strip; ac_word=$2
  6188. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6189. printf %s "checking for $ac_word... " >&6; }
  6190. if test ${ac_cv_prog_ac_ct_STRIP+y}
  6191. then :
  6192. printf %s "(cached) " >&6
  6193. else $as_nop
  6194. if test -n "$ac_ct_STRIP"; then
  6195. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6196. else
  6197. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6198. for as_dir in $PATH
  6199. do
  6200. IFS=$as_save_IFS
  6201. case $as_dir in #(((
  6202. '') as_dir=./ ;;
  6203. */) ;;
  6204. *) as_dir=$as_dir/ ;;
  6205. esac
  6206. for ac_exec_ext in '' $ac_executable_extensions; do
  6207. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6208. ac_cv_prog_ac_ct_STRIP="strip"
  6209. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6210. break 2
  6211. fi
  6212. done
  6213. done
  6214. IFS=$as_save_IFS
  6215. fi
  6216. fi
  6217. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6218. if test -n "$ac_ct_STRIP"; then
  6219. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6220. printf "%s\n" "$ac_ct_STRIP" >&6; }
  6221. else
  6222. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6223. printf "%s\n" "no" >&6; }
  6224. fi
  6225. if test "x$ac_ct_STRIP" = x; then
  6226. STRIP="strip"
  6227. else
  6228. case $cross_compiling:$ac_tool_warned in
  6229. yes:)
  6230. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6231. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6232. ac_tool_warned=yes ;;
  6233. esac
  6234. STRIP=$ac_ct_STRIP
  6235. fi
  6236. else
  6237. STRIP="$ac_cv_prog_STRIP"
  6238. fi
  6239. if test -n "$ac_tool_prefix"; then
  6240. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6241. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6242. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6243. printf %s "checking for $ac_word... " >&6; }
  6244. if test ${ac_cv_prog_RANLIB+y}
  6245. then :
  6246. printf %s "(cached) " >&6
  6247. else $as_nop
  6248. if test -n "$RANLIB"; then
  6249. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6250. else
  6251. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6252. for as_dir in $PATH
  6253. do
  6254. IFS=$as_save_IFS
  6255. case $as_dir in #(((
  6256. '') as_dir=./ ;;
  6257. */) ;;
  6258. *) as_dir=$as_dir/ ;;
  6259. esac
  6260. for ac_exec_ext in '' $ac_executable_extensions; do
  6261. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6262. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6263. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6264. break 2
  6265. fi
  6266. done
  6267. done
  6268. IFS=$as_save_IFS
  6269. fi
  6270. fi
  6271. RANLIB=$ac_cv_prog_RANLIB
  6272. if test -n "$RANLIB"; then
  6273. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6274. printf "%s\n" "$RANLIB" >&6; }
  6275. else
  6276. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6277. printf "%s\n" "no" >&6; }
  6278. fi
  6279. fi
  6280. if test -z "$ac_cv_prog_RANLIB"; then
  6281. ac_ct_RANLIB=$RANLIB
  6282. # Extract the first word of "ranlib", so it can be a program name with args.
  6283. set dummy ranlib; ac_word=$2
  6284. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6285. printf %s "checking for $ac_word... " >&6; }
  6286. if test ${ac_cv_prog_ac_ct_RANLIB+y}
  6287. then :
  6288. printf %s "(cached) " >&6
  6289. else $as_nop
  6290. if test -n "$ac_ct_RANLIB"; then
  6291. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6292. else
  6293. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6294. for as_dir in $PATH
  6295. do
  6296. IFS=$as_save_IFS
  6297. case $as_dir in #(((
  6298. '') as_dir=./ ;;
  6299. */) ;;
  6300. *) as_dir=$as_dir/ ;;
  6301. esac
  6302. for ac_exec_ext in '' $ac_executable_extensions; do
  6303. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6304. ac_cv_prog_ac_ct_RANLIB="ranlib"
  6305. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6306. break 2
  6307. fi
  6308. done
  6309. done
  6310. IFS=$as_save_IFS
  6311. fi
  6312. fi
  6313. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6314. if test -n "$ac_ct_RANLIB"; then
  6315. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6316. printf "%s\n" "$ac_ct_RANLIB" >&6; }
  6317. else
  6318. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6319. printf "%s\n" "no" >&6; }
  6320. fi
  6321. if test "x$ac_ct_RANLIB" = x; then
  6322. RANLIB=":"
  6323. else
  6324. case $cross_compiling:$ac_tool_warned in
  6325. yes:)
  6326. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6327. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6328. ac_tool_warned=yes ;;
  6329. esac
  6330. RANLIB=$ac_ct_RANLIB
  6331. fi
  6332. else
  6333. RANLIB="$ac_cv_prog_RANLIB"
  6334. fi
  6335. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  6336. printf %s "checking whether ln -s works... " >&6; }
  6337. LN_S=$as_ln_s
  6338. if test "$LN_S" = "ln -s"; then
  6339. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  6340. printf "%s\n" "yes" >&6; }
  6341. else
  6342. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  6343. printf "%s\n" "no, using $LN_S" >&6; }
  6344. fi
  6345. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  6346. printf %s "checking for grep that handles long lines and -e... " >&6; }
  6347. if test ${ac_cv_path_GREP+y}
  6348. then :
  6349. printf %s "(cached) " >&6
  6350. else $as_nop
  6351. if test -z "$GREP"; then
  6352. ac_path_GREP_found=false
  6353. # Loop through the user's path and test for each of PROGNAME-LIST
  6354. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6355. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6356. do
  6357. IFS=$as_save_IFS
  6358. case $as_dir in #(((
  6359. '') as_dir=./ ;;
  6360. */) ;;
  6361. *) as_dir=$as_dir/ ;;
  6362. esac
  6363. for ac_prog in grep ggrep
  6364. do
  6365. for ac_exec_ext in '' $ac_executable_extensions; do
  6366. ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
  6367. as_fn_executable_p "$ac_path_GREP" || continue
  6368. # Check for GNU ac_path_GREP and select it if it is found.
  6369. # Check for GNU $ac_path_GREP
  6370. case `"$ac_path_GREP" --version 2>&1` in
  6371. *GNU*)
  6372. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  6373. *)
  6374. ac_count=0
  6375. printf %s 0123456789 >"conftest.in"
  6376. while :
  6377. do
  6378. cat "conftest.in" "conftest.in" >"conftest.tmp"
  6379. mv "conftest.tmp" "conftest.in"
  6380. cp "conftest.in" "conftest.nl"
  6381. printf "%s\n" 'GREP' >> "conftest.nl"
  6382. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6383. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6384. as_fn_arith $ac_count + 1 && ac_count=$as_val
  6385. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  6386. # Best one so far, save it but keep looking for a better one
  6387. ac_cv_path_GREP="$ac_path_GREP"
  6388. ac_path_GREP_max=$ac_count
  6389. fi
  6390. # 10*(2^10) chars as input seems more than enough
  6391. test $ac_count -gt 10 && break
  6392. done
  6393. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6394. esac
  6395. $ac_path_GREP_found && break 3
  6396. done
  6397. done
  6398. done
  6399. IFS=$as_save_IFS
  6400. if test -z "$ac_cv_path_GREP"; then
  6401. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6402. fi
  6403. else
  6404. ac_cv_path_GREP=$GREP
  6405. fi
  6406. fi
  6407. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  6408. printf "%s\n" "$ac_cv_path_GREP" >&6; }
  6409. GREP="$ac_cv_path_GREP"
  6410. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  6411. printf %s "checking for egrep... " >&6; }
  6412. if test ${ac_cv_path_EGREP+y}
  6413. then :
  6414. printf %s "(cached) " >&6
  6415. else $as_nop
  6416. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6417. then ac_cv_path_EGREP="$GREP -E"
  6418. else
  6419. if test -z "$EGREP"; then
  6420. ac_path_EGREP_found=false
  6421. # Loop through the user's path and test for each of PROGNAME-LIST
  6422. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6423. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6424. do
  6425. IFS=$as_save_IFS
  6426. case $as_dir in #(((
  6427. '') as_dir=./ ;;
  6428. */) ;;
  6429. *) as_dir=$as_dir/ ;;
  6430. esac
  6431. for ac_prog in egrep
  6432. do
  6433. for ac_exec_ext in '' $ac_executable_extensions; do
  6434. ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
  6435. as_fn_executable_p "$ac_path_EGREP" || continue
  6436. # Check for GNU ac_path_EGREP and select it if it is found.
  6437. # Check for GNU $ac_path_EGREP
  6438. case `"$ac_path_EGREP" --version 2>&1` in
  6439. *GNU*)
  6440. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6441. *)
  6442. ac_count=0
  6443. printf %s 0123456789 >"conftest.in"
  6444. while :
  6445. do
  6446. cat "conftest.in" "conftest.in" >"conftest.tmp"
  6447. mv "conftest.tmp" "conftest.in"
  6448. cp "conftest.in" "conftest.nl"
  6449. printf "%s\n" 'EGREP' >> "conftest.nl"
  6450. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6451. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6452. as_fn_arith $ac_count + 1 && ac_count=$as_val
  6453. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6454. # Best one so far, save it but keep looking for a better one
  6455. ac_cv_path_EGREP="$ac_path_EGREP"
  6456. ac_path_EGREP_max=$ac_count
  6457. fi
  6458. # 10*(2^10) chars as input seems more than enough
  6459. test $ac_count -gt 10 && break
  6460. done
  6461. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6462. esac
  6463. $ac_path_EGREP_found && break 3
  6464. done
  6465. done
  6466. done
  6467. IFS=$as_save_IFS
  6468. if test -z "$ac_cv_path_EGREP"; then
  6469. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6470. fi
  6471. else
  6472. ac_cv_path_EGREP=$EGREP
  6473. fi
  6474. fi
  6475. fi
  6476. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  6477. printf "%s\n" "$ac_cv_path_EGREP" >&6; }
  6478. EGREP="$ac_cv_path_EGREP"
  6479. # Extract the first word of "ldconfig", so it can be a program name with args.
  6480. set dummy ldconfig; ac_word=$2
  6481. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6482. printf %s "checking for $ac_word... " >&6; }
  6483. if test ${ac_cv_path_LDCONFIG+y}
  6484. then :
  6485. printf %s "(cached) " >&6
  6486. else $as_nop
  6487. case $LDCONFIG in
  6488. [\\/]* | ?:[\\/]*)
  6489. ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
  6490. ;;
  6491. *)
  6492. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6493. for as_dir in /sbin /usr/sbin $PATH
  6494. do
  6495. IFS=$as_save_IFS
  6496. case $as_dir in #(((
  6497. '') as_dir=./ ;;
  6498. */) ;;
  6499. *) as_dir=$as_dir/ ;;
  6500. esac
  6501. for ac_exec_ext in '' $ac_executable_extensions; do
  6502. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6503. ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
  6504. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6505. break 2
  6506. fi
  6507. done
  6508. done
  6509. IFS=$as_save_IFS
  6510. test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
  6511. ;;
  6512. esac
  6513. fi
  6514. LDCONFIG=$ac_cv_path_LDCONFIG
  6515. if test -n "$LDCONFIG"; then
  6516. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
  6517. printf "%s\n" "$LDCONFIG" >&6; }
  6518. else
  6519. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6520. printf "%s\n" "no" >&6; }
  6521. fi
  6522. for ac_prog in msgfmt
  6523. do
  6524. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6525. set dummy $ac_prog; ac_word=$2
  6526. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6527. printf %s "checking for $ac_word... " >&6; }
  6528. if test ${ac_cv_prog_MSGFMT+y}
  6529. then :
  6530. printf %s "(cached) " >&6
  6531. else $as_nop
  6532. if test -n "$MSGFMT"; then
  6533. ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
  6534. else
  6535. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6536. for as_dir in $PATH
  6537. do
  6538. IFS=$as_save_IFS
  6539. case $as_dir in #(((
  6540. '') as_dir=./ ;;
  6541. */) ;;
  6542. *) as_dir=$as_dir/ ;;
  6543. esac
  6544. for ac_exec_ext in '' $ac_executable_extensions; do
  6545. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6546. ac_cv_prog_MSGFMT="$ac_prog"
  6547. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6548. break 2
  6549. fi
  6550. done
  6551. done
  6552. IFS=$as_save_IFS
  6553. fi
  6554. fi
  6555. MSGFMT=$ac_cv_prog_MSGFMT
  6556. if test -n "$MSGFMT"; then
  6557. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  6558. printf "%s\n" "$MSGFMT" >&6; }
  6559. else
  6560. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6561. printf "%s\n" "no" >&6; }
  6562. fi
  6563. test -n "$MSGFMT" && break
  6564. done
  6565. test -n "$MSGFMT" || MSGFMT="false"
  6566. if test ${ac_tool_prefix+y}
  6567. then :
  6568. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6569. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6570. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6571. printf %s "checking for $ac_word... " >&6; }
  6572. if test ${ac_cv_prog_PKG_CONFIG+y}
  6573. then :
  6574. printf %s "(cached) " >&6
  6575. else $as_nop
  6576. if test -n "$PKG_CONFIG"; then
  6577. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6578. else
  6579. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6580. for as_dir in $PATH
  6581. do
  6582. IFS=$as_save_IFS
  6583. case $as_dir in #(((
  6584. '') as_dir=./ ;;
  6585. */) ;;
  6586. *) as_dir=$as_dir/ ;;
  6587. esac
  6588. for ac_exec_ext in '' $ac_executable_extensions; do
  6589. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6590. ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
  6591. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6592. break 2
  6593. fi
  6594. done
  6595. done
  6596. IFS=$as_save_IFS
  6597. fi
  6598. fi
  6599. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6600. if test -n "$PKG_CONFIG"; then
  6601. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6602. printf "%s\n" "$PKG_CONFIG" >&6; }
  6603. else
  6604. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6605. printf "%s\n" "no" >&6; }
  6606. fi
  6607. fi
  6608. if ${ac_cv_prog_PKG_CONFIG:+false} :
  6609. then :
  6610. if test "x$cross_compiling" = xyes
  6611. then :
  6612. else $as_nop
  6613. { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
  6614. # Extract the first word of "pkg-config", so it can be a program name with args.
  6615. set dummy pkg-config; ac_word=$2
  6616. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6617. printf %s "checking for $ac_word... " >&6; }
  6618. if test ${ac_cv_prog_PKG_CONFIG+y}
  6619. then :
  6620. printf %s "(cached) " >&6
  6621. else $as_nop
  6622. if test -n "$PKG_CONFIG"; then
  6623. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6624. else
  6625. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6626. for as_dir in $PATH
  6627. do
  6628. IFS=$as_save_IFS
  6629. case $as_dir in #(((
  6630. '') as_dir=./ ;;
  6631. */) ;;
  6632. *) as_dir=$as_dir/ ;;
  6633. esac
  6634. for ac_exec_ext in '' $ac_executable_extensions; do
  6635. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6636. ac_cv_prog_PKG_CONFIG="pkg-config"
  6637. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6638. break 2
  6639. fi
  6640. done
  6641. done
  6642. IFS=$as_save_IFS
  6643. fi
  6644. fi
  6645. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6646. if test -n "$PKG_CONFIG"; then
  6647. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6648. printf "%s\n" "$PKG_CONFIG" >&6; }
  6649. else
  6650. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6651. printf "%s\n" "no" >&6; }
  6652. fi
  6653. fi
  6654. else $as_nop
  6655. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6656. fi
  6657. if test "x$enable_maintainer_mode" != "xyes"
  6658. then
  6659. FONTFORGE=""
  6660. RSVG=""
  6661. CONVERT=""
  6662. ICOTOOL=""
  6663. else
  6664. test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
  6665. for ac_prog in fontforge
  6666. do
  6667. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6668. set dummy $ac_prog; ac_word=$2
  6669. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6670. printf %s "checking for $ac_word... " >&6; }
  6671. if test ${ac_cv_prog_FONTFORGE+y}
  6672. then :
  6673. printf %s "(cached) " >&6
  6674. else $as_nop
  6675. if test -n "$FONTFORGE"; then
  6676. ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
  6677. else
  6678. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6679. for as_dir in $PATH
  6680. do
  6681. IFS=$as_save_IFS
  6682. case $as_dir in #(((
  6683. '') as_dir=./ ;;
  6684. */) ;;
  6685. *) as_dir=$as_dir/ ;;
  6686. esac
  6687. for ac_exec_ext in '' $ac_executable_extensions; do
  6688. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6689. ac_cv_prog_FONTFORGE="$ac_prog"
  6690. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6691. break 2
  6692. fi
  6693. done
  6694. done
  6695. IFS=$as_save_IFS
  6696. fi
  6697. fi
  6698. FONTFORGE=$ac_cv_prog_FONTFORGE
  6699. if test -n "$FONTFORGE"; then
  6700. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
  6701. printf "%s\n" "$FONTFORGE" >&6; }
  6702. else
  6703. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6704. printf "%s\n" "no" >&6; }
  6705. fi
  6706. test -n "$FONTFORGE" && break
  6707. done
  6708. test -n "$FONTFORGE" || FONTFORGE="false"
  6709. for ac_prog in rsvg-convert rsvg
  6710. do
  6711. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6712. set dummy $ac_prog; ac_word=$2
  6713. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6714. printf %s "checking for $ac_word... " >&6; }
  6715. if test ${ac_cv_prog_RSVG+y}
  6716. then :
  6717. printf %s "(cached) " >&6
  6718. else $as_nop
  6719. if test -n "$RSVG"; then
  6720. ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
  6721. else
  6722. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6723. for as_dir in $PATH
  6724. do
  6725. IFS=$as_save_IFS
  6726. case $as_dir in #(((
  6727. '') as_dir=./ ;;
  6728. */) ;;
  6729. *) as_dir=$as_dir/ ;;
  6730. esac
  6731. for ac_exec_ext in '' $ac_executable_extensions; do
  6732. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6733. ac_cv_prog_RSVG="$ac_prog"
  6734. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6735. break 2
  6736. fi
  6737. done
  6738. done
  6739. IFS=$as_save_IFS
  6740. fi
  6741. fi
  6742. RSVG=$ac_cv_prog_RSVG
  6743. if test -n "$RSVG"; then
  6744. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
  6745. printf "%s\n" "$RSVG" >&6; }
  6746. else
  6747. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6748. printf "%s\n" "no" >&6; }
  6749. fi
  6750. test -n "$RSVG" && break
  6751. done
  6752. test -n "$RSVG" || RSVG="false"
  6753. for ac_prog in convert
  6754. do
  6755. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6756. set dummy $ac_prog; ac_word=$2
  6757. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6758. printf %s "checking for $ac_word... " >&6; }
  6759. if test ${ac_cv_prog_CONVERT+y}
  6760. then :
  6761. printf %s "(cached) " >&6
  6762. else $as_nop
  6763. if test -n "$CONVERT"; then
  6764. ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
  6765. else
  6766. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6767. for as_dir in $PATH
  6768. do
  6769. IFS=$as_save_IFS
  6770. case $as_dir in #(((
  6771. '') as_dir=./ ;;
  6772. */) ;;
  6773. *) as_dir=$as_dir/ ;;
  6774. esac
  6775. for ac_exec_ext in '' $ac_executable_extensions; do
  6776. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6777. ac_cv_prog_CONVERT="$ac_prog"
  6778. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6779. break 2
  6780. fi
  6781. done
  6782. done
  6783. IFS=$as_save_IFS
  6784. fi
  6785. fi
  6786. CONVERT=$ac_cv_prog_CONVERT
  6787. if test -n "$CONVERT"; then
  6788. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
  6789. printf "%s\n" "$CONVERT" >&6; }
  6790. else
  6791. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6792. printf "%s\n" "no" >&6; }
  6793. fi
  6794. test -n "$CONVERT" && break
  6795. done
  6796. test -n "$CONVERT" || CONVERT="false"
  6797. for ac_prog in icotool
  6798. do
  6799. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6800. set dummy $ac_prog; ac_word=$2
  6801. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6802. printf %s "checking for $ac_word... " >&6; }
  6803. if test ${ac_cv_prog_ICOTOOL+y}
  6804. then :
  6805. printf %s "(cached) " >&6
  6806. else $as_nop
  6807. if test -n "$ICOTOOL"; then
  6808. ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
  6809. else
  6810. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6811. for as_dir in $PATH
  6812. do
  6813. IFS=$as_save_IFS
  6814. case $as_dir in #(((
  6815. '') as_dir=./ ;;
  6816. */) ;;
  6817. *) as_dir=$as_dir/ ;;
  6818. esac
  6819. for ac_exec_ext in '' $ac_executable_extensions; do
  6820. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6821. ac_cv_prog_ICOTOOL="$ac_prog"
  6822. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6823. break 2
  6824. fi
  6825. done
  6826. done
  6827. IFS=$as_save_IFS
  6828. fi
  6829. fi
  6830. ICOTOOL=$ac_cv_prog_ICOTOOL
  6831. if test -n "$ICOTOOL"; then
  6832. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
  6833. printf "%s\n" "$ICOTOOL" >&6; }
  6834. else
  6835. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6836. printf "%s\n" "no" >&6; }
  6837. fi
  6838. test -n "$ICOTOOL" && break
  6839. done
  6840. test -n "$ICOTOOL" || ICOTOOL="false"
  6841. test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
  6842. test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
  6843. if test "$CONVERT" = false
  6844. then
  6845. as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
  6846. else
  6847. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
  6848. printf %s "checking for recent enough imagemagick... " >&6; }
  6849. convert_version=`convert --version | head -n1`
  6850. if test "x$convert_version" != "x"
  6851. then
  6852. convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
  6853. convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
  6854. if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
  6855. then
  6856. CONVERT=false
  6857. fi
  6858. fi
  6859. if test "$CONVERT" = false
  6860. then
  6861. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
  6862. printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
  6863. as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6864. else
  6865. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
  6866. printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
  6867. fi
  6868. fi
  6869. if test "$ICOTOOL" = false
  6870. then
  6871. as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
  6872. else
  6873. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
  6874. printf %s "checking for recent enough icotool... " >&6; }
  6875. icotool_version=`icotool --version | head -n1`
  6876. if test "x$icotool_version" != "x"
  6877. then
  6878. icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
  6879. icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
  6880. if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
  6881. then
  6882. ICOTOOL=false
  6883. as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
  6884. fi
  6885. fi
  6886. if test "$ICOTOOL" = false
  6887. then
  6888. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
  6889. printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
  6890. as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6891. else
  6892. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
  6893. printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
  6894. fi
  6895. fi
  6896. with_gettext=yes
  6897. with_gettextpo=yes
  6898. enable_werror=yes
  6899. fi
  6900. test "x$with_gettext" != xno || MSGFMT=false
  6901. if test "$MSGFMT" != "false"
  6902. then
  6903. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
  6904. printf %s "checking whether msgfmt supports contexts... " >&6; }
  6905. if test ${wine_cv_msgfmt_contexts+y}
  6906. then :
  6907. printf %s "(cached) " >&6
  6908. else $as_nop
  6909. cat >conftest.po <<EOF
  6910. # comment
  6911. msgctxt "ctxt"
  6912. msgid "id"
  6913. msgstr "str"
  6914. EOF
  6915. if $MSGFMT -o /dev/null conftest.po 2>&5
  6916. then
  6917. wine_cv_msgfmt_contexts=yes
  6918. else
  6919. wine_cv_msgfmt_contexts=no
  6920. fi
  6921. fi
  6922. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
  6923. printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
  6924. test $wine_cv_msgfmt_contexts != no || MSGFMT=false
  6925. fi
  6926. if test "$MSGFMT" = false
  6927. then :
  6928. case "x$with_gettext" in
  6929. x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
  6930. xno) ;;
  6931. *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
  6932. This is an error since --with-gettext was requested." "$LINENO" 5 ;;
  6933. esac
  6934. enable_po=${enable_po:-no}
  6935. fi
  6936. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
  6937. printf %s "checking for i386_set_ldt in -li386... " >&6; }
  6938. if test ${ac_cv_lib_i386_i386_set_ldt+y}
  6939. then :
  6940. printf %s "(cached) " >&6
  6941. else $as_nop
  6942. ac_check_lib_save_LIBS=$LIBS
  6943. LIBS="-li386 $LIBS"
  6944. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6945. /* end confdefs.h. */
  6946. /* Override any GCC internal prototype to avoid an error.
  6947. Use char because int might match the return type of a GCC
  6948. builtin and then its argument prototype would still apply. */
  6949. char i386_set_ldt ();
  6950. int
  6951. main (void)
  6952. {
  6953. return i386_set_ldt ();
  6954. ;
  6955. return 0;
  6956. }
  6957. _ACEOF
  6958. if ac_fn_c_try_link "$LINENO"
  6959. then :
  6960. ac_cv_lib_i386_i386_set_ldt=yes
  6961. else $as_nop
  6962. ac_cv_lib_i386_i386_set_ldt=no
  6963. fi
  6964. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  6965. conftest$ac_exeext conftest.$ac_ext
  6966. LIBS=$ac_check_lib_save_LIBS
  6967. fi
  6968. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
  6969. printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
  6970. if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
  6971. then :
  6972. I386_LIBS="-li386"
  6973. fi
  6974. OPENGL_LIBS=""
  6975. # Check whether --enable-largefile was given.
  6976. if test ${enable_largefile+y}
  6977. then :
  6978. enableval=$enable_largefile;
  6979. fi
  6980. if test "$enable_largefile" != no; then
  6981. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  6982. printf %s "checking for special C compiler options needed for large files... " >&6; }
  6983. if test ${ac_cv_sys_largefile_CC+y}
  6984. then :
  6985. printf %s "(cached) " >&6
  6986. else $as_nop
  6987. ac_cv_sys_largefile_CC=no
  6988. if test "$GCC" != yes; then
  6989. ac_save_CC=$CC
  6990. while :; do
  6991. # IRIX 6.2 and later do not support large files by default,
  6992. # so use the C compiler's -n32 option if that helps.
  6993. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6994. /* end confdefs.h. */
  6995. #include <sys/types.h>
  6996. /* Check that off_t can represent 2**63 - 1 correctly.
  6997. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6998. since some C++ compilers masquerading as C compilers
  6999. incorrectly reject 9223372036854775807. */
  7000. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7001. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7002. && LARGE_OFF_T % 2147483647 == 1)
  7003. ? 1 : -1];
  7004. int
  7005. main (void)
  7006. {
  7007. ;
  7008. return 0;
  7009. }
  7010. _ACEOF
  7011. if ac_fn_c_try_compile "$LINENO"
  7012. then :
  7013. break
  7014. fi
  7015. rm -f core conftest.err conftest.$ac_objext conftest.beam
  7016. CC="$CC -n32"
  7017. if ac_fn_c_try_compile "$LINENO"
  7018. then :
  7019. ac_cv_sys_largefile_CC=' -n32'; break
  7020. fi
  7021. rm -f core conftest.err conftest.$ac_objext conftest.beam
  7022. break
  7023. done
  7024. CC=$ac_save_CC
  7025. rm -f conftest.$ac_ext
  7026. fi
  7027. fi
  7028. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  7029. printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
  7030. if test "$ac_cv_sys_largefile_CC" != no; then
  7031. CC=$CC$ac_cv_sys_largefile_CC
  7032. fi
  7033. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  7034. printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  7035. if test ${ac_cv_sys_file_offset_bits+y}
  7036. then :
  7037. printf %s "(cached) " >&6
  7038. else $as_nop
  7039. while :; do
  7040. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7041. /* end confdefs.h. */
  7042. #include <sys/types.h>
  7043. /* Check that off_t can represent 2**63 - 1 correctly.
  7044. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7045. since some C++ compilers masquerading as C compilers
  7046. incorrectly reject 9223372036854775807. */
  7047. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7048. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7049. && LARGE_OFF_T % 2147483647 == 1)
  7050. ? 1 : -1];
  7051. int
  7052. main (void)
  7053. {
  7054. ;
  7055. return 0;
  7056. }
  7057. _ACEOF
  7058. if ac_fn_c_try_compile "$LINENO"
  7059. then :
  7060. ac_cv_sys_file_offset_bits=no; break
  7061. fi
  7062. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7063. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7064. /* end confdefs.h. */
  7065. #define _FILE_OFFSET_BITS 64
  7066. #include <sys/types.h>
  7067. /* Check that off_t can represent 2**63 - 1 correctly.
  7068. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7069. since some C++ compilers masquerading as C compilers
  7070. incorrectly reject 9223372036854775807. */
  7071. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7072. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7073. && LARGE_OFF_T % 2147483647 == 1)
  7074. ? 1 : -1];
  7075. int
  7076. main (void)
  7077. {
  7078. ;
  7079. return 0;
  7080. }
  7081. _ACEOF
  7082. if ac_fn_c_try_compile "$LINENO"
  7083. then :
  7084. ac_cv_sys_file_offset_bits=64; break
  7085. fi
  7086. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7087. ac_cv_sys_file_offset_bits=unknown
  7088. break
  7089. done
  7090. fi
  7091. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  7092. printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
  7093. case $ac_cv_sys_file_offset_bits in #(
  7094. no | unknown) ;;
  7095. *)
  7096. printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
  7097. ;;
  7098. esac
  7099. rm -rf conftest*
  7100. if test $ac_cv_sys_file_offset_bits = unknown; then
  7101. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  7102. printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
  7103. if test ${ac_cv_sys_large_files+y}
  7104. then :
  7105. printf %s "(cached) " >&6
  7106. else $as_nop
  7107. while :; do
  7108. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7109. /* end confdefs.h. */
  7110. #include <sys/types.h>
  7111. /* Check that off_t can represent 2**63 - 1 correctly.
  7112. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7113. since some C++ compilers masquerading as C compilers
  7114. incorrectly reject 9223372036854775807. */
  7115. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7116. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7117. && LARGE_OFF_T % 2147483647 == 1)
  7118. ? 1 : -1];
  7119. int
  7120. main (void)
  7121. {
  7122. ;
  7123. return 0;
  7124. }
  7125. _ACEOF
  7126. if ac_fn_c_try_compile "$LINENO"
  7127. then :
  7128. ac_cv_sys_large_files=no; break
  7129. fi
  7130. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7131. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7132. /* end confdefs.h. */
  7133. #define _LARGE_FILES 1
  7134. #include <sys/types.h>
  7135. /* Check that off_t can represent 2**63 - 1 correctly.
  7136. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7137. since some C++ compilers masquerading as C compilers
  7138. incorrectly reject 9223372036854775807. */
  7139. #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
  7140. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  7141. && LARGE_OFF_T % 2147483647 == 1)
  7142. ? 1 : -1];
  7143. int
  7144. main (void)
  7145. {
  7146. ;
  7147. return 0;
  7148. }
  7149. _ACEOF
  7150. if ac_fn_c_try_compile "$LINENO"
  7151. then :
  7152. ac_cv_sys_large_files=1; break
  7153. fi
  7154. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7155. ac_cv_sys_large_files=unknown
  7156. break
  7157. done
  7158. fi
  7159. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  7160. printf "%s\n" "$ac_cv_sys_large_files" >&6; }
  7161. case $ac_cv_sys_large_files in #(
  7162. no | unknown) ;;
  7163. *)
  7164. printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
  7165. ;;
  7166. esac
  7167. rm -rf conftest*
  7168. fi
  7169. fi
  7170. ac_header= ac_cache=
  7171. for ac_item in $ac_header_c_list
  7172. do
  7173. if test $ac_cache; then
  7174. ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
  7175. if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
  7176. printf "%s\n" "#define $ac_item 1" >> confdefs.h
  7177. fi
  7178. ac_header= ac_cache=
  7179. elif test $ac_header; then
  7180. ac_cache=$ac_item
  7181. else
  7182. ac_header=$ac_item
  7183. fi
  7184. done
  7185. if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
  7186. then :
  7187. printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
  7188. fi
  7189. ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
  7190. if test "x$ac_cv_header_AL_al_h" = xyes
  7191. then :
  7192. printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
  7193. fi
  7194. ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
  7195. if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
  7196. then :
  7197. printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
  7198. fi
  7199. ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
  7200. if test "x$ac_cv_header_CL_cl_h" = xyes
  7201. then :
  7202. printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
  7203. fi
  7204. ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
  7205. if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
  7206. then :
  7207. printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
  7208. fi
  7209. ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
  7210. if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
  7211. then :
  7212. printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
  7213. fi
  7214. ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
  7215. if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
  7216. then :
  7217. printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
  7218. fi
  7219. ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
  7220. if test "x$ac_cv_header_EGL_egl_h" = xyes
  7221. then :
  7222. printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
  7223. fi
  7224. ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
  7225. if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
  7226. then :
  7227. printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
  7228. fi
  7229. ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
  7230. if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
  7231. then :
  7232. printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
  7233. fi
  7234. ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
  7235. if test "x$ac_cv_header_OpenAL_al_h" = xyes
  7236. then :
  7237. printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
  7238. fi
  7239. ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
  7240. if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
  7241. then :
  7242. printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
  7243. fi
  7244. ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
  7245. if test "x$ac_cv_header_Security_Security_h" = xyes
  7246. then :
  7247. printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
  7248. fi
  7249. ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
  7250. if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
  7251. then :
  7252. printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
  7253. fi
  7254. ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
  7255. if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
  7256. then :
  7257. printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
  7258. fi
  7259. ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
  7260. if test "x$ac_cv_header_arpa_inet_h" = xyes
  7261. then :
  7262. printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
  7263. fi
  7264. ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
  7265. if test "x$ac_cv_header_arpa_nameser_h" = xyes
  7266. then :
  7267. printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
  7268. fi
  7269. ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
  7270. if test "x$ac_cv_header_asm_types_h" = xyes
  7271. then :
  7272. printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
  7273. fi
  7274. ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
  7275. if test "x$ac_cv_header_asm_user_h" = xyes
  7276. then :
  7277. printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
  7278. fi
  7279. ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
  7280. if test "x$ac_cv_header_elf_h" = xyes
  7281. then :
  7282. printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
  7283. fi
  7284. ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
  7285. if test "x$ac_cv_header_float_h" = xyes
  7286. then :
  7287. printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
  7288. fi
  7289. ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
  7290. if test "x$ac_cv_header_gettext_po_h" = xyes
  7291. then :
  7292. printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
  7293. fi
  7294. ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
  7295. if test "x$ac_cv_header_ieeefp_h" = xyes
  7296. then :
  7297. printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
  7298. fi
  7299. ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
  7300. if test "x$ac_cv_header_libproc_h" = xyes
  7301. then :
  7302. printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
  7303. fi
  7304. ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
  7305. if test "x$ac_cv_header_link_h" = xyes
  7306. then :
  7307. printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
  7308. fi
  7309. ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
  7310. if test "x$ac_cv_header_linux_cdrom_h" = xyes
  7311. then :
  7312. printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
  7313. fi
  7314. ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
  7315. if test "x$ac_cv_header_linux_filter_h" = xyes
  7316. then :
  7317. printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
  7318. fi
  7319. ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
  7320. if test "x$ac_cv_header_linux_hdreg_h" = xyes
  7321. then :
  7322. printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
  7323. fi
  7324. ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
  7325. if test "x$ac_cv_header_linux_hidraw_h" = xyes
  7326. then :
  7327. printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
  7328. fi
  7329. ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
  7330. if test "x$ac_cv_header_linux_input_h" = xyes
  7331. then :
  7332. printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
  7333. fi
  7334. ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
  7335. if test "x$ac_cv_header_linux_ioctl_h" = xyes
  7336. then :
  7337. printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
  7338. fi
  7339. ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
  7340. if test "x$ac_cv_header_linux_major_h" = xyes
  7341. then :
  7342. printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
  7343. fi
  7344. ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
  7345. if test "x$ac_cv_header_linux_param_h" = xyes
  7346. then :
  7347. printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
  7348. fi
  7349. ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
  7350. if test "x$ac_cv_header_linux_serial_h" = xyes
  7351. then :
  7352. printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
  7353. fi
  7354. ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
  7355. if test "x$ac_cv_header_linux_types_h" = xyes
  7356. then :
  7357. printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
  7358. fi
  7359. ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
  7360. if test "x$ac_cv_header_linux_ucdrom_h" = xyes
  7361. then :
  7362. printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
  7363. fi
  7364. ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
  7365. if test "x$ac_cv_header_lwp_h" = xyes
  7366. then :
  7367. printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
  7368. fi
  7369. ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
  7370. if test "x$ac_cv_header_mach_o_loader_h" = xyes
  7371. then :
  7372. printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
  7373. fi
  7374. ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
  7375. if test "x$ac_cv_header_mach_mach_h" = xyes
  7376. then :
  7377. printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
  7378. fi
  7379. ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
  7380. if test "x$ac_cv_header_machine_cpu_h" = xyes
  7381. then :
  7382. printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
  7383. fi
  7384. ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
  7385. if test "x$ac_cv_header_machine_sysarch_h" = xyes
  7386. then :
  7387. printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
  7388. fi
  7389. ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
  7390. if test "x$ac_cv_header_mntent_h" = xyes
  7391. then :
  7392. printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
  7393. fi
  7394. ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
  7395. if test "x$ac_cv_header_netdb_h" = xyes
  7396. then :
  7397. printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
  7398. fi
  7399. ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
  7400. if test "x$ac_cv_header_netinet_in_h" = xyes
  7401. then :
  7402. printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
  7403. fi
  7404. ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
  7405. if test "x$ac_cv_header_netinet_in_systm_h" = xyes
  7406. then :
  7407. printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
  7408. fi
  7409. ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
  7410. if test "x$ac_cv_header_netinet_tcp_h" = xyes
  7411. then :
  7412. printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
  7413. fi
  7414. ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
  7415. if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
  7416. then :
  7417. printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
  7418. fi
  7419. ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
  7420. if test "x$ac_cv_header_pcap_pcap_h" = xyes
  7421. then :
  7422. printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
  7423. fi
  7424. ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
  7425. if test "x$ac_cv_header_port_h" = xyes
  7426. then :
  7427. printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
  7428. fi
  7429. ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
  7430. if test "x$ac_cv_header_pthread_h" = xyes
  7431. then :
  7432. printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
  7433. fi
  7434. ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
  7435. if test "x$ac_cv_header_pwd_h" = xyes
  7436. then :
  7437. printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
  7438. fi
  7439. ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
  7440. if test "x$ac_cv_header_sasl_sasl_h" = xyes
  7441. then :
  7442. printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
  7443. fi
  7444. ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
  7445. if test "x$ac_cv_header_sched_h" = xyes
  7446. then :
  7447. printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
  7448. fi
  7449. ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
  7450. if test "x$ac_cv_header_scsi_scsi_h" = xyes
  7451. then :
  7452. printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
  7453. fi
  7454. ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
  7455. if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
  7456. then :
  7457. printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
  7458. fi
  7459. ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
  7460. if test "x$ac_cv_header_scsi_sg_h" = xyes
  7461. then :
  7462. printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
  7463. fi
  7464. ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
  7465. if test "x$ac_cv_header_stdint_h" = xyes
  7466. then :
  7467. printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
  7468. fi
  7469. ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
  7470. if test "x$ac_cv_header_sys_attr_h" = xyes
  7471. then :
  7472. printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
  7473. fi
  7474. ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
  7475. if test "x$ac_cv_header_sys_auxv_h" = xyes
  7476. then :
  7477. printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
  7478. fi
  7479. ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
  7480. if test "x$ac_cv_header_sys_cdio_h" = xyes
  7481. then :
  7482. printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
  7483. fi
  7484. ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
  7485. if test "x$ac_cv_header_sys_epoll_h" = xyes
  7486. then :
  7487. printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
  7488. fi
  7489. ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
  7490. if test "x$ac_cv_header_sys_event_h" = xyes
  7491. then :
  7492. printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
  7493. fi
  7494. ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
  7495. if test "x$ac_cv_header_sys_filio_h" = xyes
  7496. then :
  7497. printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
  7498. fi
  7499. ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
  7500. if test "x$ac_cv_header_sys_ipc_h" = xyes
  7501. then :
  7502. printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
  7503. fi
  7504. ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
  7505. if test "x$ac_cv_header_sys_link_h" = xyes
  7506. then :
  7507. printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
  7508. fi
  7509. ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
  7510. if test "x$ac_cv_header_sys_modem_h" = xyes
  7511. then :
  7512. printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
  7513. fi
  7514. ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
  7515. if test "x$ac_cv_header_sys_mtio_h" = xyes
  7516. then :
  7517. printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
  7518. fi
  7519. ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
  7520. if test "x$ac_cv_header_sys_param_h" = xyes
  7521. then :
  7522. printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
  7523. fi
  7524. ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
  7525. if test "x$ac_cv_header_sys_prctl_h" = xyes
  7526. then :
  7527. printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
  7528. fi
  7529. ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
  7530. if test "x$ac_cv_header_sys_ptrace_h" = xyes
  7531. then :
  7532. printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
  7533. fi
  7534. ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
  7535. if test "x$ac_cv_header_sys_queue_h" = xyes
  7536. then :
  7537. printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
  7538. fi
  7539. ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
  7540. if test "x$ac_cv_header_sys_random_h" = xyes
  7541. then :
  7542. printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
  7543. fi
  7544. ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
  7545. if test "x$ac_cv_header_sys_resource_h" = xyes
  7546. then :
  7547. printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
  7548. fi
  7549. ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
  7550. if test "x$ac_cv_header_sys_scsiio_h" = xyes
  7551. then :
  7552. printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
  7553. fi
  7554. ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
  7555. if test "x$ac_cv_header_sys_shm_h" = xyes
  7556. then :
  7557. printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
  7558. fi
  7559. ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
  7560. if test "x$ac_cv_header_sys_signal_h" = xyes
  7561. then :
  7562. printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
  7563. fi
  7564. ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
  7565. if test "x$ac_cv_header_sys_socketvar_h" = xyes
  7566. then :
  7567. printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
  7568. fi
  7569. ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
  7570. if test "x$ac_cv_header_sys_sockio_h" = xyes
  7571. then :
  7572. printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
  7573. fi
  7574. ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
  7575. if test "x$ac_cv_header_sys_statvfs_h" = xyes
  7576. then :
  7577. printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
  7578. fi
  7579. ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
  7580. if test "x$ac_cv_header_sys_strtio_h" = xyes
  7581. then :
  7582. printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
  7583. fi
  7584. ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
  7585. if test "x$ac_cv_header_sys_syscall_h" = xyes
  7586. then :
  7587. printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
  7588. fi
  7589. ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
  7590. if test "x$ac_cv_header_sys_sysinfo_h" = xyes
  7591. then :
  7592. printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
  7593. fi
  7594. ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
  7595. if test "x$ac_cv_header_sys_times_h" = xyes
  7596. then :
  7597. printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
  7598. fi
  7599. ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
  7600. if test "x$ac_cv_header_sys_uio_h" = xyes
  7601. then :
  7602. printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
  7603. fi
  7604. ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
  7605. if test "x$ac_cv_header_sys_user_h" = xyes
  7606. then :
  7607. printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
  7608. fi
  7609. ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
  7610. if test "x$ac_cv_header_sys_utsname_h" = xyes
  7611. then :
  7612. printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
  7613. fi
  7614. ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
  7615. if test "x$ac_cv_header_sys_vnode_h" = xyes
  7616. then :
  7617. printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
  7618. fi
  7619. ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
  7620. if test "x$ac_cv_header_syscall_h" = xyes
  7621. then :
  7622. printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
  7623. fi
  7624. ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
  7625. if test "x$ac_cv_header_utime_h" = xyes
  7626. then :
  7627. printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
  7628. fi
  7629. ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
  7630. if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
  7631. then :
  7632. printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
  7633. fi
  7634. ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
  7635. if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
  7636. then :
  7637. printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
  7638. fi
  7639. ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
  7640. if test "x$ac_cv_header_sys_mkdev_h" = xyes
  7641. then :
  7642. printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
  7643. fi
  7644. if test $ac_cv_header_sys_mkdev_h = no; then
  7645. ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
  7646. if test "x$ac_cv_header_sys_sysmacros_h" = xyes
  7647. then :
  7648. printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
  7649. fi
  7650. fi
  7651. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  7652. printf %s "checking whether stat file-mode macros are broken... " >&6; }
  7653. if test ${ac_cv_header_stat_broken+y}
  7654. then :
  7655. printf %s "(cached) " >&6
  7656. else $as_nop
  7657. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7658. /* end confdefs.h. */
  7659. #include <sys/types.h>
  7660. #include <sys/stat.h>
  7661. #if defined S_ISBLK && defined S_IFDIR
  7662. extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  7663. #endif
  7664. #if defined S_ISBLK && defined S_IFCHR
  7665. extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  7666. #endif
  7667. #if defined S_ISLNK && defined S_IFREG
  7668. extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  7669. #endif
  7670. #if defined S_ISSOCK && defined S_IFREG
  7671. extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  7672. #endif
  7673. _ACEOF
  7674. if ac_fn_c_try_compile "$LINENO"
  7675. then :
  7676. ac_cv_header_stat_broken=no
  7677. else $as_nop
  7678. ac_cv_header_stat_broken=yes
  7679. fi
  7680. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  7681. fi
  7682. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
  7683. printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
  7684. if test $ac_cv_header_stat_broken = yes; then
  7685. printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
  7686. fi
  7687. ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
  7688. #ifdef HAVE_SYS_PARAM_H
  7689. # include <sys/param.h>
  7690. #endif
  7691. "
  7692. if test "x$ac_cv_header_sys_conf_h" = xyes
  7693. then :
  7694. printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
  7695. fi
  7696. ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
  7697. #ifdef HAVE_SYS_PARAM_H
  7698. # include <sys/param.h>
  7699. #endif
  7700. "
  7701. if test "x$ac_cv_header_sys_mount_h" = xyes
  7702. then :
  7703. printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
  7704. fi
  7705. ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
  7706. #ifdef HAVE_SYS_PARAM_H
  7707. # include <sys/param.h>
  7708. #endif
  7709. "
  7710. if test "x$ac_cv_header_sys_statfs_h" = xyes
  7711. then :
  7712. printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
  7713. fi
  7714. ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
  7715. #ifdef HAVE_SYS_PARAM_H
  7716. # include <sys/param.h>
  7717. #endif
  7718. "
  7719. if test "x$ac_cv_header_sys_user_h" = xyes
  7720. then :
  7721. printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
  7722. fi
  7723. ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
  7724. #ifdef HAVE_SYS_PARAM_H
  7725. # include <sys/param.h>
  7726. #endif
  7727. "
  7728. if test "x$ac_cv_header_sys_vfs_h" = xyes
  7729. then :
  7730. printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
  7731. fi
  7732. saved_sysctl_h_CFLAGS=$CFLAGS
  7733. test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
  7734. ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
  7735. #ifdef HAVE_SYS_PARAM_H
  7736. # include <sys/param.h>
  7737. #endif
  7738. "
  7739. if test "x$ac_cv_header_sys_sysctl_h" = xyes
  7740. then :
  7741. printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
  7742. fi
  7743. CFLAGS=$saved_sysctl_h_CFLAGS
  7744. ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
  7745. #include <sys/socket.h>
  7746. #ifdef HAVE_SYS_SOCKETVAR_H
  7747. # include <sys/socketvar.h>
  7748. #endif
  7749. #ifdef HAVE_NET_ROUTE_H
  7750. # include <net/route.h>
  7751. #endif
  7752. #ifdef HAVE_NETINET_IN_H
  7753. # include <netinet/in.h>
  7754. #endif
  7755. #ifdef HAVE_NETINET_IN_SYSTM_H
  7756. # include <netinet/in_systm.h>
  7757. #endif
  7758. #ifdef HAVE_NET_IF_H
  7759. # include <net/if.h>
  7760. #endif
  7761. #ifdef HAVE_NETINET_IP_H
  7762. # include <netinet/ip.h>
  7763. #endif
  7764. "
  7765. if test "x$ac_cv_header_netinet_ip_h" = xyes
  7766. then :
  7767. printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
  7768. fi
  7769. ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
  7770. #include <sys/socket.h>
  7771. #ifdef HAVE_SYS_SOCKETVAR_H
  7772. # include <sys/socketvar.h>
  7773. #endif
  7774. #ifdef HAVE_NET_ROUTE_H
  7775. # include <net/route.h>
  7776. #endif
  7777. #ifdef HAVE_NETINET_IN_H
  7778. # include <netinet/in.h>
  7779. #endif
  7780. #ifdef HAVE_NETINET_IN_SYSTM_H
  7781. # include <netinet/in_systm.h>
  7782. #endif
  7783. #ifdef HAVE_NET_IF_H
  7784. # include <net/if.h>
  7785. #endif
  7786. #ifdef HAVE_NETINET_IP_H
  7787. # include <netinet/ip.h>
  7788. #endif
  7789. "
  7790. if test "x$ac_cv_header_net_if_h" = xyes
  7791. then :
  7792. printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
  7793. fi
  7794. ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
  7795. #include <sys/socket.h>
  7796. #ifdef HAVE_SYS_SOCKETVAR_H
  7797. # include <sys/socketvar.h>
  7798. #endif
  7799. #ifdef HAVE_NET_ROUTE_H
  7800. # include <net/route.h>
  7801. #endif
  7802. #ifdef HAVE_NETINET_IN_H
  7803. # include <netinet/in.h>
  7804. #endif
  7805. #ifdef HAVE_NETINET_IN_SYSTM_H
  7806. # include <netinet/in_systm.h>
  7807. #endif
  7808. #ifdef HAVE_NET_IF_H
  7809. # include <net/if.h>
  7810. #endif
  7811. #ifdef HAVE_NETINET_IP_H
  7812. # include <netinet/ip.h>
  7813. #endif
  7814. "
  7815. if test "x$ac_cv_header_net_if_arp_h" = xyes
  7816. then :
  7817. printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
  7818. fi
  7819. ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
  7820. #include <sys/socket.h>
  7821. #ifdef HAVE_SYS_SOCKETVAR_H
  7822. # include <sys/socketvar.h>
  7823. #endif
  7824. #ifdef HAVE_NET_ROUTE_H
  7825. # include <net/route.h>
  7826. #endif
  7827. #ifdef HAVE_NETINET_IN_H
  7828. # include <netinet/in.h>
  7829. #endif
  7830. #ifdef HAVE_NETINET_IN_SYSTM_H
  7831. # include <netinet/in_systm.h>
  7832. #endif
  7833. #ifdef HAVE_NET_IF_H
  7834. # include <net/if.h>
  7835. #endif
  7836. #ifdef HAVE_NETINET_IP_H
  7837. # include <netinet/ip.h>
  7838. #endif
  7839. "
  7840. if test "x$ac_cv_header_net_if_dl_h" = xyes
  7841. then :
  7842. printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
  7843. fi
  7844. ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
  7845. #include <sys/socket.h>
  7846. #ifdef HAVE_SYS_SOCKETVAR_H
  7847. # include <sys/socketvar.h>
  7848. #endif
  7849. #ifdef HAVE_NET_ROUTE_H
  7850. # include <net/route.h>
  7851. #endif
  7852. #ifdef HAVE_NETINET_IN_H
  7853. # include <netinet/in.h>
  7854. #endif
  7855. #ifdef HAVE_NETINET_IN_SYSTM_H
  7856. # include <netinet/in_systm.h>
  7857. #endif
  7858. #ifdef HAVE_NET_IF_H
  7859. # include <net/if.h>
  7860. #endif
  7861. #ifdef HAVE_NETINET_IP_H
  7862. # include <netinet/ip.h>
  7863. #endif
  7864. "
  7865. if test "x$ac_cv_header_net_if_types_h" = xyes
  7866. then :
  7867. printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
  7868. fi
  7869. ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
  7870. #include <sys/socket.h>
  7871. #ifdef HAVE_SYS_SOCKETVAR_H
  7872. # include <sys/socketvar.h>
  7873. #endif
  7874. #ifdef HAVE_NET_ROUTE_H
  7875. # include <net/route.h>
  7876. #endif
  7877. #ifdef HAVE_NETINET_IN_H
  7878. # include <netinet/in.h>
  7879. #endif
  7880. #ifdef HAVE_NETINET_IN_SYSTM_H
  7881. # include <netinet/in_systm.h>
  7882. #endif
  7883. #ifdef HAVE_NET_IF_H
  7884. # include <net/if.h>
  7885. #endif
  7886. #ifdef HAVE_NETINET_IP_H
  7887. # include <netinet/ip.h>
  7888. #endif
  7889. "
  7890. if test "x$ac_cv_header_net_route_h" = xyes
  7891. then :
  7892. printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
  7893. fi
  7894. ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
  7895. #include <sys/socket.h>
  7896. #ifdef HAVE_SYS_SOCKETVAR_H
  7897. # include <sys/socketvar.h>
  7898. #endif
  7899. #ifdef HAVE_NET_ROUTE_H
  7900. # include <net/route.h>
  7901. #endif
  7902. #ifdef HAVE_NETINET_IN_H
  7903. # include <netinet/in.h>
  7904. #endif
  7905. #ifdef HAVE_NETINET_IN_SYSTM_H
  7906. # include <netinet/in_systm.h>
  7907. #endif
  7908. #ifdef HAVE_NET_IF_H
  7909. # include <net/if.h>
  7910. #endif
  7911. #ifdef HAVE_NETINET_IP_H
  7912. # include <netinet/ip.h>
  7913. #endif
  7914. "
  7915. if test "x$ac_cv_header_netinet_if_ether_h" = xyes
  7916. then :
  7917. printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
  7918. fi
  7919. ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
  7920. #include <sys/socket.h>
  7921. #ifdef HAVE_SYS_SOCKETVAR_H
  7922. # include <sys/socketvar.h>
  7923. #endif
  7924. #ifdef HAVE_NET_ROUTE_H
  7925. # include <net/route.h>
  7926. #endif
  7927. #ifdef HAVE_NETINET_IN_H
  7928. # include <netinet/in.h>
  7929. #endif
  7930. #ifdef HAVE_NETINET_IN_SYSTM_H
  7931. # include <netinet/in_systm.h>
  7932. #endif
  7933. #ifdef HAVE_NET_IF_H
  7934. # include <net/if.h>
  7935. #endif
  7936. #ifdef HAVE_NETINET_IP_H
  7937. # include <netinet/ip.h>
  7938. #endif
  7939. "
  7940. if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
  7941. then :
  7942. printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
  7943. fi
  7944. ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
  7945. #include <sys/socket.h>
  7946. #ifdef HAVE_SYS_SOCKETVAR_H
  7947. # include <sys/socketvar.h>
  7948. #endif
  7949. #ifdef HAVE_NET_ROUTE_H
  7950. # include <net/route.h>
  7951. #endif
  7952. #ifdef HAVE_NETINET_IN_H
  7953. # include <netinet/in.h>
  7954. #endif
  7955. #ifdef HAVE_NETINET_IN_SYSTM_H
  7956. # include <netinet/in_systm.h>
  7957. #endif
  7958. #ifdef HAVE_NET_IF_H
  7959. # include <net/if.h>
  7960. #endif
  7961. #ifdef HAVE_NETINET_IP_H
  7962. # include <netinet/ip.h>
  7963. #endif
  7964. "
  7965. if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
  7966. then :
  7967. printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
  7968. fi
  7969. ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
  7970. #include <sys/socket.h>
  7971. #ifdef HAVE_SYS_SOCKETVAR_H
  7972. # include <sys/socketvar.h>
  7973. #endif
  7974. #ifdef HAVE_NET_ROUTE_H
  7975. # include <net/route.h>
  7976. #endif
  7977. #ifdef HAVE_NETINET_IN_H
  7978. # include <netinet/in.h>
  7979. #endif
  7980. #ifdef HAVE_NETINET_IN_SYSTM_H
  7981. # include <netinet/in_systm.h>
  7982. #endif
  7983. #ifdef HAVE_NET_IF_H
  7984. # include <net/if.h>
  7985. #endif
  7986. #ifdef HAVE_NETINET_IP_H
  7987. # include <netinet/ip.h>
  7988. #endif
  7989. "
  7990. if test "x$ac_cv_header_netinet_ip_var_h" = xyes
  7991. then :
  7992. printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
  7993. fi
  7994. ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
  7995. #include <sys/socket.h>
  7996. #ifdef HAVE_SYS_SOCKETVAR_H
  7997. # include <sys/socketvar.h>
  7998. #endif
  7999. #ifdef HAVE_NET_ROUTE_H
  8000. # include <net/route.h>
  8001. #endif
  8002. #ifdef HAVE_NETINET_IN_H
  8003. # include <netinet/in.h>
  8004. #endif
  8005. #ifdef HAVE_NETINET_IN_SYSTM_H
  8006. # include <netinet/in_systm.h>
  8007. #endif
  8008. #ifdef HAVE_NET_IF_H
  8009. # include <net/if.h>
  8010. #endif
  8011. #ifdef HAVE_NETINET_IP_H
  8012. # include <netinet/ip.h>
  8013. #endif
  8014. "
  8015. if test "x$ac_cv_header_netinet_udp_h" = xyes
  8016. then :
  8017. printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
  8018. fi
  8019. ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
  8020. #include <sys/socket.h>
  8021. #ifdef HAVE_SYS_SOCKETVAR_H
  8022. # include <sys/socketvar.h>
  8023. #endif
  8024. #ifdef HAVE_NET_ROUTE_H
  8025. # include <net/route.h>
  8026. #endif
  8027. #ifdef HAVE_NETINET_IN_H
  8028. # include <netinet/in.h>
  8029. #endif
  8030. #ifdef HAVE_NETINET_IN_SYSTM_H
  8031. # include <netinet/in_systm.h>
  8032. #endif
  8033. #ifdef HAVE_NET_IF_H
  8034. # include <net/if.h>
  8035. #endif
  8036. #ifdef HAVE_NETINET_IP_H
  8037. # include <netinet/ip.h>
  8038. #endif
  8039. "
  8040. if test "x$ac_cv_header_netipx_ipx_h" = xyes
  8041. then :
  8042. printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
  8043. fi
  8044. ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
  8045. #include <sys/socket.h>
  8046. #ifdef HAVE_SYS_SOCKETVAR_H
  8047. # include <sys/socketvar.h>
  8048. #endif
  8049. #ifdef HAVE_NET_ROUTE_H
  8050. # include <net/route.h>
  8051. #endif
  8052. #ifdef HAVE_NETINET_IN_H
  8053. # include <netinet/in.h>
  8054. #endif
  8055. #ifdef HAVE_NETINET_IN_SYSTM_H
  8056. # include <netinet/in_systm.h>
  8057. #endif
  8058. #ifdef HAVE_NET_IF_H
  8059. # include <net/if.h>
  8060. #endif
  8061. #ifdef HAVE_NETINET_IP_H
  8062. # include <netinet/ip.h>
  8063. #endif
  8064. "
  8065. if test "x$ac_cv_header_sys_un_h" = xyes
  8066. then :
  8067. printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
  8068. fi
  8069. ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
  8070. #include <sys/socket.h>
  8071. #ifdef HAVE_SYS_SOCKETVAR_H
  8072. # include <sys/socketvar.h>
  8073. #endif
  8074. #ifdef HAVE_NETINET_IN_H
  8075. # include <netinet/in.h>
  8076. #endif
  8077. #ifdef HAVE_NETINET_IN_SYSTM_H
  8078. # include <netinet/in_systm.h>
  8079. #endif
  8080. #ifdef HAVE_NETINET_IP_H
  8081. # include <netinet/ip.h>
  8082. #endif
  8083. #ifdef HAVE_NETINET_IP_VAR_H
  8084. # include <netinet/ip_var.h>
  8085. #endif
  8086. #ifdef HAVE_NETINET_IP_ICMP_H
  8087. # include <netinet/ip_icmp.h>
  8088. #endif
  8089. #ifdef HAVE_NETINET_UDP_H
  8090. # include <netinet/udp.h>
  8091. #endif
  8092. #ifdef HAVE_NETINET_TCP_H
  8093. # include <netinet/tcp.h>
  8094. #endif
  8095. "
  8096. if test "x$ac_cv_header_netinet_udp_var_h" = xyes
  8097. then :
  8098. printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
  8099. fi
  8100. ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
  8101. #include <sys/socket.h>
  8102. #ifdef HAVE_SYS_SOCKETVAR_H
  8103. # include <sys/socketvar.h>
  8104. #endif
  8105. #ifdef HAVE_NETINET_IN_H
  8106. # include <netinet/in.h>
  8107. #endif
  8108. #ifdef HAVE_NETINET_IN_SYSTM_H
  8109. # include <netinet/in_systm.h>
  8110. #endif
  8111. #ifdef HAVE_NETINET_IP_H
  8112. # include <netinet/ip.h>
  8113. #endif
  8114. #ifdef HAVE_NETINET_IP_VAR_H
  8115. # include <netinet/ip_var.h>
  8116. #endif
  8117. #ifdef HAVE_NETINET_IP_ICMP_H
  8118. # include <netinet/ip_icmp.h>
  8119. #endif
  8120. #ifdef HAVE_NETINET_UDP_H
  8121. # include <netinet/udp.h>
  8122. #endif
  8123. #ifdef HAVE_NETINET_TCP_H
  8124. # include <netinet/tcp.h>
  8125. #endif
  8126. "
  8127. if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
  8128. then :
  8129. printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
  8130. fi
  8131. ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
  8132. #include <sys/socket.h>
  8133. #ifdef HAVE_SYS_SOCKETVAR_H
  8134. # include <sys/socketvar.h>
  8135. #endif
  8136. #ifdef HAVE_NETINET_IN_H
  8137. # include <netinet/in.h>
  8138. #endif
  8139. #ifdef HAVE_NETINET_IN_SYSTM_H
  8140. # include <netinet/in_systm.h>
  8141. #endif
  8142. #ifdef HAVE_NETINET_IP_H
  8143. # include <netinet/ip.h>
  8144. #endif
  8145. #ifdef HAVE_NETINET_IP_VAR_H
  8146. # include <netinet/ip_var.h>
  8147. #endif
  8148. #ifdef HAVE_NETINET_IP_ICMP_H
  8149. # include <netinet/ip_icmp.h>
  8150. #endif
  8151. #ifdef HAVE_NETINET_UDP_H
  8152. # include <netinet/udp.h>
  8153. #endif
  8154. #ifdef HAVE_NETINET_TCP_H
  8155. # include <netinet/tcp.h>
  8156. #endif
  8157. "
  8158. if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
  8159. then :
  8160. printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
  8161. fi
  8162. ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
  8163. #include <sys/socket.h>
  8164. #ifdef HAVE_ASM_TYPES_H
  8165. # include <asm/types.h>
  8166. #endif
  8167. #ifdef HAVE_LINUX_TYPES_H
  8168. # include <linux/types.h>
  8169. #endif
  8170. "
  8171. if test "x$ac_cv_header_linux_ipx_h" = xyes
  8172. then :
  8173. printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
  8174. fi
  8175. ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_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_irda_h" = xyes
  8185. then :
  8186. printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
  8187. fi
  8188. ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_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_rtnetlink_h" = xyes
  8198. then :
  8199. printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
  8200. fi
  8201. ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
  8202. #include <sys/socket.h>
  8203. #ifdef HAVE_NETINET_IN_H
  8204. # include <netinet/in.h>
  8205. #endif
  8206. #ifdef HAVE_ARPA_NAMESER_H
  8207. # include <arpa/nameser.h>
  8208. #endif
  8209. "
  8210. if test "x$ac_cv_header_resolv_h" = xyes
  8211. then :
  8212. printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
  8213. fi
  8214. ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
  8215. "
  8216. if test "x$ac_cv_header_ifaddrs_h" = xyes
  8217. then :
  8218. printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
  8219. fi
  8220. ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
  8221. "
  8222. if test "x$ac_cv_header_sys_ucontext_h" = xyes
  8223. then :
  8224. printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
  8225. fi
  8226. ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
  8227. #ifdef HAVE_SYS_UCONTEXT_H
  8228. #include <sys/ucontext.h>
  8229. #endif
  8230. "
  8231. if test "x$ac_cv_header_sys_thr_h" = xyes
  8232. then :
  8233. printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
  8234. fi
  8235. ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
  8236. #include <pthread.h>
  8237. #endif
  8238. "
  8239. if test "x$ac_cv_header_pthread_np_h" = xyes
  8240. then :
  8241. printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
  8242. fi
  8243. ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
  8244. #include <sys/types.h>
  8245. #ifdef HAVE_ASM_TYPES_H
  8246. #include <asm/types.h>
  8247. #endif
  8248. "
  8249. if test "x$ac_cv_header_linux_videodev2_h" = xyes
  8250. then :
  8251. printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
  8252. fi
  8253. ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
  8254. #include <sys/param.h>
  8255. #endif
  8256. #include <sys/socket.h>
  8257. #ifdef HAVE_SYS_QUEUE_H
  8258. #include <sys/queue.h>
  8259. #endif
  8260. "
  8261. if test "x$ac_cv_header_libprocstat_h" = xyes
  8262. then :
  8263. printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
  8264. fi
  8265. DLLFLAGS=""
  8266. LDDLLFLAGS=""
  8267. LDEXECFLAGS=""
  8268. EXTRACFLAGS=""
  8269. UNIXDLLFLAGS="-fPIC"
  8270. UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
  8271. TOP_INSTALL_LIB=""
  8272. TOP_INSTALL_DEV=""
  8273. WINELOADER_LDFLAGS=""
  8274. WINEPRELOADER_LDFLAGS=""
  8275. LIBEXT="so"
  8276. # Extract the first word of "ldd", so it can be a program name with args.
  8277. set dummy ldd; ac_word=$2
  8278. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8279. printf %s "checking for $ac_word... " >&6; }
  8280. if test ${ac_cv_path_LDD+y}
  8281. then :
  8282. printf %s "(cached) " >&6
  8283. else $as_nop
  8284. case $LDD in
  8285. [\\/]* | ?:[\\/]*)
  8286. ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
  8287. ;;
  8288. *)
  8289. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8290. as_dummy="/sbin:/usr/sbin:$PATH"
  8291. for as_dir in $as_dummy
  8292. do
  8293. IFS=$as_save_IFS
  8294. case $as_dir in #(((
  8295. '') as_dir=./ ;;
  8296. */) ;;
  8297. *) as_dir=$as_dir/ ;;
  8298. esac
  8299. for ac_exec_ext in '' $ac_executable_extensions; do
  8300. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8301. ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
  8302. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8303. break 2
  8304. fi
  8305. done
  8306. done
  8307. IFS=$as_save_IFS
  8308. test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
  8309. ;;
  8310. esac
  8311. fi
  8312. LDD=$ac_cv_path_LDD
  8313. if test -n "$LDD"; then
  8314. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
  8315. printf "%s\n" "$LDD" >&6; }
  8316. else
  8317. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8318. printf "%s\n" "no" >&6; }
  8319. fi
  8320. if test -n "$ac_tool_prefix"; then
  8321. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  8322. set dummy ${ac_tool_prefix}otool; ac_word=$2
  8323. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8324. printf %s "checking for $ac_word... " >&6; }
  8325. if test ${ac_cv_prog_OTOOL+y}
  8326. then :
  8327. printf %s "(cached) " >&6
  8328. else $as_nop
  8329. if test -n "$OTOOL"; then
  8330. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  8331. else
  8332. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8333. for as_dir in $PATH
  8334. do
  8335. IFS=$as_save_IFS
  8336. case $as_dir in #(((
  8337. '') as_dir=./ ;;
  8338. */) ;;
  8339. *) as_dir=$as_dir/ ;;
  8340. esac
  8341. for ac_exec_ext in '' $ac_executable_extensions; do
  8342. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8343. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  8344. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8345. break 2
  8346. fi
  8347. done
  8348. done
  8349. IFS=$as_save_IFS
  8350. fi
  8351. fi
  8352. OTOOL=$ac_cv_prog_OTOOL
  8353. if test -n "$OTOOL"; then
  8354. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  8355. printf "%s\n" "$OTOOL" >&6; }
  8356. else
  8357. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8358. printf "%s\n" "no" >&6; }
  8359. fi
  8360. fi
  8361. if test -z "$ac_cv_prog_OTOOL"; then
  8362. ac_ct_OTOOL=$OTOOL
  8363. # Extract the first word of "otool", so it can be a program name with args.
  8364. set dummy otool; ac_word=$2
  8365. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8366. printf %s "checking for $ac_word... " >&6; }
  8367. if test ${ac_cv_prog_ac_ct_OTOOL+y}
  8368. then :
  8369. printf %s "(cached) " >&6
  8370. else $as_nop
  8371. if test -n "$ac_ct_OTOOL"; then
  8372. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  8373. else
  8374. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8375. for as_dir in $PATH
  8376. do
  8377. IFS=$as_save_IFS
  8378. case $as_dir in #(((
  8379. '') as_dir=./ ;;
  8380. */) ;;
  8381. *) as_dir=$as_dir/ ;;
  8382. esac
  8383. for ac_exec_ext in '' $ac_executable_extensions; do
  8384. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8385. ac_cv_prog_ac_ct_OTOOL="otool"
  8386. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8387. break 2
  8388. fi
  8389. done
  8390. done
  8391. IFS=$as_save_IFS
  8392. fi
  8393. fi
  8394. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  8395. if test -n "$ac_ct_OTOOL"; then
  8396. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  8397. printf "%s\n" "$ac_ct_OTOOL" >&6; }
  8398. else
  8399. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8400. printf "%s\n" "no" >&6; }
  8401. fi
  8402. if test "x$ac_ct_OTOOL" = x; then
  8403. OTOOL="otool"
  8404. else
  8405. case $cross_compiling:$ac_tool_warned in
  8406. yes:)
  8407. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8408. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8409. ac_tool_warned=yes ;;
  8410. esac
  8411. OTOOL=$ac_ct_OTOOL
  8412. fi
  8413. else
  8414. OTOOL="$ac_cv_prog_OTOOL"
  8415. fi
  8416. if test -n "$ac_tool_prefix"; then
  8417. # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
  8418. set dummy ${ac_tool_prefix}readelf; ac_word=$2
  8419. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8420. printf %s "checking for $ac_word... " >&6; }
  8421. if test ${ac_cv_prog_READELF+y}
  8422. then :
  8423. printf %s "(cached) " >&6
  8424. else $as_nop
  8425. if test -n "$READELF"; then
  8426. ac_cv_prog_READELF="$READELF" # Let the user override the test.
  8427. else
  8428. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8429. for as_dir in $PATH
  8430. do
  8431. IFS=$as_save_IFS
  8432. case $as_dir in #(((
  8433. '') as_dir=./ ;;
  8434. */) ;;
  8435. *) as_dir=$as_dir/ ;;
  8436. esac
  8437. for ac_exec_ext in '' $ac_executable_extensions; do
  8438. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8439. ac_cv_prog_READELF="${ac_tool_prefix}readelf"
  8440. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8441. break 2
  8442. fi
  8443. done
  8444. done
  8445. IFS=$as_save_IFS
  8446. fi
  8447. fi
  8448. READELF=$ac_cv_prog_READELF
  8449. if test -n "$READELF"; then
  8450. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
  8451. printf "%s\n" "$READELF" >&6; }
  8452. else
  8453. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8454. printf "%s\n" "no" >&6; }
  8455. fi
  8456. fi
  8457. if test -z "$ac_cv_prog_READELF"; then
  8458. ac_ct_READELF=$READELF
  8459. # Extract the first word of "readelf", so it can be a program name with args.
  8460. set dummy readelf; ac_word=$2
  8461. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8462. printf %s "checking for $ac_word... " >&6; }
  8463. if test ${ac_cv_prog_ac_ct_READELF+y}
  8464. then :
  8465. printf %s "(cached) " >&6
  8466. else $as_nop
  8467. if test -n "$ac_ct_READELF"; then
  8468. ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
  8469. else
  8470. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8471. for as_dir in $PATH
  8472. do
  8473. IFS=$as_save_IFS
  8474. case $as_dir in #(((
  8475. '') as_dir=./ ;;
  8476. */) ;;
  8477. *) as_dir=$as_dir/ ;;
  8478. esac
  8479. for ac_exec_ext in '' $ac_executable_extensions; do
  8480. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8481. ac_cv_prog_ac_ct_READELF="readelf"
  8482. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8483. break 2
  8484. fi
  8485. done
  8486. done
  8487. IFS=$as_save_IFS
  8488. fi
  8489. fi
  8490. ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
  8491. if test -n "$ac_ct_READELF"; then
  8492. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
  8493. printf "%s\n" "$ac_ct_READELF" >&6; }
  8494. else
  8495. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8496. printf "%s\n" "no" >&6; }
  8497. fi
  8498. if test "x$ac_ct_READELF" = x; then
  8499. READELF="true"
  8500. else
  8501. case $cross_compiling:$ac_tool_warned in
  8502. yes:)
  8503. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8504. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8505. ac_tool_warned=yes ;;
  8506. esac
  8507. READELF=$ac_ct_READELF
  8508. fi
  8509. else
  8510. READELF="$ac_cv_prog_READELF"
  8511. fi
  8512. wine_rules="all:"
  8513. SUBDIRS=""
  8514. DISABLED_SUBDIRS=""
  8515. CONFIGURE_TARGETS=""
  8516. wine_fn_append_file ()
  8517. {
  8518. as_fn_append $1 " \\$as_nl $2"
  8519. }
  8520. wine_fn_append_rule ()
  8521. {
  8522. as_fn_append wine_rules "$as_nl$1"
  8523. }
  8524. wine_fn_config_makefile ()
  8525. {
  8526. wine_fn_append_file SUBDIRS $1
  8527. if eval test \"x\$"$2"\" = x"no"
  8528. then :
  8529. wine_fn_append_file DISABLED_SUBDIRS $1
  8530. fi
  8531. }
  8532. wine_fn_config_symlink ()
  8533. {
  8534. ac_links=$@
  8535. wine_fn_append_rule \
  8536. "$ac_links:
  8537. @./config.status \$@"
  8538. for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
  8539. }
  8540. wine_binary="wine"
  8541. test "x$enable_win64" != "xyes" || wine_binary="wine64"
  8542. WINELOADER_PROGRAMS="$wine_binary"
  8543. libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
  8544. case $host_os in
  8545. cygwin*|mingw32*)
  8546. if test -n "$ac_tool_prefix"; then
  8547. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  8548. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  8549. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8550. printf %s "checking for $ac_word... " >&6; }
  8551. if test ${ac_cv_prog_DLLTOOL+y}
  8552. then :
  8553. printf %s "(cached) " >&6
  8554. else $as_nop
  8555. if test -n "$DLLTOOL"; then
  8556. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  8557. else
  8558. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8559. for as_dir in $PATH
  8560. do
  8561. IFS=$as_save_IFS
  8562. case $as_dir in #(((
  8563. '') as_dir=./ ;;
  8564. */) ;;
  8565. *) as_dir=$as_dir/ ;;
  8566. esac
  8567. for ac_exec_ext in '' $ac_executable_extensions; do
  8568. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8569. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  8570. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8571. break 2
  8572. fi
  8573. done
  8574. done
  8575. IFS=$as_save_IFS
  8576. fi
  8577. fi
  8578. DLLTOOL=$ac_cv_prog_DLLTOOL
  8579. if test -n "$DLLTOOL"; then
  8580. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  8581. printf "%s\n" "$DLLTOOL" >&6; }
  8582. else
  8583. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8584. printf "%s\n" "no" >&6; }
  8585. fi
  8586. fi
  8587. if test -z "$ac_cv_prog_DLLTOOL"; then
  8588. ac_ct_DLLTOOL=$DLLTOOL
  8589. # Extract the first word of "dlltool", so it can be a program name with args.
  8590. set dummy dlltool; ac_word=$2
  8591. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8592. printf %s "checking for $ac_word... " >&6; }
  8593. if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
  8594. then :
  8595. printf %s "(cached) " >&6
  8596. else $as_nop
  8597. if test -n "$ac_ct_DLLTOOL"; then
  8598. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  8599. else
  8600. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8601. for as_dir in $PATH
  8602. do
  8603. IFS=$as_save_IFS
  8604. case $as_dir in #(((
  8605. '') as_dir=./ ;;
  8606. */) ;;
  8607. *) as_dir=$as_dir/ ;;
  8608. esac
  8609. for ac_exec_ext in '' $ac_executable_extensions; do
  8610. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8611. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  8612. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8613. break 2
  8614. fi
  8615. done
  8616. done
  8617. IFS=$as_save_IFS
  8618. fi
  8619. fi
  8620. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  8621. if test -n "$ac_ct_DLLTOOL"; then
  8622. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  8623. printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
  8624. else
  8625. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8626. printf "%s\n" "no" >&6; }
  8627. fi
  8628. if test "x$ac_ct_DLLTOOL" = x; then
  8629. DLLTOOL="false"
  8630. else
  8631. case $cross_compiling:$ac_tool_warned in
  8632. yes:)
  8633. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8634. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8635. ac_tool_warned=yes ;;
  8636. esac
  8637. DLLTOOL=$ac_ct_DLLTOOL
  8638. fi
  8639. else
  8640. DLLTOOL="$ac_cv_prog_DLLTOOL"
  8641. fi
  8642. LIBEXT="dll"
  8643. EXTRACFLAGS="-D__WINE_PE_BUILD"
  8644. case $host_cpu in
  8645. *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
  8646. printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
  8647. if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
  8648. then :
  8649. printf %s "(cached) " >&6
  8650. else $as_nop
  8651. ac_wine_try_cflags_saved=$CFLAGS
  8652. CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
  8653. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8654. /* end confdefs.h. */
  8655. int main(int argc, char **argv) { return 0; }
  8656. _ACEOF
  8657. if ac_fn_c_try_link "$LINENO"
  8658. then :
  8659. ac_cv_cflags__Wl___disable_stdcall_fixup=yes
  8660. else $as_nop
  8661. ac_cv_cflags__Wl___disable_stdcall_fixup=no
  8662. fi
  8663. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  8664. conftest$ac_exeext conftest.$ac_ext
  8665. CFLAGS=$ac_wine_try_cflags_saved
  8666. fi
  8667. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
  8668. printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
  8669. if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
  8670. then :
  8671. LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
  8672. fi ;;
  8673. esac
  8674. enable_loader=${enable_loader:-no}
  8675. enable_server=${enable_server:-no}
  8676. with_x=${with_x:-no}
  8677. with_pthread=${with_pthread:-no}
  8678. ;;
  8679. darwin*|macosx*)
  8680. ac_ext=m
  8681. ac_cpp='$OBJCPP $CPPFLAGS'
  8682. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8683. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8684. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8685. ac_ext=m
  8686. ac_cpp='$OBJCPP $CPPFLAGS'
  8687. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8688. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8689. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8690. if test -n "$ac_tool_prefix"; then
  8691. for ac_prog in gcc objcc objc cc CC clang
  8692. do
  8693. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  8694. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  8695. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8696. printf %s "checking for $ac_word... " >&6; }
  8697. if test ${ac_cv_prog_OBJC+y}
  8698. then :
  8699. printf %s "(cached) " >&6
  8700. else $as_nop
  8701. if test -n "$OBJC"; then
  8702. ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  8703. else
  8704. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8705. for as_dir in $PATH
  8706. do
  8707. IFS=$as_save_IFS
  8708. case $as_dir in #(((
  8709. '') as_dir=./ ;;
  8710. */) ;;
  8711. *) as_dir=$as_dir/ ;;
  8712. esac
  8713. for ac_exec_ext in '' $ac_executable_extensions; do
  8714. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8715. ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  8716. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8717. break 2
  8718. fi
  8719. done
  8720. done
  8721. IFS=$as_save_IFS
  8722. fi
  8723. fi
  8724. OBJC=$ac_cv_prog_OBJC
  8725. if test -n "$OBJC"; then
  8726. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
  8727. printf "%s\n" "$OBJC" >&6; }
  8728. else
  8729. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8730. printf "%s\n" "no" >&6; }
  8731. fi
  8732. test -n "$OBJC" && break
  8733. done
  8734. fi
  8735. if test -z "$OBJC"; then
  8736. ac_ct_OBJC=$OBJC
  8737. for ac_prog in gcc objcc objc cc CC clang
  8738. do
  8739. # Extract the first word of "$ac_prog", so it can be a program name with args.
  8740. set dummy $ac_prog; ac_word=$2
  8741. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8742. printf %s "checking for $ac_word... " >&6; }
  8743. if test ${ac_cv_prog_ac_ct_OBJC+y}
  8744. then :
  8745. printf %s "(cached) " >&6
  8746. else $as_nop
  8747. if test -n "$ac_ct_OBJC"; then
  8748. ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  8749. else
  8750. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8751. for as_dir in $PATH
  8752. do
  8753. IFS=$as_save_IFS
  8754. case $as_dir in #(((
  8755. '') as_dir=./ ;;
  8756. */) ;;
  8757. *) as_dir=$as_dir/ ;;
  8758. esac
  8759. for ac_exec_ext in '' $ac_executable_extensions; do
  8760. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  8761. ac_cv_prog_ac_ct_OBJC="$ac_prog"
  8762. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  8763. break 2
  8764. fi
  8765. done
  8766. done
  8767. IFS=$as_save_IFS
  8768. fi
  8769. fi
  8770. ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  8771. if test -n "$ac_ct_OBJC"; then
  8772. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
  8773. printf "%s\n" "$ac_ct_OBJC" >&6; }
  8774. else
  8775. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8776. printf "%s\n" "no" >&6; }
  8777. fi
  8778. test -n "$ac_ct_OBJC" && break
  8779. done
  8780. if test "x$ac_ct_OBJC" = x; then
  8781. OBJC="gcc"
  8782. else
  8783. case $cross_compiling:$ac_tool_warned in
  8784. yes:)
  8785. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8786. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8787. ac_tool_warned=yes ;;
  8788. esac
  8789. OBJC=$ac_ct_OBJC
  8790. fi
  8791. fi
  8792. # Provide some information about the compiler.
  8793. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
  8794. set X $ac_compile
  8795. ac_compiler=$2
  8796. for ac_option in --version -v -V -qversion; do
  8797. { { ac_try="$ac_compiler $ac_option >&5"
  8798. case "(($ac_try" in
  8799. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8800. *) ac_try_echo=$ac_try;;
  8801. esac
  8802. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8803. printf "%s\n" "$ac_try_echo"; } >&5
  8804. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  8805. ac_status=$?
  8806. if test -s conftest.err; then
  8807. sed '10a\
  8808. ... rest of stderr output deleted ...
  8809. 10q' conftest.err >conftest.er1
  8810. cat conftest.er1 >&5
  8811. fi
  8812. rm -f conftest.er1 conftest.err
  8813. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8814. test $ac_status = 0; }
  8815. done
  8816. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
  8817. printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
  8818. if test ${ac_cv_objc_compiler_gnu+y}
  8819. then :
  8820. printf %s "(cached) " >&6
  8821. else $as_nop
  8822. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8823. /* end confdefs.h. */
  8824. int
  8825. main (void)
  8826. {
  8827. #ifndef __GNUC__
  8828. choke me
  8829. #endif
  8830. ;
  8831. return 0;
  8832. }
  8833. _ACEOF
  8834. if ac_fn_objc_try_compile "$LINENO"
  8835. then :
  8836. ac_compiler_gnu=yes
  8837. else $as_nop
  8838. ac_compiler_gnu=no
  8839. fi
  8840. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8841. ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  8842. fi
  8843. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
  8844. printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
  8845. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8846. if test $ac_compiler_gnu = yes; then
  8847. GOBJC=yes
  8848. else
  8849. GOBJC=
  8850. fi
  8851. ac_test_OBJCFLAGS=${OBJCFLAGS+y}
  8852. ac_save_OBJCFLAGS=$OBJCFLAGS
  8853. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
  8854. printf %s "checking whether $OBJC accepts -g... " >&6; }
  8855. if test ${ac_cv_prog_objc_g+y}
  8856. then :
  8857. printf %s "(cached) " >&6
  8858. else $as_nop
  8859. ac_save_objc_werror_flag=$ac_objc_werror_flag
  8860. ac_objc_werror_flag=yes
  8861. ac_cv_prog_objc_g=no
  8862. OBJCFLAGS="-g"
  8863. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8864. /* end confdefs.h. */
  8865. int
  8866. main (void)
  8867. {
  8868. ;
  8869. return 0;
  8870. }
  8871. _ACEOF
  8872. if ac_fn_objc_try_compile "$LINENO"
  8873. then :
  8874. ac_cv_prog_objc_g=yes
  8875. else $as_nop
  8876. OBJCFLAGS=""
  8877. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8878. /* end confdefs.h. */
  8879. int
  8880. main (void)
  8881. {
  8882. ;
  8883. return 0;
  8884. }
  8885. _ACEOF
  8886. if ac_fn_objc_try_compile "$LINENO"
  8887. then :
  8888. else $as_nop
  8889. ac_objc_werror_flag=$ac_save_objc_werror_flag
  8890. OBJCFLAGS="-g"
  8891. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8892. /* end confdefs.h. */
  8893. int
  8894. main (void)
  8895. {
  8896. ;
  8897. return 0;
  8898. }
  8899. _ACEOF
  8900. if ac_fn_objc_try_compile "$LINENO"
  8901. then :
  8902. ac_cv_prog_objc_g=yes
  8903. fi
  8904. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8905. fi
  8906. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8907. fi
  8908. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  8909. ac_objc_werror_flag=$ac_save_objc_werror_flag
  8910. fi
  8911. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
  8912. printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
  8913. if test $ac_test_OBJCFLAGS; then
  8914. OBJCFLAGS=$ac_save_OBJCFLAGS
  8915. elif test $ac_cv_prog_objc_g = yes; then
  8916. if test "$GOBJC" = yes; then
  8917. OBJCFLAGS="-g -O2"
  8918. else
  8919. OBJCFLAGS="-g"
  8920. fi
  8921. else
  8922. if test "$GOBJC" = yes; then
  8923. OBJCFLAGS="-O2"
  8924. else
  8925. OBJCFLAGS=
  8926. fi
  8927. fi
  8928. ac_ext=m
  8929. ac_cpp='$OBJCPP $CPPFLAGS'
  8930. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8931. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8932. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8933. ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
  8934. if test "x$ac_cv_header_Metal_Metal_h" = xyes
  8935. then :
  8936. printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
  8937. fi
  8938. ac_ext=c
  8939. ac_cpp='$CPP $CPPFLAGS'
  8940. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8941. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8942. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8943. LIBEXT="dylib"
  8944. DLLFLAGS="$DLLFLAGS -fPIC"
  8945. LDDLLFLAGS="-fPIC"
  8946. COREFOUNDATION_LIBS="-framework CoreFoundation"
  8947. IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
  8948. APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
  8949. CORESERVICES_LIBS="-framework CoreServices"
  8950. APPKIT_LIBS="-framework AppKit"
  8951. SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
  8952. WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
  8953. wine_can_build_preloader=yes
  8954. 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"
  8955. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
  8956. printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
  8957. if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
  8958. then :
  8959. printf %s "(cached) " >&6
  8960. else $as_nop
  8961. ac_wine_try_cflags_saved=$CFLAGS
  8962. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
  8963. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8964. /* end confdefs.h. */
  8965. int main(int argc, char **argv) { return 0; }
  8966. _ACEOF
  8967. if ac_fn_c_try_link "$LINENO"
  8968. then :
  8969. ac_cv_cflags__Wl__no_new_main__e__main=yes
  8970. else $as_nop
  8971. ac_cv_cflags__Wl__no_new_main__e__main=no
  8972. fi
  8973. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  8974. conftest$ac_exeext conftest.$ac_ext
  8975. CFLAGS=$ac_wine_try_cflags_saved
  8976. fi
  8977. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
  8978. printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
  8979. if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
  8980. then :
  8981. WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
  8982. { 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
  8983. printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8984. if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
  8985. then :
  8986. printf %s "(cached) " >&6
  8987. else $as_nop
  8988. ac_wine_try_cflags_saved=$CFLAGS
  8989. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8990. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8991. /* end confdefs.h. */
  8992. int main(int argc, char **argv) { return 0; }
  8993. _ACEOF
  8994. if ac_fn_c_try_link "$LINENO"
  8995. then :
  8996. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8997. else $as_nop
  8998. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8999. fi
  9000. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9001. conftest$ac_exeext conftest.$ac_ext
  9002. CFLAGS=$ac_wine_try_cflags_saved
  9003. fi
  9004. { 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
  9005. printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  9006. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
  9007. then :
  9008. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  9009. else $as_nop
  9010. wine_can_build_preloader=no
  9011. fi
  9012. else $as_nop
  9013. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  9014. printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  9015. if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
  9016. then :
  9017. printf %s "(cached) " >&6
  9018. else $as_nop
  9019. ac_wine_try_cflags_saved=$CFLAGS
  9020. CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  9021. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9022. /* end confdefs.h. */
  9023. int main(int argc, char **argv) { return 0; }
  9024. _ACEOF
  9025. if ac_fn_c_try_link "$LINENO"
  9026. then :
  9027. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  9028. else $as_nop
  9029. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  9030. fi
  9031. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9032. conftest$ac_exeext conftest.$ac_ext
  9033. CFLAGS=$ac_wine_try_cflags_saved
  9034. fi
  9035. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  9036. printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  9037. if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
  9038. then :
  9039. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  9040. else $as_nop
  9041. wine_can_build_preloader=no
  9042. fi
  9043. fi
  9044. if test "$wine_can_build_preloader" = "yes"
  9045. then
  9046. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
  9047. printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
  9048. if test ${ac_cv_cflags__Wl__no_pie+y}
  9049. then :
  9050. printf %s "(cached) " >&6
  9051. else $as_nop
  9052. ac_wine_try_cflags_saved=$CFLAGS
  9053. CFLAGS="$CFLAGS -Wl,-no_pie"
  9054. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9055. /* end confdefs.h. */
  9056. int main(int argc, char **argv) { return 0; }
  9057. _ACEOF
  9058. if ac_fn_c_try_link "$LINENO"
  9059. then :
  9060. ac_cv_cflags__Wl__no_pie=yes
  9061. else $as_nop
  9062. ac_cv_cflags__Wl__no_pie=no
  9063. fi
  9064. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9065. conftest$ac_exeext conftest.$ac_ext
  9066. CFLAGS=$ac_wine_try_cflags_saved
  9067. fi
  9068. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
  9069. printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
  9070. if test "x$ac_cv_cflags__Wl__no_pie" = xyes
  9071. then :
  9072. WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
  9073. fi
  9074. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  9075. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  9076. else
  9077. as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
  9078. fi
  9079. if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
  9080. then
  9081. DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
  9082. fi
  9083. if test "$ac_cv_header_Security_Security_h" = "yes"
  9084. then
  9085. SECURITY_LIBS="-framework Security -framework CoreFoundation"
  9086. fi
  9087. if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
  9088. then
  9089. COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
  9090. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
  9091. fi
  9092. if test "$ac_cv_header_OpenAL_al_h" = "yes"
  9093. then
  9094. OPENAL_LIBS="-framework OpenAL"
  9095. printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
  9096. ac_cv_lib_openal=yes
  9097. fi
  9098. if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
  9099. then
  9100. OPENCL_LIBS="-framework OpenCL"
  9101. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  9102. fi
  9103. if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
  9104. then
  9105. ac_save_LIBS="$LIBS"
  9106. LIBS="$LIBS $IOKIT_LIBS"
  9107. ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
  9108. if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
  9109. then :
  9110. printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
  9111. fi
  9112. LIBS="$ac_save_LIBS"
  9113. fi
  9114. if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
  9115. then
  9116. CARBON_LIBS="-framework Carbon"
  9117. fi
  9118. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  9119. then
  9120. METAL_LIBS="-framework Metal"
  9121. fi
  9122. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  9123. then
  9124. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
  9125. printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
  9126. ac_ext=m
  9127. ac_cpp='$OBJCPP $CPPFLAGS'
  9128. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9129. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9130. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9131. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9132. /* end confdefs.h. */
  9133. #include <Metal/Metal.h>
  9134. int
  9135. main (void)
  9136. {
  9137. id<MTLDevice> device; device.registryID;
  9138. ;
  9139. return 0;
  9140. }
  9141. _ACEOF
  9142. if ac_fn_objc_try_compile "$LINENO"
  9143. then :
  9144. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9145. printf "%s\n" "yes" >&6; }
  9146. printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
  9147. else $as_nop
  9148. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9149. printf "%s\n" "no" >&6; }
  9150. fi
  9151. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  9152. ac_ext=c
  9153. ac_cpp='$CPP $CPPFLAGS'
  9154. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9155. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9156. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9157. fi
  9158. if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
  9159. then
  9160. ac_save_LIBS="$LIBS"
  9161. LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
  9162. ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
  9163. if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
  9164. then :
  9165. enable_winemac_drv=${enable_winemac_drv:-yes}
  9166. fi
  9167. LIBS="$ac_save_LIBS"
  9168. fi
  9169. UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
  9170. LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
  9171. LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
  9172. WINELOADER_DEPENDS="wine_info.plist"
  9173. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
  9174. ;;
  9175. linux-android*)
  9176. printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
  9177. DLLFLAGS="$DLLFLAGS -fPIC"
  9178. LDDLLFLAGS="-fPIC"
  9179. LDEXECFLAGS="-Wl,-pie"
  9180. enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
  9181. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
  9182. printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
  9183. if test ${ac_cv_cflags__Wl__z_defs+y}
  9184. then :
  9185. printf %s "(cached) " >&6
  9186. else $as_nop
  9187. ac_wine_try_cflags_saved=$CFLAGS
  9188. CFLAGS="$CFLAGS -Wl,-z,defs"
  9189. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9190. /* end confdefs.h. */
  9191. int main(int argc, char **argv) { return 0; }
  9192. _ACEOF
  9193. if ac_fn_c_try_link "$LINENO"
  9194. then :
  9195. ac_cv_cflags__Wl__z_defs=yes
  9196. else $as_nop
  9197. ac_cv_cflags__Wl__z_defs=no
  9198. fi
  9199. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9200. conftest$ac_exeext conftest.$ac_ext
  9201. CFLAGS=$ac_wine_try_cflags_saved
  9202. fi
  9203. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
  9204. printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
  9205. if test "x$ac_cv_cflags__Wl__z_defs" = xyes
  9206. then :
  9207. UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
  9208. fi
  9209. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
  9210. printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
  9211. if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
  9212. then :
  9213. printf %s "(cached) " >&6
  9214. else $as_nop
  9215. ac_wine_try_cflags_saved=$CFLAGS
  9216. CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
  9217. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9218. /* end confdefs.h. */
  9219. int main(int argc, char **argv) { return 0; }
  9220. _ACEOF
  9221. if ac_fn_c_try_link "$LINENO"
  9222. then :
  9223. ac_cv_cflags__fPIC__Wl___export_dynamic=yes
  9224. else $as_nop
  9225. ac_cv_cflags__fPIC__Wl___export_dynamic=no
  9226. fi
  9227. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9228. conftest$ac_exeext conftest.$ac_ext
  9229. CFLAGS=$ac_wine_try_cflags_saved
  9230. fi
  9231. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
  9232. printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
  9233. if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
  9234. then :
  9235. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  9236. fi
  9237. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  9238. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
  9239. printf %s "checking for -lEGL... " >&6; }
  9240. if test ${ac_cv_lib_soname_EGL+y}
  9241. then :
  9242. printf %s "(cached) " >&6
  9243. else $as_nop
  9244. ac_check_soname_save_LIBS=$LIBS
  9245. LIBS="-lEGL $LIBS"
  9246. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9247. /* end confdefs.h. */
  9248. /* Override any GCC internal prototype to avoid an error.
  9249. Use char because int might match the return type of a GCC
  9250. builtin and then its argument prototype would still apply. */
  9251. char eglGetProcAddress ();
  9252. int
  9253. main (void)
  9254. {
  9255. return eglGetProcAddress ();
  9256. ;
  9257. return 0;
  9258. }
  9259. _ACEOF
  9260. if ac_fn_c_try_link "$LINENO"
  9261. then :
  9262. case "$LIBEXT" in
  9263. dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  9264. 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'` ;;
  9265. *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  9266. if ${ac_cv_lib_soname_EGL:+false} :
  9267. then :
  9268. ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  9269. fi ;;
  9270. esac
  9271. else $as_nop
  9272. ac_cv_lib_soname_EGL=
  9273. fi
  9274. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9275. conftest$ac_exeext conftest.$ac_ext
  9276. LIBS=$ac_check_soname_save_LIBS
  9277. fi
  9278. if ${ac_cv_lib_soname_EGL:+false} :
  9279. then :
  9280. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  9281. printf "%s\n" "not found" >&6; }
  9282. else $as_nop
  9283. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
  9284. printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
  9285. printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
  9286. fi
  9287. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
  9288. printf %s "checking for -lGLESv2... " >&6; }
  9289. if test ${ac_cv_lib_soname_GLESv2+y}
  9290. then :
  9291. printf %s "(cached) " >&6
  9292. else $as_nop
  9293. ac_check_soname_save_LIBS=$LIBS
  9294. LIBS="-lGLESv2 $LIBS"
  9295. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9296. /* end confdefs.h. */
  9297. /* Override any GCC internal prototype to avoid an error.
  9298. Use char because int might match the return type of a GCC
  9299. builtin and then its argument prototype would still apply. */
  9300. char glFlush ();
  9301. int
  9302. main (void)
  9303. {
  9304. return glFlush ();
  9305. ;
  9306. return 0;
  9307. }
  9308. _ACEOF
  9309. if ac_fn_c_try_link "$LINENO"
  9310. then :
  9311. case "$LIBEXT" in
  9312. dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  9313. 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'` ;;
  9314. *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  9315. if ${ac_cv_lib_soname_GLESv2:+false} :
  9316. then :
  9317. ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  9318. fi ;;
  9319. esac
  9320. else $as_nop
  9321. ac_cv_lib_soname_GLESv2=
  9322. fi
  9323. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9324. conftest$ac_exeext conftest.$ac_ext
  9325. LIBS=$ac_check_soname_save_LIBS
  9326. fi
  9327. if ${ac_cv_lib_soname_GLESv2:+false} :
  9328. then :
  9329. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  9330. printf "%s\n" "not found" >&6; }
  9331. else $as_nop
  9332. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
  9333. printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
  9334. printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
  9335. fi
  9336. if test "x$exec_prefix" = xNONE
  9337. then
  9338. case $host_cpu in
  9339. *i[3456]86*) exec_prefix='${prefix}/x86' ;;
  9340. *x86_64*) exec_prefix='${prefix}/x86_64' ;;
  9341. *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
  9342. *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
  9343. esac
  9344. fi
  9345. ;;
  9346. *)
  9347. printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
  9348. test "$ac_cv_sys_file_offset_bits" = 64 &&
  9349. printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
  9350. case $host_cpu in
  9351. *i[3456789]86*)
  9352. DLLFLAGS="$DLLFLAGS -fno-PIC"
  9353. LDDLLFLAGS="-fno-PIC"
  9354. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
  9355. printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
  9356. if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
  9357. then :
  9358. printf %s "(cached) " >&6
  9359. else $as_nop
  9360. ac_wine_try_cflags_saved=$CFLAGS
  9361. CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
  9362. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9363. /* end confdefs.h. */
  9364. int main(int argc, char **argv) { return 0; }
  9365. _ACEOF
  9366. if ac_fn_c_try_link "$LINENO"
  9367. then :
  9368. ac_cv_cflags__fno_PIC__Wl__z_notext=yes
  9369. else $as_nop
  9370. ac_cv_cflags__fno_PIC__Wl__z_notext=no
  9371. fi
  9372. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9373. conftest$ac_exeext conftest.$ac_ext
  9374. CFLAGS=$ac_wine_try_cflags_saved
  9375. fi
  9376. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
  9377. printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
  9378. if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
  9379. then :
  9380. LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
  9381. fi
  9382. ;;
  9383. *)
  9384. DLLFLAGS="$DLLFLAGS -fPIC"
  9385. LDDLLFLAGS="-fPIC" ;;
  9386. esac
  9387. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
  9388. echo '{ global: *; };' >conftest.map
  9389. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
  9390. printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
  9391. if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
  9392. then :
  9393. printf %s "(cached) " >&6
  9394. else $as_nop
  9395. ac_wine_try_cflags_saved=$CFLAGS
  9396. CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
  9397. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9398. /* end confdefs.h. */
  9399. int main(int argc, char **argv) { return 0; }
  9400. _ACEOF
  9401. if ac_fn_c_try_link "$LINENO"
  9402. then :
  9403. ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
  9404. else $as_nop
  9405. ac_cv_cflags__shared__Wl___version_script_conftest_map=no
  9406. fi
  9407. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9408. conftest$ac_exeext conftest.$ac_ext
  9409. CFLAGS=$ac_wine_try_cflags_saved
  9410. fi
  9411. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
  9412. printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
  9413. if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
  9414. then :
  9415. LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
  9416. fi
  9417. rm -f conftest.map
  9418. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
  9419. printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
  9420. if test ${ac_cv_cflags__Wl__z_defs+y}
  9421. then :
  9422. printf %s "(cached) " >&6
  9423. else $as_nop
  9424. ac_wine_try_cflags_saved=$CFLAGS
  9425. CFLAGS="$CFLAGS -Wl,-z,defs"
  9426. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9427. /* end confdefs.h. */
  9428. int main(int argc, char **argv) { return 0; }
  9429. _ACEOF
  9430. if ac_fn_c_try_link "$LINENO"
  9431. then :
  9432. ac_cv_cflags__Wl__z_defs=yes
  9433. else $as_nop
  9434. ac_cv_cflags__Wl__z_defs=no
  9435. fi
  9436. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9437. conftest$ac_exeext conftest.$ac_ext
  9438. CFLAGS=$ac_wine_try_cflags_saved
  9439. fi
  9440. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
  9441. printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
  9442. if test "x$ac_cv_cflags__Wl__z_defs" = xyes
  9443. then :
  9444. UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
  9445. fi
  9446. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
  9447. printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
  9448. if test ${ac_cv_cflags__Wl___export_dynamic+y}
  9449. then :
  9450. printf %s "(cached) " >&6
  9451. else $as_nop
  9452. ac_wine_try_cflags_saved=$CFLAGS
  9453. CFLAGS="$CFLAGS -Wl,--export-dynamic"
  9454. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9455. /* end confdefs.h. */
  9456. int main(int argc, char **argv) { return 0; }
  9457. _ACEOF
  9458. if ac_fn_c_try_link "$LINENO"
  9459. then :
  9460. ac_cv_cflags__Wl___export_dynamic=yes
  9461. else $as_nop
  9462. ac_cv_cflags__Wl___export_dynamic=no
  9463. fi
  9464. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9465. conftest$ac_exeext conftest.$ac_ext
  9466. CFLAGS=$ac_wine_try_cflags_saved
  9467. fi
  9468. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
  9469. printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
  9470. if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
  9471. then :
  9472. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  9473. fi
  9474. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  9475. case $host_cpu in
  9476. *i[3456789]86* | x86_64 | *aarch64* | arm*)
  9477. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
  9478. printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
  9479. if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
  9480. then :
  9481. printf %s "(cached) " >&6
  9482. else $as_nop
  9483. ac_wine_try_cflags_saved=$CFLAGS
  9484. CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
  9485. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9486. /* end confdefs.h. */
  9487. int main(int argc, char **argv) { return 0; }
  9488. _ACEOF
  9489. if ac_fn_c_try_link "$LINENO"
  9490. then :
  9491. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
  9492. else $as_nop
  9493. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
  9494. fi
  9495. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9496. conftest$ac_exeext conftest.$ac_ext
  9497. CFLAGS=$ac_wine_try_cflags_saved
  9498. fi
  9499. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
  9500. printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
  9501. if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
  9502. then :
  9503. case $host_os in
  9504. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
  9505. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
  9506. esac
  9507. else $as_nop
  9508. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
  9509. printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
  9510. if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
  9511. then :
  9512. printf %s "(cached) " >&6
  9513. else $as_nop
  9514. ac_wine_try_cflags_saved=$CFLAGS
  9515. CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
  9516. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9517. /* end confdefs.h. */
  9518. int main(int argc, char **argv) { return 0; }
  9519. _ACEOF
  9520. if ac_fn_c_try_link "$LINENO"
  9521. then :
  9522. ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
  9523. else $as_nop
  9524. ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
  9525. fi
  9526. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9527. conftest$ac_exeext conftest.$ac_ext
  9528. CFLAGS=$ac_wine_try_cflags_saved
  9529. fi
  9530. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
  9531. printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
  9532. if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
  9533. then :
  9534. case $host_os in
  9535. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
  9536. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
  9537. esac
  9538. fi
  9539. # Extract the first word of "prelink", so it can be a program name with args.
  9540. set dummy prelink; ac_word=$2
  9541. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9542. printf %s "checking for $ac_word... " >&6; }
  9543. if test ${ac_cv_path_PRELINK+y}
  9544. then :
  9545. printf %s "(cached) " >&6
  9546. else $as_nop
  9547. case $PRELINK in
  9548. [\\/]* | ?:[\\/]*)
  9549. ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
  9550. ;;
  9551. *)
  9552. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9553. for as_dir in /sbin /usr/sbin $PATH
  9554. do
  9555. IFS=$as_save_IFS
  9556. case $as_dir in #(((
  9557. '') as_dir=./ ;;
  9558. */) ;;
  9559. *) as_dir=$as_dir/ ;;
  9560. esac
  9561. for ac_exec_ext in '' $ac_executable_extensions; do
  9562. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  9563. ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
  9564. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  9565. break 2
  9566. fi
  9567. done
  9568. done
  9569. IFS=$as_save_IFS
  9570. test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
  9571. ;;
  9572. esac
  9573. fi
  9574. PRELINK=$ac_cv_path_PRELINK
  9575. if test -n "$PRELINK"; then
  9576. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
  9577. printf "%s\n" "$PRELINK" >&6; }
  9578. else
  9579. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9580. printf "%s\n" "no" >&6; }
  9581. fi
  9582. if test "x$PRELINK" = xfalse
  9583. then
  9584. as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
  9585. fi
  9586. fi
  9587. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
  9588. printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
  9589. if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
  9590. then :
  9591. printf %s "(cached) " >&6
  9592. else $as_nop
  9593. ac_wine_try_cflags_saved=$CFLAGS
  9594. CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
  9595. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9596. /* end confdefs.h. */
  9597. int main(int argc, char **argv) { return 0; }
  9598. _ACEOF
  9599. if ac_fn_c_try_link "$LINENO"
  9600. then :
  9601. ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
  9602. else $as_nop
  9603. ac_cv_cflags__Wl__z_max_page_size_0x1000=no
  9604. fi
  9605. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9606. conftest$ac_exeext conftest.$ac_ext
  9607. CFLAGS=$ac_wine_try_cflags_saved
  9608. fi
  9609. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
  9610. printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
  9611. if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
  9612. then :
  9613. WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
  9614. fi
  9615. ;;
  9616. esac
  9617. LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
  9618. LIBWINE_DEPENDS="wine.map"
  9619. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
  9620. ;;
  9621. esac
  9622. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
  9623. enable_wineandroid_drv=${enable_wineandroid_drv:-no}
  9624. enable_winemac_drv=${enable_winemac_drv:-no}
  9625. if test "x$with_mingw" != xno
  9626. then
  9627. case "x$with_mingw" in
  9628. x|xyes) case "$host_cpu" in
  9629. aarch64*)
  9630. ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
  9631. arm*)
  9632. ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
  9633. i[3456789]86*)
  9634. 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
  9635. i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
  9636. mingw32-gcc clang" ;;
  9637. x86_64)
  9638. 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
  9639. x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
  9640. *)
  9641. ac_prefix_list="" ;;
  9642. esac
  9643. for ac_prog in $ac_prefix_list
  9644. do
  9645. # Extract the first word of "$ac_prog", so it can be a program name with args.
  9646. set dummy $ac_prog; ac_word=$2
  9647. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9648. printf %s "checking for $ac_word... " >&6; }
  9649. if test ${ac_cv_prog_CROSSCC+y}
  9650. then :
  9651. printf %s "(cached) " >&6
  9652. else $as_nop
  9653. if test -n "$CROSSCC"; then
  9654. ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
  9655. else
  9656. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9657. for as_dir in $PATH
  9658. do
  9659. IFS=$as_save_IFS
  9660. case $as_dir in #(((
  9661. '') as_dir=./ ;;
  9662. */) ;;
  9663. *) as_dir=$as_dir/ ;;
  9664. esac
  9665. for ac_exec_ext in '' $ac_executable_extensions; do
  9666. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  9667. ac_cv_prog_CROSSCC="$ac_prog"
  9668. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  9669. break 2
  9670. fi
  9671. done
  9672. done
  9673. IFS=$as_save_IFS
  9674. fi
  9675. fi
  9676. CROSSCC=$ac_cv_prog_CROSSCC
  9677. if test -n "$CROSSCC"; then
  9678. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
  9679. printf "%s\n" "$CROSSCC" >&6; }
  9680. else
  9681. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9682. printf "%s\n" "no" >&6; }
  9683. fi
  9684. test -n "$CROSSCC" && break
  9685. done
  9686. test -n "$CROSSCC" || CROSSCC="false"
  9687. ;;
  9688. *) CROSSCC=$with_mingw ;;
  9689. esac
  9690. if test "$CROSSCC" != "false"
  9691. then
  9692. ac_save_CC="$CC"
  9693. saved_CFLAGS=$CFLAGS
  9694. saved_LDFLAGS=$LDFLAGS
  9695. CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
  9696. EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
  9697. CC="$CROSSCC"
  9698. CFLAGS=$CROSSCFLAGS
  9699. LDFLAGS=$CROSSLDFLAGS
  9700. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
  9701. printf %s "checking whether $CROSSCC works... " >&6; }
  9702. if test ${wine_cv_crosscc+y}
  9703. then :
  9704. printf %s "(cached) " >&6
  9705. else $as_nop
  9706. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9707. /* end confdefs.h. */
  9708. int
  9709. main (void)
  9710. {
  9711. ;
  9712. return 0;
  9713. }
  9714. _ACEOF
  9715. if ac_fn_c_try_compile "$LINENO"
  9716. then :
  9717. wine_cv_crosscc=yes
  9718. else $as_nop
  9719. wine_cv_crosscc=no
  9720. fi
  9721. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  9722. fi
  9723. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
  9724. printf "%s\n" "$wine_cv_crosscc" >&6; }
  9725. if test $wine_cv_crosscc = yes
  9726. then
  9727. set x $CROSSCC
  9728. shift
  9729. while test $# -ge 1
  9730. do
  9731. case "$1" in
  9732. *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
  9733. *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
  9734. esac
  9735. shift
  9736. done
  9737. llvm_target=$CROSSTARGET
  9738. llvm_cflags="-fuse-ld=lld"
  9739. if test -z "$llvm_target"
  9740. then
  9741. case $host_cpu in
  9742. *i[3456789]86*) llvm_target=i686-windows ;;
  9743. *) llvm_target=$host_cpu-windows ;;
  9744. esac
  9745. fi
  9746. case $llvm_target in
  9747. *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
  9748. esac
  9749. as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
  9750. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
  9751. printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
  9752. if eval test \${$as_ac_var+y}
  9753. then :
  9754. printf %s "(cached) " >&6
  9755. else $as_nop
  9756. ac_wine_try_cflags_saved=$CFLAGS
  9757. ac_wine_try_cflags_saved_cc=$CC
  9758. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9759. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
  9760. CC="$CROSSCC"
  9761. ac_exeext=".exe"
  9762. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9763. /* end confdefs.h. */
  9764. int __cdecl mainCRTStartup(void) { return 0; }
  9765. _ACEOF
  9766. if ac_fn_c_try_link "$LINENO"
  9767. then :
  9768. eval "$as_ac_var=yes"
  9769. else $as_nop
  9770. eval "$as_ac_var=no"
  9771. fi
  9772. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9773. conftest$ac_exeext conftest.$ac_ext
  9774. CFLAGS=$ac_wine_try_cflags_saved
  9775. CC=$ac_wine_try_cflags_saved_cc
  9776. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9777. fi
  9778. eval ac_res=\$$as_ac_var
  9779. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9780. printf "%s\n" "$ac_res" >&6; }
  9781. if eval test \"x\$"$as_ac_var"\" = x"yes"
  9782. then :
  9783. CROSSTARGET=$llvm_target
  9784. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
  9785. DELAYLOADFLAG="-Wl,-delayload,"
  9786. CFLAGS="$CFLAGS $llvm_cflags"
  9787. fi
  9788. fi
  9789. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
  9790. printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
  9791. if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
  9792. then :
  9793. printf %s "(cached) " >&6
  9794. else $as_nop
  9795. ac_wine_try_cflags_saved=$CFLAGS
  9796. ac_wine_try_cflags_saved_cc=$CC
  9797. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9798. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
  9799. CC="$CROSSCC"
  9800. ac_exeext=".exe"
  9801. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9802. /* end confdefs.h. */
  9803. int __cdecl mainCRTStartup(void) { return 0; }
  9804. _ACEOF
  9805. if ac_fn_c_try_link "$LINENO"
  9806. then :
  9807. ac_cv_crosscflags__fno_strict_aliasing=yes
  9808. else $as_nop
  9809. ac_cv_crosscflags__fno_strict_aliasing=no
  9810. fi
  9811. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9812. conftest$ac_exeext conftest.$ac_ext
  9813. CFLAGS=$ac_wine_try_cflags_saved
  9814. CC=$ac_wine_try_cflags_saved_cc
  9815. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9816. fi
  9817. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
  9818. printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
  9819. if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
  9820. then :
  9821. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
  9822. fi
  9823. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
  9824. printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
  9825. if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
  9826. then :
  9827. printf %s "(cached) " >&6
  9828. else $as_nop
  9829. ac_wine_try_cflags_saved=$CFLAGS
  9830. ac_wine_try_cflags_saved_cc=$CC
  9831. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9832. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
  9833. CC="$CROSSCC"
  9834. ac_exeext=".exe"
  9835. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9836. /* end confdefs.h. */
  9837. int __cdecl mainCRTStartup(void) { return 0; }
  9838. _ACEOF
  9839. if ac_fn_c_try_link "$LINENO"
  9840. then :
  9841. ac_cv_crosscflags__Werror_unknown_warning_option=yes
  9842. else $as_nop
  9843. ac_cv_crosscflags__Werror_unknown_warning_option=no
  9844. fi
  9845. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9846. conftest$ac_exeext conftest.$ac_ext
  9847. CFLAGS=$ac_wine_try_cflags_saved
  9848. CC=$ac_wine_try_cflags_saved_cc
  9849. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9850. fi
  9851. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
  9852. printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
  9853. if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
  9854. then :
  9855. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  9856. fi
  9857. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
  9858. printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
  9859. if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
  9860. then :
  9861. printf %s "(cached) " >&6
  9862. else $as_nop
  9863. ac_wine_try_cflags_saved=$CFLAGS
  9864. ac_wine_try_cflags_saved_cc=$CC
  9865. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9866. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
  9867. CC="$CROSSCC"
  9868. ac_exeext=".exe"
  9869. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9870. /* end confdefs.h. */
  9871. int __cdecl mainCRTStartup(void) { return 0; }
  9872. _ACEOF
  9873. if ac_fn_c_try_link "$LINENO"
  9874. then :
  9875. ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
  9876. else $as_nop
  9877. ac_cv_crosscflags__Werror_ignored_optimization_argument=no
  9878. fi
  9879. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9880. conftest$ac_exeext conftest.$ac_ext
  9881. CFLAGS=$ac_wine_try_cflags_saved
  9882. CC=$ac_wine_try_cflags_saved_cc
  9883. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9884. fi
  9885. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
  9886. printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
  9887. if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
  9888. then :
  9889. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  9890. fi
  9891. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
  9892. printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
  9893. if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
  9894. then :
  9895. printf %s "(cached) " >&6
  9896. else $as_nop
  9897. ac_wine_try_cflags_saved=$CFLAGS
  9898. ac_wine_try_cflags_saved_cc=$CC
  9899. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9900. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
  9901. CC="$CROSSCC"
  9902. ac_exeext=".exe"
  9903. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9904. /* end confdefs.h. */
  9905. int __cdecl mainCRTStartup(void) { return 0; }
  9906. _ACEOF
  9907. if ac_fn_c_try_link "$LINENO"
  9908. then :
  9909. ac_cv_crosscflags__Wdeclaration_after_statement=yes
  9910. else $as_nop
  9911. ac_cv_crosscflags__Wdeclaration_after_statement=no
  9912. fi
  9913. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9914. conftest$ac_exeext conftest.$ac_ext
  9915. CFLAGS=$ac_wine_try_cflags_saved
  9916. CC=$ac_wine_try_cflags_saved_cc
  9917. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9918. fi
  9919. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
  9920. printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
  9921. if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
  9922. then :
  9923. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
  9924. fi
  9925. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
  9926. printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
  9927. if test ${ac_cv_crosscflags__Wempty_body+y}
  9928. then :
  9929. printf %s "(cached) " >&6
  9930. else $as_nop
  9931. ac_wine_try_cflags_saved=$CFLAGS
  9932. ac_wine_try_cflags_saved_cc=$CC
  9933. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9934. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
  9935. CC="$CROSSCC"
  9936. ac_exeext=".exe"
  9937. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9938. /* end confdefs.h. */
  9939. int __cdecl mainCRTStartup(void) { return 0; }
  9940. _ACEOF
  9941. if ac_fn_c_try_link "$LINENO"
  9942. then :
  9943. ac_cv_crosscflags__Wempty_body=yes
  9944. else $as_nop
  9945. ac_cv_crosscflags__Wempty_body=no
  9946. fi
  9947. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9948. conftest$ac_exeext conftest.$ac_ext
  9949. CFLAGS=$ac_wine_try_cflags_saved
  9950. CC=$ac_wine_try_cflags_saved_cc
  9951. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9952. fi
  9953. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
  9954. printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
  9955. if test "x$ac_cv_crosscflags__Wempty_body" = xyes
  9956. then :
  9957. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
  9958. fi
  9959. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
  9960. printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
  9961. if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
  9962. then :
  9963. printf %s "(cached) " >&6
  9964. else $as_nop
  9965. ac_wine_try_cflags_saved=$CFLAGS
  9966. ac_wine_try_cflags_saved_cc=$CC
  9967. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9968. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
  9969. CC="$CROSSCC"
  9970. ac_exeext=".exe"
  9971. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9972. /* end confdefs.h. */
  9973. int __cdecl mainCRTStartup(void) { return 0; }
  9974. _ACEOF
  9975. if ac_fn_c_try_link "$LINENO"
  9976. then :
  9977. ac_cv_crosscflags__Wignored_qualifiers=yes
  9978. else $as_nop
  9979. ac_cv_crosscflags__Wignored_qualifiers=no
  9980. fi
  9981. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  9982. conftest$ac_exeext conftest.$ac_ext
  9983. CFLAGS=$ac_wine_try_cflags_saved
  9984. CC=$ac_wine_try_cflags_saved_cc
  9985. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9986. fi
  9987. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
  9988. printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
  9989. if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
  9990. then :
  9991. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
  9992. fi
  9993. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
  9994. printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
  9995. if test ${ac_cv_crosscflags__Winit_self+y}
  9996. then :
  9997. printf %s "(cached) " >&6
  9998. else $as_nop
  9999. ac_wine_try_cflags_saved=$CFLAGS
  10000. ac_wine_try_cflags_saved_cc=$CC
  10001. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10002. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
  10003. CC="$CROSSCC"
  10004. ac_exeext=".exe"
  10005. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10006. /* end confdefs.h. */
  10007. int __cdecl mainCRTStartup(void) { return 0; }
  10008. _ACEOF
  10009. if ac_fn_c_try_link "$LINENO"
  10010. then :
  10011. ac_cv_crosscflags__Winit_self=yes
  10012. else $as_nop
  10013. ac_cv_crosscflags__Winit_self=no
  10014. fi
  10015. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10016. conftest$ac_exeext conftest.$ac_ext
  10017. CFLAGS=$ac_wine_try_cflags_saved
  10018. CC=$ac_wine_try_cflags_saved_cc
  10019. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10020. fi
  10021. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
  10022. printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
  10023. if test "x$ac_cv_crosscflags__Winit_self" = xyes
  10024. then :
  10025. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
  10026. fi
  10027. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
  10028. printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
  10029. if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
  10030. then :
  10031. printf %s "(cached) " >&6
  10032. else $as_nop
  10033. ac_wine_try_cflags_saved=$CFLAGS
  10034. ac_wine_try_cflags_saved_cc=$CC
  10035. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10036. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
  10037. CC="$CROSSCC"
  10038. ac_exeext=".exe"
  10039. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10040. /* end confdefs.h. */
  10041. int __cdecl mainCRTStartup(void) { return 0; }
  10042. _ACEOF
  10043. if ac_fn_c_try_link "$LINENO"
  10044. then :
  10045. ac_cv_crosscflags__Wpacked_not_aligned=yes
  10046. else $as_nop
  10047. ac_cv_crosscflags__Wpacked_not_aligned=no
  10048. fi
  10049. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10050. conftest$ac_exeext conftest.$ac_ext
  10051. CFLAGS=$ac_wine_try_cflags_saved
  10052. CC=$ac_wine_try_cflags_saved_cc
  10053. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10054. fi
  10055. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
  10056. printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
  10057. if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
  10058. then :
  10059. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
  10060. fi
  10061. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
  10062. printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
  10063. if test ${ac_cv_crosscflags__Wpragma_pack+y}
  10064. then :
  10065. printf %s "(cached) " >&6
  10066. else $as_nop
  10067. ac_wine_try_cflags_saved=$CFLAGS
  10068. ac_wine_try_cflags_saved_cc=$CC
  10069. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10070. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
  10071. CC="$CROSSCC"
  10072. ac_exeext=".exe"
  10073. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10074. /* end confdefs.h. */
  10075. int __cdecl mainCRTStartup(void) { return 0; }
  10076. _ACEOF
  10077. if ac_fn_c_try_link "$LINENO"
  10078. then :
  10079. ac_cv_crosscflags__Wpragma_pack=yes
  10080. else $as_nop
  10081. ac_cv_crosscflags__Wpragma_pack=no
  10082. fi
  10083. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10084. conftest$ac_exeext conftest.$ac_ext
  10085. CFLAGS=$ac_wine_try_cflags_saved
  10086. CC=$ac_wine_try_cflags_saved_cc
  10087. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10088. fi
  10089. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
  10090. printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
  10091. if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
  10092. then :
  10093. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
  10094. fi
  10095. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
  10096. printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
  10097. if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
  10098. then :
  10099. printf %s "(cached) " >&6
  10100. else $as_nop
  10101. ac_wine_try_cflags_saved=$CFLAGS
  10102. ac_wine_try_cflags_saved_cc=$CC
  10103. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10104. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
  10105. CC="$CROSSCC"
  10106. ac_exeext=".exe"
  10107. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10108. /* end confdefs.h. */
  10109. int __cdecl mainCRTStartup(void) { return 0; }
  10110. _ACEOF
  10111. if ac_fn_c_try_link "$LINENO"
  10112. then :
  10113. ac_cv_crosscflags__Wshift_overflow_2=yes
  10114. else $as_nop
  10115. ac_cv_crosscflags__Wshift_overflow_2=no
  10116. fi
  10117. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10118. conftest$ac_exeext conftest.$ac_ext
  10119. CFLAGS=$ac_wine_try_cflags_saved
  10120. CC=$ac_wine_try_cflags_saved_cc
  10121. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10122. fi
  10123. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
  10124. printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
  10125. if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
  10126. then :
  10127. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
  10128. fi
  10129. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
  10130. printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
  10131. if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
  10132. then :
  10133. printf %s "(cached) " >&6
  10134. else $as_nop
  10135. ac_wine_try_cflags_saved=$CFLAGS
  10136. ac_wine_try_cflags_saved_cc=$CC
  10137. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10138. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
  10139. CC="$CROSSCC"
  10140. ac_exeext=".exe"
  10141. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10142. /* end confdefs.h. */
  10143. int __cdecl mainCRTStartup(void) { return 0; }
  10144. _ACEOF
  10145. if ac_fn_c_try_link "$LINENO"
  10146. then :
  10147. ac_cv_crosscflags__Wstrict_prototypes=yes
  10148. else $as_nop
  10149. ac_cv_crosscflags__Wstrict_prototypes=no
  10150. fi
  10151. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10152. conftest$ac_exeext conftest.$ac_ext
  10153. CFLAGS=$ac_wine_try_cflags_saved
  10154. CC=$ac_wine_try_cflags_saved_cc
  10155. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10156. fi
  10157. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
  10158. printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
  10159. if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
  10160. then :
  10161. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
  10162. fi
  10163. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
  10164. printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
  10165. if test ${ac_cv_crosscflags__Wtype_limits+y}
  10166. then :
  10167. printf %s "(cached) " >&6
  10168. else $as_nop
  10169. ac_wine_try_cflags_saved=$CFLAGS
  10170. ac_wine_try_cflags_saved_cc=$CC
  10171. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10172. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
  10173. CC="$CROSSCC"
  10174. ac_exeext=".exe"
  10175. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10176. /* end confdefs.h. */
  10177. int __cdecl mainCRTStartup(void) { return 0; }
  10178. _ACEOF
  10179. if ac_fn_c_try_link "$LINENO"
  10180. then :
  10181. ac_cv_crosscflags__Wtype_limits=yes
  10182. else $as_nop
  10183. ac_cv_crosscflags__Wtype_limits=no
  10184. fi
  10185. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10186. conftest$ac_exeext conftest.$ac_ext
  10187. CFLAGS=$ac_wine_try_cflags_saved
  10188. CC=$ac_wine_try_cflags_saved_cc
  10189. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10190. fi
  10191. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
  10192. printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
  10193. if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
  10194. then :
  10195. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
  10196. fi
  10197. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
  10198. printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
  10199. if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
  10200. then :
  10201. printf %s "(cached) " >&6
  10202. else $as_nop
  10203. ac_wine_try_cflags_saved=$CFLAGS
  10204. ac_wine_try_cflags_saved_cc=$CC
  10205. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10206. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
  10207. CC="$CROSSCC"
  10208. ac_exeext=".exe"
  10209. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10210. /* end confdefs.h. */
  10211. int __cdecl mainCRTStartup(void) { return 0; }
  10212. _ACEOF
  10213. if ac_fn_c_try_link "$LINENO"
  10214. then :
  10215. ac_cv_crosscflags__Wunused_but_set_parameter=yes
  10216. else $as_nop
  10217. ac_cv_crosscflags__Wunused_but_set_parameter=no
  10218. fi
  10219. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10220. conftest$ac_exeext conftest.$ac_ext
  10221. CFLAGS=$ac_wine_try_cflags_saved
  10222. CC=$ac_wine_try_cflags_saved_cc
  10223. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10224. fi
  10225. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
  10226. printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
  10227. if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
  10228. then :
  10229. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
  10230. fi
  10231. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
  10232. printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
  10233. if test ${ac_cv_crosscflags__Wvla+y}
  10234. then :
  10235. printf %s "(cached) " >&6
  10236. else $as_nop
  10237. ac_wine_try_cflags_saved=$CFLAGS
  10238. ac_wine_try_cflags_saved_cc=$CC
  10239. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10240. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
  10241. CC="$CROSSCC"
  10242. ac_exeext=".exe"
  10243. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10244. /* end confdefs.h. */
  10245. int __cdecl mainCRTStartup(void) { return 0; }
  10246. _ACEOF
  10247. if ac_fn_c_try_link "$LINENO"
  10248. then :
  10249. ac_cv_crosscflags__Wvla=yes
  10250. else $as_nop
  10251. ac_cv_crosscflags__Wvla=no
  10252. fi
  10253. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10254. conftest$ac_exeext conftest.$ac_ext
  10255. CFLAGS=$ac_wine_try_cflags_saved
  10256. CC=$ac_wine_try_cflags_saved_cc
  10257. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10258. fi
  10259. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
  10260. printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
  10261. if test "x$ac_cv_crosscflags__Wvla" = xyes
  10262. then :
  10263. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
  10264. fi
  10265. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
  10266. printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
  10267. if test ${ac_cv_crosscflags__Wwrite_strings+y}
  10268. then :
  10269. printf %s "(cached) " >&6
  10270. else $as_nop
  10271. ac_wine_try_cflags_saved=$CFLAGS
  10272. ac_wine_try_cflags_saved_cc=$CC
  10273. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10274. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
  10275. CC="$CROSSCC"
  10276. ac_exeext=".exe"
  10277. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10278. /* end confdefs.h. */
  10279. int __cdecl mainCRTStartup(void) { return 0; }
  10280. _ACEOF
  10281. if ac_fn_c_try_link "$LINENO"
  10282. then :
  10283. ac_cv_crosscflags__Wwrite_strings=yes
  10284. else $as_nop
  10285. ac_cv_crosscflags__Wwrite_strings=no
  10286. fi
  10287. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10288. conftest$ac_exeext conftest.$ac_ext
  10289. CFLAGS=$ac_wine_try_cflags_saved
  10290. CC=$ac_wine_try_cflags_saved_cc
  10291. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10292. fi
  10293. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
  10294. printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
  10295. if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
  10296. then :
  10297. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
  10298. fi
  10299. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
  10300. printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
  10301. if test ${ac_cv_crosscflags__Wpointer_arith+y}
  10302. then :
  10303. printf %s "(cached) " >&6
  10304. else $as_nop
  10305. ac_wine_try_cflags_saved=$CFLAGS
  10306. ac_wine_try_cflags_saved_cc=$CC
  10307. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10308. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
  10309. CC="$CROSSCC"
  10310. ac_exeext=".exe"
  10311. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10312. /* end confdefs.h. */
  10313. int __cdecl mainCRTStartup(void) { return 0; }
  10314. _ACEOF
  10315. if ac_fn_c_try_link "$LINENO"
  10316. then :
  10317. ac_cv_crosscflags__Wpointer_arith=yes
  10318. else $as_nop
  10319. ac_cv_crosscflags__Wpointer_arith=no
  10320. fi
  10321. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10322. conftest$ac_exeext conftest.$ac_ext
  10323. CFLAGS=$ac_wine_try_cflags_saved
  10324. CC=$ac_wine_try_cflags_saved_cc
  10325. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10326. fi
  10327. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
  10328. printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
  10329. if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
  10330. then :
  10331. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
  10332. fi
  10333. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
  10334. printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
  10335. if test ${ac_cv_crosscflags__Wlogical_op+y}
  10336. then :
  10337. printf %s "(cached) " >&6
  10338. else $as_nop
  10339. ac_wine_try_cflags_saved=$CFLAGS
  10340. ac_wine_try_cflags_saved_cc=$CC
  10341. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10342. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
  10343. CC="$CROSSCC"
  10344. ac_exeext=".exe"
  10345. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10346. /* end confdefs.h. */
  10347. int __cdecl mainCRTStartup(void) { return 0; }
  10348. _ACEOF
  10349. if ac_fn_c_try_link "$LINENO"
  10350. then :
  10351. ac_cv_crosscflags__Wlogical_op=yes
  10352. else $as_nop
  10353. ac_cv_crosscflags__Wlogical_op=no
  10354. fi
  10355. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10356. conftest$ac_exeext conftest.$ac_ext
  10357. CFLAGS=$ac_wine_try_cflags_saved
  10358. CC=$ac_wine_try_cflags_saved_cc
  10359. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10360. fi
  10361. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
  10362. printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
  10363. if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
  10364. then :
  10365. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
  10366. fi
  10367. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
  10368. printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
  10369. if test ${ac_cv_crosscflags__Wabsolute_value+y}
  10370. then :
  10371. printf %s "(cached) " >&6
  10372. else $as_nop
  10373. ac_wine_try_cflags_saved=$CFLAGS
  10374. ac_wine_try_cflags_saved_cc=$CC
  10375. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10376. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
  10377. CC="$CROSSCC"
  10378. ac_exeext=".exe"
  10379. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10380. /* end confdefs.h. */
  10381. int __cdecl mainCRTStartup(void) { return 0; }
  10382. _ACEOF
  10383. if ac_fn_c_try_link "$LINENO"
  10384. then :
  10385. ac_cv_crosscflags__Wabsolute_value=yes
  10386. else $as_nop
  10387. ac_cv_crosscflags__Wabsolute_value=no
  10388. fi
  10389. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10390. conftest$ac_exeext conftest.$ac_ext
  10391. CFLAGS=$ac_wine_try_cflags_saved
  10392. CC=$ac_wine_try_cflags_saved_cc
  10393. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10394. fi
  10395. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
  10396. printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
  10397. if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
  10398. then :
  10399. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
  10400. fi
  10401. case $host_cpu in
  10402. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
  10403. printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
  10404. if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
  10405. then :
  10406. printf %s "(cached) " >&6
  10407. else $as_nop
  10408. ac_wine_try_cflags_saved=$CFLAGS
  10409. ac_wine_try_cflags_saved_cc=$CC
  10410. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10411. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
  10412. CC="$CROSSCC"
  10413. ac_exeext=".exe"
  10414. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10415. /* end confdefs.h. */
  10416. int __cdecl mainCRTStartup(void) { return 0; }
  10417. _ACEOF
  10418. if ac_fn_c_try_link "$LINENO"
  10419. then :
  10420. ac_cv_crosscflags__fno_omit_frame_pointer=yes
  10421. else $as_nop
  10422. ac_cv_crosscflags__fno_omit_frame_pointer=no
  10423. fi
  10424. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10425. conftest$ac_exeext conftest.$ac_ext
  10426. CFLAGS=$ac_wine_try_cflags_saved
  10427. CC=$ac_wine_try_cflags_saved_cc
  10428. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10429. fi
  10430. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
  10431. printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
  10432. if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
  10433. then :
  10434. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
  10435. fi ;;
  10436. x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  10437. printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
  10438. if test ${ac_cv_crosscflags__Wno_format+y}
  10439. then :
  10440. printf %s "(cached) " >&6
  10441. else $as_nop
  10442. ac_wine_try_cflags_saved=$CFLAGS
  10443. ac_wine_try_cflags_saved_cc=$CC
  10444. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10445. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  10446. CC="$CROSSCC"
  10447. ac_exeext=".exe"
  10448. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10449. /* end confdefs.h. */
  10450. int __cdecl mainCRTStartup(void) { return 0; }
  10451. _ACEOF
  10452. if ac_fn_c_try_link "$LINENO"
  10453. then :
  10454. ac_cv_crosscflags__Wno_format=yes
  10455. else $as_nop
  10456. ac_cv_crosscflags__Wno_format=no
  10457. fi
  10458. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10459. conftest$ac_exeext conftest.$ac_ext
  10460. CFLAGS=$ac_wine_try_cflags_saved
  10461. CC=$ac_wine_try_cflags_saved_cc
  10462. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10463. fi
  10464. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  10465. printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
  10466. if test "x$ac_cv_crosscflags__Wno_format" = xyes
  10467. then :
  10468. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  10469. fi
  10470. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
  10471. printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
  10472. if test ${ac_cv_crosscflags__Wformat_overflow+y}
  10473. then :
  10474. printf %s "(cached) " >&6
  10475. else $as_nop
  10476. ac_wine_try_cflags_saved=$CFLAGS
  10477. ac_wine_try_cflags_saved_cc=$CC
  10478. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10479. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
  10480. CC="$CROSSCC"
  10481. ac_exeext=".exe"
  10482. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10483. /* end confdefs.h. */
  10484. int __cdecl mainCRTStartup(void) { return 0; }
  10485. _ACEOF
  10486. if ac_fn_c_try_link "$LINENO"
  10487. then :
  10488. ac_cv_crosscflags__Wformat_overflow=yes
  10489. else $as_nop
  10490. ac_cv_crosscflags__Wformat_overflow=no
  10491. fi
  10492. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10493. conftest$ac_exeext conftest.$ac_ext
  10494. CFLAGS=$ac_wine_try_cflags_saved
  10495. CC=$ac_wine_try_cflags_saved_cc
  10496. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10497. fi
  10498. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
  10499. printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
  10500. if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
  10501. then :
  10502. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
  10503. fi
  10504. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
  10505. printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
  10506. if test ${ac_cv_crosscflags__Wnonnull+y}
  10507. then :
  10508. printf %s "(cached) " >&6
  10509. else $as_nop
  10510. ac_wine_try_cflags_saved=$CFLAGS
  10511. ac_wine_try_cflags_saved_cc=$CC
  10512. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10513. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
  10514. CC="$CROSSCC"
  10515. ac_exeext=".exe"
  10516. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10517. /* end confdefs.h. */
  10518. int __cdecl mainCRTStartup(void) { return 0; }
  10519. _ACEOF
  10520. if ac_fn_c_try_link "$LINENO"
  10521. then :
  10522. ac_cv_crosscflags__Wnonnull=yes
  10523. else $as_nop
  10524. ac_cv_crosscflags__Wnonnull=no
  10525. fi
  10526. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10527. conftest$ac_exeext conftest.$ac_ext
  10528. CFLAGS=$ac_wine_try_cflags_saved
  10529. CC=$ac_wine_try_cflags_saved_cc
  10530. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10531. fi
  10532. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
  10533. printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
  10534. if test "x$ac_cv_crosscflags__Wnonnull" = xyes
  10535. then :
  10536. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
  10537. fi
  10538. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
  10539. printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
  10540. if test ${ac_cv_crosscflags__mcx16+y}
  10541. then :
  10542. printf %s "(cached) " >&6
  10543. else $as_nop
  10544. ac_wine_try_cflags_saved=$CFLAGS
  10545. ac_wine_try_cflags_saved_cc=$CC
  10546. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10547. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
  10548. CC="$CROSSCC"
  10549. ac_exeext=".exe"
  10550. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10551. /* end confdefs.h. */
  10552. int __cdecl mainCRTStartup(void) { return 0; }
  10553. _ACEOF
  10554. if ac_fn_c_try_link "$LINENO"
  10555. then :
  10556. ac_cv_crosscflags__mcx16=yes
  10557. else $as_nop
  10558. ac_cv_crosscflags__mcx16=no
  10559. fi
  10560. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10561. conftest$ac_exeext conftest.$ac_ext
  10562. CFLAGS=$ac_wine_try_cflags_saved
  10563. CC=$ac_wine_try_cflags_saved_cc
  10564. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10565. fi
  10566. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
  10567. printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
  10568. if test "x$ac_cv_crosscflags__mcx16" = xyes
  10569. then :
  10570. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
  10571. fi ;;
  10572. aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  10573. printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
  10574. if test ${ac_cv_crosscflags__Wno_format+y}
  10575. then :
  10576. printf %s "(cached) " >&6
  10577. else $as_nop
  10578. ac_wine_try_cflags_saved=$CFLAGS
  10579. ac_wine_try_cflags_saved_cc=$CC
  10580. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10581. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  10582. CC="$CROSSCC"
  10583. ac_exeext=".exe"
  10584. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10585. /* end confdefs.h. */
  10586. int __cdecl mainCRTStartup(void) { return 0; }
  10587. _ACEOF
  10588. if ac_fn_c_try_link "$LINENO"
  10589. then :
  10590. ac_cv_crosscflags__Wno_format=yes
  10591. else $as_nop
  10592. ac_cv_crosscflags__Wno_format=no
  10593. fi
  10594. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10595. conftest$ac_exeext conftest.$ac_ext
  10596. CFLAGS=$ac_wine_try_cflags_saved
  10597. CC=$ac_wine_try_cflags_saved_cc
  10598. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10599. fi
  10600. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  10601. printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
  10602. if test "x$ac_cv_crosscflags__Wno_format" = xyes
  10603. then :
  10604. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  10605. fi ;;
  10606. esac
  10607. if test -z "$CROSSDEBUG"
  10608. then
  10609. for ac_flag in $CROSSCFLAGS; do
  10610. case $ac_flag in
  10611. -gdwarf*) CROSSDEBUG=dwarf ;;
  10612. -gcodeview) CROSSDEBUG=pdb ;;
  10613. -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
  10614. esac
  10615. done
  10616. fi
  10617. ac_debug_format_seen=""
  10618. for ac_flag in $CROSSCFLAGS; do
  10619. case $ac_flag in
  10620. -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
  10621. esac
  10622. done
  10623. if test "x$ac_debug_format_seen" = x
  10624. then
  10625. case $CROSSDEBUG in
  10626. *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
  10627. printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
  10628. if test ${ac_cv_crosscflags__gdwarf_4+y}
  10629. then :
  10630. printf %s "(cached) " >&6
  10631. else $as_nop
  10632. ac_wine_try_cflags_saved=$CFLAGS
  10633. ac_wine_try_cflags_saved_cc=$CC
  10634. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10635. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
  10636. CC="$CROSSCC"
  10637. ac_exeext=".exe"
  10638. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10639. /* end confdefs.h. */
  10640. int __cdecl mainCRTStartup(void) { return 0; }
  10641. _ACEOF
  10642. if ac_fn_c_try_link "$LINENO"
  10643. then :
  10644. ac_cv_crosscflags__gdwarf_4=yes
  10645. else $as_nop
  10646. ac_cv_crosscflags__gdwarf_4=no
  10647. fi
  10648. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10649. conftest$ac_exeext conftest.$ac_ext
  10650. CFLAGS=$ac_wine_try_cflags_saved
  10651. CC=$ac_wine_try_cflags_saved_cc
  10652. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10653. fi
  10654. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
  10655. printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
  10656. if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
  10657. then :
  10658. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
  10659. fi ;;
  10660. pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
  10661. printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
  10662. if test ${ac_cv_crosscflags__gcodeview+y}
  10663. then :
  10664. printf %s "(cached) " >&6
  10665. else $as_nop
  10666. ac_wine_try_cflags_saved=$CFLAGS
  10667. ac_wine_try_cflags_saved_cc=$CC
  10668. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10669. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
  10670. CC="$CROSSCC"
  10671. ac_exeext=".exe"
  10672. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10673. /* end confdefs.h. */
  10674. int __cdecl mainCRTStartup(void) { return 0; }
  10675. _ACEOF
  10676. if ac_fn_c_try_link "$LINENO"
  10677. then :
  10678. ac_cv_crosscflags__gcodeview=yes
  10679. else $as_nop
  10680. ac_cv_crosscflags__gcodeview=no
  10681. fi
  10682. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10683. conftest$ac_exeext conftest.$ac_ext
  10684. CFLAGS=$ac_wine_try_cflags_saved
  10685. CC=$ac_wine_try_cflags_saved_cc
  10686. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10687. fi
  10688. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
  10689. printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
  10690. if test "x$ac_cv_crosscflags__gcodeview" = xyes
  10691. then :
  10692. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
  10693. fi ;;
  10694. esac
  10695. fi
  10696. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
  10697. printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
  10698. if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
  10699. then :
  10700. printf %s "(cached) " >&6
  10701. else $as_nop
  10702. ac_wine_try_cflags_saved=$CFLAGS
  10703. ac_wine_try_cflags_saved_cc=$CC
  10704. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10705. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
  10706. CC="$CROSSCC"
  10707. ac_exeext=".exe"
  10708. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10709. /* end confdefs.h. */
  10710. int __cdecl mainCRTStartup(void) { return 0; }
  10711. _ACEOF
  10712. if ac_fn_c_try_link "$LINENO"
  10713. then :
  10714. ac_cv_crosscflags__fexcess_precision_standard=yes
  10715. else $as_nop
  10716. ac_cv_crosscflags__fexcess_precision_standard=no
  10717. fi
  10718. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10719. conftest$ac_exeext conftest.$ac_ext
  10720. CFLAGS=$ac_wine_try_cflags_saved
  10721. CC=$ac_wine_try_cflags_saved_cc
  10722. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10723. fi
  10724. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
  10725. printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
  10726. if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
  10727. then :
  10728. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  10729. fi
  10730. if test "x$enable_werror" = "xyes"
  10731. then
  10732. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
  10733. printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
  10734. if test ${ac_cv_crosscflags__Werror+y}
  10735. then :
  10736. printf %s "(cached) " >&6
  10737. else $as_nop
  10738. ac_wine_try_cflags_saved=$CFLAGS
  10739. ac_wine_try_cflags_saved_cc=$CC
  10740. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10741. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
  10742. CC="$CROSSCC"
  10743. ac_exeext=".exe"
  10744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10745. /* end confdefs.h. */
  10746. int __cdecl mainCRTStartup(void) { return 0; }
  10747. _ACEOF
  10748. if ac_fn_c_try_link "$LINENO"
  10749. then :
  10750. ac_cv_crosscflags__Werror=yes
  10751. else $as_nop
  10752. ac_cv_crosscflags__Werror=no
  10753. fi
  10754. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10755. conftest$ac_exeext conftest.$ac_ext
  10756. CFLAGS=$ac_wine_try_cflags_saved
  10757. CC=$ac_wine_try_cflags_saved_cc
  10758. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10759. fi
  10760. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
  10761. printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
  10762. if test "x$ac_cv_crosscflags__Werror" = xyes
  10763. then :
  10764. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
  10765. fi
  10766. fi
  10767. if test "x$enable_build_id" = "xyes"
  10768. then
  10769. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
  10770. printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
  10771. if test ${ac_cv_crosscflags__Wl___build_id+y}
  10772. then :
  10773. printf %s "(cached) " >&6
  10774. else $as_nop
  10775. ac_wine_try_cflags_saved=$CFLAGS
  10776. ac_wine_try_cflags_saved_cc=$CC
  10777. ac_wine_try_cflags_saved_exeext=$ac_exeext
  10778. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
  10779. CC="$CROSSCC"
  10780. ac_exeext=".exe"
  10781. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10782. /* end confdefs.h. */
  10783. int __cdecl mainCRTStartup(void) { return 0; }
  10784. _ACEOF
  10785. if ac_fn_c_try_link "$LINENO"
  10786. then :
  10787. ac_cv_crosscflags__Wl___build_id=yes
  10788. else $as_nop
  10789. ac_cv_crosscflags__Wl___build_id=no
  10790. fi
  10791. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10792. conftest$ac_exeext conftest.$ac_ext
  10793. CFLAGS=$ac_wine_try_cflags_saved
  10794. CC=$ac_wine_try_cflags_saved_cc
  10795. ac_exeext=$ac_wine_try_cflags_saved_exeext
  10796. fi
  10797. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
  10798. printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
  10799. if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
  10800. then :
  10801. CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
  10802. CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
  10803. fi
  10804. fi
  10805. CFLAGS=$saved_CFLAGS
  10806. LDFLAGS=$saved_LDFLAGS
  10807. CC="$ac_save_CC"
  10808. fi
  10809. fi
  10810. if test "x$CROSSTARGET" = "x"
  10811. then :
  10812. case "x$with_mingw" in
  10813. x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
  10814. xno) ;;
  10815. *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
  10816. This is an error since --with-mingw was requested." "$LINENO" 5 ;;
  10817. esac
  10818. fi
  10819. if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
  10820. then
  10821. case "$host_cpu" in
  10822. i[3456789]86*)
  10823. ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
  10824. *)
  10825. ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
  10826. esac
  10827. for ac_prog in $ac_prefix_list
  10828. do
  10829. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10830. set dummy $ac_prog; ac_word=$2
  10831. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10832. printf %s "checking for $ac_word... " >&6; }
  10833. if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
  10834. then :
  10835. printf %s "(cached) " >&6
  10836. else $as_nop
  10837. if test -n "$MINGW_PKG_CONFIG"; then
  10838. ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
  10839. else
  10840. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10841. for as_dir in $PATH
  10842. do
  10843. IFS=$as_save_IFS
  10844. case $as_dir in #(((
  10845. '') as_dir=./ ;;
  10846. */) ;;
  10847. *) as_dir=$as_dir/ ;;
  10848. esac
  10849. for ac_exec_ext in '' $ac_executable_extensions; do
  10850. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  10851. ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
  10852. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  10853. break 2
  10854. fi
  10855. done
  10856. done
  10857. IFS=$as_save_IFS
  10858. fi
  10859. fi
  10860. MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
  10861. if test -n "$MINGW_PKG_CONFIG"; then
  10862. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
  10863. printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
  10864. else
  10865. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10866. printf "%s\n" "no" >&6; }
  10867. fi
  10868. test -n "$MINGW_PKG_CONFIG" && break
  10869. done
  10870. test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
  10871. if ${FAUDIO_PE_CFLAGS:+false} :
  10872. then :
  10873. if test ${MINGW_PKG_CONFIG+y}
  10874. then :
  10875. FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
  10876. fi
  10877. fi
  10878. if ${FAUDIO_PE_LIBS:+false} :
  10879. then :
  10880. if test ${MINGW_PKG_CONFIG+y}
  10881. then :
  10882. FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
  10883. fi
  10884. fi
  10885. FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
  10886. ac_save_CPPFLAGS=$CPPFLAGS
  10887. CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
  10888. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
  10889. printf %s "checking for MinGW FAudio.h... " >&6; }
  10890. if test ${ac_cv_mingw_header_FAudio_h+y}
  10891. then :
  10892. printf %s "(cached) " >&6
  10893. else $as_nop
  10894. ac_wine_check_headers_saved_cc=$CC
  10895. ac_wine_check_headers_saved_exeext=$ac_exeext
  10896. CC="$CROSSCC"
  10897. ac_exeext=".exe"
  10898. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10899. /* end confdefs.h. */
  10900. #include <FAudio.h>
  10901. int
  10902. main (void)
  10903. {
  10904. ;
  10905. return 0;
  10906. }
  10907. _ACEOF
  10908. if ac_fn_c_try_compile "$LINENO"
  10909. then :
  10910. ac_cv_mingw_header_FAudio_h=yes
  10911. else $as_nop
  10912. ac_cv_mingw_header_FAudio_h=no
  10913. fi
  10914. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  10915. CC=$ac_wine_check_headers_saved_cc
  10916. ac_exeext=$ac_wine_check_headers_saved_exeext
  10917. fi
  10918. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
  10919. printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
  10920. if test "x$ac_cv_mingw_header_FAudio_h" = xyes
  10921. then :
  10922. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
  10923. printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
  10924. if test ${ac_cv_mingw_lib_FAudio+y}
  10925. then :
  10926. printf %s "(cached) " >&6
  10927. else $as_nop
  10928. ac_wine_check_headers_saved_cc=$CC
  10929. ac_wine_check_headers_saved_exeext=$ac_exeext
  10930. ac_wine_check_headers_saved_libs=$LIBS
  10931. CC="$CROSSCC"
  10932. ac_exeext=".exe"
  10933. LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
  10934. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10935. /* end confdefs.h. */
  10936. /* Override any GCC internal prototype to avoid an error.
  10937. Use char because int might match the return type of a GCC
  10938. builtin and then its argument prototype would still apply. */
  10939. char FAudio_CommitOperationSet ();
  10940. int
  10941. main (void)
  10942. {
  10943. return FAudio_CommitOperationSet ();
  10944. ;
  10945. return 0;
  10946. }
  10947. _ACEOF
  10948. if ac_fn_c_try_link "$LINENO"
  10949. then :
  10950. ac_cv_mingw_lib_FAudio=yes
  10951. else $as_nop
  10952. ac_cv_mingw_lib_FAudio=no
  10953. fi
  10954. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10955. conftest$ac_exeext conftest.$ac_ext
  10956. CC=$ac_wine_check_headers_saved_cc
  10957. ac_exeext=$ac_wine_check_headers_saved_exeext
  10958. LIBS=$ac_wine_check_headers_saved_libs
  10959. fi
  10960. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
  10961. printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
  10962. if test "x$ac_cv_mingw_lib_FAudio" = xyes
  10963. then :
  10964. :
  10965. else $as_nop
  10966. FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
  10967. fi
  10968. else $as_nop
  10969. FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
  10970. fi
  10971. CPPFLAGS=$ac_save_CPPFLAGS
  10972. if test "x$FAUDIO_PE_LIBS" = "x"
  10973. then
  10974. as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
  10975. fi
  10976. if ${JPEG_PE_CFLAGS:+false} :
  10977. then :
  10978. if test ${MINGW_PKG_CONFIG+y}
  10979. then :
  10980. JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
  10981. fi
  10982. fi
  10983. if ${JPEG_PE_LIBS:+false} :
  10984. then :
  10985. if test ${MINGW_PKG_CONFIG+y}
  10986. then :
  10987. JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
  10988. fi
  10989. fi
  10990. ac_save_CPPFLAGS=$CPPFLAGS
  10991. CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
  10992. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
  10993. printf %s "checking for MinGW jpeglib.h... " >&6; }
  10994. if test ${ac_cv_mingw_header_jpeglib_h+y}
  10995. then :
  10996. printf %s "(cached) " >&6
  10997. else $as_nop
  10998. ac_wine_check_headers_saved_cc=$CC
  10999. ac_wine_check_headers_saved_exeext=$ac_exeext
  11000. CC="$CROSSCC"
  11001. ac_exeext=".exe"
  11002. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11003. /* end confdefs.h. */
  11004. #include <stddef.h>
  11005. #include <stdio.h>
  11006. #include <jpeglib.h>
  11007. int
  11008. main (void)
  11009. {
  11010. ;
  11011. return 0;
  11012. }
  11013. _ACEOF
  11014. if ac_fn_c_try_compile "$LINENO"
  11015. then :
  11016. ac_cv_mingw_header_jpeglib_h=yes
  11017. else $as_nop
  11018. ac_cv_mingw_header_jpeglib_h=no
  11019. fi
  11020. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11021. CC=$ac_wine_check_headers_saved_cc
  11022. ac_exeext=$ac_wine_check_headers_saved_exeext
  11023. fi
  11024. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
  11025. printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
  11026. if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
  11027. then :
  11028. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
  11029. printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
  11030. if test ${ac_cv_mingw_lib_jpeg+y}
  11031. then :
  11032. printf %s "(cached) " >&6
  11033. else $as_nop
  11034. ac_wine_check_headers_saved_cc=$CC
  11035. ac_wine_check_headers_saved_exeext=$ac_exeext
  11036. ac_wine_check_headers_saved_libs=$LIBS
  11037. CC="$CROSSCC"
  11038. ac_exeext=".exe"
  11039. LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
  11040. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11041. /* end confdefs.h. */
  11042. /* Override any GCC internal prototype to avoid an error.
  11043. Use char because int might match the return type of a GCC
  11044. builtin and then its argument prototype would still apply. */
  11045. char jpeg_start_decompress ();
  11046. int
  11047. main (void)
  11048. {
  11049. return jpeg_start_decompress ();
  11050. ;
  11051. return 0;
  11052. }
  11053. _ACEOF
  11054. if ac_fn_c_try_link "$LINENO"
  11055. then :
  11056. ac_cv_mingw_lib_jpeg=yes
  11057. else $as_nop
  11058. ac_cv_mingw_lib_jpeg=no
  11059. fi
  11060. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11061. conftest$ac_exeext conftest.$ac_ext
  11062. CC=$ac_wine_check_headers_saved_cc
  11063. ac_exeext=$ac_wine_check_headers_saved_exeext
  11064. LIBS=$ac_wine_check_headers_saved_libs
  11065. fi
  11066. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
  11067. printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
  11068. if test "x$ac_cv_mingw_lib_jpeg" = xyes
  11069. then :
  11070. :
  11071. else $as_nop
  11072. JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
  11073. fi
  11074. else $as_nop
  11075. JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
  11076. fi
  11077. CPPFLAGS=$ac_save_CPPFLAGS
  11078. if test "x$JPEG_PE_LIBS" = "x"
  11079. then
  11080. as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
  11081. fi
  11082. if ${LCMS2_PE_CFLAGS:+false} :
  11083. then :
  11084. if test ${MINGW_PKG_CONFIG+y}
  11085. then :
  11086. LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
  11087. fi
  11088. fi
  11089. if ${LCMS2_PE_LIBS:+false} :
  11090. then :
  11091. if test ${MINGW_PKG_CONFIG+y}
  11092. then :
  11093. LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
  11094. fi
  11095. fi
  11096. LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
  11097. ac_save_CPPFLAGS=$CPPFLAGS
  11098. CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
  11099. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
  11100. printf %s "checking for MinGW lcms2.h... " >&6; }
  11101. if test ${ac_cv_mingw_header_lcms2_h+y}
  11102. then :
  11103. printf %s "(cached) " >&6
  11104. else $as_nop
  11105. ac_wine_check_headers_saved_cc=$CC
  11106. ac_wine_check_headers_saved_exeext=$ac_exeext
  11107. CC="$CROSSCC"
  11108. ac_exeext=".exe"
  11109. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11110. /* end confdefs.h. */
  11111. #include <lcms2.h>
  11112. int
  11113. main (void)
  11114. {
  11115. ;
  11116. return 0;
  11117. }
  11118. _ACEOF
  11119. if ac_fn_c_try_compile "$LINENO"
  11120. then :
  11121. ac_cv_mingw_header_lcms2_h=yes
  11122. else $as_nop
  11123. ac_cv_mingw_header_lcms2_h=no
  11124. fi
  11125. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11126. CC=$ac_wine_check_headers_saved_cc
  11127. ac_exeext=$ac_wine_check_headers_saved_exeext
  11128. fi
  11129. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
  11130. printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
  11131. if test "x$ac_cv_mingw_header_lcms2_h" = xyes
  11132. then :
  11133. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
  11134. printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
  11135. if test ${ac_cv_mingw_lib_lcms2+y}
  11136. then :
  11137. printf %s "(cached) " >&6
  11138. else $as_nop
  11139. ac_wine_check_headers_saved_cc=$CC
  11140. ac_wine_check_headers_saved_exeext=$ac_exeext
  11141. ac_wine_check_headers_saved_libs=$LIBS
  11142. CC="$CROSSCC"
  11143. ac_exeext=".exe"
  11144. LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
  11145. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11146. /* end confdefs.h. */
  11147. /* Override any GCC internal prototype to avoid an error.
  11148. Use char because int might match the return type of a GCC
  11149. builtin and then its argument prototype would still apply. */
  11150. char cmsOpenProfileFromFile ();
  11151. int
  11152. main (void)
  11153. {
  11154. return cmsOpenProfileFromFile ();
  11155. ;
  11156. return 0;
  11157. }
  11158. _ACEOF
  11159. if ac_fn_c_try_link "$LINENO"
  11160. then :
  11161. ac_cv_mingw_lib_lcms2=yes
  11162. else $as_nop
  11163. ac_cv_mingw_lib_lcms2=no
  11164. fi
  11165. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11166. conftest$ac_exeext conftest.$ac_ext
  11167. CC=$ac_wine_check_headers_saved_cc
  11168. ac_exeext=$ac_wine_check_headers_saved_exeext
  11169. LIBS=$ac_wine_check_headers_saved_libs
  11170. fi
  11171. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
  11172. printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
  11173. if test "x$ac_cv_mingw_lib_lcms2" = xyes
  11174. then :
  11175. :
  11176. else $as_nop
  11177. LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
  11178. fi
  11179. else $as_nop
  11180. LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
  11181. fi
  11182. CPPFLAGS=$ac_save_CPPFLAGS
  11183. if test "x$LCMS2_PE_LIBS" = "x"
  11184. then
  11185. as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
  11186. fi
  11187. if ${MPG123_PE_CFLAGS:+false} :
  11188. then :
  11189. if test ${MINGW_PKG_CONFIG+y}
  11190. then :
  11191. MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
  11192. fi
  11193. fi
  11194. if ${MPG123_PE_LIBS:+false} :
  11195. then :
  11196. if test ${MINGW_PKG_CONFIG+y}
  11197. then :
  11198. MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
  11199. fi
  11200. fi
  11201. MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
  11202. ac_save_CPPFLAGS=$CPPFLAGS
  11203. CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
  11204. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
  11205. printf %s "checking for MinGW mpg123.h... " >&6; }
  11206. if test ${ac_cv_mingw_header_mpg123_h+y}
  11207. then :
  11208. printf %s "(cached) " >&6
  11209. else $as_nop
  11210. ac_wine_check_headers_saved_cc=$CC
  11211. ac_wine_check_headers_saved_exeext=$ac_exeext
  11212. CC="$CROSSCC"
  11213. ac_exeext=".exe"
  11214. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11215. /* end confdefs.h. */
  11216. #include <mpg123.h>
  11217. int
  11218. main (void)
  11219. {
  11220. ;
  11221. return 0;
  11222. }
  11223. _ACEOF
  11224. if ac_fn_c_try_compile "$LINENO"
  11225. then :
  11226. ac_cv_mingw_header_mpg123_h=yes
  11227. else $as_nop
  11228. ac_cv_mingw_header_mpg123_h=no
  11229. fi
  11230. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11231. CC=$ac_wine_check_headers_saved_cc
  11232. ac_exeext=$ac_wine_check_headers_saved_exeext
  11233. fi
  11234. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
  11235. printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
  11236. if test "x$ac_cv_mingw_header_mpg123_h" = xyes
  11237. then :
  11238. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
  11239. printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
  11240. if test ${ac_cv_mingw_lib_mpg123+y}
  11241. then :
  11242. printf %s "(cached) " >&6
  11243. else $as_nop
  11244. ac_wine_check_headers_saved_cc=$CC
  11245. ac_wine_check_headers_saved_exeext=$ac_exeext
  11246. ac_wine_check_headers_saved_libs=$LIBS
  11247. CC="$CROSSCC"
  11248. ac_exeext=".exe"
  11249. LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
  11250. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11251. /* end confdefs.h. */
  11252. /* Override any GCC internal prototype to avoid an error.
  11253. Use char because int might match the return type of a GCC
  11254. builtin and then its argument prototype would still apply. */
  11255. char mpg123_feed ();
  11256. int
  11257. main (void)
  11258. {
  11259. return mpg123_feed ();
  11260. ;
  11261. return 0;
  11262. }
  11263. _ACEOF
  11264. if ac_fn_c_try_link "$LINENO"
  11265. then :
  11266. ac_cv_mingw_lib_mpg123=yes
  11267. else $as_nop
  11268. ac_cv_mingw_lib_mpg123=no
  11269. fi
  11270. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11271. conftest$ac_exeext conftest.$ac_ext
  11272. CC=$ac_wine_check_headers_saved_cc
  11273. ac_exeext=$ac_wine_check_headers_saved_exeext
  11274. LIBS=$ac_wine_check_headers_saved_libs
  11275. fi
  11276. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
  11277. printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
  11278. if test "x$ac_cv_mingw_lib_mpg123" = xyes
  11279. then :
  11280. :
  11281. else $as_nop
  11282. MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
  11283. fi
  11284. else $as_nop
  11285. MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
  11286. fi
  11287. CPPFLAGS=$ac_save_CPPFLAGS
  11288. if test "x$MPG123_PE_LIBS" = "x"
  11289. then
  11290. as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
  11291. fi
  11292. if ${PNG_PE_CFLAGS:+false} :
  11293. then :
  11294. if test ${MINGW_PKG_CONFIG+y}
  11295. then :
  11296. PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
  11297. fi
  11298. fi
  11299. if ${PNG_PE_LIBS:+false} :
  11300. then :
  11301. if test ${MINGW_PKG_CONFIG+y}
  11302. then :
  11303. PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
  11304. fi
  11305. fi
  11306. ac_save_CPPFLAGS=$CPPFLAGS
  11307. CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
  11308. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
  11309. printf %s "checking for MinGW png.h... " >&6; }
  11310. if test ${ac_cv_mingw_header_png_h+y}
  11311. then :
  11312. printf %s "(cached) " >&6
  11313. else $as_nop
  11314. ac_wine_check_headers_saved_cc=$CC
  11315. ac_wine_check_headers_saved_exeext=$ac_exeext
  11316. CC="$CROSSCC"
  11317. ac_exeext=".exe"
  11318. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11319. /* end confdefs.h. */
  11320. #include <png.h>
  11321. int
  11322. main (void)
  11323. {
  11324. ;
  11325. return 0;
  11326. }
  11327. _ACEOF
  11328. if ac_fn_c_try_compile "$LINENO"
  11329. then :
  11330. ac_cv_mingw_header_png_h=yes
  11331. else $as_nop
  11332. ac_cv_mingw_header_png_h=no
  11333. fi
  11334. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11335. CC=$ac_wine_check_headers_saved_cc
  11336. ac_exeext=$ac_wine_check_headers_saved_exeext
  11337. fi
  11338. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
  11339. printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
  11340. if test "x$ac_cv_mingw_header_png_h" = xyes
  11341. then :
  11342. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
  11343. printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
  11344. if test ${ac_cv_mingw_lib_png+y}
  11345. then :
  11346. printf %s "(cached) " >&6
  11347. else $as_nop
  11348. ac_wine_check_headers_saved_cc=$CC
  11349. ac_wine_check_headers_saved_exeext=$ac_exeext
  11350. ac_wine_check_headers_saved_libs=$LIBS
  11351. CC="$CROSSCC"
  11352. ac_exeext=".exe"
  11353. LIBS="-lpng $PNG_PE_LIBS $LIBS"
  11354. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11355. /* end confdefs.h. */
  11356. /* Override any GCC internal prototype to avoid an error.
  11357. Use char because int might match the return type of a GCC
  11358. builtin and then its argument prototype would still apply. */
  11359. char png_create_read_struct ();
  11360. int
  11361. main (void)
  11362. {
  11363. return png_create_read_struct ();
  11364. ;
  11365. return 0;
  11366. }
  11367. _ACEOF
  11368. if ac_fn_c_try_link "$LINENO"
  11369. then :
  11370. ac_cv_mingw_lib_png=yes
  11371. else $as_nop
  11372. ac_cv_mingw_lib_png=no
  11373. fi
  11374. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11375. conftest$ac_exeext conftest.$ac_ext
  11376. CC=$ac_wine_check_headers_saved_cc
  11377. ac_exeext=$ac_wine_check_headers_saved_exeext
  11378. LIBS=$ac_wine_check_headers_saved_libs
  11379. fi
  11380. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
  11381. printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
  11382. if test "x$ac_cv_mingw_lib_png" = xyes
  11383. then :
  11384. :
  11385. else $as_nop
  11386. PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
  11387. fi
  11388. else $as_nop
  11389. PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
  11390. fi
  11391. CPPFLAGS=$ac_save_CPPFLAGS
  11392. if test "x$PNG_PE_LIBS" = "x"
  11393. then
  11394. as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
  11395. fi
  11396. if ${TIFF_PE_CFLAGS:+false} :
  11397. then :
  11398. if test ${MINGW_PKG_CONFIG+y}
  11399. then :
  11400. TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
  11401. fi
  11402. fi
  11403. if ${TIFF_PE_LIBS:+false} :
  11404. then :
  11405. if test ${MINGW_PKG_CONFIG+y}
  11406. then :
  11407. TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
  11408. fi
  11409. fi
  11410. ac_save_CPPFLAGS=$CPPFLAGS
  11411. CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
  11412. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
  11413. printf %s "checking for MinGW tiffio.h... " >&6; }
  11414. if test ${ac_cv_mingw_header_tiffio_h+y}
  11415. then :
  11416. printf %s "(cached) " >&6
  11417. else $as_nop
  11418. ac_wine_check_headers_saved_cc=$CC
  11419. ac_wine_check_headers_saved_exeext=$ac_exeext
  11420. CC="$CROSSCC"
  11421. ac_exeext=".exe"
  11422. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11423. /* end confdefs.h. */
  11424. #include <tiffio.h>
  11425. int
  11426. main (void)
  11427. {
  11428. ;
  11429. return 0;
  11430. }
  11431. _ACEOF
  11432. if ac_fn_c_try_compile "$LINENO"
  11433. then :
  11434. ac_cv_mingw_header_tiffio_h=yes
  11435. else $as_nop
  11436. ac_cv_mingw_header_tiffio_h=no
  11437. fi
  11438. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11439. CC=$ac_wine_check_headers_saved_cc
  11440. ac_exeext=$ac_wine_check_headers_saved_exeext
  11441. fi
  11442. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
  11443. printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
  11444. if test "x$ac_cv_mingw_header_tiffio_h" = xyes
  11445. then :
  11446. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
  11447. printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
  11448. if test ${ac_cv_mingw_lib_tiff+y}
  11449. then :
  11450. printf %s "(cached) " >&6
  11451. else $as_nop
  11452. ac_wine_check_headers_saved_cc=$CC
  11453. ac_wine_check_headers_saved_exeext=$ac_exeext
  11454. ac_wine_check_headers_saved_libs=$LIBS
  11455. CC="$CROSSCC"
  11456. ac_exeext=".exe"
  11457. LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
  11458. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11459. /* end confdefs.h. */
  11460. /* Override any GCC internal prototype to avoid an error.
  11461. Use char because int might match the return type of a GCC
  11462. builtin and then its argument prototype would still apply. */
  11463. char TIFFClientOpen ();
  11464. int
  11465. main (void)
  11466. {
  11467. return TIFFClientOpen ();
  11468. ;
  11469. return 0;
  11470. }
  11471. _ACEOF
  11472. if ac_fn_c_try_link "$LINENO"
  11473. then :
  11474. ac_cv_mingw_lib_tiff=yes
  11475. else $as_nop
  11476. ac_cv_mingw_lib_tiff=no
  11477. fi
  11478. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11479. conftest$ac_exeext conftest.$ac_ext
  11480. CC=$ac_wine_check_headers_saved_cc
  11481. ac_exeext=$ac_wine_check_headers_saved_exeext
  11482. LIBS=$ac_wine_check_headers_saved_libs
  11483. fi
  11484. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
  11485. printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
  11486. if test "x$ac_cv_mingw_lib_tiff" = xyes
  11487. then :
  11488. :
  11489. else $as_nop
  11490. TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
  11491. fi
  11492. else $as_nop
  11493. TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
  11494. fi
  11495. CPPFLAGS=$ac_save_CPPFLAGS
  11496. if test "x$TIFF_PE_LIBS" = "x"
  11497. then
  11498. as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
  11499. fi
  11500. if ${XML2_PE_CFLAGS:+false} :
  11501. then :
  11502. if test ${MINGW_PKG_CONFIG+y}
  11503. then :
  11504. XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
  11505. fi
  11506. fi
  11507. if ${XML2_PE_LIBS:+false} :
  11508. then :
  11509. if test ${MINGW_PKG_CONFIG+y}
  11510. then :
  11511. XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
  11512. fi
  11513. fi
  11514. XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
  11515. ac_save_CPPFLAGS=$CPPFLAGS
  11516. CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
  11517. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
  11518. printf %s "checking for MinGW libxml/parser.h... " >&6; }
  11519. if test ${ac_cv_mingw_header_libxml_parser_h+y}
  11520. then :
  11521. printf %s "(cached) " >&6
  11522. else $as_nop
  11523. ac_wine_check_headers_saved_cc=$CC
  11524. ac_wine_check_headers_saved_exeext=$ac_exeext
  11525. CC="$CROSSCC"
  11526. ac_exeext=".exe"
  11527. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11528. /* end confdefs.h. */
  11529. #include <libxml/parser.h>
  11530. int
  11531. main (void)
  11532. {
  11533. ;
  11534. return 0;
  11535. }
  11536. _ACEOF
  11537. if ac_fn_c_try_compile "$LINENO"
  11538. then :
  11539. ac_cv_mingw_header_libxml_parser_h=yes
  11540. else $as_nop
  11541. ac_cv_mingw_header_libxml_parser_h=no
  11542. fi
  11543. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11544. CC=$ac_wine_check_headers_saved_cc
  11545. ac_exeext=$ac_wine_check_headers_saved_exeext
  11546. fi
  11547. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
  11548. printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
  11549. if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
  11550. then :
  11551. fi
  11552. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
  11553. printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
  11554. if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
  11555. then :
  11556. printf %s "(cached) " >&6
  11557. else $as_nop
  11558. ac_wine_check_headers_saved_cc=$CC
  11559. ac_wine_check_headers_saved_exeext=$ac_exeext
  11560. CC="$CROSSCC"
  11561. ac_exeext=".exe"
  11562. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11563. /* end confdefs.h. */
  11564. #include <libxml/xmlsave.h>
  11565. int
  11566. main (void)
  11567. {
  11568. ;
  11569. return 0;
  11570. }
  11571. _ACEOF
  11572. if ac_fn_c_try_compile "$LINENO"
  11573. then :
  11574. ac_cv_mingw_header_libxml_xmlsave_h=yes
  11575. else $as_nop
  11576. ac_cv_mingw_header_libxml_xmlsave_h=no
  11577. fi
  11578. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11579. CC=$ac_wine_check_headers_saved_cc
  11580. ac_exeext=$ac_wine_check_headers_saved_exeext
  11581. fi
  11582. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
  11583. printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
  11584. if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
  11585. then :
  11586. fi
  11587. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
  11588. printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
  11589. if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
  11590. then :
  11591. printf %s "(cached) " >&6
  11592. else $as_nop
  11593. ac_wine_check_headers_saved_cc=$CC
  11594. ac_wine_check_headers_saved_exeext=$ac_exeext
  11595. CC="$CROSSCC"
  11596. ac_exeext=".exe"
  11597. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11598. /* end confdefs.h. */
  11599. #include <libxml/SAX2.h>
  11600. int
  11601. main (void)
  11602. {
  11603. ;
  11604. return 0;
  11605. }
  11606. _ACEOF
  11607. if ac_fn_c_try_compile "$LINENO"
  11608. then :
  11609. ac_cv_mingw_header_libxml_SAX2_h=yes
  11610. else $as_nop
  11611. ac_cv_mingw_header_libxml_SAX2_h=no
  11612. fi
  11613. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11614. CC=$ac_wine_check_headers_saved_cc
  11615. ac_exeext=$ac_wine_check_headers_saved_exeext
  11616. fi
  11617. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
  11618. printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
  11619. if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
  11620. then :
  11621. fi
  11622. 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"
  11623. then
  11624. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
  11625. printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
  11626. if test ${ac_cv_mingw_lib_xml2+y}
  11627. then :
  11628. printf %s "(cached) " >&6
  11629. else $as_nop
  11630. ac_wine_check_headers_saved_cc=$CC
  11631. ac_wine_check_headers_saved_exeext=$ac_exeext
  11632. ac_wine_check_headers_saved_libs=$LIBS
  11633. CC="$CROSSCC"
  11634. ac_exeext=".exe"
  11635. LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
  11636. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11637. /* end confdefs.h. */
  11638. /* Override any GCC internal prototype to avoid an error.
  11639. Use char because int might match the return type of a GCC
  11640. builtin and then its argument prototype would still apply. */
  11641. char xmlFirstElementChild ();
  11642. int
  11643. main (void)
  11644. {
  11645. return xmlFirstElementChild ();
  11646. ;
  11647. return 0;
  11648. }
  11649. _ACEOF
  11650. if ac_fn_c_try_link "$LINENO"
  11651. then :
  11652. ac_cv_mingw_lib_xml2=yes
  11653. else $as_nop
  11654. ac_cv_mingw_lib_xml2=no
  11655. fi
  11656. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11657. conftest$ac_exeext conftest.$ac_ext
  11658. CC=$ac_wine_check_headers_saved_cc
  11659. ac_exeext=$ac_wine_check_headers_saved_exeext
  11660. LIBS=$ac_wine_check_headers_saved_libs
  11661. fi
  11662. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
  11663. printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
  11664. if test "x$ac_cv_mingw_lib_xml2" = xyes
  11665. then :
  11666. :
  11667. else $as_nop
  11668. XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
  11669. fi
  11670. else
  11671. XML2_PE_CFLAGS=""
  11672. XML2_PE_LIBS=""
  11673. fi
  11674. CPPFLAGS=$ac_save_CPPFLAGS
  11675. if test "x$XML2_PE_LIBS" = "x"
  11676. then
  11677. as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
  11678. fi
  11679. if ${XSLT_PE_CFLAGS:+false} :
  11680. then :
  11681. if test ${MINGW_PKG_CONFIG+y}
  11682. then :
  11683. XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
  11684. fi
  11685. fi
  11686. if ${XSLT_PE_LIBS:+false} :
  11687. then :
  11688. if test ${MINGW_PKG_CONFIG+y}
  11689. then :
  11690. XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
  11691. fi
  11692. fi
  11693. XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
  11694. ac_save_CPPFLAGS=$CPPFLAGS
  11695. CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
  11696. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
  11697. printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
  11698. if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
  11699. then :
  11700. printf %s "(cached) " >&6
  11701. else $as_nop
  11702. ac_wine_check_headers_saved_cc=$CC
  11703. ac_wine_check_headers_saved_exeext=$ac_exeext
  11704. CC="$CROSSCC"
  11705. ac_exeext=".exe"
  11706. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11707. /* end confdefs.h. */
  11708. #include <libxslt/pattern.h>
  11709. int
  11710. main (void)
  11711. {
  11712. ;
  11713. return 0;
  11714. }
  11715. _ACEOF
  11716. if ac_fn_c_try_compile "$LINENO"
  11717. then :
  11718. ac_cv_mingw_header_libxslt_pattern_h=yes
  11719. else $as_nop
  11720. ac_cv_mingw_header_libxslt_pattern_h=no
  11721. fi
  11722. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11723. CC=$ac_wine_check_headers_saved_cc
  11724. ac_exeext=$ac_wine_check_headers_saved_exeext
  11725. fi
  11726. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
  11727. printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
  11728. if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
  11729. then :
  11730. fi
  11731. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
  11732. printf %s "checking for MinGW libxslt/transform.h... " >&6; }
  11733. if test ${ac_cv_mingw_header_libxslt_transform_h+y}
  11734. then :
  11735. printf %s "(cached) " >&6
  11736. else $as_nop
  11737. ac_wine_check_headers_saved_cc=$CC
  11738. ac_wine_check_headers_saved_exeext=$ac_exeext
  11739. CC="$CROSSCC"
  11740. ac_exeext=".exe"
  11741. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11742. /* end confdefs.h. */
  11743. #include <libxslt/transform.h>
  11744. int
  11745. main (void)
  11746. {
  11747. ;
  11748. return 0;
  11749. }
  11750. _ACEOF
  11751. if ac_fn_c_try_compile "$LINENO"
  11752. then :
  11753. ac_cv_mingw_header_libxslt_transform_h=yes
  11754. else $as_nop
  11755. ac_cv_mingw_header_libxslt_transform_h=no
  11756. fi
  11757. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11758. CC=$ac_wine_check_headers_saved_cc
  11759. ac_exeext=$ac_wine_check_headers_saved_exeext
  11760. fi
  11761. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
  11762. printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
  11763. if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
  11764. then :
  11765. fi
  11766. if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
  11767. then
  11768. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
  11769. printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
  11770. if test ${ac_cv_mingw_lib_xslt+y}
  11771. then :
  11772. printf %s "(cached) " >&6
  11773. else $as_nop
  11774. ac_wine_check_headers_saved_cc=$CC
  11775. ac_wine_check_headers_saved_exeext=$ac_exeext
  11776. ac_wine_check_headers_saved_libs=$LIBS
  11777. CC="$CROSSCC"
  11778. ac_exeext=".exe"
  11779. LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
  11780. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11781. /* end confdefs.h. */
  11782. /* Override any GCC internal prototype to avoid an error.
  11783. Use char because int might match the return type of a GCC
  11784. builtin and then its argument prototype would still apply. */
  11785. char xsltCompilePattern ();
  11786. int
  11787. main (void)
  11788. {
  11789. return xsltCompilePattern ();
  11790. ;
  11791. return 0;
  11792. }
  11793. _ACEOF
  11794. if ac_fn_c_try_link "$LINENO"
  11795. then :
  11796. ac_cv_mingw_lib_xslt=yes
  11797. else $as_nop
  11798. ac_cv_mingw_lib_xslt=no
  11799. fi
  11800. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11801. conftest$ac_exeext conftest.$ac_ext
  11802. CC=$ac_wine_check_headers_saved_cc
  11803. ac_exeext=$ac_wine_check_headers_saved_exeext
  11804. LIBS=$ac_wine_check_headers_saved_libs
  11805. fi
  11806. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
  11807. printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
  11808. if test "x$ac_cv_mingw_lib_xslt" = xyes
  11809. then :
  11810. :
  11811. else $as_nop
  11812. XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
  11813. fi
  11814. else
  11815. XSLT_PE_CFLAGS=""
  11816. XSLT_PE_LIBS=""
  11817. fi
  11818. CPPFLAGS=$ac_save_CPPFLAGS
  11819. if test "x$XSLT_PE_LIBS" = "x"
  11820. then
  11821. as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
  11822. fi
  11823. if ${ZLIB_PE_CFLAGS:+false} :
  11824. then :
  11825. if test ${MINGW_PKG_CONFIG+y}
  11826. then :
  11827. ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
  11828. fi
  11829. fi
  11830. if ${ZLIB_PE_LIBS:+false} :
  11831. then :
  11832. if test ${MINGW_PKG_CONFIG+y}
  11833. then :
  11834. ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
  11835. fi
  11836. fi
  11837. ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
  11838. ac_save_CPPFLAGS=$CPPFLAGS
  11839. CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
  11840. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
  11841. printf %s "checking for MinGW zlib.h... " >&6; }
  11842. if test ${ac_cv_mingw_header_zlib_h+y}
  11843. then :
  11844. printf %s "(cached) " >&6
  11845. else $as_nop
  11846. ac_wine_check_headers_saved_cc=$CC
  11847. ac_wine_check_headers_saved_exeext=$ac_exeext
  11848. CC="$CROSSCC"
  11849. ac_exeext=".exe"
  11850. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11851. /* end confdefs.h. */
  11852. #include <zlib.h>
  11853. int
  11854. main (void)
  11855. {
  11856. ;
  11857. return 0;
  11858. }
  11859. _ACEOF
  11860. if ac_fn_c_try_compile "$LINENO"
  11861. then :
  11862. ac_cv_mingw_header_zlib_h=yes
  11863. else $as_nop
  11864. ac_cv_mingw_header_zlib_h=no
  11865. fi
  11866. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  11867. CC=$ac_wine_check_headers_saved_cc
  11868. ac_exeext=$ac_wine_check_headers_saved_exeext
  11869. fi
  11870. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
  11871. printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
  11872. if test "x$ac_cv_mingw_header_zlib_h" = xyes
  11873. then :
  11874. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
  11875. printf %s "checking for inflate in MinGW -lz... " >&6; }
  11876. if test ${ac_cv_mingw_lib_z+y}
  11877. then :
  11878. printf %s "(cached) " >&6
  11879. else $as_nop
  11880. ac_wine_check_headers_saved_cc=$CC
  11881. ac_wine_check_headers_saved_exeext=$ac_exeext
  11882. ac_wine_check_headers_saved_libs=$LIBS
  11883. CC="$CROSSCC"
  11884. ac_exeext=".exe"
  11885. LIBS="-lz $ZLIB_PE_LIBS $LIBS"
  11886. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11887. /* end confdefs.h. */
  11888. /* Override any GCC internal prototype to avoid an error.
  11889. Use char because int might match the return type of a GCC
  11890. builtin and then its argument prototype would still apply. */
  11891. char inflate ();
  11892. int
  11893. main (void)
  11894. {
  11895. return inflate ();
  11896. ;
  11897. return 0;
  11898. }
  11899. _ACEOF
  11900. if ac_fn_c_try_link "$LINENO"
  11901. then :
  11902. ac_cv_mingw_lib_z=yes
  11903. else $as_nop
  11904. ac_cv_mingw_lib_z=no
  11905. fi
  11906. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11907. conftest$ac_exeext conftest.$ac_ext
  11908. CC=$ac_wine_check_headers_saved_cc
  11909. ac_exeext=$ac_wine_check_headers_saved_exeext
  11910. LIBS=$ac_wine_check_headers_saved_libs
  11911. fi
  11912. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
  11913. printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
  11914. if test "x$ac_cv_mingw_lib_z" = xyes
  11915. then :
  11916. :
  11917. else $as_nop
  11918. ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
  11919. fi
  11920. else $as_nop
  11921. ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
  11922. fi
  11923. CPPFLAGS=$ac_save_CPPFLAGS
  11924. if test "x$ZLIB_PE_LIBS" = "x"
  11925. then
  11926. as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
  11927. fi
  11928. fi
  11929. if ${FAUDIO_PE_LIBS:+false} :
  11930. then :
  11931. FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
  11932. if ${FAUDIO_PE_CFLAGS:+false} :
  11933. then :
  11934. FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
  11935. else $as_nop
  11936. enable_faudio=no
  11937. fi
  11938. else $as_nop
  11939. enable_faudio=no
  11940. fi
  11941. printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
  11942. printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
  11943. if ${GSM_PE_LIBS:+false} :
  11944. then :
  11945. GSM_PE_LIBS=gsm
  11946. if ${GSM_PE_CFLAGS:+false} :
  11947. then :
  11948. GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
  11949. else $as_nop
  11950. enable_gsm=no
  11951. fi
  11952. else $as_nop
  11953. enable_gsm=no
  11954. fi
  11955. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
  11956. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
  11957. if ${JPEG_PE_LIBS:+false} :
  11958. then :
  11959. JPEG_PE_LIBS=jpeg
  11960. if ${JPEG_PE_CFLAGS:+false} :
  11961. then :
  11962. JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
  11963. else $as_nop
  11964. enable_jpeg=no
  11965. fi
  11966. else $as_nop
  11967. enable_jpeg=no
  11968. fi
  11969. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
  11970. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
  11971. if ${JXR_PE_LIBS:+false} :
  11972. then :
  11973. JXR_PE_LIBS=jxr
  11974. if ${JXR_PE_CFLAGS:+false} :
  11975. then :
  11976. JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
  11977. else $as_nop
  11978. enable_jxr=no
  11979. fi
  11980. else $as_nop
  11981. enable_jxr=no
  11982. fi
  11983. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
  11984. printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
  11985. if ${LCMS2_PE_LIBS:+false} :
  11986. then :
  11987. LCMS2_PE_LIBS=lcms2
  11988. if ${LCMS2_PE_CFLAGS:+false} :
  11989. then :
  11990. LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
  11991. else $as_nop
  11992. enable_lcms2=no
  11993. fi
  11994. else $as_nop
  11995. enable_lcms2=no
  11996. fi
  11997. printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
  11998. printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
  11999. if ${MPG123_PE_LIBS:+false} :
  12000. then :
  12001. MPG123_PE_LIBS=mpg123
  12002. if ${MPG123_PE_CFLAGS:+false} :
  12003. then :
  12004. MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
  12005. else $as_nop
  12006. enable_mpg123=no
  12007. fi
  12008. else $as_nop
  12009. enable_mpg123=no
  12010. fi
  12011. printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
  12012. printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
  12013. if ${PNG_PE_LIBS:+false} :
  12014. then :
  12015. PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
  12016. if ${PNG_PE_CFLAGS:+false} :
  12017. then :
  12018. PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
  12019. else $as_nop
  12020. enable_png=no
  12021. fi
  12022. else $as_nop
  12023. enable_png=no
  12024. fi
  12025. printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
  12026. printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
  12027. if ${TIFF_PE_LIBS:+false} :
  12028. then :
  12029. TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
  12030. if ${TIFF_PE_CFLAGS:+false} :
  12031. then :
  12032. TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
  12033. else $as_nop
  12034. enable_tiff=no
  12035. fi
  12036. else $as_nop
  12037. enable_tiff=no
  12038. fi
  12039. printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
  12040. printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
  12041. if ${XML2_PE_LIBS:+false} :
  12042. then :
  12043. XML2_PE_LIBS=xml2
  12044. if ${XML2_PE_CFLAGS:+false} :
  12045. then :
  12046. XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
  12047. else $as_nop
  12048. enable_xml2=no
  12049. fi
  12050. else $as_nop
  12051. enable_xml2=no
  12052. fi
  12053. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
  12054. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
  12055. if ${XSLT_PE_LIBS:+false} :
  12056. then :
  12057. XSLT_PE_LIBS=xslt
  12058. if ${XSLT_PE_CFLAGS:+false} :
  12059. then :
  12060. XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
  12061. else $as_nop
  12062. enable_xslt=no
  12063. fi
  12064. else $as_nop
  12065. enable_xslt=no
  12066. fi
  12067. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
  12068. printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
  12069. if ${ZLIB_PE_LIBS:+false} :
  12070. then :
  12071. ZLIB_PE_LIBS=z
  12072. if ${ZLIB_PE_CFLAGS:+false} :
  12073. then :
  12074. ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
  12075. else $as_nop
  12076. enable_zlib=no
  12077. fi
  12078. else $as_nop
  12079. enable_zlib=no
  12080. fi
  12081. printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
  12082. printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
  12083. if test "$ac_cv_header_pthread_h" = "yes"
  12084. then
  12085. ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
  12086. if test "x$ac_cv_func_pthread_create" = xyes
  12087. then :
  12088. else $as_nop
  12089. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  12090. printf %s "checking for pthread_create in -lpthread... " >&6; }
  12091. if test ${ac_cv_lib_pthread_pthread_create+y}
  12092. then :
  12093. printf %s "(cached) " >&6
  12094. else $as_nop
  12095. ac_check_lib_save_LIBS=$LIBS
  12096. LIBS="-lpthread $LIBS"
  12097. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12098. /* end confdefs.h. */
  12099. /* Override any GCC internal prototype to avoid an error.
  12100. Use char because int might match the return type of a GCC
  12101. builtin and then its argument prototype would still apply. */
  12102. char pthread_create ();
  12103. int
  12104. main (void)
  12105. {
  12106. return pthread_create ();
  12107. ;
  12108. return 0;
  12109. }
  12110. _ACEOF
  12111. if ac_fn_c_try_link "$LINENO"
  12112. then :
  12113. ac_cv_lib_pthread_pthread_create=yes
  12114. else $as_nop
  12115. ac_cv_lib_pthread_pthread_create=no
  12116. fi
  12117. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12118. conftest$ac_exeext conftest.$ac_ext
  12119. LIBS=$ac_check_lib_save_LIBS
  12120. fi
  12121. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  12122. printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
  12123. if test "x$ac_cv_lib_pthread_pthread_create" = xyes
  12124. then :
  12125. PTHREAD_LIBS="-lpthread"
  12126. fi
  12127. fi
  12128. fi
  12129. if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
  12130. then :
  12131. case "x$with_pthread" in
  12132. xno) ;;
  12133. *) as_fn_error $? "pthread ${notice_platform}development files not found.
  12134. Wine cannot support threads without libpthread.
  12135. Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
  12136. esac
  12137. fi
  12138. ac_ext=c
  12139. ac_cpp='$CPP $CPPFLAGS'
  12140. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12141. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12142. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12143. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  12144. printf %s "checking how to run the C preprocessor... " >&6; }
  12145. # On Suns, sometimes $CPP names a directory.
  12146. if test -n "$CPP" && test -d "$CPP"; then
  12147. CPP=
  12148. fi
  12149. if test -z "$CPP"; then
  12150. if test ${ac_cv_prog_CPP+y}
  12151. then :
  12152. printf %s "(cached) " >&6
  12153. else $as_nop
  12154. # Double quotes because $CC needs to be expanded
  12155. for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
  12156. do
  12157. ac_preproc_ok=false
  12158. for ac_c_preproc_warn_flag in '' yes
  12159. do
  12160. # Use a header file that comes with gcc, so configuring glibc
  12161. # with a fresh cross-compiler works.
  12162. # On the NeXT, cc -E runs the code through the compiler's parser,
  12163. # not just through cpp. "Syntax error" is here to catch this case.
  12164. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12165. /* end confdefs.h. */
  12166. #include <limits.h>
  12167. Syntax error
  12168. _ACEOF
  12169. if ac_fn_c_try_cpp "$LINENO"
  12170. then :
  12171. else $as_nop
  12172. # Broken: fails on valid input.
  12173. continue
  12174. fi
  12175. rm -f conftest.err conftest.i conftest.$ac_ext
  12176. # OK, works on sane cases. Now check whether nonexistent headers
  12177. # can be detected and how.
  12178. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12179. /* end confdefs.h. */
  12180. #include <ac_nonexistent.h>
  12181. _ACEOF
  12182. if ac_fn_c_try_cpp "$LINENO"
  12183. then :
  12184. # Broken: success on invalid input.
  12185. continue
  12186. else $as_nop
  12187. # Passes both tests.
  12188. ac_preproc_ok=:
  12189. break
  12190. fi
  12191. rm -f conftest.err conftest.i conftest.$ac_ext
  12192. done
  12193. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  12194. rm -f conftest.i conftest.err conftest.$ac_ext
  12195. if $ac_preproc_ok
  12196. then :
  12197. break
  12198. fi
  12199. done
  12200. ac_cv_prog_CPP=$CPP
  12201. fi
  12202. CPP=$ac_cv_prog_CPP
  12203. else
  12204. ac_cv_prog_CPP=$CPP
  12205. fi
  12206. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  12207. printf "%s\n" "$CPP" >&6; }
  12208. ac_preproc_ok=false
  12209. for ac_c_preproc_warn_flag in '' yes
  12210. do
  12211. # Use a header file that comes with gcc, so configuring glibc
  12212. # with a fresh cross-compiler works.
  12213. # On the NeXT, cc -E runs the code through the compiler's parser,
  12214. # not just through cpp. "Syntax error" is here to catch this case.
  12215. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12216. /* end confdefs.h. */
  12217. #include <limits.h>
  12218. Syntax error
  12219. _ACEOF
  12220. if ac_fn_c_try_cpp "$LINENO"
  12221. then :
  12222. else $as_nop
  12223. # Broken: fails on valid input.
  12224. continue
  12225. fi
  12226. rm -f conftest.err conftest.i conftest.$ac_ext
  12227. # OK, works on sane cases. Now check whether nonexistent headers
  12228. # can be detected and how.
  12229. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12230. /* end confdefs.h. */
  12231. #include <ac_nonexistent.h>
  12232. _ACEOF
  12233. if ac_fn_c_try_cpp "$LINENO"
  12234. then :
  12235. # Broken: success on invalid input.
  12236. continue
  12237. else $as_nop
  12238. # Passes both tests.
  12239. ac_preproc_ok=:
  12240. break
  12241. fi
  12242. rm -f conftest.err conftest.i conftest.$ac_ext
  12243. done
  12244. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  12245. rm -f conftest.i conftest.err conftest.$ac_ext
  12246. if $ac_preproc_ok
  12247. then :
  12248. else $as_nop
  12249. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12250. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  12251. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  12252. See \`config.log' for more details" "$LINENO" 5; }
  12253. fi
  12254. ac_ext=c
  12255. ac_cpp='$CPP $CPPFLAGS'
  12256. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12257. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12258. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12259. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  12260. printf %s "checking for X... " >&6; }
  12261. # Check whether --with-x was given.
  12262. if test ${with_x+y}
  12263. then :
  12264. withval=$with_x;
  12265. fi
  12266. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  12267. if test "x$with_x" = xno; then
  12268. # The user explicitly disabled X.
  12269. have_x=disabled
  12270. else
  12271. case $x_includes,$x_libraries in #(
  12272. *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  12273. *,NONE | NONE,*) if test ${ac_cv_have_x+y}
  12274. then :
  12275. printf %s "(cached) " >&6
  12276. else $as_nop
  12277. # One or both of the vars are not set, and there is no cached value.
  12278. ac_x_includes=no
  12279. ac_x_libraries=no
  12280. # Do we need to do anything special at all?
  12281. ac_save_LIBS=$LIBS
  12282. LIBS="-lX11 $LIBS"
  12283. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12284. /* end confdefs.h. */
  12285. #include <X11/Xlib.h>
  12286. int
  12287. main (void)
  12288. {
  12289. XrmInitialize ()
  12290. ;
  12291. return 0;
  12292. }
  12293. _ACEOF
  12294. if ac_fn_c_try_link "$LINENO"
  12295. then :
  12296. # We can compile and link X programs with no special options.
  12297. ac_x_includes=
  12298. ac_x_libraries=
  12299. fi
  12300. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12301. conftest$ac_exeext conftest.$ac_ext
  12302. LIBS="$ac_save_LIBS"
  12303. # If that didn't work, only try xmkmf and file system searches
  12304. # for native compilation.
  12305. if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
  12306. then :
  12307. rm -f -r conftest.dir
  12308. if mkdir conftest.dir; then
  12309. cd conftest.dir
  12310. cat >Imakefile <<'_ACEOF'
  12311. incroot:
  12312. @echo incroot='${INCROOT}'
  12313. usrlibdir:
  12314. @echo usrlibdir='${USRLIBDIR}'
  12315. libdir:
  12316. @echo libdir='${LIBDIR}'
  12317. _ACEOF
  12318. if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  12319. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  12320. for ac_var in incroot usrlibdir libdir; do
  12321. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  12322. done
  12323. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  12324. for ac_extension in a so sl dylib la dll; do
  12325. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  12326. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  12327. ac_im_usrlibdir=$ac_im_libdir; break
  12328. fi
  12329. done
  12330. # Screen out bogus values from the imake configuration. They are
  12331. # bogus both because they are the default anyway, and because
  12332. # using them would break gcc on systems where it needs fixed includes.
  12333. case $ac_im_incroot in
  12334. /usr/include) ac_x_includes= ;;
  12335. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  12336. esac
  12337. case $ac_im_usrlibdir in
  12338. /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  12339. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  12340. esac
  12341. fi
  12342. cd ..
  12343. rm -f -r conftest.dir
  12344. fi
  12345. # Standard set of common directories for X headers.
  12346. # Check X11 before X11Rn because it is often a symlink to the current release.
  12347. ac_x_header_dirs='
  12348. /usr/X11/include
  12349. /usr/X11R7/include
  12350. /usr/X11R6/include
  12351. /usr/X11R5/include
  12352. /usr/X11R4/include
  12353. /usr/include/X11
  12354. /usr/include/X11R7
  12355. /usr/include/X11R6
  12356. /usr/include/X11R5
  12357. /usr/include/X11R4
  12358. /usr/local/X11/include
  12359. /usr/local/X11R7/include
  12360. /usr/local/X11R6/include
  12361. /usr/local/X11R5/include
  12362. /usr/local/X11R4/include
  12363. /usr/local/include/X11
  12364. /usr/local/include/X11R7
  12365. /usr/local/include/X11R6
  12366. /usr/local/include/X11R5
  12367. /usr/local/include/X11R4
  12368. /opt/X11/include
  12369. /usr/X386/include
  12370. /usr/x386/include
  12371. /usr/XFree86/include/X11
  12372. /usr/include
  12373. /usr/local/include
  12374. /usr/unsupported/include
  12375. /usr/athena/include
  12376. /usr/local/x11r5/include
  12377. /usr/lpp/Xamples/include
  12378. /usr/openwin/include
  12379. /usr/openwin/share/include'
  12380. if test "$ac_x_includes" = no; then
  12381. # Guess where to find include files, by looking for Xlib.h.
  12382. # First, try using that file with no special directory specified.
  12383. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12384. /* end confdefs.h. */
  12385. #include <X11/Xlib.h>
  12386. _ACEOF
  12387. if ac_fn_c_try_cpp "$LINENO"
  12388. then :
  12389. # We can compile using X headers with no special include directory.
  12390. ac_x_includes=
  12391. else $as_nop
  12392. for ac_dir in $ac_x_header_dirs; do
  12393. if test -r "$ac_dir/X11/Xlib.h"; then
  12394. ac_x_includes=$ac_dir
  12395. break
  12396. fi
  12397. done
  12398. fi
  12399. rm -f conftest.err conftest.i conftest.$ac_ext
  12400. fi # $ac_x_includes = no
  12401. if test "$ac_x_libraries" = no; then
  12402. # Check for the libraries.
  12403. # See if we find them without any special options.
  12404. # Don't add to $LIBS permanently.
  12405. ac_save_LIBS=$LIBS
  12406. LIBS="-lX11 $LIBS"
  12407. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12408. /* end confdefs.h. */
  12409. #include <X11/Xlib.h>
  12410. int
  12411. main (void)
  12412. {
  12413. XrmInitialize ()
  12414. ;
  12415. return 0;
  12416. }
  12417. _ACEOF
  12418. if ac_fn_c_try_link "$LINENO"
  12419. then :
  12420. LIBS=$ac_save_LIBS
  12421. # We can link X programs with no special library path.
  12422. ac_x_libraries=
  12423. else $as_nop
  12424. LIBS=$ac_save_LIBS
  12425. for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  12426. do
  12427. # Don't even attempt the hair of trying to link an X program!
  12428. for ac_extension in a so sl dylib la dll; do
  12429. if test -r "$ac_dir/libX11.$ac_extension"; then
  12430. ac_x_libraries=$ac_dir
  12431. break 2
  12432. fi
  12433. done
  12434. done
  12435. fi
  12436. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12437. conftest$ac_exeext conftest.$ac_ext
  12438. fi # $ac_x_libraries = no
  12439. fi
  12440. # Record the results.
  12441. case $ac_x_includes,$ac_x_libraries in #(
  12442. no,* | *,no | *\'*) :
  12443. # Didn't find X, or a directory has "'" in its name.
  12444. ac_cv_have_x="have_x=no" ;; #(
  12445. *) :
  12446. # Record where we found X for the cache.
  12447. ac_cv_have_x="have_x=yes\
  12448. ac_x_includes='$ac_x_includes'\
  12449. ac_x_libraries='$ac_x_libraries'" ;;
  12450. esac
  12451. fi
  12452. ;; #(
  12453. *) have_x=yes;;
  12454. esac
  12455. eval "$ac_cv_have_x"
  12456. fi # $with_x != no
  12457. if test "$have_x" != yes; then
  12458. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  12459. printf "%s\n" "$have_x" >&6; }
  12460. no_x=yes
  12461. else
  12462. # If each of the values was on the command line, it overrides each guess.
  12463. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  12464. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  12465. # Update the cache value to reflect the command line values.
  12466. ac_cv_have_x="have_x=yes\
  12467. ac_x_includes='$x_includes'\
  12468. ac_x_libraries='$x_libraries'"
  12469. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  12470. printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
  12471. fi
  12472. if test "$no_x" = yes; then
  12473. # Not all programs may use this symbol, but it does not hurt to define it.
  12474. printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
  12475. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  12476. else
  12477. if test -n "$x_includes"; then
  12478. X_CFLAGS="$X_CFLAGS -I$x_includes"
  12479. fi
  12480. # It would also be nice to do this for all -L options, not just this one.
  12481. if test -n "$x_libraries"; then
  12482. X_LIBS="$X_LIBS -L$x_libraries"
  12483. # For Solaris; some versions of Sun CC require a space after -R and
  12484. # others require no space. Words are not sufficient . . . .
  12485. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  12486. printf %s "checking whether -R must be followed by a space... " >&6; }
  12487. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  12488. ac_xsave_c_werror_flag=$ac_c_werror_flag
  12489. ac_c_werror_flag=yes
  12490. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12491. /* end confdefs.h. */
  12492. int
  12493. main (void)
  12494. {
  12495. ;
  12496. return 0;
  12497. }
  12498. _ACEOF
  12499. if ac_fn_c_try_link "$LINENO"
  12500. then :
  12501. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12502. printf "%s\n" "no" >&6; }
  12503. X_LIBS="$X_LIBS -R$x_libraries"
  12504. else $as_nop
  12505. LIBS="$ac_xsave_LIBS -R $x_libraries"
  12506. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12507. /* end confdefs.h. */
  12508. int
  12509. main (void)
  12510. {
  12511. ;
  12512. return 0;
  12513. }
  12514. _ACEOF
  12515. if ac_fn_c_try_link "$LINENO"
  12516. then :
  12517. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12518. printf "%s\n" "yes" >&6; }
  12519. X_LIBS="$X_LIBS -R $x_libraries"
  12520. else $as_nop
  12521. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  12522. printf "%s\n" "neither works" >&6; }
  12523. fi
  12524. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12525. conftest$ac_exeext conftest.$ac_ext
  12526. fi
  12527. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12528. conftest$ac_exeext conftest.$ac_ext
  12529. ac_c_werror_flag=$ac_xsave_c_werror_flag
  12530. LIBS=$ac_xsave_LIBS
  12531. fi
  12532. # Check for system-dependent libraries X programs must link with.
  12533. # Do this before checking for the system-independent R6 libraries
  12534. # (-lICE), since we may need -lsocket or whatever for X linking.
  12535. if test "$ISC" = yes; then
  12536. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  12537. else
  12538. # Martyn Johnson says this is needed for Ultrix, if the X
  12539. # libraries were built with DECnet support. And Karl Berry says
  12540. # the Alpha needs dnet_stub (dnet does not exist).
  12541. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  12542. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12543. /* end confdefs.h. */
  12544. /* Override any GCC internal prototype to avoid an error.
  12545. Use char because int might match the return type of a GCC
  12546. builtin and then its argument prototype would still apply. */
  12547. char XOpenDisplay ();
  12548. int
  12549. main (void)
  12550. {
  12551. return XOpenDisplay ();
  12552. ;
  12553. return 0;
  12554. }
  12555. _ACEOF
  12556. if ac_fn_c_try_link "$LINENO"
  12557. then :
  12558. else $as_nop
  12559. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  12560. printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
  12561. if test ${ac_cv_lib_dnet_dnet_ntoa+y}
  12562. then :
  12563. printf %s "(cached) " >&6
  12564. else $as_nop
  12565. ac_check_lib_save_LIBS=$LIBS
  12566. LIBS="-ldnet $LIBS"
  12567. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12568. /* end confdefs.h. */
  12569. /* Override any GCC internal prototype to avoid an error.
  12570. Use char because int might match the return type of a GCC
  12571. builtin and then its argument prototype would still apply. */
  12572. char dnet_ntoa ();
  12573. int
  12574. main (void)
  12575. {
  12576. return dnet_ntoa ();
  12577. ;
  12578. return 0;
  12579. }
  12580. _ACEOF
  12581. if ac_fn_c_try_link "$LINENO"
  12582. then :
  12583. ac_cv_lib_dnet_dnet_ntoa=yes
  12584. else $as_nop
  12585. ac_cv_lib_dnet_dnet_ntoa=no
  12586. fi
  12587. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12588. conftest$ac_exeext conftest.$ac_ext
  12589. LIBS=$ac_check_lib_save_LIBS
  12590. fi
  12591. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  12592. printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  12593. if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
  12594. then :
  12595. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  12596. fi
  12597. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  12598. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  12599. printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  12600. if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
  12601. then :
  12602. printf %s "(cached) " >&6
  12603. else $as_nop
  12604. ac_check_lib_save_LIBS=$LIBS
  12605. LIBS="-ldnet_stub $LIBS"
  12606. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12607. /* end confdefs.h. */
  12608. /* Override any GCC internal prototype to avoid an error.
  12609. Use char because int might match the return type of a GCC
  12610. builtin and then its argument prototype would still apply. */
  12611. char dnet_ntoa ();
  12612. int
  12613. main (void)
  12614. {
  12615. return dnet_ntoa ();
  12616. ;
  12617. return 0;
  12618. }
  12619. _ACEOF
  12620. if ac_fn_c_try_link "$LINENO"
  12621. then :
  12622. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  12623. else $as_nop
  12624. ac_cv_lib_dnet_stub_dnet_ntoa=no
  12625. fi
  12626. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12627. conftest$ac_exeext conftest.$ac_ext
  12628. LIBS=$ac_check_lib_save_LIBS
  12629. fi
  12630. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  12631. printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  12632. if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
  12633. then :
  12634. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  12635. fi
  12636. fi
  12637. fi
  12638. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12639. conftest$ac_exeext conftest.$ac_ext
  12640. LIBS="$ac_xsave_LIBS"
  12641. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  12642. # to get the SysV transport functions.
  12643. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  12644. # needs -lnsl.
  12645. # The nsl library prevents programs from opening the X display
  12646. # on Irix 5.2, according to T.E. Dickey.
  12647. # The functions gethostbyname, getservbyname, and inet_addr are
  12648. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  12649. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  12650. if test "x$ac_cv_func_gethostbyname" = xyes
  12651. then :
  12652. fi
  12653. if test $ac_cv_func_gethostbyname = no; then
  12654. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  12655. printf %s "checking for gethostbyname in -lnsl... " >&6; }
  12656. if test ${ac_cv_lib_nsl_gethostbyname+y}
  12657. then :
  12658. printf %s "(cached) " >&6
  12659. else $as_nop
  12660. ac_check_lib_save_LIBS=$LIBS
  12661. LIBS="-lnsl $LIBS"
  12662. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12663. /* end confdefs.h. */
  12664. /* Override any GCC internal prototype to avoid an error.
  12665. Use char because int might match the return type of a GCC
  12666. builtin and then its argument prototype would still apply. */
  12667. char gethostbyname ();
  12668. int
  12669. main (void)
  12670. {
  12671. return gethostbyname ();
  12672. ;
  12673. return 0;
  12674. }
  12675. _ACEOF
  12676. if ac_fn_c_try_link "$LINENO"
  12677. then :
  12678. ac_cv_lib_nsl_gethostbyname=yes
  12679. else $as_nop
  12680. ac_cv_lib_nsl_gethostbyname=no
  12681. fi
  12682. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12683. conftest$ac_exeext conftest.$ac_ext
  12684. LIBS=$ac_check_lib_save_LIBS
  12685. fi
  12686. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  12687. printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
  12688. if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
  12689. then :
  12690. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  12691. fi
  12692. if test $ac_cv_lib_nsl_gethostbyname = no; then
  12693. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  12694. printf %s "checking for gethostbyname in -lbsd... " >&6; }
  12695. if test ${ac_cv_lib_bsd_gethostbyname+y}
  12696. then :
  12697. printf %s "(cached) " >&6
  12698. else $as_nop
  12699. ac_check_lib_save_LIBS=$LIBS
  12700. LIBS="-lbsd $LIBS"
  12701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12702. /* end confdefs.h. */
  12703. /* Override any GCC internal prototype to avoid an error.
  12704. Use char because int might match the return type of a GCC
  12705. builtin and then its argument prototype would still apply. */
  12706. char gethostbyname ();
  12707. int
  12708. main (void)
  12709. {
  12710. return gethostbyname ();
  12711. ;
  12712. return 0;
  12713. }
  12714. _ACEOF
  12715. if ac_fn_c_try_link "$LINENO"
  12716. then :
  12717. ac_cv_lib_bsd_gethostbyname=yes
  12718. else $as_nop
  12719. ac_cv_lib_bsd_gethostbyname=no
  12720. fi
  12721. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12722. conftest$ac_exeext conftest.$ac_ext
  12723. LIBS=$ac_check_lib_save_LIBS
  12724. fi
  12725. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  12726. printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
  12727. if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
  12728. then :
  12729. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  12730. fi
  12731. fi
  12732. fi
  12733. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  12734. # socket/setsockopt and other routines are undefined under SCO ODT
  12735. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  12736. # on later versions), says Simon Leinen: it contains gethostby*
  12737. # variants that don't use the name server (or something). -lsocket
  12738. # must be given before -lnsl if both are needed. We assume that
  12739. # if connect needs -lnsl, so does gethostbyname.
  12740. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  12741. if test "x$ac_cv_func_connect" = xyes
  12742. then :
  12743. fi
  12744. if test $ac_cv_func_connect = no; then
  12745. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  12746. printf %s "checking for connect in -lsocket... " >&6; }
  12747. if test ${ac_cv_lib_socket_connect+y}
  12748. then :
  12749. printf %s "(cached) " >&6
  12750. else $as_nop
  12751. ac_check_lib_save_LIBS=$LIBS
  12752. LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  12753. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12754. /* end confdefs.h. */
  12755. /* Override any GCC internal prototype to avoid an error.
  12756. Use char because int might match the return type of a GCC
  12757. builtin and then its argument prototype would still apply. */
  12758. char connect ();
  12759. int
  12760. main (void)
  12761. {
  12762. return connect ();
  12763. ;
  12764. return 0;
  12765. }
  12766. _ACEOF
  12767. if ac_fn_c_try_link "$LINENO"
  12768. then :
  12769. ac_cv_lib_socket_connect=yes
  12770. else $as_nop
  12771. ac_cv_lib_socket_connect=no
  12772. fi
  12773. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12774. conftest$ac_exeext conftest.$ac_ext
  12775. LIBS=$ac_check_lib_save_LIBS
  12776. fi
  12777. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  12778. printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
  12779. if test "x$ac_cv_lib_socket_connect" = xyes
  12780. then :
  12781. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  12782. fi
  12783. fi
  12784. # Guillermo Gomez says -lposix is necessary on A/UX.
  12785. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  12786. if test "x$ac_cv_func_remove" = xyes
  12787. then :
  12788. fi
  12789. if test $ac_cv_func_remove = no; then
  12790. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  12791. printf %s "checking for remove in -lposix... " >&6; }
  12792. if test ${ac_cv_lib_posix_remove+y}
  12793. then :
  12794. printf %s "(cached) " >&6
  12795. else $as_nop
  12796. ac_check_lib_save_LIBS=$LIBS
  12797. LIBS="-lposix $LIBS"
  12798. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12799. /* end confdefs.h. */
  12800. /* Override any GCC internal prototype to avoid an error.
  12801. Use char because int might match the return type of a GCC
  12802. builtin and then its argument prototype would still apply. */
  12803. char remove ();
  12804. int
  12805. main (void)
  12806. {
  12807. return remove ();
  12808. ;
  12809. return 0;
  12810. }
  12811. _ACEOF
  12812. if ac_fn_c_try_link "$LINENO"
  12813. then :
  12814. ac_cv_lib_posix_remove=yes
  12815. else $as_nop
  12816. ac_cv_lib_posix_remove=no
  12817. fi
  12818. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12819. conftest$ac_exeext conftest.$ac_ext
  12820. LIBS=$ac_check_lib_save_LIBS
  12821. fi
  12822. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  12823. printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
  12824. if test "x$ac_cv_lib_posix_remove" = xyes
  12825. then :
  12826. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  12827. fi
  12828. fi
  12829. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  12830. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  12831. if test "x$ac_cv_func_shmat" = xyes
  12832. then :
  12833. fi
  12834. if test $ac_cv_func_shmat = no; then
  12835. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  12836. printf %s "checking for shmat in -lipc... " >&6; }
  12837. if test ${ac_cv_lib_ipc_shmat+y}
  12838. then :
  12839. printf %s "(cached) " >&6
  12840. else $as_nop
  12841. ac_check_lib_save_LIBS=$LIBS
  12842. LIBS="-lipc $LIBS"
  12843. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12844. /* end confdefs.h. */
  12845. /* Override any GCC internal prototype to avoid an error.
  12846. Use char because int might match the return type of a GCC
  12847. builtin and then its argument prototype would still apply. */
  12848. char shmat ();
  12849. int
  12850. main (void)
  12851. {
  12852. return shmat ();
  12853. ;
  12854. return 0;
  12855. }
  12856. _ACEOF
  12857. if ac_fn_c_try_link "$LINENO"
  12858. then :
  12859. ac_cv_lib_ipc_shmat=yes
  12860. else $as_nop
  12861. ac_cv_lib_ipc_shmat=no
  12862. fi
  12863. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12864. conftest$ac_exeext conftest.$ac_ext
  12865. LIBS=$ac_check_lib_save_LIBS
  12866. fi
  12867. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  12868. printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
  12869. if test "x$ac_cv_lib_ipc_shmat" = xyes
  12870. then :
  12871. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  12872. fi
  12873. fi
  12874. fi
  12875. # Check for libraries that X11R6 Xt/Xaw programs need.
  12876. ac_save_LDFLAGS=$LDFLAGS
  12877. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  12878. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  12879. # check for ICE first), but we must link in the order -lSM -lICE or
  12880. # we get undefined symbols. So assume we have SM if we have ICE.
  12881. # These have to be linked with before -lX11, unlike the other
  12882. # libraries we check for below, so use a different variable.
  12883. # John Interrante, Karl Berry
  12884. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  12885. printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
  12886. if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
  12887. then :
  12888. printf %s "(cached) " >&6
  12889. else $as_nop
  12890. ac_check_lib_save_LIBS=$LIBS
  12891. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  12892. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12893. /* end confdefs.h. */
  12894. /* Override any GCC internal prototype to avoid an error.
  12895. Use char because int might match the return type of a GCC
  12896. builtin and then its argument prototype would still apply. */
  12897. char IceConnectionNumber ();
  12898. int
  12899. main (void)
  12900. {
  12901. return IceConnectionNumber ();
  12902. ;
  12903. return 0;
  12904. }
  12905. _ACEOF
  12906. if ac_fn_c_try_link "$LINENO"
  12907. then :
  12908. ac_cv_lib_ICE_IceConnectionNumber=yes
  12909. else $as_nop
  12910. ac_cv_lib_ICE_IceConnectionNumber=no
  12911. fi
  12912. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12913. conftest$ac_exeext conftest.$ac_ext
  12914. LIBS=$ac_check_lib_save_LIBS
  12915. fi
  12916. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  12917. printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  12918. if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
  12919. then :
  12920. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  12921. fi
  12922. LDFLAGS=$ac_save_LDFLAGS
  12923. fi
  12924. if test "$have_x" = "yes"
  12925. then
  12926. ac_save_CPPFLAGS="$CPPFLAGS"
  12927. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  12928. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
  12929. printf %s "checking for -lX11... " >&6; }
  12930. if test ${ac_cv_lib_soname_X11+y}
  12931. then :
  12932. printf %s "(cached) " >&6
  12933. else $as_nop
  12934. ac_check_soname_save_LIBS=$LIBS
  12935. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  12936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12937. /* end confdefs.h. */
  12938. /* Override any GCC internal prototype to avoid an error.
  12939. Use char because int might match the return type of a GCC
  12940. builtin and then its argument prototype would still apply. */
  12941. char XCreateWindow ();
  12942. int
  12943. main (void)
  12944. {
  12945. return XCreateWindow ();
  12946. ;
  12947. return 0;
  12948. }
  12949. _ACEOF
  12950. if ac_fn_c_try_link "$LINENO"
  12951. then :
  12952. case "$LIBEXT" in
  12953. dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12954. 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'` ;;
  12955. *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12956. if ${ac_cv_lib_soname_X11:+false} :
  12957. then :
  12958. ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12959. fi ;;
  12960. esac
  12961. else $as_nop
  12962. ac_cv_lib_soname_X11=
  12963. fi
  12964. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12965. conftest$ac_exeext conftest.$ac_ext
  12966. LIBS=$ac_check_soname_save_LIBS
  12967. fi
  12968. if ${ac_cv_lib_soname_X11:+false} :
  12969. then :
  12970. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12971. printf "%s\n" "not found" >&6; }
  12972. else $as_nop
  12973. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
  12974. printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
  12975. printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
  12976. fi
  12977. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
  12978. printf %s "checking for -lXext... " >&6; }
  12979. if test ${ac_cv_lib_soname_Xext+y}
  12980. then :
  12981. printf %s "(cached) " >&6
  12982. else $as_nop
  12983. ac_check_soname_save_LIBS=$LIBS
  12984. LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
  12985. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12986. /* end confdefs.h. */
  12987. /* Override any GCC internal prototype to avoid an error.
  12988. Use char because int might match the return type of a GCC
  12989. builtin and then its argument prototype would still apply. */
  12990. char XextCreateExtension ();
  12991. int
  12992. main (void)
  12993. {
  12994. return XextCreateExtension ();
  12995. ;
  12996. return 0;
  12997. }
  12998. _ACEOF
  12999. if ac_fn_c_try_link "$LINENO"
  13000. then :
  13001. case "$LIBEXT" in
  13002. dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13003. 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'` ;;
  13004. *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13005. if ${ac_cv_lib_soname_Xext:+false} :
  13006. then :
  13007. ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13008. fi ;;
  13009. esac
  13010. else $as_nop
  13011. ac_cv_lib_soname_Xext=
  13012. fi
  13013. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13014. conftest$ac_exeext conftest.$ac_ext
  13015. LIBS=$ac_check_soname_save_LIBS
  13016. fi
  13017. if ${ac_cv_lib_soname_Xext:+false} :
  13018. then :
  13019. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13020. printf "%s\n" "not found" >&6; }
  13021. else $as_nop
  13022. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
  13023. printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
  13024. printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
  13025. X_LIBS="$X_LIBS -lXext"
  13026. fi
  13027. X_LIBS="$X_LIBS -lX11"
  13028. ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
  13029. # include <X11/Xlib.h>
  13030. #endif
  13031. #ifdef HAVE_X11_XUTIL_H
  13032. # include <X11/Xutil.h>
  13033. #endif
  13034. "
  13035. if test "x$ac_cv_header_X11_Xlib_h" = xyes
  13036. then :
  13037. printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
  13038. fi
  13039. ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
  13040. # include <X11/Xlib.h>
  13041. #endif
  13042. #ifdef HAVE_X11_XUTIL_H
  13043. # include <X11/Xutil.h>
  13044. #endif
  13045. "
  13046. if test "x$ac_cv_header_X11_XKBlib_h" = xyes
  13047. then :
  13048. printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
  13049. fi
  13050. ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
  13051. # include <X11/Xlib.h>
  13052. #endif
  13053. #ifdef HAVE_X11_XUTIL_H
  13054. # include <X11/Xutil.h>
  13055. #endif
  13056. "
  13057. if test "x$ac_cv_header_X11_Xutil_h" = xyes
  13058. then :
  13059. printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
  13060. fi
  13061. ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
  13062. # include <X11/Xlib.h>
  13063. #endif
  13064. #ifdef HAVE_X11_XUTIL_H
  13065. # include <X11/Xutil.h>
  13066. #endif
  13067. "
  13068. if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
  13069. then :
  13070. printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
  13071. fi
  13072. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
  13073. # include <X11/Xlib.h>
  13074. #endif
  13075. #ifdef HAVE_X11_XUTIL_H
  13076. # include <X11/Xutil.h>
  13077. #endif
  13078. "
  13079. if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
  13080. then :
  13081. printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
  13082. fi
  13083. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
  13084. # include <X11/Xlib.h>
  13085. #endif
  13086. #ifdef HAVE_X11_XUTIL_H
  13087. # include <X11/Xutil.h>
  13088. #endif
  13089. "
  13090. if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
  13091. then :
  13092. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
  13093. fi
  13094. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
  13095. # include <X11/Xlib.h>
  13096. #endif
  13097. #ifdef HAVE_X11_XUTIL_H
  13098. # include <X11/Xutil.h>
  13099. #endif
  13100. "
  13101. if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
  13102. then :
  13103. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
  13104. fi
  13105. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
  13106. # include <X11/Xlib.h>
  13107. #endif
  13108. #ifdef HAVE_X11_XUTIL_H
  13109. # include <X11/Xutil.h>
  13110. #endif
  13111. "
  13112. if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
  13113. then :
  13114. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
  13115. fi
  13116. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
  13117. # include <X11/Xlib.h>
  13118. #endif
  13119. #ifdef HAVE_X11_XUTIL_H
  13120. # include <X11/Xutil.h>
  13121. #endif
  13122. "
  13123. if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
  13124. then :
  13125. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
  13126. fi
  13127. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
  13128. # include <X11/Xlib.h>
  13129. #endif
  13130. #ifdef HAVE_X11_XUTIL_H
  13131. # include <X11/Xutil.h>
  13132. #endif
  13133. "
  13134. if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
  13135. then :
  13136. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
  13137. fi
  13138. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
  13139. # include <X11/Xlib.h>
  13140. #endif
  13141. #ifdef HAVE_X11_XUTIL_H
  13142. # include <X11/Xutil.h>
  13143. #endif
  13144. "
  13145. if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
  13146. then :
  13147. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
  13148. fi
  13149. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
  13150. # include <X11/Xlib.h>
  13151. #endif
  13152. #ifdef HAVE_X11_XUTIL_H
  13153. # include <X11/Xutil.h>
  13154. #endif
  13155. "
  13156. if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
  13157. then :
  13158. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
  13159. fi
  13160. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
  13161. # include <X11/Xlib.h>
  13162. #endif
  13163. #ifdef HAVE_X11_XUTIL_H
  13164. # include <X11/Xutil.h>
  13165. #endif
  13166. "
  13167. if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
  13168. then :
  13169. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
  13170. fi
  13171. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
  13172. # include <X11/Xlib.h>
  13173. #endif
  13174. #ifdef HAVE_X11_XUTIL_H
  13175. # include <X11/Xutil.h>
  13176. #endif
  13177. "
  13178. if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
  13179. then :
  13180. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
  13181. fi
  13182. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
  13183. # include <X11/Xlib.h>
  13184. #endif
  13185. #ifdef HAVE_X11_XUTIL_H
  13186. # include <X11/Xutil.h>
  13187. #endif
  13188. "
  13189. if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
  13190. then :
  13191. printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
  13192. fi
  13193. if test "$ac_cv_header_X11_XKBlib_h" = "yes"
  13194. then
  13195. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
  13196. printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
  13197. if test ${ac_cv_lib_X11_XkbQueryExtension+y}
  13198. then :
  13199. printf %s "(cached) " >&6
  13200. else $as_nop
  13201. ac_check_lib_save_LIBS=$LIBS
  13202. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  13203. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13204. /* end confdefs.h. */
  13205. /* Override any GCC internal prototype to avoid an error.
  13206. Use char because int might match the return type of a GCC
  13207. builtin and then its argument prototype would still apply. */
  13208. char XkbQueryExtension ();
  13209. int
  13210. main (void)
  13211. {
  13212. return XkbQueryExtension ();
  13213. ;
  13214. return 0;
  13215. }
  13216. _ACEOF
  13217. if ac_fn_c_try_link "$LINENO"
  13218. then :
  13219. ac_cv_lib_X11_XkbQueryExtension=yes
  13220. else $as_nop
  13221. ac_cv_lib_X11_XkbQueryExtension=no
  13222. fi
  13223. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13224. conftest$ac_exeext conftest.$ac_ext
  13225. LIBS=$ac_check_lib_save_LIBS
  13226. fi
  13227. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
  13228. printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
  13229. if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
  13230. then :
  13231. printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
  13232. fi
  13233. fi
  13234. if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
  13235. then
  13236. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
  13237. printf %s "checking for -lXcursor... " >&6; }
  13238. if test ${ac_cv_lib_soname_Xcursor+y}
  13239. then :
  13240. printf %s "(cached) " >&6
  13241. else $as_nop
  13242. ac_check_soname_save_LIBS=$LIBS
  13243. LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
  13244. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13245. /* end confdefs.h. */
  13246. /* Override any GCC internal prototype to avoid an error.
  13247. Use char because int might match the return type of a GCC
  13248. builtin and then its argument prototype would still apply. */
  13249. char XcursorImageLoadCursor ();
  13250. int
  13251. main (void)
  13252. {
  13253. return XcursorImageLoadCursor ();
  13254. ;
  13255. return 0;
  13256. }
  13257. _ACEOF
  13258. if ac_fn_c_try_link "$LINENO"
  13259. then :
  13260. case "$LIBEXT" in
  13261. dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13262. 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'` ;;
  13263. *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13264. if ${ac_cv_lib_soname_Xcursor:+false} :
  13265. then :
  13266. ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13267. fi ;;
  13268. esac
  13269. else $as_nop
  13270. ac_cv_lib_soname_Xcursor=
  13271. fi
  13272. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13273. conftest$ac_exeext conftest.$ac_ext
  13274. LIBS=$ac_check_soname_save_LIBS
  13275. fi
  13276. if ${ac_cv_lib_soname_Xcursor:+false} :
  13277. then :
  13278. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13279. printf "%s\n" "not found" >&6; }
  13280. else $as_nop
  13281. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
  13282. printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
  13283. printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
  13284. fi
  13285. fi
  13286. if test "x$ac_cv_lib_soname_Xcursor" = "x"
  13287. then :
  13288. case "x$with_xcursor" in
  13289. x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
  13290. xno) ;;
  13291. *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
  13292. This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
  13293. esac
  13294. fi
  13295. if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
  13296. then
  13297. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
  13298. printf %s "checking for -lXi... " >&6; }
  13299. if test ${ac_cv_lib_soname_Xi+y}
  13300. then :
  13301. printf %s "(cached) " >&6
  13302. else $as_nop
  13303. ac_check_soname_save_LIBS=$LIBS
  13304. LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
  13305. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13306. /* end confdefs.h. */
  13307. /* Override any GCC internal prototype to avoid an error.
  13308. Use char because int might match the return type of a GCC
  13309. builtin and then its argument prototype would still apply. */
  13310. char XOpenDevice ();
  13311. int
  13312. main (void)
  13313. {
  13314. return XOpenDevice ();
  13315. ;
  13316. return 0;
  13317. }
  13318. _ACEOF
  13319. if ac_fn_c_try_link "$LINENO"
  13320. then :
  13321. case "$LIBEXT" in
  13322. dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13323. 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'` ;;
  13324. *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13325. if ${ac_cv_lib_soname_Xi:+false} :
  13326. then :
  13327. ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13328. fi ;;
  13329. esac
  13330. else $as_nop
  13331. ac_cv_lib_soname_Xi=
  13332. fi
  13333. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13334. conftest$ac_exeext conftest.$ac_ext
  13335. LIBS=$ac_check_soname_save_LIBS
  13336. fi
  13337. if ${ac_cv_lib_soname_Xi:+false} :
  13338. then :
  13339. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13340. printf "%s\n" "not found" >&6; }
  13341. else $as_nop
  13342. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
  13343. printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
  13344. printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
  13345. fi
  13346. fi
  13347. if test "x$ac_cv_lib_soname_Xi" = "x"
  13348. then :
  13349. case "x$with_xinput" in
  13350. x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
  13351. xno) ;;
  13352. *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
  13353. This is an error since --with-xinput was requested." "$LINENO" 5 ;;
  13354. esac
  13355. fi
  13356. if test "x$ac_cv_lib_soname_Xi" != x
  13357. then
  13358. if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
  13359. then :
  13360. case "x$with_xinput2" in
  13361. x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
  13362. xno) ;;
  13363. *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
  13364. This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
  13365. esac
  13366. fi
  13367. fi
  13368. if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
  13369. then
  13370. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
  13371. printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
  13372. if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
  13373. then :
  13374. printf %s "(cached) " >&6
  13375. else $as_nop
  13376. ac_check_lib_save_LIBS=$LIBS
  13377. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  13378. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13379. /* end confdefs.h. */
  13380. /* Override any GCC internal prototype to avoid an error.
  13381. Use char because int might match the return type of a GCC
  13382. builtin and then its argument prototype would still apply. */
  13383. char XShmQueryExtension ();
  13384. int
  13385. main (void)
  13386. {
  13387. return XShmQueryExtension ();
  13388. ;
  13389. return 0;
  13390. }
  13391. _ACEOF
  13392. if ac_fn_c_try_link "$LINENO"
  13393. then :
  13394. ac_cv_lib_Xext_XShmQueryExtension=yes
  13395. else $as_nop
  13396. ac_cv_lib_Xext_XShmQueryExtension=no
  13397. fi
  13398. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13399. conftest$ac_exeext conftest.$ac_ext
  13400. LIBS=$ac_check_lib_save_LIBS
  13401. fi
  13402. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
  13403. printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
  13404. if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
  13405. then :
  13406. printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
  13407. fi
  13408. fi
  13409. if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
  13410. then :
  13411. case "x$with_xshm" in
  13412. x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
  13413. xno) ;;
  13414. *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
  13415. This is an error since --with-xshm was requested." "$LINENO" 5 ;;
  13416. esac
  13417. fi
  13418. if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
  13419. then
  13420. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
  13421. printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
  13422. if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
  13423. then :
  13424. printf %s "(cached) " >&6
  13425. else $as_nop
  13426. ac_check_lib_save_LIBS=$LIBS
  13427. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  13428. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13429. /* end confdefs.h. */
  13430. /* Override any GCC internal prototype to avoid an error.
  13431. Use char because int might match the return type of a GCC
  13432. builtin and then its argument prototype would still apply. */
  13433. char XShapeQueryExtension ();
  13434. int
  13435. main (void)
  13436. {
  13437. return XShapeQueryExtension ();
  13438. ;
  13439. return 0;
  13440. }
  13441. _ACEOF
  13442. if ac_fn_c_try_link "$LINENO"
  13443. then :
  13444. ac_cv_lib_Xext_XShapeQueryExtension=yes
  13445. else $as_nop
  13446. ac_cv_lib_Xext_XShapeQueryExtension=no
  13447. fi
  13448. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13449. conftest$ac_exeext conftest.$ac_ext
  13450. LIBS=$ac_check_lib_save_LIBS
  13451. fi
  13452. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  13453. printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  13454. if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
  13455. then :
  13456. printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
  13457. fi
  13458. fi
  13459. if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
  13460. then :
  13461. case "x$with_xshape" in
  13462. x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
  13463. xno) ;;
  13464. *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
  13465. This is an error since --with-xshape was requested." "$LINENO" 5 ;;
  13466. esac
  13467. fi
  13468. if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
  13469. then
  13470. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
  13471. printf %s "checking for -lXxf86vm... " >&6; }
  13472. if test ${ac_cv_lib_soname_Xxf86vm+y}
  13473. then :
  13474. printf %s "(cached) " >&6
  13475. else $as_nop
  13476. ac_check_soname_save_LIBS=$LIBS
  13477. LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
  13478. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13479. /* end confdefs.h. */
  13480. /* Override any GCC internal prototype to avoid an error.
  13481. Use char because int might match the return type of a GCC
  13482. builtin and then its argument prototype would still apply. */
  13483. char XF86VidModeQueryExtension ();
  13484. int
  13485. main (void)
  13486. {
  13487. return XF86VidModeQueryExtension ();
  13488. ;
  13489. return 0;
  13490. }
  13491. _ACEOF
  13492. if ac_fn_c_try_link "$LINENO"
  13493. then :
  13494. case "$LIBEXT" in
  13495. dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13496. 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'` ;;
  13497. *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13498. if ${ac_cv_lib_soname_Xxf86vm:+false} :
  13499. then :
  13500. ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13501. fi ;;
  13502. esac
  13503. else $as_nop
  13504. ac_cv_lib_soname_Xxf86vm=
  13505. fi
  13506. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13507. conftest$ac_exeext conftest.$ac_ext
  13508. LIBS=$ac_check_soname_save_LIBS
  13509. fi
  13510. if ${ac_cv_lib_soname_Xxf86vm:+false} :
  13511. then :
  13512. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13513. printf "%s\n" "not found" >&6; }
  13514. else $as_nop
  13515. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
  13516. printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
  13517. printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
  13518. fi
  13519. fi
  13520. if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
  13521. then :
  13522. case "x$with_xxf86vm" in
  13523. x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
  13524. xno) ;;
  13525. *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
  13526. This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
  13527. esac
  13528. fi
  13529. if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
  13530. then
  13531. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
  13532. printf %s "checking for -lXrender... " >&6; }
  13533. if test ${ac_cv_lib_soname_Xrender+y}
  13534. then :
  13535. printf %s "(cached) " >&6
  13536. else $as_nop
  13537. ac_check_soname_save_LIBS=$LIBS
  13538. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13539. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13540. /* end confdefs.h. */
  13541. /* Override any GCC internal prototype to avoid an error.
  13542. Use char because int might match the return type of a GCC
  13543. builtin and then its argument prototype would still apply. */
  13544. char XRenderQueryExtension ();
  13545. int
  13546. main (void)
  13547. {
  13548. return XRenderQueryExtension ();
  13549. ;
  13550. return 0;
  13551. }
  13552. _ACEOF
  13553. if ac_fn_c_try_link "$LINENO"
  13554. then :
  13555. case "$LIBEXT" in
  13556. dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13557. 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'` ;;
  13558. *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13559. if ${ac_cv_lib_soname_Xrender:+false} :
  13560. then :
  13561. ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13562. fi ;;
  13563. esac
  13564. else $as_nop
  13565. ac_cv_lib_soname_Xrender=
  13566. fi
  13567. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13568. conftest$ac_exeext conftest.$ac_ext
  13569. LIBS=$ac_check_soname_save_LIBS
  13570. fi
  13571. if ${ac_cv_lib_soname_Xrender:+false} :
  13572. then :
  13573. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13574. printf "%s\n" "not found" >&6; }
  13575. else $as_nop
  13576. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
  13577. printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
  13578. printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
  13579. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
  13580. printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
  13581. if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
  13582. then :
  13583. printf %s "(cached) " >&6
  13584. else $as_nop
  13585. ac_check_lib_save_LIBS=$LIBS
  13586. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13587. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13588. /* end confdefs.h. */
  13589. /* Override any GCC internal prototype to avoid an error.
  13590. Use char because int might match the return type of a GCC
  13591. builtin and then its argument prototype would still apply. */
  13592. char XRenderSetPictureTransform ();
  13593. int
  13594. main (void)
  13595. {
  13596. return XRenderSetPictureTransform ();
  13597. ;
  13598. return 0;
  13599. }
  13600. _ACEOF
  13601. if ac_fn_c_try_link "$LINENO"
  13602. then :
  13603. ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
  13604. else $as_nop
  13605. ac_cv_lib_Xrender_XRenderSetPictureTransform=no
  13606. fi
  13607. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13608. conftest$ac_exeext conftest.$ac_ext
  13609. LIBS=$ac_check_lib_save_LIBS
  13610. fi
  13611. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
  13612. printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
  13613. if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
  13614. then :
  13615. printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
  13616. fi
  13617. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
  13618. printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
  13619. if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
  13620. then :
  13621. printf %s "(cached) " >&6
  13622. else $as_nop
  13623. ac_check_lib_save_LIBS=$LIBS
  13624. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  13625. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13626. /* end confdefs.h. */
  13627. /* Override any GCC internal prototype to avoid an error.
  13628. Use char because int might match the return type of a GCC
  13629. builtin and then its argument prototype would still apply. */
  13630. char XRenderCreateLinearGradient ();
  13631. int
  13632. main (void)
  13633. {
  13634. return XRenderCreateLinearGradient ();
  13635. ;
  13636. return 0;
  13637. }
  13638. _ACEOF
  13639. if ac_fn_c_try_link "$LINENO"
  13640. then :
  13641. ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
  13642. else $as_nop
  13643. ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
  13644. fi
  13645. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13646. conftest$ac_exeext conftest.$ac_ext
  13647. LIBS=$ac_check_lib_save_LIBS
  13648. fi
  13649. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
  13650. printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
  13651. if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
  13652. then :
  13653. printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
  13654. fi
  13655. fi
  13656. fi
  13657. if test "x$ac_cv_lib_soname_Xrender" = "x"
  13658. then :
  13659. case "x$with_xrender" in
  13660. x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
  13661. xno) ;;
  13662. *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
  13663. This is an error since --with-xrender was requested." "$LINENO" 5 ;;
  13664. esac
  13665. fi
  13666. if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
  13667. then
  13668. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13669. /* end confdefs.h. */
  13670. #include <X11/Xlib.h>
  13671. #include <X11/extensions/Xrandr.h>
  13672. int
  13673. main (void)
  13674. {
  13675. static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
  13676. ;
  13677. return 0;
  13678. }
  13679. _ACEOF
  13680. if ac_fn_c_try_compile "$LINENO"
  13681. then :
  13682. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
  13683. printf %s "checking for -lXrandr... " >&6; }
  13684. if test ${ac_cv_lib_soname_Xrandr+y}
  13685. then :
  13686. printf %s "(cached) " >&6
  13687. else $as_nop
  13688. ac_check_soname_save_LIBS=$LIBS
  13689. LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
  13690. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13691. /* end confdefs.h. */
  13692. /* Override any GCC internal prototype to avoid an error.
  13693. Use char because int might match the return type of a GCC
  13694. builtin and then its argument prototype would still apply. */
  13695. char XRRQueryExtension ();
  13696. int
  13697. main (void)
  13698. {
  13699. return XRRQueryExtension ();
  13700. ;
  13701. return 0;
  13702. }
  13703. _ACEOF
  13704. if ac_fn_c_try_link "$LINENO"
  13705. then :
  13706. case "$LIBEXT" in
  13707. dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13708. 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'` ;;
  13709. *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13710. if ${ac_cv_lib_soname_Xrandr:+false} :
  13711. then :
  13712. ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13713. fi ;;
  13714. esac
  13715. else $as_nop
  13716. ac_cv_lib_soname_Xrandr=
  13717. fi
  13718. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13719. conftest$ac_exeext conftest.$ac_ext
  13720. LIBS=$ac_check_soname_save_LIBS
  13721. fi
  13722. if ${ac_cv_lib_soname_Xrandr:+false} :
  13723. then :
  13724. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13725. printf "%s\n" "not found" >&6; }
  13726. else $as_nop
  13727. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
  13728. printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
  13729. printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
  13730. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13731. /* end confdefs.h. */
  13732. #include <X11/Xlib.h>
  13733. #include <X11/extensions/Xrandr.h>
  13734. int
  13735. main (void)
  13736. {
  13737. static typeof(XRRGetProviderResources) *f; if (f) return 0;
  13738. ;
  13739. return 0;
  13740. }
  13741. _ACEOF
  13742. if ac_fn_c_try_compile "$LINENO"
  13743. then :
  13744. printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
  13745. else $as_nop
  13746. as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
  13747. fi
  13748. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13749. fi
  13750. fi
  13751. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13752. fi
  13753. if test "x$ac_cv_lib_soname_Xrandr" = "x"
  13754. then :
  13755. case "x$with_xrandr" in
  13756. x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
  13757. xno) ;;
  13758. *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
  13759. This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
  13760. esac
  13761. fi
  13762. if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
  13763. then
  13764. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13765. /* end confdefs.h. */
  13766. #include <X11/Xlib.h>
  13767. #include <X11/extensions/Xfixes.h>
  13768. int
  13769. main (void)
  13770. {
  13771. static typeof(XFixesQueryVersion) * func; if (func) return 0;
  13772. ;
  13773. return 0;
  13774. }
  13775. _ACEOF
  13776. if ac_fn_c_try_compile "$LINENO"
  13777. then :
  13778. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
  13779. printf %s "checking for -lXfixes... " >&6; }
  13780. if test ${ac_cv_lib_soname_Xfixes+y}
  13781. then :
  13782. printf %s "(cached) " >&6
  13783. else $as_nop
  13784. ac_check_soname_save_LIBS=$LIBS
  13785. LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
  13786. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13787. /* end confdefs.h. */
  13788. /* Override any GCC internal prototype to avoid an error.
  13789. Use char because int might match the return type of a GCC
  13790. builtin and then its argument prototype would still apply. */
  13791. char XFixesQueryVersion ();
  13792. int
  13793. main (void)
  13794. {
  13795. return XFixesQueryVersion ();
  13796. ;
  13797. return 0;
  13798. }
  13799. _ACEOF
  13800. if ac_fn_c_try_link "$LINENO"
  13801. then :
  13802. case "$LIBEXT" in
  13803. dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13804. 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'` ;;
  13805. *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13806. if ${ac_cv_lib_soname_Xfixes:+false} :
  13807. then :
  13808. ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13809. fi ;;
  13810. esac
  13811. else $as_nop
  13812. ac_cv_lib_soname_Xfixes=
  13813. fi
  13814. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13815. conftest$ac_exeext conftest.$ac_ext
  13816. LIBS=$ac_check_soname_save_LIBS
  13817. fi
  13818. if ${ac_cv_lib_soname_Xfixes:+false} :
  13819. then :
  13820. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13821. printf "%s\n" "not found" >&6; }
  13822. else $as_nop
  13823. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
  13824. printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
  13825. printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
  13826. fi
  13827. fi
  13828. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13829. fi
  13830. if test "x$ac_cv_lib_soname_Xfixes" = "x"
  13831. then :
  13832. case "x$with_xfixes" in
  13833. x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
  13834. xno) ;;
  13835. *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
  13836. This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
  13837. esac
  13838. fi
  13839. if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
  13840. then
  13841. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13842. /* end confdefs.h. */
  13843. #include <X11/Xlib.h>
  13844. #include <X11/extensions/Xinerama.h>
  13845. int
  13846. main (void)
  13847. {
  13848. static typeof(XineramaQueryScreens) * func; if (func) return 0;
  13849. ;
  13850. return 0;
  13851. }
  13852. _ACEOF
  13853. if ac_fn_c_try_compile "$LINENO"
  13854. then :
  13855. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
  13856. printf %s "checking for -lXinerama... " >&6; }
  13857. if test ${ac_cv_lib_soname_Xinerama+y}
  13858. then :
  13859. printf %s "(cached) " >&6
  13860. else $as_nop
  13861. ac_check_soname_save_LIBS=$LIBS
  13862. LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
  13863. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13864. /* end confdefs.h. */
  13865. /* Override any GCC internal prototype to avoid an error.
  13866. Use char because int might match the return type of a GCC
  13867. builtin and then its argument prototype would still apply. */
  13868. char XineramaQueryScreens ();
  13869. int
  13870. main (void)
  13871. {
  13872. return XineramaQueryScreens ();
  13873. ;
  13874. return 0;
  13875. }
  13876. _ACEOF
  13877. if ac_fn_c_try_link "$LINENO"
  13878. then :
  13879. case "$LIBEXT" in
  13880. dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13881. 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'` ;;
  13882. *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13883. if ${ac_cv_lib_soname_Xinerama:+false} :
  13884. then :
  13885. ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13886. fi ;;
  13887. esac
  13888. else $as_nop
  13889. ac_cv_lib_soname_Xinerama=
  13890. fi
  13891. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13892. conftest$ac_exeext conftest.$ac_ext
  13893. LIBS=$ac_check_soname_save_LIBS
  13894. fi
  13895. if ${ac_cv_lib_soname_Xinerama:+false} :
  13896. then :
  13897. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13898. printf "%s\n" "not found" >&6; }
  13899. else $as_nop
  13900. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
  13901. printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
  13902. printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
  13903. fi
  13904. fi
  13905. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13906. fi
  13907. if test "x$ac_cv_lib_soname_Xinerama" = "x"
  13908. then :
  13909. case "x$with_xinerama" in
  13910. x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
  13911. xno) ;;
  13912. *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
  13913. This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
  13914. esac
  13915. fi
  13916. if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
  13917. then
  13918. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
  13919. printf %s "checking for -lXcomposite... " >&6; }
  13920. if test ${ac_cv_lib_soname_Xcomposite+y}
  13921. then :
  13922. printf %s "(cached) " >&6
  13923. else $as_nop
  13924. ac_check_soname_save_LIBS=$LIBS
  13925. LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
  13926. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13927. /* end confdefs.h. */
  13928. /* Override any GCC internal prototype to avoid an error.
  13929. Use char because int might match the return type of a GCC
  13930. builtin and then its argument prototype would still apply. */
  13931. char XCompositeRedirectWindow ();
  13932. int
  13933. main (void)
  13934. {
  13935. return XCompositeRedirectWindow ();
  13936. ;
  13937. return 0;
  13938. }
  13939. _ACEOF
  13940. if ac_fn_c_try_link "$LINENO"
  13941. then :
  13942. case "$LIBEXT" in
  13943. dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13944. 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'` ;;
  13945. *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13946. if ${ac_cv_lib_soname_Xcomposite:+false} :
  13947. then :
  13948. ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13949. fi ;;
  13950. esac
  13951. else $as_nop
  13952. ac_cv_lib_soname_Xcomposite=
  13953. fi
  13954. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13955. conftest$ac_exeext conftest.$ac_ext
  13956. LIBS=$ac_check_soname_save_LIBS
  13957. fi
  13958. if ${ac_cv_lib_soname_Xcomposite:+false} :
  13959. then :
  13960. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13961. printf "%s\n" "not found" >&6; }
  13962. else $as_nop
  13963. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
  13964. printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
  13965. printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
  13966. fi
  13967. fi
  13968. if test "x$ac_cv_lib_soname_Xcomposite" = "x"
  13969. then :
  13970. case "x$with_xcomposite" in
  13971. x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
  13972. xno) ;;
  13973. *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
  13974. This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
  13975. esac
  13976. fi
  13977. ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
  13978. #include <X11/Xlib.h>
  13979. #endif
  13980. "
  13981. if test "x$ac_cv_member_XICCallback_callback" = xyes
  13982. then :
  13983. printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
  13984. fi
  13985. ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
  13986. #include <X11/Xlib.h>
  13987. #endif
  13988. "
  13989. if test "x$ac_cv_member_XEvent_xcookie" = xyes
  13990. then :
  13991. printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
  13992. fi
  13993. opengl_msg=""
  13994. if test "x$with_opengl" != "xno"
  13995. then
  13996. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  13997. printf %s "checking for -lGL... " >&6; }
  13998. if test ${ac_cv_lib_soname_GL+y}
  13999. then :
  14000. printf %s "(cached) " >&6
  14001. else $as_nop
  14002. ac_check_soname_save_LIBS=$LIBS
  14003. LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  14004. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14005. /* end confdefs.h. */
  14006. /* Override any GCC internal prototype to avoid an error.
  14007. Use char because int might match the return type of a GCC
  14008. builtin and then its argument prototype would still apply. */
  14009. char glXCreateContext ();
  14010. int
  14011. main (void)
  14012. {
  14013. return glXCreateContext ();
  14014. ;
  14015. return 0;
  14016. }
  14017. _ACEOF
  14018. if ac_fn_c_try_link "$LINENO"
  14019. then :
  14020. case "$LIBEXT" in
  14021. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14022. 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'` ;;
  14023. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14024. if ${ac_cv_lib_soname_GL:+false} :
  14025. then :
  14026. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14027. fi ;;
  14028. esac
  14029. else $as_nop
  14030. ac_cv_lib_soname_GL=
  14031. fi
  14032. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14033. conftest$ac_exeext conftest.$ac_ext
  14034. LIBS=$ac_check_soname_save_LIBS
  14035. fi
  14036. if ${ac_cv_lib_soname_GL:+false} :
  14037. then :
  14038. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14039. printf "%s\n" "not found" >&6; }
  14040. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  14041. printf %s "checking for -lGL... " >&6; }
  14042. if test ${ac_cv_lib_soname_GL+y}
  14043. then :
  14044. printf %s "(cached) " >&6
  14045. else $as_nop
  14046. ac_check_soname_save_LIBS=$LIBS
  14047. 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"
  14048. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14049. /* end confdefs.h. */
  14050. /* Override any GCC internal prototype to avoid an error.
  14051. Use char because int might match the return type of a GCC
  14052. builtin and then its argument prototype would still apply. */
  14053. char glXCreateContext ();
  14054. int
  14055. main (void)
  14056. {
  14057. return glXCreateContext ();
  14058. ;
  14059. return 0;
  14060. }
  14061. _ACEOF
  14062. if ac_fn_c_try_link "$LINENO"
  14063. then :
  14064. case "$LIBEXT" in
  14065. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14066. 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'` ;;
  14067. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14068. if ${ac_cv_lib_soname_GL:+false} :
  14069. then :
  14070. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14071. fi ;;
  14072. esac
  14073. else $as_nop
  14074. ac_cv_lib_soname_GL=
  14075. fi
  14076. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14077. conftest$ac_exeext conftest.$ac_ext
  14078. LIBS=$ac_check_soname_save_LIBS
  14079. fi
  14080. if ${ac_cv_lib_soname_GL:+false} :
  14081. then :
  14082. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14083. printf "%s\n" "not found" >&6; }
  14084. if test -f /usr/X11R6/lib/libGL.a
  14085. then
  14086. opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
  14087. This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
  14088. else
  14089. opengl_msg="No OpenGL library found on this system."
  14090. fi
  14091. else $as_nop
  14092. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  14093. printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
  14094. printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
  14095. 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"
  14096. fi
  14097. else $as_nop
  14098. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  14099. printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
  14100. printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
  14101. OPENGL_LIBS="-lGL"
  14102. fi
  14103. if test "x$with_osmesa" != "xno"
  14104. then
  14105. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
  14106. printf %s "checking for -lOSMesa... " >&6; }
  14107. if test ${ac_cv_lib_soname_OSMesa+y}
  14108. then :
  14109. printf %s "(cached) " >&6
  14110. else $as_nop
  14111. ac_check_soname_save_LIBS=$LIBS
  14112. LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  14113. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14114. /* end confdefs.h. */
  14115. /* Override any GCC internal prototype to avoid an error.
  14116. Use char because int might match the return type of a GCC
  14117. builtin and then its argument prototype would still apply. */
  14118. char OSMesaGetProcAddress ();
  14119. int
  14120. main (void)
  14121. {
  14122. return OSMesaGetProcAddress ();
  14123. ;
  14124. return 0;
  14125. }
  14126. _ACEOF
  14127. if ac_fn_c_try_link "$LINENO"
  14128. then :
  14129. case "$LIBEXT" in
  14130. dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14131. 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'` ;;
  14132. *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14133. if ${ac_cv_lib_soname_OSMesa:+false} :
  14134. then :
  14135. ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14136. fi ;;
  14137. esac
  14138. else $as_nop
  14139. ac_cv_lib_soname_OSMesa=
  14140. fi
  14141. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14142. conftest$ac_exeext conftest.$ac_ext
  14143. LIBS=$ac_check_soname_save_LIBS
  14144. fi
  14145. if ${ac_cv_lib_soname_OSMesa:+false} :
  14146. then :
  14147. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14148. printf "%s\n" "not found" >&6; }
  14149. else $as_nop
  14150. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
  14151. printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
  14152. printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
  14153. fi
  14154. if test "x$ac_cv_lib_soname_OSMesa" = "x"
  14155. then :
  14156. case "x$with_osmesa" in
  14157. x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
  14158. xno) ;;
  14159. *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
  14160. This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
  14161. esac
  14162. fi
  14163. fi
  14164. fi
  14165. if test -n "$opengl_msg"
  14166. then :
  14167. case "x$with_opengl" in
  14168. x) as_fn_append wine_warnings "|$opengl_msg
  14169. OpenGL and Direct3D won't be supported." ;;
  14170. xno) ;;
  14171. *) as_fn_error $? "$opengl_msg
  14172. OpenGL and Direct3D won't be supported.
  14173. This is an error since --with-opengl was requested." "$LINENO" 5 ;;
  14174. esac
  14175. fi
  14176. CPPFLAGS="$ac_save_CPPFLAGS"
  14177. else
  14178. X_CFLAGS=""
  14179. X_LIBS=""
  14180. fi
  14181. if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
  14182. then
  14183. if test "x$X_LIBS" = "x"
  14184. then :
  14185. case "x$with_x" in
  14186. xno) ;;
  14187. *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
  14188. without X support, which probably isn't what you want. You will need
  14189. to install ${notice_platform}development packages of Xlib at the very least.
  14190. Use the --without-x option if you really want this." "$LINENO" 5 ;;
  14191. esac
  14192. enable_winex11_drv=${enable_winex11_drv:-no}
  14193. fi
  14194. else
  14195. if test "x$X_LIBS" = "x"
  14196. then :
  14197. case "x$with_x" in
  14198. x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
  14199. xno) ;;
  14200. *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
  14201. This is an error since --with-x was requested." "$LINENO" 5 ;;
  14202. esac
  14203. enable_winex11_drv=${enable_winex11_drv:-no}
  14204. fi
  14205. fi
  14206. if test "$ac_cv_header_CL_cl_h" = "yes"
  14207. then
  14208. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
  14209. printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
  14210. if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
  14211. then :
  14212. printf %s "(cached) " >&6
  14213. else $as_nop
  14214. ac_check_lib_save_LIBS=$LIBS
  14215. LIBS="-lOpenCL $LIBS"
  14216. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14217. /* end confdefs.h. */
  14218. /* Override any GCC internal prototype to avoid an error.
  14219. Use char because int might match the return type of a GCC
  14220. builtin and then its argument prototype would still apply. */
  14221. char clGetPlatformInfo ();
  14222. int
  14223. main (void)
  14224. {
  14225. return clGetPlatformInfo ();
  14226. ;
  14227. return 0;
  14228. }
  14229. _ACEOF
  14230. if ac_fn_c_try_link "$LINENO"
  14231. then :
  14232. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  14233. else $as_nop
  14234. ac_cv_lib_OpenCL_clGetPlatformInfo=no
  14235. fi
  14236. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14237. conftest$ac_exeext conftest.$ac_ext
  14238. LIBS=$ac_check_lib_save_LIBS
  14239. fi
  14240. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
  14241. printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
  14242. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
  14243. then :
  14244. OPENCL_LIBS="-lOpenCL"
  14245. fi
  14246. fi
  14247. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
  14248. then :
  14249. case "x$with_opencl" in
  14250. x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
  14251. xno) ;;
  14252. *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
  14253. This is an error since --with-opencl was requested." "$LINENO" 5 ;;
  14254. esac
  14255. enable_opencl=${enable_opencl:-no}
  14256. fi
  14257. if test "$ac_cv_header_pcap_pcap_h" = "yes"
  14258. then
  14259. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
  14260. printf %s "checking for pcap_create in -lpcap... " >&6; }
  14261. if test ${ac_cv_lib_pcap_pcap_create+y}
  14262. then :
  14263. printf %s "(cached) " >&6
  14264. else $as_nop
  14265. ac_check_lib_save_LIBS=$LIBS
  14266. LIBS="-lpcap $LIBS"
  14267. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14268. /* end confdefs.h. */
  14269. /* Override any GCC internal prototype to avoid an error.
  14270. Use char because int might match the return type of a GCC
  14271. builtin and then its argument prototype would still apply. */
  14272. char pcap_create ();
  14273. int
  14274. main (void)
  14275. {
  14276. return pcap_create ();
  14277. ;
  14278. return 0;
  14279. }
  14280. _ACEOF
  14281. if ac_fn_c_try_link "$LINENO"
  14282. then :
  14283. ac_cv_lib_pcap_pcap_create=yes
  14284. else $as_nop
  14285. ac_cv_lib_pcap_pcap_create=no
  14286. fi
  14287. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14288. conftest$ac_exeext conftest.$ac_ext
  14289. LIBS=$ac_check_lib_save_LIBS
  14290. fi
  14291. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
  14292. printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
  14293. if test "x$ac_cv_lib_pcap_pcap_create" = xyes
  14294. then :
  14295. PCAP_LIBS="-lpcap"
  14296. fi
  14297. fi
  14298. if test "x$ac_cv_lib_pcap_pcap_create" != xyes
  14299. then :
  14300. case "x$with_pcap" in
  14301. x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
  14302. xno) ;;
  14303. *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
  14304. This is an error since --with-pcap was requested." "$LINENO" 5 ;;
  14305. esac
  14306. enable_wpcap=${enable_wpcap:-no}
  14307. fi
  14308. if test "x$with_inotify" != "xno"
  14309. then
  14310. if ${INOTIFY_CFLAGS:+false} :
  14311. then :
  14312. if test ${PKG_CONFIG+y}
  14313. then :
  14314. INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
  14315. fi
  14316. fi
  14317. if ${INOTIFY_LIBS:+false} :
  14318. then :
  14319. if test ${PKG_CONFIG+y}
  14320. then :
  14321. INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
  14322. fi
  14323. fi
  14324. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
  14325. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
  14326. ac_save_CPPFLAGS=$CPPFLAGS
  14327. CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
  14328. ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
  14329. if test "x$ac_cv_header_sys_inotify_h" = xyes
  14330. then :
  14331. printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
  14332. fi
  14333. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
  14334. printf %s "checking for inotify_add_watch in -linotify... " >&6; }
  14335. if test ${ac_cv_lib_inotify_inotify_add_watch+y}
  14336. then :
  14337. printf %s "(cached) " >&6
  14338. else $as_nop
  14339. ac_check_lib_save_LIBS=$LIBS
  14340. LIBS="-linotify $INOTIFY_LIBS $LIBS"
  14341. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14342. /* end confdefs.h. */
  14343. /* Override any GCC internal prototype to avoid an error.
  14344. Use char because int might match the return type of a GCC
  14345. builtin and then its argument prototype would still apply. */
  14346. char inotify_add_watch ();
  14347. int
  14348. main (void)
  14349. {
  14350. return inotify_add_watch ();
  14351. ;
  14352. return 0;
  14353. }
  14354. _ACEOF
  14355. if ac_fn_c_try_link "$LINENO"
  14356. then :
  14357. ac_cv_lib_inotify_inotify_add_watch=yes
  14358. else $as_nop
  14359. ac_cv_lib_inotify_inotify_add_watch=no
  14360. fi
  14361. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14362. conftest$ac_exeext conftest.$ac_ext
  14363. LIBS=$ac_check_lib_save_LIBS
  14364. fi
  14365. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
  14366. printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
  14367. if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
  14368. then :
  14369. :
  14370. else $as_nop
  14371. INOTIFY_LIBS=""
  14372. fi
  14373. CPPFLAGS=$ac_save_CPPFLAGS
  14374. fi
  14375. if test "$ac_cv_header_sys_inotify_h" != "yes"
  14376. then :
  14377. case "x$with_inotify" in
  14378. x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
  14379. xno) ;;
  14380. *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
  14381. This is an error since --with-inotify was requested." "$LINENO" 5 ;;
  14382. esac
  14383. fi
  14384. if test "x$with_dbus" != "xno"
  14385. then
  14386. if ${DBUS_CFLAGS:+false} :
  14387. then :
  14388. if test ${PKG_CONFIG+y}
  14389. then :
  14390. DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
  14391. fi
  14392. fi
  14393. if ${DBUS_LIBS:+false} :
  14394. then :
  14395. if test ${PKG_CONFIG+y}
  14396. then :
  14397. DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
  14398. fi
  14399. fi
  14400. printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
  14401. printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
  14402. ac_save_CPPFLAGS=$CPPFLAGS
  14403. CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
  14404. ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
  14405. if test "x$ac_cv_header_dbus_dbus_h" = xyes
  14406. then :
  14407. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
  14408. printf %s "checking for -ldbus-1... " >&6; }
  14409. if test ${ac_cv_lib_soname_dbus_1+y}
  14410. then :
  14411. printf %s "(cached) " >&6
  14412. else $as_nop
  14413. ac_check_soname_save_LIBS=$LIBS
  14414. LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
  14415. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14416. /* end confdefs.h. */
  14417. /* Override any GCC internal prototype to avoid an error.
  14418. Use char because int might match the return type of a GCC
  14419. builtin and then its argument prototype would still apply. */
  14420. char dbus_connection_close ();
  14421. int
  14422. main (void)
  14423. {
  14424. return dbus_connection_close ();
  14425. ;
  14426. return 0;
  14427. }
  14428. _ACEOF
  14429. if ac_fn_c_try_link "$LINENO"
  14430. then :
  14431. case "$LIBEXT" in
  14432. dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14433. 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'` ;;
  14434. *) 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'`
  14435. if ${ac_cv_lib_soname_dbus_1:+false} :
  14436. then :
  14437. ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14438. fi ;;
  14439. esac
  14440. else $as_nop
  14441. ac_cv_lib_soname_dbus_1=
  14442. fi
  14443. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14444. conftest$ac_exeext conftest.$ac_ext
  14445. LIBS=$ac_check_soname_save_LIBS
  14446. fi
  14447. if ${ac_cv_lib_soname_dbus_1:+false} :
  14448. then :
  14449. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14450. printf "%s\n" "not found" >&6; }
  14451. DBUS_CFLAGS=""
  14452. else $as_nop
  14453. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
  14454. printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
  14455. printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
  14456. fi
  14457. else $as_nop
  14458. DBUS_CFLAGS=""
  14459. fi
  14460. CPPFLAGS=$ac_save_CPPFLAGS
  14461. fi
  14462. if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
  14463. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
  14464. then :
  14465. case "x$with_dbus" in
  14466. x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
  14467. xno) ;;
  14468. *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
  14469. This is an error since --with-dbus was requested." "$LINENO" 5 ;;
  14470. esac
  14471. fi
  14472. if test "x$with_gnutls" != "xno"
  14473. then
  14474. if ${GNUTLS_CFLAGS:+false} :
  14475. then :
  14476. if test ${PKG_CONFIG+y}
  14477. then :
  14478. GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
  14479. fi
  14480. fi
  14481. if ${GNUTLS_LIBS:+false} :
  14482. then :
  14483. if test ${PKG_CONFIG+y}
  14484. then :
  14485. GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
  14486. fi
  14487. fi
  14488. GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
  14489. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
  14490. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
  14491. ac_save_CPPFLAGS=$CPPFLAGS
  14492. CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
  14493. ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
  14494. if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
  14495. then :
  14496. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14497. /* end confdefs.h. */
  14498. #include <gnutls/gnutls.h>
  14499. #include <gnutls/crypto.h>
  14500. int
  14501. main (void)
  14502. {
  14503. static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
  14504. ;
  14505. return 0;
  14506. }
  14507. _ACEOF
  14508. if ac_fn_c_try_compile "$LINENO"
  14509. then :
  14510. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
  14511. printf %s "checking for -lgnutls... " >&6; }
  14512. if test ${ac_cv_lib_soname_gnutls+y}
  14513. then :
  14514. printf %s "(cached) " >&6
  14515. else $as_nop
  14516. ac_check_soname_save_LIBS=$LIBS
  14517. LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
  14518. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14519. /* end confdefs.h. */
  14520. /* Override any GCC internal prototype to avoid an error.
  14521. Use char because int might match the return type of a GCC
  14522. builtin and then its argument prototype would still apply. */
  14523. char gnutls_global_init ();
  14524. int
  14525. main (void)
  14526. {
  14527. return gnutls_global_init ();
  14528. ;
  14529. return 0;
  14530. }
  14531. _ACEOF
  14532. if ac_fn_c_try_link "$LINENO"
  14533. then :
  14534. case "$LIBEXT" in
  14535. dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14536. 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'` ;;
  14537. *) 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'`
  14538. if ${ac_cv_lib_soname_gnutls:+false} :
  14539. then :
  14540. 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'`
  14541. fi ;;
  14542. esac
  14543. else $as_nop
  14544. ac_cv_lib_soname_gnutls=
  14545. fi
  14546. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14547. conftest$ac_exeext conftest.$ac_ext
  14548. LIBS=$ac_check_soname_save_LIBS
  14549. fi
  14550. if ${ac_cv_lib_soname_gnutls:+false} :
  14551. then :
  14552. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14553. printf "%s\n" "not found" >&6; }
  14554. GNUTLS_CFLAGS=""
  14555. else $as_nop
  14556. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
  14557. printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
  14558. printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
  14559. fi
  14560. ac_wine_check_funcs_save_LIBS="$LIBS"
  14561. LIBS="$LIBS $GNUTLS_LIBS"
  14562. for ac_func in gnutls_cipher_init
  14563. do :
  14564. ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
  14565. if test "x$ac_cv_func_gnutls_cipher_init" = xyes
  14566. then :
  14567. printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
  14568. else $as_nop
  14569. as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
  14570. fi
  14571. done
  14572. LIBS="$ac_wine_check_funcs_save_LIBS"
  14573. fi
  14574. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14575. else $as_nop
  14576. GNUTLS_CFLAGS=""
  14577. fi
  14578. CPPFLAGS=$ac_save_CPPFLAGS
  14579. fi
  14580. if test "x$ac_cv_lib_soname_gnutls" = "x"
  14581. then :
  14582. case "x$with_gnutls" in
  14583. x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
  14584. xno) ;;
  14585. *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
  14586. This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
  14587. esac
  14588. fi
  14589. if test "x$with_sane" != "xno"
  14590. then
  14591. if ${SANE_CFLAGS:+false} :
  14592. then :
  14593. if test ${PKG_CONFIG+y}
  14594. then :
  14595. SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
  14596. fi
  14597. fi
  14598. test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
  14599. if ${SANE_LIBS:+false} :
  14600. then :
  14601. if test ${PKG_CONFIG+y}
  14602. then :
  14603. SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
  14604. fi
  14605. fi
  14606. test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
  14607. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
  14608. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
  14609. ac_save_CPPFLAGS=$CPPFLAGS
  14610. CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
  14611. ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
  14612. if test "x$ac_cv_header_sane_sane_h" = xyes
  14613. then :
  14614. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
  14615. printf %s "checking for sane_init in -lsane... " >&6; }
  14616. if test ${ac_cv_lib_sane_sane_init+y}
  14617. then :
  14618. printf %s "(cached) " >&6
  14619. else $as_nop
  14620. ac_check_lib_save_LIBS=$LIBS
  14621. LIBS="-lsane $SANE_LIBS $LIBS"
  14622. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14623. /* end confdefs.h. */
  14624. /* Override any GCC internal prototype to avoid an error.
  14625. Use char because int might match the return type of a GCC
  14626. builtin and then its argument prototype would still apply. */
  14627. char sane_init ();
  14628. int
  14629. main (void)
  14630. {
  14631. return sane_init ();
  14632. ;
  14633. return 0;
  14634. }
  14635. _ACEOF
  14636. if ac_fn_c_try_link "$LINENO"
  14637. then :
  14638. ac_cv_lib_sane_sane_init=yes
  14639. else $as_nop
  14640. ac_cv_lib_sane_sane_init=no
  14641. fi
  14642. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14643. conftest$ac_exeext conftest.$ac_ext
  14644. LIBS=$ac_check_lib_save_LIBS
  14645. fi
  14646. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
  14647. printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
  14648. if test "x$ac_cv_lib_sane_sane_init" = xyes
  14649. then :
  14650. :
  14651. fi
  14652. fi
  14653. CPPFLAGS=$ac_save_CPPFLAGS
  14654. fi
  14655. if test "$ac_cv_lib_sane_sane_init" != "yes"
  14656. then :
  14657. case "x$with_sane" in
  14658. x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
  14659. xno) ;;
  14660. *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
  14661. This is an error since --with-sane was requested." "$LINENO" 5 ;;
  14662. esac
  14663. enable_sane_ds=${enable_sane_ds:-no}
  14664. fi
  14665. if test "x$with_usb" != "xno"
  14666. then
  14667. if ${USB_CFLAGS:+false} :
  14668. then :
  14669. if test ${PKG_CONFIG+y}
  14670. then :
  14671. USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
  14672. fi
  14673. fi
  14674. if ${USB_LIBS:+false} :
  14675. then :
  14676. if test ${PKG_CONFIG+y}
  14677. then :
  14678. USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
  14679. fi
  14680. fi
  14681. USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
  14682. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
  14683. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
  14684. ac_save_CPPFLAGS=$CPPFLAGS
  14685. CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
  14686. ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
  14687. if test "x$ac_cv_header_libusb_h" = xyes
  14688. then :
  14689. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
  14690. printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
  14691. if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
  14692. then :
  14693. printf %s "(cached) " >&6
  14694. else $as_nop
  14695. ac_check_lib_save_LIBS=$LIBS
  14696. LIBS="-lusb-1.0 $USB_LIBS $LIBS"
  14697. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14698. /* end confdefs.h. */
  14699. /* Override any GCC internal prototype to avoid an error.
  14700. Use char because int might match the return type of a GCC
  14701. builtin and then its argument prototype would still apply. */
  14702. char libusb_interrupt_event_handler ();
  14703. int
  14704. main (void)
  14705. {
  14706. return libusb_interrupt_event_handler ();
  14707. ;
  14708. return 0;
  14709. }
  14710. _ACEOF
  14711. if ac_fn_c_try_link "$LINENO"
  14712. then :
  14713. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
  14714. else $as_nop
  14715. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
  14716. fi
  14717. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14718. conftest$ac_exeext conftest.$ac_ext
  14719. LIBS=$ac_check_lib_save_LIBS
  14720. fi
  14721. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
  14722. printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
  14723. if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
  14724. then :
  14725. :
  14726. else $as_nop
  14727. USB_LIBS=""
  14728. fi
  14729. else $as_nop
  14730. USB_LIBS=""
  14731. fi
  14732. CPPFLAGS=$ac_save_CPPFLAGS
  14733. fi
  14734. if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
  14735. then :
  14736. case "x$with_usb" in
  14737. x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
  14738. xno) ;;
  14739. *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
  14740. This is an error since --with-usb was requested." "$LINENO" 5 ;;
  14741. esac
  14742. enable_wineusb_sys=${enable_wineusb_sys:-no}
  14743. fi
  14744. if test "x$with_v4l2" != "xno"
  14745. then
  14746. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
  14747. printf %s "checking for -lv4l2... " >&6; }
  14748. if test ${ac_cv_lib_soname_v4l2+y}
  14749. then :
  14750. printf %s "(cached) " >&6
  14751. else $as_nop
  14752. ac_check_soname_save_LIBS=$LIBS
  14753. LIBS="-lv4l2 $LIBS"
  14754. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14755. /* end confdefs.h. */
  14756. /* Override any GCC internal prototype to avoid an error.
  14757. Use char because int might match the return type of a GCC
  14758. builtin and then its argument prototype would still apply. */
  14759. char v4l2_open ();
  14760. int
  14761. main (void)
  14762. {
  14763. return v4l2_open ();
  14764. ;
  14765. return 0;
  14766. }
  14767. _ACEOF
  14768. if ac_fn_c_try_link "$LINENO"
  14769. then :
  14770. case "$LIBEXT" in
  14771. dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14772. 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'` ;;
  14773. *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14774. if ${ac_cv_lib_soname_v4l2:+false} :
  14775. then :
  14776. ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14777. fi ;;
  14778. esac
  14779. else $as_nop
  14780. ac_cv_lib_soname_v4l2=
  14781. fi
  14782. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14783. conftest$ac_exeext conftest.$ac_ext
  14784. LIBS=$ac_check_soname_save_LIBS
  14785. fi
  14786. if ${ac_cv_lib_soname_v4l2:+false} :
  14787. then :
  14788. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14789. printf "%s\n" "not found" >&6; }
  14790. else $as_nop
  14791. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
  14792. printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
  14793. printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
  14794. fi
  14795. fi
  14796. if test "x$ac_cv_lib_soname_v4l2" = "x"
  14797. then :
  14798. case "x$with_v4l2" in
  14799. x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
  14800. xno) ;;
  14801. *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
  14802. This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
  14803. esac
  14804. fi
  14805. if test "x$with_gphoto" != "xno"
  14806. then
  14807. if ${GPHOTO2_CFLAGS:+false} :
  14808. then :
  14809. if test ${PKG_CONFIG+y}
  14810. then :
  14811. GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
  14812. fi
  14813. fi
  14814. test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
  14815. if ${GPHOTO2_LIBS:+false} :
  14816. then :
  14817. if test ${PKG_CONFIG+y}
  14818. then :
  14819. GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
  14820. fi
  14821. fi
  14822. test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
  14823. GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
  14824. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
  14825. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
  14826. ac_save_CPPFLAGS=$CPPFLAGS
  14827. CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
  14828. ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
  14829. if test "x$ac_cv_header_gphoto2_camera_h" = xyes
  14830. then :
  14831. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
  14832. printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
  14833. if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
  14834. then :
  14835. printf %s "(cached) " >&6
  14836. else $as_nop
  14837. ac_check_lib_save_LIBS=$LIBS
  14838. LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
  14839. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14840. /* end confdefs.h. */
  14841. /* Override any GCC internal prototype to avoid an error.
  14842. Use char because int might match the return type of a GCC
  14843. builtin and then its argument prototype would still apply. */
  14844. char gp_camera_new ();
  14845. int
  14846. main (void)
  14847. {
  14848. return gp_camera_new ();
  14849. ;
  14850. return 0;
  14851. }
  14852. _ACEOF
  14853. if ac_fn_c_try_link "$LINENO"
  14854. then :
  14855. ac_cv_lib_gphoto2_gp_camera_new=yes
  14856. else $as_nop
  14857. ac_cv_lib_gphoto2_gp_camera_new=no
  14858. fi
  14859. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14860. conftest$ac_exeext conftest.$ac_ext
  14861. LIBS=$ac_check_lib_save_LIBS
  14862. fi
  14863. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
  14864. printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
  14865. if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
  14866. then :
  14867. :
  14868. fi
  14869. fi
  14870. CPPFLAGS=$ac_save_CPPFLAGS
  14871. if ${GPHOTO2_PORT_CFLAGS:+false} :
  14872. then :
  14873. if test ${PKG_CONFIG+y}
  14874. then :
  14875. GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
  14876. fi
  14877. fi
  14878. test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
  14879. if ${GPHOTO2_PORT_LIBS:+false} :
  14880. then :
  14881. if test ${PKG_CONFIG+y}
  14882. then :
  14883. GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
  14884. fi
  14885. fi
  14886. test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
  14887. GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
  14888. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
  14889. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
  14890. ac_save_CPPFLAGS=$CPPFLAGS
  14891. CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
  14892. ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
  14893. if test "x$ac_cv_header_gphoto2_port_h" = xyes
  14894. then :
  14895. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
  14896. printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
  14897. if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
  14898. then :
  14899. printf %s "(cached) " >&6
  14900. else $as_nop
  14901. ac_check_lib_save_LIBS=$LIBS
  14902. LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
  14903. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14904. /* end confdefs.h. */
  14905. /* Override any GCC internal prototype to avoid an error.
  14906. Use char because int might match the return type of a GCC
  14907. builtin and then its argument prototype would still apply. */
  14908. char gp_port_info_list_new ();
  14909. int
  14910. main (void)
  14911. {
  14912. return gp_port_info_list_new ();
  14913. ;
  14914. return 0;
  14915. }
  14916. _ACEOF
  14917. if ac_fn_c_try_link "$LINENO"
  14918. then :
  14919. ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
  14920. else $as_nop
  14921. ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
  14922. fi
  14923. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14924. conftest$ac_exeext conftest.$ac_ext
  14925. LIBS=$ac_check_lib_save_LIBS
  14926. fi
  14927. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
  14928. printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
  14929. if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
  14930. then :
  14931. printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
  14932. else $as_nop
  14933. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  14934. fi
  14935. else $as_nop
  14936. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  14937. fi
  14938. CPPFLAGS=$ac_save_CPPFLAGS
  14939. fi
  14940. if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
  14941. then :
  14942. case "x$with_gphoto" in
  14943. x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
  14944. xno) ;;
  14945. *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
  14946. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  14947. esac
  14948. enable_gphoto2_ds=${enable_gphoto2_ds:-no}
  14949. fi
  14950. if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
  14951. then :
  14952. case "x$with_gphoto" in
  14953. x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
  14954. xno) ;;
  14955. *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
  14956. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  14957. esac
  14958. fi
  14959. if test "$ac_cv_header_resolv_h" = "yes"
  14960. then
  14961. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
  14962. printf %s "checking for resolver library... " >&6; }
  14963. if test ${ac_cv_have_resolv+y}
  14964. then :
  14965. printf %s "(cached) " >&6
  14966. else $as_nop
  14967. ac_save_LIBS="$LIBS"
  14968. for lib in '' -lresolv
  14969. do
  14970. LIBS="$lib $ac_save_LIBS"
  14971. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14972. /* end confdefs.h. */
  14973. #ifdef HAVE_NETINET_IN_H
  14974. #include <netinet/in.h>
  14975. #endif
  14976. #include <resolv.h>
  14977. int
  14978. main (void)
  14979. {
  14980. if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
  14981. ;
  14982. return 0;
  14983. }
  14984. _ACEOF
  14985. if ac_fn_c_try_link "$LINENO"
  14986. then :
  14987. ac_cv_have_resolv=${lib:-"none required"}
  14988. else $as_nop
  14989. ac_cv_have_resolv="not found"
  14990. fi
  14991. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14992. conftest$ac_exeext conftest.$ac_ext
  14993. test "x$ac_cv_have_resolv" = "xnot found" || break
  14994. done
  14995. LIBS="$ac_save_LIBS"
  14996. fi
  14997. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
  14998. printf "%s\n" "$ac_cv_have_resolv" >&6; }
  14999. case "$ac_cv_have_resolv" in
  15000. "not found") ;;
  15001. "none required")
  15002. printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
  15003. ;;
  15004. *)
  15005. printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
  15006. RESOLV_LIBS=$ac_cv_have_resolv
  15007. ;;
  15008. esac
  15009. if test "x$ac_cv_have_resolv" != "xnot found"
  15010. then
  15011. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
  15012. printf %s "checking for res_getservers... " >&6; }
  15013. if test ${ac_cv_have_res_getservers+y}
  15014. then :
  15015. printf %s "(cached) " >&6
  15016. else $as_nop
  15017. ac_save_LIBS="$LIBS"
  15018. LIBS="$RESOLV_LIBS $LIBS"
  15019. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15020. /* end confdefs.h. */
  15021. #include <resolv.h>
  15022. int
  15023. main (void)
  15024. {
  15025. res_getservers(NULL, NULL, 0);
  15026. ;
  15027. return 0;
  15028. }
  15029. _ACEOF
  15030. if ac_fn_c_try_link "$LINENO"
  15031. then :
  15032. ac_cv_have_res_getservers=yes
  15033. else $as_nop
  15034. ac_cv_have_res_getservers=no
  15035. fi
  15036. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15037. conftest$ac_exeext conftest.$ac_ext
  15038. LIBS="$ac_save_LIBS"
  15039. fi
  15040. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
  15041. printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
  15042. if test "$ac_cv_have_res_getservers" = "yes"
  15043. then
  15044. printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
  15045. fi
  15046. fi
  15047. fi
  15048. if test "x$with_freetype" != "xno"
  15049. then
  15050. if ${FREETYPE_CFLAGS:+false} :
  15051. then :
  15052. if test ${PKG_CONFIG+y}
  15053. then :
  15054. FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
  15055. fi
  15056. fi
  15057. test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
  15058. if ${FREETYPE_LIBS:+false} :
  15059. then :
  15060. if test ${PKG_CONFIG+y}
  15061. then :
  15062. FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
  15063. fi
  15064. fi
  15065. test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
  15066. FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
  15067. printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
  15068. printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
  15069. ac_save_CPPFLAGS=$CPPFLAGS
  15070. CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
  15071. ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
  15072. if test "x$ac_cv_header_ft2build_h" = xyes
  15073. then :
  15074. printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
  15075. fi
  15076. if test "$ac_cv_header_ft2build_h" = "yes"
  15077. then
  15078. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
  15079. printf %s "checking for -lfreetype... " >&6; }
  15080. if test ${ac_cv_lib_soname_freetype+y}
  15081. then :
  15082. printf %s "(cached) " >&6
  15083. else $as_nop
  15084. ac_check_soname_save_LIBS=$LIBS
  15085. LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
  15086. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15087. /* end confdefs.h. */
  15088. /* Override any GCC internal prototype to avoid an error.
  15089. Use char because int might match the return type of a GCC
  15090. builtin and then its argument prototype would still apply. */
  15091. char FT_Init_FreeType ();
  15092. int
  15093. main (void)
  15094. {
  15095. return FT_Init_FreeType ();
  15096. ;
  15097. return 0;
  15098. }
  15099. _ACEOF
  15100. if ac_fn_c_try_link "$LINENO"
  15101. then :
  15102. case "$LIBEXT" in
  15103. dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15104. 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'` ;;
  15105. *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15106. if ${ac_cv_lib_soname_freetype:+false} :
  15107. then :
  15108. ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15109. fi ;;
  15110. esac
  15111. else $as_nop
  15112. ac_cv_lib_soname_freetype=
  15113. fi
  15114. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15115. conftest$ac_exeext conftest.$ac_ext
  15116. LIBS=$ac_check_soname_save_LIBS
  15117. fi
  15118. if ${ac_cv_lib_soname_freetype:+false} :
  15119. then :
  15120. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15121. printf "%s\n" "not found" >&6; }
  15122. FREETYPE_LIBS=""
  15123. else $as_nop
  15124. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
  15125. printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
  15126. printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
  15127. printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
  15128. ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
  15129. #include FT_MODULE_H
  15130. "
  15131. if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
  15132. then :
  15133. printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
  15134. fi
  15135. fi
  15136. else
  15137. FREETYPE_CFLAGS=""
  15138. FREETYPE_LIBS=""
  15139. fi
  15140. CPPFLAGS=$ac_save_CPPFLAGS
  15141. fi
  15142. if test "x$ac_cv_lib_soname_freetype" = x
  15143. then :
  15144. case "x$with_freetype" in
  15145. xno) ;;
  15146. *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
  15147. Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
  15148. esac
  15149. enable_fonts=${enable_fonts:-no}
  15150. fi
  15151. ac_wine_check_funcs_save_LIBS="$LIBS"
  15152. LIBS="$LIBS $PTHREAD_LIBS"
  15153. ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
  15154. if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
  15155. then :
  15156. printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
  15157. fi
  15158. LIBS="$ac_wine_check_funcs_save_LIBS"
  15159. if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
  15160. then
  15161. if test "$ac_cv_header_gettext_po_h" = "yes"
  15162. then
  15163. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
  15164. printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
  15165. if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
  15166. then :
  15167. printf %s "(cached) " >&6
  15168. else $as_nop
  15169. ac_check_lib_save_LIBS=$LIBS
  15170. LIBS="-lgettextpo $LIBS"
  15171. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15172. /* end confdefs.h. */
  15173. /* Override any GCC internal prototype to avoid an error.
  15174. Use char because int might match the return type of a GCC
  15175. builtin and then its argument prototype would still apply. */
  15176. char po_message_msgctxt ();
  15177. int
  15178. main (void)
  15179. {
  15180. return po_message_msgctxt ();
  15181. ;
  15182. return 0;
  15183. }
  15184. _ACEOF
  15185. if ac_fn_c_try_link "$LINENO"
  15186. then :
  15187. ac_cv_lib_gettextpo_po_message_msgctxt=yes
  15188. else $as_nop
  15189. ac_cv_lib_gettextpo_po_message_msgctxt=no
  15190. fi
  15191. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15192. conftest$ac_exeext conftest.$ac_ext
  15193. LIBS=$ac_check_lib_save_LIBS
  15194. fi
  15195. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
  15196. printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
  15197. if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
  15198. then :
  15199. printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
  15200. GETTEXTPO_LIBS="-lgettextpo"
  15201. fi
  15202. fi
  15203. if test "x$GETTEXTPO_LIBS" = "x"
  15204. then :
  15205. case "x$with_gettextpo" in
  15206. x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
  15207. xno) ;;
  15208. *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
  15209. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  15210. esac
  15211. fi
  15212. if test "$srcdir" != .
  15213. then :
  15214. case "x$with_gettextpo" in
  15215. x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
  15216. xno) ;;
  15217. *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
  15218. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  15219. esac
  15220. fi
  15221. fi
  15222. if test "x$with_pulse" != "xno";
  15223. then
  15224. if ${PULSE_CFLAGS:+false} :
  15225. then :
  15226. if test ${PKG_CONFIG+y}
  15227. then :
  15228. PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
  15229. fi
  15230. fi
  15231. if ${PULSE_LIBS:+false} :
  15232. then :
  15233. if test ${PKG_CONFIG+y}
  15234. then :
  15235. PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
  15236. fi
  15237. fi
  15238. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
  15239. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
  15240. ac_save_CPPFLAGS=$CPPFLAGS
  15241. CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
  15242. for ac_header in pulse/pulseaudio.h
  15243. do :
  15244. ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
  15245. if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
  15246. then :
  15247. printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
  15248. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
  15249. printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
  15250. if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
  15251. then :
  15252. printf %s "(cached) " >&6
  15253. else $as_nop
  15254. ac_check_lib_save_LIBS=$LIBS
  15255. LIBS="-lpulse $PULSE_LIBS $LIBS"
  15256. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15257. /* end confdefs.h. */
  15258. /* Override any GCC internal prototype to avoid an error.
  15259. Use char because int might match the return type of a GCC
  15260. builtin and then its argument prototype would still apply. */
  15261. char pa_stream_is_corked ();
  15262. int
  15263. main (void)
  15264. {
  15265. return pa_stream_is_corked ();
  15266. ;
  15267. return 0;
  15268. }
  15269. _ACEOF
  15270. if ac_fn_c_try_link "$LINENO"
  15271. then :
  15272. ac_cv_lib_pulse_pa_stream_is_corked=yes
  15273. else $as_nop
  15274. ac_cv_lib_pulse_pa_stream_is_corked=no
  15275. fi
  15276. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15277. conftest$ac_exeext conftest.$ac_ext
  15278. LIBS=$ac_check_lib_save_LIBS
  15279. fi
  15280. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
  15281. printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
  15282. if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
  15283. then :
  15284. :
  15285. else $as_nop
  15286. PULSE_LIBS=""
  15287. fi
  15288. else $as_nop
  15289. PULSE_LIBS=""
  15290. fi
  15291. done
  15292. CPPFLAGS=$ac_save_CPPFLAGS
  15293. fi
  15294. if test -z "$PULSE_LIBS"
  15295. then :
  15296. case "x$with_pulse" in
  15297. x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
  15298. xno) ;;
  15299. *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
  15300. This is an error since --with-pulse was requested." "$LINENO" 5 ;;
  15301. esac
  15302. enable_winepulse_drv=${enable_winepulse_drv:-no}
  15303. fi
  15304. if test "x$with_gstreamer" != "xno"
  15305. then
  15306. if ${GSTREAMER_CFLAGS:+false} :
  15307. then :
  15308. if test ${PKG_CONFIG+y}
  15309. then :
  15310. GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  15311. fi
  15312. fi
  15313. if ${GSTREAMER_LIBS:+false} :
  15314. then :
  15315. if test ${PKG_CONFIG+y}
  15316. then :
  15317. GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  15318. fi
  15319. fi
  15320. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
  15321. printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
  15322. ac_save_CPPFLAGS=$CPPFLAGS
  15323. CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
  15324. ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
  15325. if test "x$ac_cv_header_gst_gst_h" = xyes
  15326. then :
  15327. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
  15328. printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
  15329. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15330. /* end confdefs.h. */
  15331. #include <gst/gst.h>
  15332. int
  15333. main (void)
  15334. {
  15335. static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
  15336. ;
  15337. return 0;
  15338. }
  15339. _ACEOF
  15340. if ac_fn_c_try_compile "$LINENO"
  15341. then :
  15342. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15343. printf "%s\n" "yes" >&6; }
  15344. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
  15345. printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
  15346. if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
  15347. then :
  15348. printf %s "(cached) " >&6
  15349. else $as_nop
  15350. ac_check_lib_save_LIBS=$LIBS
  15351. LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
  15352. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15353. /* end confdefs.h. */
  15354. /* Override any GCC internal prototype to avoid an error.
  15355. Use char because int might match the return type of a GCC
  15356. builtin and then its argument prototype would still apply. */
  15357. char gst_pad_new ();
  15358. int
  15359. main (void)
  15360. {
  15361. return gst_pad_new ();
  15362. ;
  15363. return 0;
  15364. }
  15365. _ACEOF
  15366. if ac_fn_c_try_link "$LINENO"
  15367. then :
  15368. ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
  15369. else $as_nop
  15370. ac_cv_lib_gstreamer_1_0_gst_pad_new=no
  15371. fi
  15372. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15373. conftest$ac_exeext conftest.$ac_ext
  15374. LIBS=$ac_check_lib_save_LIBS
  15375. fi
  15376. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
  15377. printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
  15378. if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
  15379. then :
  15380. :
  15381. fi
  15382. else $as_nop
  15383. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15384. printf "%s\n" "no" >&6; }
  15385. ac_glib2_broken=yes
  15386. as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
  15387. fi
  15388. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  15389. fi
  15390. CPPFLAGS=$ac_save_CPPFLAGS
  15391. fi
  15392. if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
  15393. then :
  15394. case "x$with_gstreamer" in
  15395. x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
  15396. xno) ;;
  15397. *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
  15398. This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
  15399. esac
  15400. enable_winegstreamer=${enable_winegstreamer:-no}
  15401. fi
  15402. ALSA_LIBS=""
  15403. if test "x$with_alsa" != "xno"
  15404. then
  15405. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
  15406. printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
  15407. if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
  15408. then :
  15409. printf %s "(cached) " >&6
  15410. else $as_nop
  15411. ac_check_lib_save_LIBS=$LIBS
  15412. LIBS="-lasound $LIBS"
  15413. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15414. /* end confdefs.h. */
  15415. /* Override any GCC internal prototype to avoid an error.
  15416. Use char because int might match the return type of a GCC
  15417. builtin and then its argument prototype would still apply. */
  15418. char snd_pcm_hw_params_get_access_mask ();
  15419. int
  15420. main (void)
  15421. {
  15422. return snd_pcm_hw_params_get_access_mask ();
  15423. ;
  15424. return 0;
  15425. }
  15426. _ACEOF
  15427. if ac_fn_c_try_link "$LINENO"
  15428. then :
  15429. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
  15430. else $as_nop
  15431. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
  15432. fi
  15433. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15434. conftest$ac_exeext conftest.$ac_ext
  15435. LIBS=$ac_check_lib_save_LIBS
  15436. fi
  15437. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
  15438. printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
  15439. if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
  15440. then :
  15441. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15442. /* end confdefs.h. */
  15443. #include <alsa/asoundlib.h>
  15444. int
  15445. main (void)
  15446. {
  15447. snd_pcm_hw_params_get_access_mask(NULL, NULL)
  15448. ;
  15449. return 0;
  15450. }
  15451. _ACEOF
  15452. if ac_fn_c_try_compile "$LINENO"
  15453. then :
  15454. ALSA_LIBS="-lasound"
  15455. fi
  15456. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  15457. fi
  15458. fi
  15459. test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
  15460. if test "x$with_oss" != xno
  15461. then
  15462. ac_save_CPPFLAGS="$CPPFLAGS"
  15463. if test -f /etc/oss.conf
  15464. then
  15465. . /etc/oss.conf
  15466. fi
  15467. ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
  15468. CPPFLAGS="$CPPFLAGS $ac_oss_incl"
  15469. ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
  15470. if test "x$ac_cv_header_sys_soundcard_h" = xyes
  15471. then :
  15472. ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
  15473. "
  15474. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
  15475. then :
  15476. printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
  15477. OSS4_CFLAGS="$ac_oss_incl"
  15478. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
  15479. printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
  15480. if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
  15481. then :
  15482. printf %s "(cached) " >&6
  15483. else $as_nop
  15484. ac_check_lib_save_LIBS=$LIBS
  15485. LIBS="-lossaudio $LIBS"
  15486. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15487. /* end confdefs.h. */
  15488. /* Override any GCC internal prototype to avoid an error.
  15489. Use char because int might match the return type of a GCC
  15490. builtin and then its argument prototype would still apply. */
  15491. char _oss_ioctl ();
  15492. int
  15493. main (void)
  15494. {
  15495. return _oss_ioctl ();
  15496. ;
  15497. return 0;
  15498. }
  15499. _ACEOF
  15500. if ac_fn_c_try_link "$LINENO"
  15501. then :
  15502. ac_cv_lib_ossaudio__oss_ioctl=yes
  15503. else $as_nop
  15504. ac_cv_lib_ossaudio__oss_ioctl=no
  15505. fi
  15506. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15507. conftest$ac_exeext conftest.$ac_ext
  15508. LIBS=$ac_check_lib_save_LIBS
  15509. fi
  15510. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  15511. printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
  15512. if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
  15513. then :
  15514. OSS4_LIBS="-lossaudio"
  15515. fi
  15516. fi
  15517. fi
  15518. CPPFLAGS="$ac_save_CPPFLAGS"
  15519. fi
  15520. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
  15521. then :
  15522. case "x$with_oss" in
  15523. x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
  15524. xno) ;;
  15525. *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
  15526. This is an error since --with-oss was requested." "$LINENO" 5 ;;
  15527. esac
  15528. enable_wineoss_drv=${enable_wineoss_drv:-no}
  15529. fi
  15530. if test "x$with_udev" != "xno"
  15531. then
  15532. if ${UDEV_CFLAGS:+false} :
  15533. then :
  15534. if test ${PKG_CONFIG+y}
  15535. then :
  15536. UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
  15537. fi
  15538. fi
  15539. if ${UDEV_LIBS:+false} :
  15540. then :
  15541. if test ${PKG_CONFIG+y}
  15542. then :
  15543. UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
  15544. fi
  15545. fi
  15546. UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
  15547. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
  15548. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
  15549. ac_save_CPPFLAGS=$CPPFLAGS
  15550. CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
  15551. for ac_header in libudev.h
  15552. do :
  15553. ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
  15554. if test "x$ac_cv_header_libudev_h" = xyes
  15555. then :
  15556. printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
  15557. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
  15558. printf %s "checking for udev_new in -ludev... " >&6; }
  15559. if test ${ac_cv_lib_udev_udev_new+y}
  15560. then :
  15561. printf %s "(cached) " >&6
  15562. else $as_nop
  15563. ac_check_lib_save_LIBS=$LIBS
  15564. LIBS="-ludev $UDEV_LIBS $LIBS"
  15565. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15566. /* end confdefs.h. */
  15567. /* Override any GCC internal prototype to avoid an error.
  15568. Use char because int might match the return type of a GCC
  15569. builtin and then its argument prototype would still apply. */
  15570. char udev_new ();
  15571. int
  15572. main (void)
  15573. {
  15574. return udev_new ();
  15575. ;
  15576. return 0;
  15577. }
  15578. _ACEOF
  15579. if ac_fn_c_try_link "$LINENO"
  15580. then :
  15581. ac_cv_lib_udev_udev_new=yes
  15582. else $as_nop
  15583. ac_cv_lib_udev_udev_new=no
  15584. fi
  15585. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15586. conftest$ac_exeext conftest.$ac_ext
  15587. LIBS=$ac_check_lib_save_LIBS
  15588. fi
  15589. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
  15590. printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
  15591. if test "x$ac_cv_lib_udev_udev_new" = xyes
  15592. then :
  15593. printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
  15594. else $as_nop
  15595. UDEV_LIBS=""
  15596. fi
  15597. else $as_nop
  15598. UDEV_LIBS=""
  15599. fi
  15600. done
  15601. CPPFLAGS=$ac_save_CPPFLAGS
  15602. fi
  15603. if test "x$UDEV_LIBS" = "x"
  15604. then :
  15605. case "x$with_udev" in
  15606. x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
  15607. xno) ;;
  15608. *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
  15609. This is an error since --with-udev was requested." "$LINENO" 5 ;;
  15610. esac
  15611. fi
  15612. if test "x$with_unwind" != xno
  15613. then
  15614. if ${UNWIND_CFLAGS:+false} :
  15615. then :
  15616. if test ${PKG_CONFIG+y}
  15617. then :
  15618. UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
  15619. fi
  15620. fi
  15621. if ${UNWIND_LIBS:+false} :
  15622. then :
  15623. if test ${PKG_CONFIG+y}
  15624. then :
  15625. UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
  15626. fi
  15627. fi
  15628. UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
  15629. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
  15630. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
  15631. ac_save_CPPFLAGS=$CPPFLAGS
  15632. CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
  15633. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
  15634. printf %s "checking for unw_step... " >&6; }
  15635. if test ${wine_cv_have_unw_step+y}
  15636. then :
  15637. printf %s "(cached) " >&6
  15638. else $as_nop
  15639. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15640. /* end confdefs.h. */
  15641. #define UNW_LOCAL_ONLY
  15642. #include <libunwind.h>
  15643. int
  15644. main (void)
  15645. {
  15646. unw_cursor_t cursor; unw_step( &cursor );
  15647. ;
  15648. return 0;
  15649. }
  15650. _ACEOF
  15651. if ac_fn_c_try_link "$LINENO"
  15652. then :
  15653. wine_cv_have_unw_step="yes"
  15654. else $as_nop
  15655. wine_cv_have_unw_step="no"
  15656. fi
  15657. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15658. conftest$ac_exeext conftest.$ac_ext
  15659. fi
  15660. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
  15661. printf "%s\n" "$wine_cv_have_unw_step" >&6; }
  15662. if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
  15663. then
  15664. save_libs=$LIBS
  15665. UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
  15666. LIBS="$UNWIND_LIBS $LIBS"
  15667. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
  15668. printf %s "checking for unw_step in libunwind... " >&6; }
  15669. if test ${wine_cv_have_libunwind_unw_step+y}
  15670. then :
  15671. printf %s "(cached) " >&6
  15672. else $as_nop
  15673. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15674. /* end confdefs.h. */
  15675. #define UNW_LOCAL_ONLY
  15676. #include <libunwind.h>
  15677. int
  15678. main (void)
  15679. {
  15680. unw_cursor_t cursor; unw_step( &cursor );
  15681. ;
  15682. return 0;
  15683. }
  15684. _ACEOF
  15685. if ac_fn_c_try_link "$LINENO"
  15686. then :
  15687. wine_cv_have_libunwind_unw_step="yes"
  15688. else $as_nop
  15689. wine_cv_have_libunwind_unw_step="no"
  15690. fi
  15691. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15692. conftest$ac_exeext conftest.$ac_ext
  15693. fi
  15694. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
  15695. printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
  15696. LIBS=$save_libs
  15697. fi
  15698. test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
  15699. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
  15700. then
  15701. printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
  15702. fi
  15703. CPPFLAGS=$ac_save_CPPFLAGS
  15704. fi
  15705. case $host in
  15706. aarch64*|*-darwin*)
  15707. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
  15708. then :
  15709. case "x$with_unwind" in
  15710. x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
  15711. xno) ;;
  15712. *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
  15713. This is an error since --with-unwind was requested." "$LINENO" 5 ;;
  15714. esac
  15715. fi ;;
  15716. esac
  15717. if test "x$with_sdl" != "xno"
  15718. then
  15719. if ${SDL2_CFLAGS:+false} :
  15720. then :
  15721. if test ${PKG_CONFIG+y}
  15722. then :
  15723. SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
  15724. fi
  15725. fi
  15726. if ${SDL2_LIBS:+false} :
  15727. then :
  15728. if test ${PKG_CONFIG+y}
  15729. then :
  15730. SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
  15731. fi
  15732. fi
  15733. SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
  15734. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
  15735. printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
  15736. ac_save_CPPFLAGS=$CPPFLAGS
  15737. CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
  15738. for ac_header in SDL.h
  15739. do :
  15740. ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
  15741. if test "x$ac_cv_header_SDL_h" = xyes
  15742. then :
  15743. printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
  15744. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
  15745. printf %s "checking for -lSDL2... " >&6; }
  15746. if test ${ac_cv_lib_soname_SDL2+y}
  15747. then :
  15748. printf %s "(cached) " >&6
  15749. else $as_nop
  15750. ac_check_soname_save_LIBS=$LIBS
  15751. LIBS="-lSDL2 $SDL2_LIBS $LIBS"
  15752. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15753. /* end confdefs.h. */
  15754. /* Override any GCC internal prototype to avoid an error.
  15755. Use char because int might match the return type of a GCC
  15756. builtin and then its argument prototype would still apply. */
  15757. char SDL_Init ();
  15758. int
  15759. main (void)
  15760. {
  15761. return SDL_Init ();
  15762. ;
  15763. return 0;
  15764. }
  15765. _ACEOF
  15766. if ac_fn_c_try_link "$LINENO"
  15767. then :
  15768. case "$LIBEXT" in
  15769. dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15770. 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'` ;;
  15771. *) 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'`
  15772. if ${ac_cv_lib_soname_SDL2:+false} :
  15773. then :
  15774. ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15775. fi ;;
  15776. esac
  15777. else $as_nop
  15778. ac_cv_lib_soname_SDL2=
  15779. fi
  15780. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15781. conftest$ac_exeext conftest.$ac_ext
  15782. LIBS=$ac_check_soname_save_LIBS
  15783. fi
  15784. if ${ac_cv_lib_soname_SDL2:+false} :
  15785. then :
  15786. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15787. printf "%s\n" "not found" >&6; }
  15788. else $as_nop
  15789. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
  15790. printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
  15791. printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
  15792. fi
  15793. fi
  15794. done
  15795. CPPFLAGS=$ac_save_CPPFLAGS
  15796. fi
  15797. if test "x$ac_cv_lib_soname_SDL2" = "x"
  15798. then :
  15799. case "x$with_sdl" in
  15800. x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
  15801. xno) ;;
  15802. *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
  15803. This is an error since --with-sdl was requested." "$LINENO" 5 ;;
  15804. esac
  15805. fi
  15806. if test "x$with_capi" != "xno"
  15807. then
  15808. if ${CAPI20_CFLAGS:+false} :
  15809. then :
  15810. if test ${PKG_CONFIG+y}
  15811. then :
  15812. CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
  15813. fi
  15814. fi
  15815. if ${CAPI20_LIBS:+false} :
  15816. then :
  15817. if test ${PKG_CONFIG+y}
  15818. then :
  15819. CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
  15820. fi
  15821. fi
  15822. printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
  15823. printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
  15824. ac_save_CPPFLAGS=$CPPFLAGS
  15825. CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
  15826. ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
  15827. "
  15828. if test "x$ac_cv_header_capi20_h" = xyes
  15829. then :
  15830. printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
  15831. fi
  15832. ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
  15833. "
  15834. if test "x$ac_cv_header_linux_capi_h" = xyes
  15835. then :
  15836. printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
  15837. fi
  15838. if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
  15839. then
  15840. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
  15841. printf %s "checking for capi20_register in -lcapi20... " >&6; }
  15842. if test ${ac_cv_lib_capi20_capi20_register+y}
  15843. then :
  15844. printf %s "(cached) " >&6
  15845. else $as_nop
  15846. ac_check_lib_save_LIBS=$LIBS
  15847. LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
  15848. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15849. /* end confdefs.h. */
  15850. /* Override any GCC internal prototype to avoid an error.
  15851. Use char because int might match the return type of a GCC
  15852. builtin and then its argument prototype would still apply. */
  15853. char capi20_register ();
  15854. int
  15855. main (void)
  15856. {
  15857. return capi20_register ();
  15858. ;
  15859. return 0;
  15860. }
  15861. _ACEOF
  15862. if ac_fn_c_try_link "$LINENO"
  15863. then :
  15864. ac_cv_lib_capi20_capi20_register=yes
  15865. else $as_nop
  15866. ac_cv_lib_capi20_capi20_register=no
  15867. fi
  15868. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15869. conftest$ac_exeext conftest.$ac_ext
  15870. LIBS=$ac_check_lib_save_LIBS
  15871. fi
  15872. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
  15873. printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
  15874. if test "x$ac_cv_lib_capi20_capi20_register" = xyes
  15875. then :
  15876. :
  15877. else $as_nop
  15878. CAPI20_LIBS=""
  15879. fi
  15880. fi
  15881. CPPFLAGS=$ac_save_CPPFLAGS
  15882. fi
  15883. if test "x$ac_cv_lib_capi20_capi20_register" = "x"
  15884. then :
  15885. case "x$with_capi" in
  15886. x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
  15887. xno) ;;
  15888. *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
  15889. This is an error since --with-capi was requested." "$LINENO" 5 ;;
  15890. esac
  15891. enable_capi2032=${enable_capi2032:-no}
  15892. fi
  15893. if test "x$with_cups" != "xno"
  15894. then
  15895. if ${CUPS_CFLAGS:+false} :
  15896. then :
  15897. if test ${PKG_CONFIG+y}
  15898. then :
  15899. CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
  15900. fi
  15901. fi
  15902. test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
  15903. if ${CUPS_LIBS:+false} :
  15904. then :
  15905. if test ${PKG_CONFIG+y}
  15906. then :
  15907. CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
  15908. fi
  15909. fi
  15910. test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
  15911. CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
  15912. printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
  15913. printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
  15914. ac_save_CPPFLAGS=$CPPFLAGS
  15915. CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
  15916. ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
  15917. if test "x$ac_cv_header_cups_cups_h" = xyes
  15918. then :
  15919. printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
  15920. fi
  15921. ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
  15922. if test "x$ac_cv_header_cups_ppd_h" = xyes
  15923. then :
  15924. printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
  15925. fi
  15926. if test "$ac_cv_header_cups_cups_h" = "yes"
  15927. then
  15928. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
  15929. printf %s "checking for -lcups... " >&6; }
  15930. if test ${ac_cv_lib_soname_cups+y}
  15931. then :
  15932. printf %s "(cached) " >&6
  15933. else $as_nop
  15934. ac_check_soname_save_LIBS=$LIBS
  15935. LIBS="-lcups $CUPS_LIBS $LIBS"
  15936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15937. /* end confdefs.h. */
  15938. /* Override any GCC internal prototype to avoid an error.
  15939. Use char because int might match the return type of a GCC
  15940. builtin and then its argument prototype would still apply. */
  15941. char cupsGetDefault ();
  15942. int
  15943. main (void)
  15944. {
  15945. return cupsGetDefault ();
  15946. ;
  15947. return 0;
  15948. }
  15949. _ACEOF
  15950. if ac_fn_c_try_link "$LINENO"
  15951. then :
  15952. case "$LIBEXT" in
  15953. dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15954. 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'` ;;
  15955. *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15956. if ${ac_cv_lib_soname_cups:+false} :
  15957. then :
  15958. ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15959. fi ;;
  15960. esac
  15961. else $as_nop
  15962. ac_cv_lib_soname_cups=
  15963. fi
  15964. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15965. conftest$ac_exeext conftest.$ac_ext
  15966. LIBS=$ac_check_soname_save_LIBS
  15967. fi
  15968. if ${ac_cv_lib_soname_cups:+false} :
  15969. then :
  15970. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15971. printf "%s\n" "not found" >&6; }
  15972. CUPS_LIBS=""
  15973. else $as_nop
  15974. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
  15975. printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
  15976. printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
  15977. fi
  15978. else
  15979. CUPS_CFLAGS=""
  15980. CUPS_LIBS=""
  15981. fi
  15982. CPPFLAGS=$ac_save_CPPFLAGS
  15983. fi
  15984. if test "x$ac_cv_lib_soname_cups" = "x"
  15985. then :
  15986. case "x$with_cups" in
  15987. x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
  15988. xno) ;;
  15989. *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
  15990. This is an error since --with-cups was requested." "$LINENO" 5 ;;
  15991. esac
  15992. fi
  15993. if test "x$with_fontconfig" != "xno"
  15994. then
  15995. if ${FONTCONFIG_CFLAGS:+false} :
  15996. then :
  15997. if test ${PKG_CONFIG+y}
  15998. then :
  15999. FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
  16000. fi
  16001. fi
  16002. test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
  16003. if ${FONTCONFIG_LIBS:+false} :
  16004. then :
  16005. if test ${PKG_CONFIG+y}
  16006. then :
  16007. FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
  16008. fi
  16009. fi
  16010. test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
  16011. printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
  16012. printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
  16013. ac_save_CPPFLAGS=$CPPFLAGS
  16014. CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
  16015. ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
  16016. if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
  16017. then :
  16018. printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
  16019. fi
  16020. if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
  16021. then
  16022. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
  16023. printf %s "checking for -lfontconfig... " >&6; }
  16024. if test ${ac_cv_lib_soname_fontconfig+y}
  16025. then :
  16026. printf %s "(cached) " >&6
  16027. else $as_nop
  16028. ac_check_soname_save_LIBS=$LIBS
  16029. LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
  16030. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16031. /* end confdefs.h. */
  16032. /* Override any GCC internal prototype to avoid an error.
  16033. Use char because int might match the return type of a GCC
  16034. builtin and then its argument prototype would still apply. */
  16035. char FcInit ();
  16036. int
  16037. main (void)
  16038. {
  16039. return FcInit ();
  16040. ;
  16041. return 0;
  16042. }
  16043. _ACEOF
  16044. if ac_fn_c_try_link "$LINENO"
  16045. then :
  16046. case "$LIBEXT" in
  16047. dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16048. 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'` ;;
  16049. *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16050. if ${ac_cv_lib_soname_fontconfig:+false} :
  16051. then :
  16052. ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16053. fi ;;
  16054. esac
  16055. else $as_nop
  16056. ac_cv_lib_soname_fontconfig=
  16057. fi
  16058. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16059. conftest$ac_exeext conftest.$ac_ext
  16060. LIBS=$ac_check_soname_save_LIBS
  16061. fi
  16062. if ${ac_cv_lib_soname_fontconfig:+false} :
  16063. then :
  16064. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16065. printf "%s\n" "not found" >&6; }
  16066. FONTCONFIG_CFLAGS=""
  16067. else $as_nop
  16068. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
  16069. printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
  16070. printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
  16071. fi
  16072. else
  16073. FONTCONFIG_CFLAGS=""
  16074. fi
  16075. CPPFLAGS=$ac_save_CPPFLAGS
  16076. fi
  16077. if test "x$ac_cv_lib_soname_fontconfig" = "x"
  16078. then :
  16079. case "x$with_fontconfig" in
  16080. x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
  16081. xno) ;;
  16082. *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
  16083. This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
  16084. esac
  16085. fi
  16086. if test "x$with_krb5" != "xno"
  16087. then
  16088. if ${KRB5_CFLAGS:+false} :
  16089. then :
  16090. if test ${PKG_CONFIG+y}
  16091. then :
  16092. KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
  16093. fi
  16094. fi
  16095. test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
  16096. if ${KRB5_LIBS:+false} :
  16097. then :
  16098. if test ${PKG_CONFIG+y}
  16099. then :
  16100. KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
  16101. fi
  16102. fi
  16103. test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
  16104. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
  16105. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
  16106. ac_save_CPPFLAGS=$CPPFLAGS
  16107. CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
  16108. ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
  16109. if test "x$ac_cv_header_krb5_krb5_h" = xyes
  16110. then :
  16111. printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
  16112. fi
  16113. if test "$ac_cv_header_krb5_krb5_h" = "yes"
  16114. then
  16115. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
  16116. printf %s "checking for -lkrb5... " >&6; }
  16117. if test ${ac_cv_lib_soname_krb5+y}
  16118. then :
  16119. printf %s "(cached) " >&6
  16120. else $as_nop
  16121. ac_check_soname_save_LIBS=$LIBS
  16122. LIBS="-lkrb5 $KRB5_LIBS $LIBS"
  16123. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16124. /* end confdefs.h. */
  16125. /* Override any GCC internal prototype to avoid an error.
  16126. Use char because int might match the return type of a GCC
  16127. builtin and then its argument prototype would still apply. */
  16128. char krb5_is_config_principal ();
  16129. int
  16130. main (void)
  16131. {
  16132. return krb5_is_config_principal ();
  16133. ;
  16134. return 0;
  16135. }
  16136. _ACEOF
  16137. if ac_fn_c_try_link "$LINENO"
  16138. then :
  16139. case "$LIBEXT" in
  16140. dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16141. 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'` ;;
  16142. *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16143. if ${ac_cv_lib_soname_krb5:+false} :
  16144. then :
  16145. ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16146. fi ;;
  16147. esac
  16148. else $as_nop
  16149. ac_cv_lib_soname_krb5=
  16150. fi
  16151. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16152. conftest$ac_exeext conftest.$ac_ext
  16153. LIBS=$ac_check_soname_save_LIBS
  16154. fi
  16155. if ${ac_cv_lib_soname_krb5:+false} :
  16156. then :
  16157. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16158. printf "%s\n" "not found" >&6; }
  16159. KRB5_CFLAGS=""
  16160. else $as_nop
  16161. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
  16162. printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
  16163. printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
  16164. fi
  16165. else
  16166. KRB5_CFLAGS=""
  16167. fi
  16168. CPPFLAGS=$ac_save_CPPFLAGS
  16169. fi
  16170. if test "x$ac_cv_lib_soname_krb5" = "x"
  16171. then :
  16172. case "x$with_krb5" in
  16173. x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
  16174. xno) ;;
  16175. *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
  16176. This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
  16177. esac
  16178. fi
  16179. test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
  16180. if test "x$with_gssapi" != "xno"
  16181. then
  16182. if ${GSSAPI_CFLAGS:+false} :
  16183. then :
  16184. if test ${PKG_CONFIG+y}
  16185. then :
  16186. GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
  16187. fi
  16188. fi
  16189. test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
  16190. if ${GSSAPI_LIBS:+false} :
  16191. then :
  16192. if test ${PKG_CONFIG+y}
  16193. then :
  16194. GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
  16195. fi
  16196. fi
  16197. test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
  16198. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
  16199. printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
  16200. ac_save_CPPFLAGS=$CPPFLAGS
  16201. CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
  16202. ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
  16203. if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
  16204. then :
  16205. printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
  16206. fi
  16207. ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
  16208. if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
  16209. then :
  16210. printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
  16211. fi
  16212. if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
  16213. then
  16214. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
  16215. printf %s "checking for -lgssapi_krb5... " >&6; }
  16216. if test ${ac_cv_lib_soname_gssapi_krb5+y}
  16217. then :
  16218. printf %s "(cached) " >&6
  16219. else $as_nop
  16220. ac_check_soname_save_LIBS=$LIBS
  16221. LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
  16222. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16223. /* end confdefs.h. */
  16224. /* Override any GCC internal prototype to avoid an error.
  16225. Use char because int might match the return type of a GCC
  16226. builtin and then its argument prototype would still apply. */
  16227. char gss_init_sec_context ();
  16228. int
  16229. main (void)
  16230. {
  16231. return gss_init_sec_context ();
  16232. ;
  16233. return 0;
  16234. }
  16235. _ACEOF
  16236. if ac_fn_c_try_link "$LINENO"
  16237. then :
  16238. case "$LIBEXT" in
  16239. dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16240. 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'` ;;
  16241. *) 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'`
  16242. if ${ac_cv_lib_soname_gssapi_krb5:+false} :
  16243. then :
  16244. ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16245. fi ;;
  16246. esac
  16247. else $as_nop
  16248. ac_cv_lib_soname_gssapi_krb5=
  16249. fi
  16250. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16251. conftest$ac_exeext conftest.$ac_ext
  16252. LIBS=$ac_check_soname_save_LIBS
  16253. fi
  16254. if ${ac_cv_lib_soname_gssapi_krb5:+false} :
  16255. then :
  16256. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16257. printf "%s\n" "not found" >&6; }
  16258. GSSAPI_CFLAGS=""
  16259. else $as_nop
  16260. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
  16261. printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
  16262. printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
  16263. fi
  16264. else
  16265. GSSAPI_CFLAGS=""
  16266. fi
  16267. CPPFLAGS=$ac_save_CPPFLAGS
  16268. fi
  16269. if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
  16270. then :
  16271. case "x$with_gssapi" in
  16272. x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
  16273. xno) ;;
  16274. *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
  16275. This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
  16276. esac
  16277. fi
  16278. if test "$ac_cv_header_AL_al_h" = "yes"
  16279. then
  16280. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
  16281. printf %s "checking for -lopenal... " >&6; }
  16282. if test ${ac_cv_lib_soname_openal+y}
  16283. then :
  16284. printf %s "(cached) " >&6
  16285. else $as_nop
  16286. ac_check_soname_save_LIBS=$LIBS
  16287. LIBS="-lopenal $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 alGetSource3i ();
  16294. int
  16295. main (void)
  16296. {
  16297. return alGetSource3i ();
  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_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16306. 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'` ;;
  16307. *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16308. if ${ac_cv_lib_soname_openal:+false} :
  16309. then :
  16310. ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16311. fi ;;
  16312. esac
  16313. else $as_nop
  16314. ac_cv_lib_soname_openal=
  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_openal:+false} :
  16321. then :
  16322. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16323. printf "%s\n" "not found" >&6; }
  16324. else $as_nop
  16325. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
  16326. printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
  16327. printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
  16328. OPENAL_LIBS="-lopenal"
  16329. ac_cv_lib_openal=yes
  16330. printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
  16331. fi
  16332. fi
  16333. if test "x$ac_cv_lib_openal" != xyes
  16334. then :
  16335. case "x$with_openal" in
  16336. x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
  16337. xno) ;;
  16338. *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
  16339. This is an error since --with-openal was requested." "$LINENO" 5 ;;
  16340. esac
  16341. enable_openal32=${enable_openal32:-no}
  16342. fi
  16343. if test "$ac_cv_header_libprocstat_h" = "yes"
  16344. then
  16345. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
  16346. printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
  16347. if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
  16348. then :
  16349. printf %s "(cached) " >&6
  16350. else $as_nop
  16351. ac_check_lib_save_LIBS=$LIBS
  16352. LIBS="-lprocstat $LIBS"
  16353. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16354. /* end confdefs.h. */
  16355. /* Override any GCC internal prototype to avoid an error.
  16356. Use char because int might match the return type of a GCC
  16357. builtin and then its argument prototype would still apply. */
  16358. char procstat_open_sysctl ();
  16359. int
  16360. main (void)
  16361. {
  16362. return procstat_open_sysctl ();
  16363. ;
  16364. return 0;
  16365. }
  16366. _ACEOF
  16367. if ac_fn_c_try_link "$LINENO"
  16368. then :
  16369. ac_cv_lib_procstat_procstat_open_sysctl=yes
  16370. else $as_nop
  16371. ac_cv_lib_procstat_procstat_open_sysctl=no
  16372. fi
  16373. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16374. conftest$ac_exeext conftest.$ac_ext
  16375. LIBS=$ac_check_lib_save_LIBS
  16376. fi
  16377. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
  16378. printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
  16379. if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
  16380. then :
  16381. printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
  16382. PROCSTAT_LIBS="-lprocstat"
  16383. fi
  16384. fi
  16385. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
  16386. printf %s "checking for -lodbc... " >&6; }
  16387. if test ${ac_cv_lib_soname_odbc+y}
  16388. then :
  16389. printf %s "(cached) " >&6
  16390. else $as_nop
  16391. ac_check_soname_save_LIBS=$LIBS
  16392. LIBS="-lodbc $LIBS"
  16393. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16394. /* end confdefs.h. */
  16395. /* Override any GCC internal prototype to avoid an error.
  16396. Use char because int might match the return type of a GCC
  16397. builtin and then its argument prototype would still apply. */
  16398. char SQLConnect ();
  16399. int
  16400. main (void)
  16401. {
  16402. return SQLConnect ();
  16403. ;
  16404. return 0;
  16405. }
  16406. _ACEOF
  16407. if ac_fn_c_try_link "$LINENO"
  16408. then :
  16409. case "$LIBEXT" in
  16410. dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16411. 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'` ;;
  16412. *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16413. if ${ac_cv_lib_soname_odbc:+false} :
  16414. then :
  16415. ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16416. fi ;;
  16417. esac
  16418. else $as_nop
  16419. ac_cv_lib_soname_odbc=
  16420. fi
  16421. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16422. conftest$ac_exeext conftest.$ac_ext
  16423. LIBS=$ac_check_soname_save_LIBS
  16424. fi
  16425. if ${ac_cv_lib_soname_odbc:+false} :
  16426. then :
  16427. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16428. printf "%s\n" "not found" >&6; }
  16429. printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
  16430. else $as_nop
  16431. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
  16432. printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
  16433. printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
  16434. fi
  16435. if test "x$with_netapi" != "xno"
  16436. then
  16437. if ${NETAPI_CFLAGS:+false} :
  16438. then :
  16439. if test ${PKG_CONFIG+y}
  16440. then :
  16441. NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
  16442. fi
  16443. fi
  16444. if ${NETAPI_LIBS:+false} :
  16445. then :
  16446. if test ${PKG_CONFIG+y}
  16447. then :
  16448. NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
  16449. fi
  16450. fi
  16451. printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
  16452. printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
  16453. ac_save_CPPFLAGS=$CPPFLAGS
  16454. CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
  16455. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
  16456. printf %s "checking for -lnetapi... " >&6; }
  16457. if test ${ac_cv_lib_soname_netapi+y}
  16458. then :
  16459. printf %s "(cached) " >&6
  16460. else $as_nop
  16461. ac_check_soname_save_LIBS=$LIBS
  16462. LIBS="-lnetapi $NETAPI_LIBS $LIBS"
  16463. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16464. /* end confdefs.h. */
  16465. /* Override any GCC internal prototype to avoid an error.
  16466. Use char because int might match the return type of a GCC
  16467. builtin and then its argument prototype would still apply. */
  16468. char libnetapi_init ();
  16469. int
  16470. main (void)
  16471. {
  16472. return libnetapi_init ();
  16473. ;
  16474. return 0;
  16475. }
  16476. _ACEOF
  16477. if ac_fn_c_try_link "$LINENO"
  16478. then :
  16479. case "$LIBEXT" in
  16480. dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16481. 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'` ;;
  16482. *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16483. if ${ac_cv_lib_soname_netapi:+false} :
  16484. then :
  16485. ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16486. fi ;;
  16487. esac
  16488. else $as_nop
  16489. ac_cv_lib_soname_netapi=
  16490. fi
  16491. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16492. conftest$ac_exeext conftest.$ac_ext
  16493. LIBS=$ac_check_soname_save_LIBS
  16494. fi
  16495. if ${ac_cv_lib_soname_netapi:+false} :
  16496. then :
  16497. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16498. printf "%s\n" "not found" >&6; }
  16499. printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
  16500. else $as_nop
  16501. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
  16502. printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
  16503. printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
  16504. fi
  16505. CPPFLAGS=$ac_save_CPPFLAGS
  16506. fi
  16507. if test "x$ac_cv_lib_soname_netapi" = "x"
  16508. then :
  16509. case "x$with_netapi" in
  16510. x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
  16511. xno) ;;
  16512. *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
  16513. This is an error since --with-netapi was requested." "$LINENO" 5 ;;
  16514. esac
  16515. enable_netapi=${enable_netapi:-no}
  16516. fi
  16517. if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
  16518. "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
  16519. then
  16520. as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
  16521. fi
  16522. if test "x$with_vulkan" != "xno"
  16523. then
  16524. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
  16525. printf %s "checking for -lvulkan... " >&6; }
  16526. if test ${ac_cv_lib_soname_vulkan+y}
  16527. then :
  16528. printf %s "(cached) " >&6
  16529. else $as_nop
  16530. ac_check_soname_save_LIBS=$LIBS
  16531. LIBS="-lvulkan $LIBS"
  16532. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16533. /* end confdefs.h. */
  16534. /* Override any GCC internal prototype to avoid an error.
  16535. Use char because int might match the return type of a GCC
  16536. builtin and then its argument prototype would still apply. */
  16537. char vkGetInstanceProcAddr ();
  16538. int
  16539. main (void)
  16540. {
  16541. return vkGetInstanceProcAddr ();
  16542. ;
  16543. return 0;
  16544. }
  16545. _ACEOF
  16546. if ac_fn_c_try_link "$LINENO"
  16547. then :
  16548. case "$LIBEXT" in
  16549. dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16550. 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'` ;;
  16551. *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16552. if ${ac_cv_lib_soname_vulkan:+false} :
  16553. then :
  16554. ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16555. fi ;;
  16556. esac
  16557. else $as_nop
  16558. ac_cv_lib_soname_vulkan=
  16559. fi
  16560. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16561. conftest$ac_exeext conftest.$ac_ext
  16562. LIBS=$ac_check_soname_save_LIBS
  16563. fi
  16564. if ${ac_cv_lib_soname_vulkan:+false} :
  16565. then :
  16566. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16567. printf "%s\n" "not found" >&6; }
  16568. else $as_nop
  16569. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
  16570. printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
  16571. printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
  16572. fi
  16573. if test "x$ac_cv_lib_soname_vulkan" = "x"
  16574. then
  16575. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
  16576. printf %s "checking for -lMoltenVK... " >&6; }
  16577. if test ${ac_cv_lib_soname_MoltenVK+y}
  16578. then :
  16579. printf %s "(cached) " >&6
  16580. else $as_nop
  16581. ac_check_soname_save_LIBS=$LIBS
  16582. LIBS="-lMoltenVK $LIBS"
  16583. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16584. /* end confdefs.h. */
  16585. /* Override any GCC internal prototype to avoid an error.
  16586. Use char because int might match the return type of a GCC
  16587. builtin and then its argument prototype would still apply. */
  16588. char vkGetInstanceProcAddr ();
  16589. int
  16590. main (void)
  16591. {
  16592. return vkGetInstanceProcAddr ();
  16593. ;
  16594. return 0;
  16595. }
  16596. _ACEOF
  16597. if ac_fn_c_try_link "$LINENO"
  16598. then :
  16599. case "$LIBEXT" in
  16600. dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16601. 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'` ;;
  16602. *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16603. if ${ac_cv_lib_soname_MoltenVK:+false} :
  16604. then :
  16605. ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16606. fi ;;
  16607. esac
  16608. else $as_nop
  16609. ac_cv_lib_soname_MoltenVK=
  16610. fi
  16611. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16612. conftest$ac_exeext conftest.$ac_ext
  16613. LIBS=$ac_check_soname_save_LIBS
  16614. fi
  16615. if ${ac_cv_lib_soname_MoltenVK:+false} :
  16616. then :
  16617. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16618. printf "%s\n" "not found" >&6; }
  16619. else $as_nop
  16620. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
  16621. printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
  16622. printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
  16623. fi
  16624. fi
  16625. fi
  16626. if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
  16627. then :
  16628. case "x$with_vulkan" in
  16629. x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
  16630. xno) ;;
  16631. *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
  16632. This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
  16633. esac
  16634. fi
  16635. if test "x$with_vkd3d" != "xno"
  16636. then
  16637. if ${VKD3D_CFLAGS:+false} :
  16638. then :
  16639. if test ${PKG_CONFIG+y}
  16640. then :
  16641. VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
  16642. fi
  16643. fi
  16644. if ${VKD3D_LIBS:+false} :
  16645. then :
  16646. if test ${PKG_CONFIG+y}
  16647. then :
  16648. VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
  16649. fi
  16650. fi
  16651. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
  16652. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
  16653. ac_save_CPPFLAGS=$CPPFLAGS
  16654. CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
  16655. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
  16656. printf %s "checking for -lvkd3d... " >&6; }
  16657. if test ${ac_cv_lib_soname_vkd3d+y}
  16658. then :
  16659. printf %s "(cached) " >&6
  16660. else $as_nop
  16661. ac_check_soname_save_LIBS=$LIBS
  16662. LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
  16663. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16664. /* end confdefs.h. */
  16665. /* Override any GCC internal prototype to avoid an error.
  16666. Use char because int might match the return type of a GCC
  16667. builtin and then its argument prototype would still apply. */
  16668. char vkd3d_serialize_versioned_root_signature ();
  16669. int
  16670. main (void)
  16671. {
  16672. return vkd3d_serialize_versioned_root_signature ();
  16673. ;
  16674. return 0;
  16675. }
  16676. _ACEOF
  16677. if ac_fn_c_try_link "$LINENO"
  16678. then :
  16679. case "$LIBEXT" in
  16680. dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16681. dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  16682. *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16683. if ${ac_cv_lib_soname_vkd3d:+false} :
  16684. then :
  16685. ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16686. fi ;;
  16687. esac
  16688. else $as_nop
  16689. ac_cv_lib_soname_vkd3d=
  16690. fi
  16691. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16692. conftest$ac_exeext conftest.$ac_ext
  16693. LIBS=$ac_check_soname_save_LIBS
  16694. fi
  16695. if ${ac_cv_lib_soname_vkd3d:+false} :
  16696. then :
  16697. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16698. printf "%s\n" "not found" >&6; }
  16699. else $as_nop
  16700. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
  16701. printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
  16702. printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
  16703. fi
  16704. CPPFLAGS=$ac_save_CPPFLAGS
  16705. if ${VKD3D_SHADER_CFLAGS:+false} :
  16706. then :
  16707. if test ${PKG_CONFIG+y}
  16708. then :
  16709. VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
  16710. fi
  16711. fi
  16712. if ${VKD3D_SHADER_LIBS:+false} :
  16713. then :
  16714. if test ${PKG_CONFIG+y}
  16715. then :
  16716. VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
  16717. fi
  16718. fi
  16719. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
  16720. printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
  16721. ac_save_CPPFLAGS=$CPPFLAGS
  16722. CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
  16723. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
  16724. printf %s "checking for -lvkd3d-shader... " >&6; }
  16725. if test ${ac_cv_lib_soname_vkd3d_shader+y}
  16726. then :
  16727. printf %s "(cached) " >&6
  16728. else $as_nop
  16729. ac_check_soname_save_LIBS=$LIBS
  16730. LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
  16731. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16732. /* end confdefs.h. */
  16733. /* Override any GCC internal prototype to avoid an error.
  16734. Use char because int might match the return type of a GCC
  16735. builtin and then its argument prototype would still apply. */
  16736. char vkd3d_shader_compile ();
  16737. int
  16738. main (void)
  16739. {
  16740. return vkd3d_shader_compile ();
  16741. ;
  16742. return 0;
  16743. }
  16744. _ACEOF
  16745. if ac_fn_c_try_link "$LINENO"
  16746. then :
  16747. case "$LIBEXT" in
  16748. dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16749. dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  16750. *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16751. if ${ac_cv_lib_soname_vkd3d_shader:+false} :
  16752. then :
  16753. ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16754. fi ;;
  16755. esac
  16756. else $as_nop
  16757. ac_cv_lib_soname_vkd3d_shader=
  16758. fi
  16759. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16760. conftest$ac_exeext conftest.$ac_ext
  16761. LIBS=$ac_check_soname_save_LIBS
  16762. fi
  16763. if ${ac_cv_lib_soname_vkd3d_shader:+false} :
  16764. then :
  16765. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16766. printf "%s\n" "not found" >&6; }
  16767. else $as_nop
  16768. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
  16769. printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
  16770. printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
  16771. fi
  16772. CPPFLAGS=$ac_save_CPPFLAGS
  16773. fi
  16774. if test "x$ac_cv_lib_soname_vkd3d" = "x"
  16775. then :
  16776. case "x$with_vkd3d" in
  16777. x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
  16778. xno) ;;
  16779. *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
  16780. This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
  16781. esac
  16782. fi
  16783. test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
  16784. if test "x${GCC}" = "xyes"
  16785. then
  16786. EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
  16787. saved_CFLAGS=$CFLAGS
  16788. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
  16789. printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
  16790. if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
  16791. then :
  16792. printf %s "(cached) " >&6
  16793. else $as_nop
  16794. ac_wine_try_cflags_saved=$CFLAGS
  16795. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  16796. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16797. /* end confdefs.h. */
  16798. int main(int argc, char **argv) { return 0; }
  16799. _ACEOF
  16800. if ac_fn_c_try_link "$LINENO"
  16801. then :
  16802. ac_cv_cflags__Werror_unknown_warning_option=yes
  16803. else $as_nop
  16804. ac_cv_cflags__Werror_unknown_warning_option=no
  16805. fi
  16806. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16807. conftest$ac_exeext conftest.$ac_ext
  16808. CFLAGS=$ac_wine_try_cflags_saved
  16809. fi
  16810. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
  16811. printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
  16812. if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
  16813. then :
  16814. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  16815. fi
  16816. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
  16817. printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
  16818. if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
  16819. then :
  16820. printf %s "(cached) " >&6
  16821. else $as_nop
  16822. ac_wine_try_cflags_saved=$CFLAGS
  16823. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  16824. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16825. /* end confdefs.h. */
  16826. int main(int argc, char **argv) { return 0; }
  16827. _ACEOF
  16828. if ac_fn_c_try_link "$LINENO"
  16829. then :
  16830. ac_cv_cflags__Werror_unused_command_line_argument=yes
  16831. else $as_nop
  16832. ac_cv_cflags__Werror_unused_command_line_argument=no
  16833. fi
  16834. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16835. conftest$ac_exeext conftest.$ac_ext
  16836. CFLAGS=$ac_wine_try_cflags_saved
  16837. fi
  16838. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
  16839. printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
  16840. if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
  16841. then :
  16842. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  16843. fi
  16844. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
  16845. printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
  16846. if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
  16847. then :
  16848. printf %s "(cached) " >&6
  16849. else $as_nop
  16850. ac_wine_try_cflags_saved=$CFLAGS
  16851. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  16852. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16853. /* end confdefs.h. */
  16854. int main(int argc, char **argv) { return 0; }
  16855. _ACEOF
  16856. if ac_fn_c_try_link "$LINENO"
  16857. then :
  16858. ac_cv_cflags__Werror_ignored_optimization_argument=yes
  16859. else $as_nop
  16860. ac_cv_cflags__Werror_ignored_optimization_argument=no
  16861. fi
  16862. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16863. conftest$ac_exeext conftest.$ac_ext
  16864. CFLAGS=$ac_wine_try_cflags_saved
  16865. fi
  16866. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
  16867. printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
  16868. if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
  16869. then :
  16870. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  16871. fi
  16872. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
  16873. printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
  16874. if test ${ac_cv_cflags__fcf_protection_none+y}
  16875. then :
  16876. printf %s "(cached) " >&6
  16877. else $as_nop
  16878. ac_wine_try_cflags_saved=$CFLAGS
  16879. CFLAGS="$CFLAGS -fcf-protection=none"
  16880. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16881. /* end confdefs.h. */
  16882. int main(int argc, char **argv) { return 0; }
  16883. _ACEOF
  16884. if ac_fn_c_try_link "$LINENO"
  16885. then :
  16886. ac_cv_cflags__fcf_protection_none=yes
  16887. else $as_nop
  16888. ac_cv_cflags__fcf_protection_none=no
  16889. fi
  16890. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16891. conftest$ac_exeext conftest.$ac_ext
  16892. CFLAGS=$ac_wine_try_cflags_saved
  16893. fi
  16894. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
  16895. printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
  16896. if test "x$ac_cv_cflags__fcf_protection_none" = xyes
  16897. then :
  16898. EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
  16899. fi
  16900. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
  16901. printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
  16902. if test ${ac_cv_cflags__fno_stack_protector+y}
  16903. then :
  16904. printf %s "(cached) " >&6
  16905. else $as_nop
  16906. ac_wine_try_cflags_saved=$CFLAGS
  16907. CFLAGS="$CFLAGS -fno-stack-protector"
  16908. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16909. /* end confdefs.h. */
  16910. int main(int argc, char **argv) { return 0; }
  16911. _ACEOF
  16912. if ac_fn_c_try_link "$LINENO"
  16913. then :
  16914. ac_cv_cflags__fno_stack_protector=yes
  16915. else $as_nop
  16916. ac_cv_cflags__fno_stack_protector=no
  16917. fi
  16918. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16919. conftest$ac_exeext conftest.$ac_ext
  16920. CFLAGS=$ac_wine_try_cflags_saved
  16921. fi
  16922. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
  16923. printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
  16924. if test "x$ac_cv_cflags__fno_stack_protector" = xyes
  16925. then :
  16926. EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
  16927. fi
  16928. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
  16929. printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
  16930. if test ${ac_cv_cflags__fno_strict_aliasing+y}
  16931. then :
  16932. printf %s "(cached) " >&6
  16933. else $as_nop
  16934. ac_wine_try_cflags_saved=$CFLAGS
  16935. CFLAGS="$CFLAGS -fno-strict-aliasing"
  16936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16937. /* end confdefs.h. */
  16938. int main(int argc, char **argv) { return 0; }
  16939. _ACEOF
  16940. if ac_fn_c_try_link "$LINENO"
  16941. then :
  16942. ac_cv_cflags__fno_strict_aliasing=yes
  16943. else $as_nop
  16944. ac_cv_cflags__fno_strict_aliasing=no
  16945. fi
  16946. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16947. conftest$ac_exeext conftest.$ac_ext
  16948. CFLAGS=$ac_wine_try_cflags_saved
  16949. fi
  16950. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
  16951. printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
  16952. if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
  16953. then :
  16954. EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
  16955. fi
  16956. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
  16957. printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
  16958. if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
  16959. then :
  16960. printf %s "(cached) " >&6
  16961. else $as_nop
  16962. ac_wine_try_cflags_saved=$CFLAGS
  16963. CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  16964. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16965. /* end confdefs.h. */
  16966. int main(int argc, char **argv) { return 0; }
  16967. _ACEOF
  16968. if ac_fn_c_try_link "$LINENO"
  16969. then :
  16970. ac_cv_cflags__Wdeclaration_after_statement=yes
  16971. else $as_nop
  16972. ac_cv_cflags__Wdeclaration_after_statement=no
  16973. fi
  16974. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16975. conftest$ac_exeext conftest.$ac_ext
  16976. CFLAGS=$ac_wine_try_cflags_saved
  16977. fi
  16978. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
  16979. printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
  16980. if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
  16981. then :
  16982. EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
  16983. fi
  16984. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
  16985. printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
  16986. if test ${ac_cv_cflags__Wempty_body+y}
  16987. then :
  16988. printf %s "(cached) " >&6
  16989. else $as_nop
  16990. ac_wine_try_cflags_saved=$CFLAGS
  16991. CFLAGS="$CFLAGS -Wempty-body"
  16992. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16993. /* end confdefs.h. */
  16994. int main(int argc, char **argv) { return 0; }
  16995. _ACEOF
  16996. if ac_fn_c_try_link "$LINENO"
  16997. then :
  16998. ac_cv_cflags__Wempty_body=yes
  16999. else $as_nop
  17000. ac_cv_cflags__Wempty_body=no
  17001. fi
  17002. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17003. conftest$ac_exeext conftest.$ac_ext
  17004. CFLAGS=$ac_wine_try_cflags_saved
  17005. fi
  17006. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
  17007. printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
  17008. if test "x$ac_cv_cflags__Wempty_body" = xyes
  17009. then :
  17010. EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
  17011. fi
  17012. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
  17013. printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
  17014. if test ${ac_cv_cflags__Wignored_qualifiers+y}
  17015. then :
  17016. printf %s "(cached) " >&6
  17017. else $as_nop
  17018. ac_wine_try_cflags_saved=$CFLAGS
  17019. CFLAGS="$CFLAGS -Wignored-qualifiers"
  17020. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17021. /* end confdefs.h. */
  17022. int main(int argc, char **argv) { return 0; }
  17023. _ACEOF
  17024. if ac_fn_c_try_link "$LINENO"
  17025. then :
  17026. ac_cv_cflags__Wignored_qualifiers=yes
  17027. else $as_nop
  17028. ac_cv_cflags__Wignored_qualifiers=no
  17029. fi
  17030. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17031. conftest$ac_exeext conftest.$ac_ext
  17032. CFLAGS=$ac_wine_try_cflags_saved
  17033. fi
  17034. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
  17035. printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
  17036. if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
  17037. then :
  17038. EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
  17039. fi
  17040. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
  17041. printf %s "checking whether the compiler supports -Winit-self... " >&6; }
  17042. if test ${ac_cv_cflags__Winit_self+y}
  17043. then :
  17044. printf %s "(cached) " >&6
  17045. else $as_nop
  17046. ac_wine_try_cflags_saved=$CFLAGS
  17047. CFLAGS="$CFLAGS -Winit-self"
  17048. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17049. /* end confdefs.h. */
  17050. int main(int argc, char **argv) { return 0; }
  17051. _ACEOF
  17052. if ac_fn_c_try_link "$LINENO"
  17053. then :
  17054. ac_cv_cflags__Winit_self=yes
  17055. else $as_nop
  17056. ac_cv_cflags__Winit_self=no
  17057. fi
  17058. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17059. conftest$ac_exeext conftest.$ac_ext
  17060. CFLAGS=$ac_wine_try_cflags_saved
  17061. fi
  17062. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
  17063. printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
  17064. if test "x$ac_cv_cflags__Winit_self" = xyes
  17065. then :
  17066. EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
  17067. fi
  17068. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
  17069. printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
  17070. if test ${ac_cv_cflags__Wpacked_not_aligned+y}
  17071. then :
  17072. printf %s "(cached) " >&6
  17073. else $as_nop
  17074. ac_wine_try_cflags_saved=$CFLAGS
  17075. CFLAGS="$CFLAGS -Wpacked-not-aligned"
  17076. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17077. /* end confdefs.h. */
  17078. int main(int argc, char **argv) { return 0; }
  17079. _ACEOF
  17080. if ac_fn_c_try_link "$LINENO"
  17081. then :
  17082. ac_cv_cflags__Wpacked_not_aligned=yes
  17083. else $as_nop
  17084. ac_cv_cflags__Wpacked_not_aligned=no
  17085. fi
  17086. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17087. conftest$ac_exeext conftest.$ac_ext
  17088. CFLAGS=$ac_wine_try_cflags_saved
  17089. fi
  17090. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
  17091. printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
  17092. if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
  17093. then :
  17094. EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
  17095. fi
  17096. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
  17097. printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
  17098. if test ${ac_cv_cflags__Wpragma_pack+y}
  17099. then :
  17100. printf %s "(cached) " >&6
  17101. else $as_nop
  17102. ac_wine_try_cflags_saved=$CFLAGS
  17103. CFLAGS="$CFLAGS -Wpragma-pack"
  17104. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17105. /* end confdefs.h. */
  17106. int main(int argc, char **argv) { return 0; }
  17107. _ACEOF
  17108. if ac_fn_c_try_link "$LINENO"
  17109. then :
  17110. ac_cv_cflags__Wpragma_pack=yes
  17111. else $as_nop
  17112. ac_cv_cflags__Wpragma_pack=no
  17113. fi
  17114. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17115. conftest$ac_exeext conftest.$ac_ext
  17116. CFLAGS=$ac_wine_try_cflags_saved
  17117. fi
  17118. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
  17119. printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
  17120. if test "x$ac_cv_cflags__Wpragma_pack" = xyes
  17121. then :
  17122. EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
  17123. fi
  17124. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
  17125. printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
  17126. if test ${ac_cv_cflags__Wshift_overflow_2+y}
  17127. then :
  17128. printf %s "(cached) " >&6
  17129. else $as_nop
  17130. ac_wine_try_cflags_saved=$CFLAGS
  17131. CFLAGS="$CFLAGS -Wshift-overflow=2"
  17132. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17133. /* end confdefs.h. */
  17134. int main(int argc, char **argv) { return 0; }
  17135. _ACEOF
  17136. if ac_fn_c_try_link "$LINENO"
  17137. then :
  17138. ac_cv_cflags__Wshift_overflow_2=yes
  17139. else $as_nop
  17140. ac_cv_cflags__Wshift_overflow_2=no
  17141. fi
  17142. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17143. conftest$ac_exeext conftest.$ac_ext
  17144. CFLAGS=$ac_wine_try_cflags_saved
  17145. fi
  17146. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
  17147. printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
  17148. if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
  17149. then :
  17150. EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
  17151. fi
  17152. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
  17153. printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
  17154. if test ${ac_cv_cflags__Wstrict_prototypes+y}
  17155. then :
  17156. printf %s "(cached) " >&6
  17157. else $as_nop
  17158. ac_wine_try_cflags_saved=$CFLAGS
  17159. CFLAGS="$CFLAGS -Wstrict-prototypes"
  17160. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17161. /* end confdefs.h. */
  17162. int main(int argc, char **argv) { return 0; }
  17163. _ACEOF
  17164. if ac_fn_c_try_link "$LINENO"
  17165. then :
  17166. ac_cv_cflags__Wstrict_prototypes=yes
  17167. else $as_nop
  17168. ac_cv_cflags__Wstrict_prototypes=no
  17169. fi
  17170. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17171. conftest$ac_exeext conftest.$ac_ext
  17172. CFLAGS=$ac_wine_try_cflags_saved
  17173. fi
  17174. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
  17175. printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
  17176. if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
  17177. then :
  17178. EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
  17179. fi
  17180. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
  17181. printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
  17182. if test ${ac_cv_cflags__Wtype_limits+y}
  17183. then :
  17184. printf %s "(cached) " >&6
  17185. else $as_nop
  17186. ac_wine_try_cflags_saved=$CFLAGS
  17187. CFLAGS="$CFLAGS -Wtype-limits"
  17188. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17189. /* end confdefs.h. */
  17190. int main(int argc, char **argv) { return 0; }
  17191. _ACEOF
  17192. if ac_fn_c_try_link "$LINENO"
  17193. then :
  17194. ac_cv_cflags__Wtype_limits=yes
  17195. else $as_nop
  17196. ac_cv_cflags__Wtype_limits=no
  17197. fi
  17198. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17199. conftest$ac_exeext conftest.$ac_ext
  17200. CFLAGS=$ac_wine_try_cflags_saved
  17201. fi
  17202. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
  17203. printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
  17204. if test "x$ac_cv_cflags__Wtype_limits" = xyes
  17205. then :
  17206. EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
  17207. fi
  17208. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
  17209. printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
  17210. if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
  17211. then :
  17212. printf %s "(cached) " >&6
  17213. else $as_nop
  17214. ac_wine_try_cflags_saved=$CFLAGS
  17215. CFLAGS="$CFLAGS -Wunused-but-set-parameter"
  17216. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17217. /* end confdefs.h. */
  17218. int main(int argc, char **argv) { return 0; }
  17219. _ACEOF
  17220. if ac_fn_c_try_link "$LINENO"
  17221. then :
  17222. ac_cv_cflags__Wunused_but_set_parameter=yes
  17223. else $as_nop
  17224. ac_cv_cflags__Wunused_but_set_parameter=no
  17225. fi
  17226. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17227. conftest$ac_exeext conftest.$ac_ext
  17228. CFLAGS=$ac_wine_try_cflags_saved
  17229. fi
  17230. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
  17231. printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
  17232. if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
  17233. then :
  17234. EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
  17235. fi
  17236. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
  17237. printf %s "checking whether the compiler supports -Wvla... " >&6; }
  17238. if test ${ac_cv_cflags__Wvla+y}
  17239. then :
  17240. printf %s "(cached) " >&6
  17241. else $as_nop
  17242. ac_wine_try_cflags_saved=$CFLAGS
  17243. CFLAGS="$CFLAGS -Wvla"
  17244. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17245. /* end confdefs.h. */
  17246. int main(int argc, char **argv) { return 0; }
  17247. _ACEOF
  17248. if ac_fn_c_try_link "$LINENO"
  17249. then :
  17250. ac_cv_cflags__Wvla=yes
  17251. else $as_nop
  17252. ac_cv_cflags__Wvla=no
  17253. fi
  17254. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17255. conftest$ac_exeext conftest.$ac_ext
  17256. CFLAGS=$ac_wine_try_cflags_saved
  17257. fi
  17258. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
  17259. printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
  17260. if test "x$ac_cv_cflags__Wvla" = xyes
  17261. then :
  17262. EXTRACFLAGS="$EXTRACFLAGS -Wvla"
  17263. fi
  17264. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
  17265. printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
  17266. if test ${ac_cv_cflags__Wwrite_strings+y}
  17267. then :
  17268. printf %s "(cached) " >&6
  17269. else $as_nop
  17270. ac_wine_try_cflags_saved=$CFLAGS
  17271. CFLAGS="$CFLAGS -Wwrite-strings"
  17272. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17273. /* end confdefs.h. */
  17274. int main(int argc, char **argv) { return 0; }
  17275. _ACEOF
  17276. if ac_fn_c_try_link "$LINENO"
  17277. then :
  17278. ac_cv_cflags__Wwrite_strings=yes
  17279. else $as_nop
  17280. ac_cv_cflags__Wwrite_strings=no
  17281. fi
  17282. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17283. conftest$ac_exeext conftest.$ac_ext
  17284. CFLAGS=$ac_wine_try_cflags_saved
  17285. fi
  17286. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
  17287. printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
  17288. if test "x$ac_cv_cflags__Wwrite_strings" = xyes
  17289. then :
  17290. EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
  17291. fi
  17292. if test -z "$CROSSTARGET"
  17293. then
  17294. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
  17295. printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
  17296. if test ${ac_cv_cflags__fexcess_precision_standard+y}
  17297. then :
  17298. printf %s "(cached) " >&6
  17299. else $as_nop
  17300. ac_wine_try_cflags_saved=$CFLAGS
  17301. CFLAGS="$CFLAGS -fexcess-precision=standard"
  17302. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17303. /* end confdefs.h. */
  17304. int main(int argc, char **argv) { return 0; }
  17305. _ACEOF
  17306. if ac_fn_c_try_link "$LINENO"
  17307. then :
  17308. ac_cv_cflags__fexcess_precision_standard=yes
  17309. else $as_nop
  17310. ac_cv_cflags__fexcess_precision_standard=no
  17311. fi
  17312. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17313. conftest$ac_exeext conftest.$ac_ext
  17314. CFLAGS=$ac_wine_try_cflags_saved
  17315. fi
  17316. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
  17317. printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
  17318. if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
  17319. then :
  17320. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  17321. fi
  17322. fi
  17323. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
  17324. printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
  17325. if test ${ac_cv_cflags__Wpointer_arith+y}
  17326. then :
  17327. printf %s "(cached) " >&6
  17328. else $as_nop
  17329. ac_wine_try_cflags_saved=$CFLAGS
  17330. CFLAGS="$CFLAGS -Wpointer-arith"
  17331. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17332. /* end confdefs.h. */
  17333. int main(int argc, char **argv) { return 0; }
  17334. _ACEOF
  17335. if ac_fn_c_try_link "$LINENO"
  17336. then :
  17337. ac_cv_cflags__Wpointer_arith=yes
  17338. else $as_nop
  17339. ac_cv_cflags__Wpointer_arith=no
  17340. fi
  17341. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17342. conftest$ac_exeext conftest.$ac_ext
  17343. CFLAGS=$ac_wine_try_cflags_saved
  17344. fi
  17345. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
  17346. printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
  17347. if test "x$ac_cv_cflags__Wpointer_arith" = xyes
  17348. then :
  17349. saved_string_h_CFLAGS=$CFLAGS
  17350. CFLAGS="$CFLAGS -Wpointer-arith -Werror"
  17351. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
  17352. printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
  17353. if test ${ac_cv_c_string_h_warnings+y}
  17354. then :
  17355. printf %s "(cached) " >&6
  17356. else $as_nop
  17357. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17358. /* end confdefs.h. */
  17359. #include <string.h>
  17360. int
  17361. main (void)
  17362. {
  17363. ;
  17364. return 0;
  17365. }
  17366. _ACEOF
  17367. if ac_fn_c_try_compile "$LINENO"
  17368. then :
  17369. ac_cv_c_string_h_warnings=no
  17370. else $as_nop
  17371. ac_cv_c_string_h_warnings=yes
  17372. fi
  17373. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17374. fi
  17375. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
  17376. printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
  17377. test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
  17378. CFLAGS=$saved_string_h_CFLAGS
  17379. fi
  17380. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
  17381. printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
  17382. if test ${ac_cv_cflags__Wlogical_op+y}
  17383. then :
  17384. printf %s "(cached) " >&6
  17385. else $as_nop
  17386. ac_wine_try_cflags_saved=$CFLAGS
  17387. CFLAGS="$CFLAGS -Wlogical-op"
  17388. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17389. /* end confdefs.h. */
  17390. int main(int argc, char **argv) { return 0; }
  17391. _ACEOF
  17392. if ac_fn_c_try_link "$LINENO"
  17393. then :
  17394. ac_cv_cflags__Wlogical_op=yes
  17395. else $as_nop
  17396. ac_cv_cflags__Wlogical_op=no
  17397. fi
  17398. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17399. conftest$ac_exeext conftest.$ac_ext
  17400. CFLAGS=$ac_wine_try_cflags_saved
  17401. fi
  17402. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
  17403. printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
  17404. if test "x$ac_cv_cflags__Wlogical_op" = xyes
  17405. then :
  17406. saved_string_h_CFLAGS=$CFLAGS
  17407. CFLAGS="$CFLAGS -Wlogical-op -Werror"
  17408. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
  17409. printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
  17410. if test ${ac_cv_c_logicalop_noisy+y}
  17411. then :
  17412. printf %s "(cached) " >&6
  17413. else $as_nop
  17414. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17415. /* end confdefs.h. */
  17416. #include <string.h>
  17417. char*f(const char *h,char n) {return strchr(h,n);}
  17418. int
  17419. main (void)
  17420. {
  17421. ;
  17422. return 0;
  17423. }
  17424. _ACEOF
  17425. if ac_fn_c_try_compile "$LINENO"
  17426. then :
  17427. ac_cv_c_logicalop_noisy=no
  17428. else $as_nop
  17429. ac_cv_c_logicalop_noisy=yes
  17430. fi
  17431. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17432. fi
  17433. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
  17434. printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
  17435. CFLAGS=$saved_string_h_CFLAGS
  17436. test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
  17437. fi
  17438. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
  17439. printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
  17440. if test ${wine_cv_64bit_compare_swap+y}
  17441. then :
  17442. printf %s "(cached) " >&6
  17443. else $as_nop
  17444. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17445. /* end confdefs.h. */
  17446. #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  17447. #error no
  17448. #endif
  17449. int
  17450. main (void)
  17451. {
  17452. ;
  17453. return 0;
  17454. }
  17455. _ACEOF
  17456. if ac_fn_c_try_compile "$LINENO"
  17457. then :
  17458. wine_cv_64bit_compare_swap="none needed"
  17459. else $as_nop
  17460. case $host_cpu in
  17461. *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
  17462. *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
  17463. *) wine_cv_64bit_compare_swap="unknown" ;;
  17464. esac
  17465. if test "x$wine_cv_64bit_compare_swap" != xunknown
  17466. then
  17467. CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
  17468. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17469. /* end confdefs.h. */
  17470. #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  17471. #error no
  17472. #endif
  17473. int
  17474. main (void)
  17475. {
  17476. ;
  17477. return 0;
  17478. }
  17479. _ACEOF
  17480. if ac_fn_c_try_compile "$LINENO"
  17481. then :
  17482. else $as_nop
  17483. wine_cv_64bit_compare_swap="unknown"
  17484. fi
  17485. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17486. CFLAGS=$saved_CFLAGS
  17487. fi
  17488. fi
  17489. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17490. fi
  17491. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
  17492. printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
  17493. case "$wine_cv_64bit_compare_swap" in
  17494. unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
  17495. "none needed") ;;
  17496. *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
  17497. esac
  17498. ac_debug_format_seen=""
  17499. for ac_flag in $CFLAGS; do
  17500. case $ac_flag in
  17501. -gdwarf*) ac_debug_format_seen=yes ;;
  17502. -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
  17503. esac
  17504. done
  17505. if test "x$ac_debug_format_seen" = xdefault
  17506. then
  17507. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
  17508. printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
  17509. if test ${ac_cv_cflags__gdwarf_4+y}
  17510. then :
  17511. printf %s "(cached) " >&6
  17512. else $as_nop
  17513. ac_wine_try_cflags_saved=$CFLAGS
  17514. CFLAGS="$CFLAGS -gdwarf-4"
  17515. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17516. /* end confdefs.h. */
  17517. int main(int argc, char **argv) { return 0; }
  17518. _ACEOF
  17519. if ac_fn_c_try_link "$LINENO"
  17520. then :
  17521. ac_cv_cflags__gdwarf_4=yes
  17522. else $as_nop
  17523. ac_cv_cflags__gdwarf_4=no
  17524. fi
  17525. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17526. conftest$ac_exeext conftest.$ac_ext
  17527. CFLAGS=$ac_wine_try_cflags_saved
  17528. fi
  17529. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
  17530. printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
  17531. if test "x$ac_cv_cflags__gdwarf_4" = xyes
  17532. then :
  17533. EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
  17534. fi
  17535. fi
  17536. MSVCRTFLAGS=""
  17537. case $host_os in
  17538. mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
  17539. printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
  17540. if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
  17541. then :
  17542. printf %s "(cached) " >&6
  17543. else $as_nop
  17544. ac_wine_try_cflags_saved=$CFLAGS
  17545. CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
  17546. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17547. /* end confdefs.h. */
  17548. int main(int argc, char **argv) { return 0; }
  17549. _ACEOF
  17550. if ac_fn_c_try_link "$LINENO"
  17551. then :
  17552. ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
  17553. else $as_nop
  17554. ac_cv_cflags__Wl__delayload_autoconftest_dll=no
  17555. fi
  17556. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17557. conftest$ac_exeext conftest.$ac_ext
  17558. CFLAGS=$ac_wine_try_cflags_saved
  17559. fi
  17560. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
  17561. printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
  17562. if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
  17563. then :
  17564. DELAYLOADFLAG="-Wl,-delayload,"
  17565. fi ;;
  17566. *) MSVCRTFLAGS="-D_WIN32"
  17567. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
  17568. printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
  17569. if test ${ac_cv_cflags__fno_builtin+y}
  17570. then :
  17571. printf %s "(cached) " >&6
  17572. else $as_nop
  17573. ac_wine_try_cflags_saved=$CFLAGS
  17574. CFLAGS="$CFLAGS -fno-builtin"
  17575. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17576. /* end confdefs.h. */
  17577. int main(int argc, char **argv) { return 0; }
  17578. _ACEOF
  17579. if ac_fn_c_try_link "$LINENO"
  17580. then :
  17581. ac_cv_cflags__fno_builtin=yes
  17582. else $as_nop
  17583. ac_cv_cflags__fno_builtin=no
  17584. fi
  17585. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17586. conftest$ac_exeext conftest.$ac_ext
  17587. CFLAGS=$ac_wine_try_cflags_saved
  17588. fi
  17589. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
  17590. printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
  17591. if test "x$ac_cv_cflags__fno_builtin" = xyes
  17592. then :
  17593. MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
  17594. fi
  17595. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
  17596. printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
  17597. if test ${ac_cv_cflags__fshort_wchar+y}
  17598. then :
  17599. printf %s "(cached) " >&6
  17600. else $as_nop
  17601. ac_wine_try_cflags_saved=$CFLAGS
  17602. CFLAGS="$CFLAGS -fshort-wchar"
  17603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17604. /* end confdefs.h. */
  17605. int main(int argc, char **argv) { return 0; }
  17606. _ACEOF
  17607. if ac_fn_c_try_link "$LINENO"
  17608. then :
  17609. ac_cv_cflags__fshort_wchar=yes
  17610. else $as_nop
  17611. ac_cv_cflags__fshort_wchar=no
  17612. fi
  17613. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17614. conftest$ac_exeext conftest.$ac_ext
  17615. CFLAGS=$ac_wine_try_cflags_saved
  17616. fi
  17617. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
  17618. printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
  17619. if test "x$ac_cv_cflags__fshort_wchar" = xyes
  17620. then :
  17621. MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
  17622. fi
  17623. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  17624. printf %s "checking whether the compiler supports -Wno-format... " >&6; }
  17625. if test ${ac_cv_cflags__Wno_format+y}
  17626. then :
  17627. printf %s "(cached) " >&6
  17628. else $as_nop
  17629. ac_wine_try_cflags_saved=$CFLAGS
  17630. CFLAGS="$CFLAGS -Wno-format"
  17631. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17632. /* end confdefs.h. */
  17633. int main(int argc, char **argv) { return 0; }
  17634. _ACEOF
  17635. if ac_fn_c_try_link "$LINENO"
  17636. then :
  17637. ac_cv_cflags__Wno_format=yes
  17638. else $as_nop
  17639. ac_cv_cflags__Wno_format=no
  17640. fi
  17641. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17642. conftest$ac_exeext conftest.$ac_ext
  17643. CFLAGS=$ac_wine_try_cflags_saved
  17644. fi
  17645. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  17646. printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
  17647. if test "x$ac_cv_cflags__Wno_format" = xyes
  17648. then :
  17649. MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
  17650. fi ;;
  17651. esac
  17652. case $host_cpu in
  17653. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
  17654. printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
  17655. if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
  17656. then :
  17657. printf %s "(cached) " >&6
  17658. else $as_nop
  17659. ac_wine_try_cflags_saved=$CFLAGS
  17660. CFLAGS="$CFLAGS -fno-omit-frame-pointer"
  17661. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17662. /* end confdefs.h. */
  17663. int main(int argc, char **argv) { return 0; }
  17664. _ACEOF
  17665. if ac_fn_c_try_link "$LINENO"
  17666. then :
  17667. ac_cv_cflags__fno_omit_frame_pointer=yes
  17668. else $as_nop
  17669. ac_cv_cflags__fno_omit_frame_pointer=no
  17670. fi
  17671. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17672. conftest$ac_exeext conftest.$ac_ext
  17673. CFLAGS=$ac_wine_try_cflags_saved
  17674. fi
  17675. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
  17676. printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
  17677. if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
  17678. then :
  17679. EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
  17680. fi ;;
  17681. *x86_64*)
  17682. case $host_os in
  17683. cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  17684. printf %s "checking whether the compiler supports -Wno-format... " >&6; }
  17685. if test ${ac_cv_cflags__Wno_format+y}
  17686. then :
  17687. printf %s "(cached) " >&6
  17688. else $as_nop
  17689. ac_wine_try_cflags_saved=$CFLAGS
  17690. CFLAGS="$CFLAGS -Wno-format"
  17691. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17692. /* end confdefs.h. */
  17693. int main(int argc, char **argv) { return 0; }
  17694. _ACEOF
  17695. if ac_fn_c_try_link "$LINENO"
  17696. then :
  17697. ac_cv_cflags__Wno_format=yes
  17698. else $as_nop
  17699. ac_cv_cflags__Wno_format=no
  17700. fi
  17701. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17702. conftest$ac_exeext conftest.$ac_ext
  17703. CFLAGS=$ac_wine_try_cflags_saved
  17704. fi
  17705. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  17706. printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
  17707. if test "x$ac_cv_cflags__Wno_format" = xyes
  17708. then :
  17709. EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
  17710. fi ;;
  17711. *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
  17712. printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
  17713. if test ${ac_cv_cflags__mabi_ms+y}
  17714. then :
  17715. printf %s "(cached) " >&6
  17716. else $as_nop
  17717. ac_wine_try_cflags_saved=$CFLAGS
  17718. CFLAGS="$CFLAGS -mabi=ms"
  17719. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17720. /* end confdefs.h. */
  17721. int main(int argc, char **argv) { return 0; }
  17722. _ACEOF
  17723. if ac_fn_c_try_link "$LINENO"
  17724. then :
  17725. ac_cv_cflags__mabi_ms=yes
  17726. else $as_nop
  17727. ac_cv_cflags__mabi_ms=no
  17728. fi
  17729. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17730. conftest$ac_exeext conftest.$ac_ext
  17731. CFLAGS=$ac_wine_try_cflags_saved
  17732. fi
  17733. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
  17734. printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
  17735. if test "x$ac_cv_cflags__mabi_ms" = xyes
  17736. then :
  17737. MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
  17738. fi ;;
  17739. esac ;;
  17740. esac
  17741. CFLAGS=$saved_CFLAGS
  17742. if test "x$enable_werror" = "xyes"
  17743. then
  17744. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
  17745. printf %s "checking whether the compiler supports -Werror... " >&6; }
  17746. if test ${ac_cv_cflags__Werror+y}
  17747. then :
  17748. printf %s "(cached) " >&6
  17749. else $as_nop
  17750. ac_wine_try_cflags_saved=$CFLAGS
  17751. CFLAGS="$CFLAGS -Werror"
  17752. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17753. /* end confdefs.h. */
  17754. int main(int argc, char **argv) { return 0; }
  17755. _ACEOF
  17756. if ac_fn_c_try_link "$LINENO"
  17757. then :
  17758. ac_cv_cflags__Werror=yes
  17759. else $as_nop
  17760. ac_cv_cflags__Werror=no
  17761. fi
  17762. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17763. conftest$ac_exeext conftest.$ac_ext
  17764. CFLAGS=$ac_wine_try_cflags_saved
  17765. fi
  17766. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
  17767. printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
  17768. if test "x$ac_cv_cflags__Werror" = xyes
  17769. then :
  17770. EXTRACFLAGS="$EXTRACFLAGS -Werror"
  17771. fi
  17772. fi
  17773. if test "x$enable_build_id" = "xyes"
  17774. then
  17775. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
  17776. printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
  17777. if test ${ac_cv_cflags__Wl___build_id+y}
  17778. then :
  17779. printf %s "(cached) " >&6
  17780. else $as_nop
  17781. ac_wine_try_cflags_saved=$CFLAGS
  17782. CFLAGS="$CFLAGS -Wl,--build-id"
  17783. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17784. /* end confdefs.h. */
  17785. int main(int argc, char **argv) { return 0; }
  17786. _ACEOF
  17787. if ac_fn_c_try_link "$LINENO"
  17788. then :
  17789. ac_cv_cflags__Wl___build_id=yes
  17790. else $as_nop
  17791. ac_cv_cflags__Wl___build_id=no
  17792. fi
  17793. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17794. conftest$ac_exeext conftest.$ac_ext
  17795. CFLAGS=$ac_wine_try_cflags_saved
  17796. fi
  17797. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
  17798. printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
  17799. if test "x$ac_cv_cflags__Wl___build_id" = xyes
  17800. then :
  17801. CFLAGS="$CFLAGS -Wl,--build-id"
  17802. LDFLAGS="$LDFLAGS -Wl,--build-id"
  17803. fi
  17804. fi
  17805. fi
  17806. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
  17807. printf %s "checking for the need to disable Fortify... " >&6; }
  17808. if test ${ac_cv_c_fortify_enabled+y}
  17809. then :
  17810. printf %s "(cached) " >&6
  17811. else $as_nop
  17812. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17813. /* end confdefs.h. */
  17814. #include <string.h>
  17815. int
  17816. main (void)
  17817. {
  17818. #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
  17819. #error Fortify enabled
  17820. #endif
  17821. ;
  17822. return 0;
  17823. }
  17824. _ACEOF
  17825. if ac_fn_c_try_compile "$LINENO"
  17826. then :
  17827. ac_cv_c_fortify_enabled=no
  17828. else $as_nop
  17829. ac_cv_c_fortify_enabled=yes
  17830. fi
  17831. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17832. fi
  17833. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
  17834. printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
  17835. if test "$ac_cv_c_fortify_enabled" = yes
  17836. then
  17837. CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
  17838. fi
  17839. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
  17840. printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
  17841. if test ${ac_cv_c_cfi_support+y}
  17842. then :
  17843. printf %s "(cached) " >&6
  17844. else $as_nop
  17845. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17846. /* end confdefs.h. */
  17847. asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
  17848. int
  17849. main (void)
  17850. {
  17851. ;
  17852. return 0;
  17853. }
  17854. _ACEOF
  17855. if ac_fn_c_try_compile "$LINENO"
  17856. then :
  17857. ac_cv_c_cfi_support="yes"
  17858. else $as_nop
  17859. ac_cv_c_cfi_support="no"
  17860. fi
  17861. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17862. fi
  17863. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
  17864. printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
  17865. if test "$ac_cv_c_cfi_support" = "yes"
  17866. then
  17867. DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
  17868. LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
  17869. UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
  17870. else
  17871. if test "x$enable_win64" = "xyes"
  17872. then
  17873. as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
  17874. fi
  17875. fi
  17876. case $host_os in
  17877. linux*)
  17878. case $host_cpu in
  17879. *i[3456789]86*|x86_64*|*aarch64*|arm*)
  17880. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  17881. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  17882. ;;
  17883. esac
  17884. ;;
  17885. esac
  17886. ac_save_CFLAGS="$CFLAGS"
  17887. CFLAGS="$CFLAGS $BUILTINFLAG"
  17888. ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
  17889. if test "x$ac_cv_func_epoll_create" = xyes
  17890. then :
  17891. printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
  17892. fi
  17893. ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
  17894. if test "x$ac_cv_func_fstatfs" = xyes
  17895. then :
  17896. printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
  17897. fi
  17898. ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
  17899. if test "x$ac_cv_func_futimens" = xyes
  17900. then :
  17901. printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
  17902. fi
  17903. ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
  17904. if test "x$ac_cv_func_futimes" = xyes
  17905. then :
  17906. printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
  17907. fi
  17908. ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
  17909. if test "x$ac_cv_func_futimesat" = xyes
  17910. then :
  17911. printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
  17912. fi
  17913. ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
  17914. if test "x$ac_cv_func_getattrlist" = xyes
  17915. then :
  17916. printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
  17917. fi
  17918. ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
  17919. if test "x$ac_cv_func_getauxval" = xyes
  17920. then :
  17921. printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
  17922. fi
  17923. ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
  17924. if test "x$ac_cv_func_getifaddrs" = xyes
  17925. then :
  17926. printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
  17927. fi
  17928. ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
  17929. if test "x$ac_cv_func_getrandom" = xyes
  17930. then :
  17931. printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
  17932. fi
  17933. ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
  17934. if test "x$ac_cv_func_kqueue" = xyes
  17935. then :
  17936. printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
  17937. fi
  17938. ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
  17939. if test "x$ac_cv_func_mach_continuous_time" = xyes
  17940. then :
  17941. printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
  17942. fi
  17943. ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
  17944. if test "x$ac_cv_func_pipe2" = xyes
  17945. then :
  17946. printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
  17947. fi
  17948. ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
  17949. if test "x$ac_cv_func_port_create" = xyes
  17950. then :
  17951. printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
  17952. fi
  17953. ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
  17954. if test "x$ac_cv_func_posix_fadvise" = xyes
  17955. then :
  17956. printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
  17957. fi
  17958. ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
  17959. if test "x$ac_cv_func_posix_fallocate" = xyes
  17960. then :
  17961. printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
  17962. fi
  17963. ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
  17964. if test "x$ac_cv_func_prctl" = xyes
  17965. then :
  17966. printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
  17967. fi
  17968. ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
  17969. if test "x$ac_cv_func_proc_pidinfo" = xyes
  17970. then :
  17971. printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
  17972. fi
  17973. ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
  17974. if test "x$ac_cv_func_sched_yield" = xyes
  17975. then :
  17976. printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
  17977. fi
  17978. ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
  17979. if test "x$ac_cv_func_setproctitle" = xyes
  17980. then :
  17981. printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
  17982. fi
  17983. ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
  17984. if test "x$ac_cv_func_setprogname" = xyes
  17985. then :
  17986. printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
  17987. fi
  17988. ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
  17989. if test "x$ac_cv_func_sigprocmask" = xyes
  17990. then :
  17991. printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
  17992. fi
  17993. ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
  17994. if test "x$ac_cv_func_sysinfo" = xyes
  17995. then :
  17996. printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
  17997. fi
  17998. ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
  17999. if test "x$ac_cv_func_tcdrain" = xyes
  18000. then :
  18001. printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
  18002. fi
  18003. ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
  18004. if test "x$ac_cv_func_thr_kill2" = xyes
  18005. then :
  18006. printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
  18007. fi
  18008. CFLAGS="$ac_save_CFLAGS"
  18009. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  18010. printf %s "checking for library containing dlopen... " >&6; }
  18011. if test ${ac_cv_search_dlopen+y}
  18012. then :
  18013. printf %s "(cached) " >&6
  18014. else $as_nop
  18015. ac_func_search_save_LIBS=$LIBS
  18016. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18017. /* end confdefs.h. */
  18018. /* Override any GCC internal prototype to avoid an error.
  18019. Use char because int might match the return type of a GCC
  18020. builtin and then its argument prototype would still apply. */
  18021. char dlopen ();
  18022. int
  18023. main (void)
  18024. {
  18025. return dlopen ();
  18026. ;
  18027. return 0;
  18028. }
  18029. _ACEOF
  18030. for ac_lib in '' dl
  18031. do
  18032. if test -z "$ac_lib"; then
  18033. ac_res="none required"
  18034. else
  18035. ac_res=-l$ac_lib
  18036. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18037. fi
  18038. if ac_fn_c_try_link "$LINENO"
  18039. then :
  18040. ac_cv_search_dlopen=$ac_res
  18041. fi
  18042. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18043. conftest$ac_exeext
  18044. if test ${ac_cv_search_dlopen+y}
  18045. then :
  18046. break
  18047. fi
  18048. done
  18049. if test ${ac_cv_search_dlopen+y}
  18050. then :
  18051. else $as_nop
  18052. ac_cv_search_dlopen=no
  18053. fi
  18054. rm conftest.$ac_ext
  18055. LIBS=$ac_func_search_save_LIBS
  18056. fi
  18057. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  18058. printf "%s\n" "$ac_cv_search_dlopen" >&6; }
  18059. ac_res=$ac_cv_search_dlopen
  18060. if test "$ac_res" != no
  18061. then :
  18062. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18063. fi
  18064. ac_wine_check_funcs_save_LIBS="$LIBS"
  18065. LIBS="$LIBS $DL_LIBS"
  18066. ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
  18067. if test "x$ac_cv_func_dlinfo" = xyes
  18068. then :
  18069. printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
  18070. fi
  18071. LIBS="$ac_wine_check_funcs_save_LIBS"
  18072. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
  18073. printf %s "checking for library containing gethostbyname... " >&6; }
  18074. if test ${ac_cv_search_gethostbyname+y}
  18075. then :
  18076. printf %s "(cached) " >&6
  18077. else $as_nop
  18078. ac_func_search_save_LIBS=$LIBS
  18079. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18080. /* end confdefs.h. */
  18081. /* Override any GCC internal prototype to avoid an error.
  18082. Use char because int might match the return type of a GCC
  18083. builtin and then its argument prototype would still apply. */
  18084. char gethostbyname ();
  18085. int
  18086. main (void)
  18087. {
  18088. return gethostbyname ();
  18089. ;
  18090. return 0;
  18091. }
  18092. _ACEOF
  18093. for ac_lib in '' nsl
  18094. do
  18095. if test -z "$ac_lib"; then
  18096. ac_res="none required"
  18097. else
  18098. ac_res=-l$ac_lib
  18099. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18100. fi
  18101. if ac_fn_c_try_link "$LINENO"
  18102. then :
  18103. ac_cv_search_gethostbyname=$ac_res
  18104. fi
  18105. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18106. conftest$ac_exeext
  18107. if test ${ac_cv_search_gethostbyname+y}
  18108. then :
  18109. break
  18110. fi
  18111. done
  18112. if test ${ac_cv_search_gethostbyname+y}
  18113. then :
  18114. else $as_nop
  18115. ac_cv_search_gethostbyname=no
  18116. fi
  18117. rm conftest.$ac_ext
  18118. LIBS=$ac_func_search_save_LIBS
  18119. fi
  18120. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
  18121. printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
  18122. ac_res=$ac_cv_search_gethostbyname
  18123. if test "$ac_res" != no
  18124. then :
  18125. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18126. fi
  18127. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
  18128. printf %s "checking for library containing connect... " >&6; }
  18129. if test ${ac_cv_search_connect+y}
  18130. then :
  18131. printf %s "(cached) " >&6
  18132. else $as_nop
  18133. ac_func_search_save_LIBS=$LIBS
  18134. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18135. /* end confdefs.h. */
  18136. /* Override any GCC internal prototype to avoid an error.
  18137. Use char because int might match the return type of a GCC
  18138. builtin and then its argument prototype would still apply. */
  18139. char connect ();
  18140. int
  18141. main (void)
  18142. {
  18143. return connect ();
  18144. ;
  18145. return 0;
  18146. }
  18147. _ACEOF
  18148. for ac_lib in '' socket
  18149. do
  18150. if test -z "$ac_lib"; then
  18151. ac_res="none required"
  18152. else
  18153. ac_res=-l$ac_lib
  18154. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18155. fi
  18156. if ac_fn_c_try_link "$LINENO"
  18157. then :
  18158. ac_cv_search_connect=$ac_res
  18159. fi
  18160. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18161. conftest$ac_exeext
  18162. if test ${ac_cv_search_connect+y}
  18163. then :
  18164. break
  18165. fi
  18166. done
  18167. if test ${ac_cv_search_connect+y}
  18168. then :
  18169. else $as_nop
  18170. ac_cv_search_connect=no
  18171. fi
  18172. rm conftest.$ac_ext
  18173. LIBS=$ac_func_search_save_LIBS
  18174. fi
  18175. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
  18176. printf "%s\n" "$ac_cv_search_connect" >&6; }
  18177. ac_res=$ac_cv_search_connect
  18178. if test "$ac_res" != no
  18179. then :
  18180. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18181. fi
  18182. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
  18183. printf %s "checking for library containing inet_aton... " >&6; }
  18184. if test ${ac_cv_search_inet_aton+y}
  18185. then :
  18186. printf %s "(cached) " >&6
  18187. else $as_nop
  18188. ac_func_search_save_LIBS=$LIBS
  18189. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18190. /* end confdefs.h. */
  18191. /* Override any GCC internal prototype to avoid an error.
  18192. Use char because int might match the return type of a GCC
  18193. builtin and then its argument prototype would still apply. */
  18194. char inet_aton ();
  18195. int
  18196. main (void)
  18197. {
  18198. return inet_aton ();
  18199. ;
  18200. return 0;
  18201. }
  18202. _ACEOF
  18203. for ac_lib in '' resolv
  18204. do
  18205. if test -z "$ac_lib"; then
  18206. ac_res="none required"
  18207. else
  18208. ac_res=-l$ac_lib
  18209. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18210. fi
  18211. if ac_fn_c_try_link "$LINENO"
  18212. then :
  18213. ac_cv_search_inet_aton=$ac_res
  18214. fi
  18215. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18216. conftest$ac_exeext
  18217. if test ${ac_cv_search_inet_aton+y}
  18218. then :
  18219. break
  18220. fi
  18221. done
  18222. if test ${ac_cv_search_inet_aton+y}
  18223. then :
  18224. else $as_nop
  18225. ac_cv_search_inet_aton=no
  18226. fi
  18227. rm conftest.$ac_ext
  18228. LIBS=$ac_func_search_save_LIBS
  18229. fi
  18230. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
  18231. printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
  18232. ac_res=$ac_cv_search_inet_aton
  18233. if test "$ac_res" != no
  18234. then :
  18235. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18236. fi
  18237. ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
  18238. if test "x$ac_cv_func_getaddrinfo" = xyes
  18239. then :
  18240. printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
  18241. fi
  18242. case $host_os in
  18243. darwin*|macosx*) ;;
  18244. *) ac_save_LIBS=$LIBS
  18245. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  18246. printf %s "checking for library containing clock_gettime... " >&6; }
  18247. if test ${ac_cv_search_clock_gettime+y}
  18248. then :
  18249. printf %s "(cached) " >&6
  18250. else $as_nop
  18251. ac_func_search_save_LIBS=$LIBS
  18252. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18253. /* end confdefs.h. */
  18254. /* Override any GCC internal prototype to avoid an error.
  18255. Use char because int might match the return type of a GCC
  18256. builtin and then its argument prototype would still apply. */
  18257. char clock_gettime ();
  18258. int
  18259. main (void)
  18260. {
  18261. return clock_gettime ();
  18262. ;
  18263. return 0;
  18264. }
  18265. _ACEOF
  18266. for ac_lib in '' rt
  18267. do
  18268. if test -z "$ac_lib"; then
  18269. ac_res="none required"
  18270. else
  18271. ac_res=-l$ac_lib
  18272. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18273. fi
  18274. if ac_fn_c_try_link "$LINENO"
  18275. then :
  18276. ac_cv_search_clock_gettime=$ac_res
  18277. fi
  18278. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18279. conftest$ac_exeext
  18280. if test ${ac_cv_search_clock_gettime+y}
  18281. then :
  18282. break
  18283. fi
  18284. done
  18285. if test ${ac_cv_search_clock_gettime+y}
  18286. then :
  18287. else $as_nop
  18288. ac_cv_search_clock_gettime=no
  18289. fi
  18290. rm conftest.$ac_ext
  18291. LIBS=$ac_func_search_save_LIBS
  18292. fi
  18293. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  18294. printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
  18295. ac_res=$ac_cv_search_clock_gettime
  18296. if test "$ac_res" != no
  18297. then :
  18298. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18299. printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  18300. test "$ac_res" = "none required" || RT_LIBS="$ac_res"
  18301. fi
  18302. LIBS=$ac_save_LIBS
  18303. ;;
  18304. esac
  18305. if test "x$with_ldap" != "xno"
  18306. then
  18307. if ${LDAP_CFLAGS:+false} :
  18308. then :
  18309. if test ${PKG_CONFIG+y}
  18310. then :
  18311. LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
  18312. fi
  18313. fi
  18314. if ${LDAP_LIBS:+false} :
  18315. then :
  18316. if test ${PKG_CONFIG+y}
  18317. then :
  18318. LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
  18319. fi
  18320. fi
  18321. LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
  18322. printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
  18323. printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
  18324. ac_save_CPPFLAGS=$CPPFLAGS
  18325. CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
  18326. ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
  18327. if test "x$ac_cv_header_ldap_h" = xyes
  18328. then :
  18329. printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
  18330. fi
  18331. ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
  18332. if test "x$ac_cv_header_lber_h" = xyes
  18333. then :
  18334. printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
  18335. fi
  18336. if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
  18337. then
  18338. ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
  18339. "
  18340. if test "x$ac_cv_type_LDAPSortKey" = xyes
  18341. then :
  18342. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
  18343. printf %s "checking for ldap_initialize in -lldap... " >&6; }
  18344. if test ${ac_cv_lib_ldap_ldap_initialize+y}
  18345. then :
  18346. printf %s "(cached) " >&6
  18347. else $as_nop
  18348. ac_check_lib_save_LIBS=$LIBS
  18349. LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  18350. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18351. /* end confdefs.h. */
  18352. /* Override any GCC internal prototype to avoid an error.
  18353. Use char because int might match the return type of a GCC
  18354. builtin and then its argument prototype would still apply. */
  18355. char ldap_initialize ();
  18356. int
  18357. main (void)
  18358. {
  18359. return ldap_initialize ();
  18360. ;
  18361. return 0;
  18362. }
  18363. _ACEOF
  18364. if ac_fn_c_try_link "$LINENO"
  18365. then :
  18366. ac_cv_lib_ldap_ldap_initialize=yes
  18367. else $as_nop
  18368. ac_cv_lib_ldap_ldap_initialize=no
  18369. fi
  18370. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18371. conftest$ac_exeext conftest.$ac_ext
  18372. LIBS=$ac_check_lib_save_LIBS
  18373. fi
  18374. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
  18375. printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
  18376. if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
  18377. then :
  18378. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
  18379. printf %s "checking for ber_init in -llber... " >&6; }
  18380. if test ${ac_cv_lib_lber_ber_init+y}
  18381. then :
  18382. printf %s "(cached) " >&6
  18383. else $as_nop
  18384. ac_check_lib_save_LIBS=$LIBS
  18385. LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  18386. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18387. /* end confdefs.h. */
  18388. /* Override any GCC internal prototype to avoid an error.
  18389. Use char because int might match the return type of a GCC
  18390. builtin and then its argument prototype would still apply. */
  18391. char ber_init ();
  18392. int
  18393. main (void)
  18394. {
  18395. return ber_init ();
  18396. ;
  18397. return 0;
  18398. }
  18399. _ACEOF
  18400. if ac_fn_c_try_link "$LINENO"
  18401. then :
  18402. ac_cv_lib_lber_ber_init=yes
  18403. else $as_nop
  18404. ac_cv_lib_lber_ber_init=no
  18405. fi
  18406. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18407. conftest$ac_exeext conftest.$ac_ext
  18408. LIBS=$ac_check_lib_save_LIBS
  18409. fi
  18410. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
  18411. printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
  18412. if test "x$ac_cv_lib_lber_ber_init" = xyes
  18413. then :
  18414. printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
  18415. else $as_nop
  18416. LDAP_LIBS=""
  18417. fi
  18418. else $as_nop
  18419. LDAP_LIBS=""
  18420. fi
  18421. else $as_nop
  18422. LDAP_LIBS=""
  18423. fi
  18424. else
  18425. LDAP_LIBS=""
  18426. fi
  18427. CPPFLAGS=$ac_save_CPPFLAGS
  18428. fi
  18429. if test "x$LDAP_LIBS" = "x"
  18430. then :
  18431. case "x$with_ldap" in
  18432. x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
  18433. xno) ;;
  18434. *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
  18435. This is an error since --with-ldap was requested." "$LINENO" 5 ;;
  18436. esac
  18437. fi
  18438. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
  18439. printf %s "checking for sched_setaffinity... " >&6; }
  18440. if test ${wine_cv_have_sched_setaffinity+y}
  18441. then :
  18442. printf %s "(cached) " >&6
  18443. else $as_nop
  18444. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18445. /* end confdefs.h. */
  18446. #include <sched.h>
  18447. int
  18448. main (void)
  18449. {
  18450. sched_setaffinity(0, 0, 0);
  18451. ;
  18452. return 0;
  18453. }
  18454. _ACEOF
  18455. if ac_fn_c_try_link "$LINENO"
  18456. then :
  18457. wine_cv_have_sched_setaffinity=yes
  18458. else $as_nop
  18459. wine_cv_have_sched_setaffinity=no
  18460. fi
  18461. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18462. conftest$ac_exeext conftest.$ac_ext
  18463. fi
  18464. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
  18465. printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
  18466. if test "$wine_cv_have_sched_setaffinity" = "yes"
  18467. then
  18468. printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
  18469. fi
  18470. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  18471. printf %s "checking for inline... " >&6; }
  18472. if test ${ac_cv_c_inline+y}
  18473. then :
  18474. printf %s "(cached) " >&6
  18475. else $as_nop
  18476. ac_cv_c_inline=no
  18477. for ac_kw in inline __inline__ __inline; do
  18478. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18479. /* end confdefs.h. */
  18480. #ifndef __cplusplus
  18481. typedef int foo_t;
  18482. static $ac_kw foo_t static_foo (void) {return 0; }
  18483. $ac_kw foo_t foo (void) {return 0; }
  18484. #endif
  18485. _ACEOF
  18486. if ac_fn_c_try_compile "$LINENO"
  18487. then :
  18488. ac_cv_c_inline=$ac_kw
  18489. fi
  18490. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  18491. test "$ac_cv_c_inline" != no && break
  18492. done
  18493. fi
  18494. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  18495. printf "%s\n" "$ac_cv_c_inline" >&6; }
  18496. case $ac_cv_c_inline in
  18497. inline | yes) ;;
  18498. *)
  18499. case $ac_cv_c_inline in
  18500. no) ac_val=;;
  18501. *) ac_val=$ac_cv_c_inline;;
  18502. esac
  18503. cat >>confdefs.h <<_ACEOF
  18504. #ifndef __cplusplus
  18505. #define inline $ac_val
  18506. #endif
  18507. _ACEOF
  18508. ;;
  18509. esac
  18510. ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
  18511. #include <signal.h>
  18512. "
  18513. if test "x$ac_cv_type_sigset_t" = xyes
  18514. then :
  18515. printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
  18516. fi
  18517. ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
  18518. "
  18519. if test "x$ac_cv_type_request_sense" = xyes
  18520. then :
  18521. printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
  18522. fi
  18523. ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
  18524. #include <sys/socket.h>
  18525. #ifdef HAVE_SYS_SOCKETVAR_H
  18526. #include <sys/socketvar.h>
  18527. #endif
  18528. #ifdef HAVE_NET_ROUTE_H
  18529. #include <net/route.h>
  18530. #endif
  18531. #ifdef HAVE_NETINET_IN_H
  18532. #include <netinet/in.h>
  18533. #endif
  18534. #ifdef HAVE_NETINET_IN_SYSTM_H
  18535. #include <netinet/in_systm.h>
  18536. #endif
  18537. #ifdef HAVE_NETINET_IP_H
  18538. #include <netinet/ip.h>
  18539. #endif
  18540. #ifdef HAVE_NETINET_IN_PCB_H
  18541. #include <netinet/in_pcb.h>
  18542. #endif
  18543. "
  18544. if test "x$ac_cv_type_struct_xinpgen" = xyes
  18545. then :
  18546. printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
  18547. fi
  18548. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
  18549. printf %s "checking for sigaddset... " >&6; }
  18550. if test ${wine_cv_have_sigaddset+y}
  18551. then :
  18552. printf %s "(cached) " >&6
  18553. else $as_nop
  18554. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18555. /* end confdefs.h. */
  18556. #include <signal.h>
  18557. int
  18558. main (void)
  18559. {
  18560. sigset_t set; sigaddset(&set,SIGTERM);
  18561. ;
  18562. return 0;
  18563. }
  18564. _ACEOF
  18565. if ac_fn_c_try_link "$LINENO"
  18566. then :
  18567. wine_cv_have_sigaddset=yes
  18568. else $as_nop
  18569. wine_cv_have_sigaddset=no
  18570. fi
  18571. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18572. conftest$ac_exeext conftest.$ac_ext
  18573. fi
  18574. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
  18575. printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
  18576. if test "$wine_cv_have_sigaddset" = "yes"
  18577. then
  18578. printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
  18579. fi
  18580. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
  18581. printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
  18582. if test ${wine_cv_linux_gethostbyname_r_6+y}
  18583. then :
  18584. printf %s "(cached) " >&6
  18585. else $as_nop
  18586. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18587. /* end confdefs.h. */
  18588. #include <netdb.h>
  18589. int
  18590. main (void)
  18591. {
  18592. char *name=0;
  18593. struct hostent he;
  18594. struct hostent *result;
  18595. char *buf=0;
  18596. int bufsize=0;
  18597. int errnr;
  18598. char *addr=0;
  18599. int addrlen=0;
  18600. int addrtype=0;
  18601. gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
  18602. gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
  18603. ;
  18604. return 0;
  18605. }
  18606. _ACEOF
  18607. if ac_fn_c_try_link "$LINENO"
  18608. then :
  18609. wine_cv_linux_gethostbyname_r_6=yes
  18610. else $as_nop
  18611. wine_cv_linux_gethostbyname_r_6=no
  18612. fi
  18613. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18614. conftest$ac_exeext conftest.$ac_ext
  18615. fi
  18616. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
  18617. printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
  18618. if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
  18619. then
  18620. printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
  18621. fi
  18622. ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
  18623. #include <sys/socket.h>
  18624. #ifdef HAVE_SYS_UN_H
  18625. # include <sys/un.h>
  18626. #endif
  18627. "
  18628. if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
  18629. then :
  18630. printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
  18631. fi
  18632. ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
  18633. #include <sys/socket.h>
  18634. #ifdef HAVE_SYS_UN_H
  18635. # include <sys/un.h>
  18636. #endif
  18637. "
  18638. if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
  18639. then :
  18640. printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
  18641. fi
  18642. ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
  18643. #ifdef HAVE_SCSI_SG_H
  18644. #include <scsi/sg.h>
  18645. #endif
  18646. "
  18647. if test "x$ac_cv_member_scsireq_t_cmd" = xyes
  18648. then :
  18649. printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
  18650. fi
  18651. 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>
  18652. #ifdef HAVE_SCSI_SG_H
  18653. #include <scsi/sg.h>
  18654. #endif
  18655. "
  18656. if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
  18657. then :
  18658. printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
  18659. fi
  18660. ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
  18661. "
  18662. if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
  18663. then :
  18664. printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
  18665. fi
  18666. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
  18667. #ifdef HAVE_SYS_MTIO_H
  18668. #include <sys/mtio.h>
  18669. #endif
  18670. "
  18671. if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
  18672. then :
  18673. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
  18674. fi
  18675. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
  18676. #ifdef HAVE_SYS_MTIO_H
  18677. #include <sys/mtio.h>
  18678. #endif
  18679. "
  18680. if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
  18681. then :
  18682. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
  18683. fi
  18684. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
  18685. #ifdef HAVE_SYS_MTIO_H
  18686. #include <sys/mtio.h>
  18687. #endif
  18688. "
  18689. if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
  18690. then :
  18691. printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
  18692. fi
  18693. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
  18694. if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
  18695. then :
  18696. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
  18697. fi
  18698. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
  18699. if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
  18700. then :
  18701. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
  18702. fi
  18703. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
  18704. if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
  18705. then :
  18706. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
  18707. fi
  18708. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
  18709. if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
  18710. then :
  18711. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
  18712. fi
  18713. ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
  18714. if test "x$ac_cv_member_struct_stat_st_atim" = xyes
  18715. then :
  18716. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
  18717. fi
  18718. ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
  18719. if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
  18720. then :
  18721. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
  18722. fi
  18723. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
  18724. if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
  18725. then :
  18726. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
  18727. fi
  18728. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
  18729. if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
  18730. then :
  18731. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
  18732. fi
  18733. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
  18734. if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
  18735. then :
  18736. printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
  18737. fi
  18738. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
  18739. if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
  18740. then :
  18741. printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
  18742. fi
  18743. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
  18744. if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
  18745. then :
  18746. printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
  18747. fi
  18748. 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>
  18749. #ifdef HAVE_NETINET_IN_H
  18750. #include <netinet/in.h>
  18751. #endif
  18752. "
  18753. if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
  18754. then :
  18755. printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
  18756. fi
  18757. 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
  18758. #include <resolv.h>
  18759. #endif
  18760. "
  18761. if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
  18762. then :
  18763. printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
  18764. fi
  18765. ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
  18766. #include <netinet/in.h>
  18767. #endif
  18768. "
  18769. if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
  18770. then :
  18771. printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
  18772. fi
  18773. ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
  18774. #ifdef HAVE_SYS_SOCKETVAR_H
  18775. #include <sys/socketvar.h>
  18776. #endif
  18777. #ifdef HAVE_NETINET_IN_H
  18778. #include <netinet/in.h>
  18779. #endif
  18780. #ifdef HAVE_NETINET_IP_VAR_H
  18781. #include <netinet/ip_var.h>
  18782. #endif
  18783. "
  18784. if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
  18785. then :
  18786. printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
  18787. fi
  18788. 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
  18789. #include <netinet/ip_var.h>
  18790. #endif
  18791. "
  18792. if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
  18793. then :
  18794. printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
  18795. fi
  18796. ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
  18797. #ifdef HAVE_SYS_SOCKETVAR_H
  18798. #include <sys/socketvar.h>
  18799. #endif
  18800. #ifdef HAVE_NETINET_IN_H
  18801. #include <netinet/in.h>
  18802. #endif
  18803. #ifdef HAVE_NETINET_TCP_H
  18804. #include <netinet/tcp.h>
  18805. #endif
  18806. #ifdef HAVE_NETINET_TCP_VAR_H
  18807. #include <netinet/tcp_var.h>
  18808. #endif
  18809. "
  18810. if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
  18811. then :
  18812. printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
  18813. fi
  18814. 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
  18815. #include <netinet/tcp_var.h>
  18816. #endif
  18817. "
  18818. if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
  18819. then :
  18820. printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
  18821. fi
  18822. ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
  18823. #ifdef HAVE_NETINET_IN_H
  18824. #include <netinet/in.h>
  18825. #endif
  18826. #ifdef HAVE_NETINET_IP_VAR_H
  18827. #include <netinet/ip_var.h>
  18828. #endif
  18829. #ifdef HAVE_NETINET_UDP_H
  18830. #include <netinet/udp.h>
  18831. #endif
  18832. #ifdef HAVE_NETINET_UDP_VAR_H
  18833. #include <netinet/udp_var.h>
  18834. #endif
  18835. "
  18836. if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
  18837. then :
  18838. printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
  18839. fi
  18840. ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
  18841. #ifdef HAVE_NET_IF_H
  18842. # include <net/if.h>
  18843. #endif
  18844. "
  18845. if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
  18846. then :
  18847. printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
  18848. fi
  18849. ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
  18850. # include <sys/sysinfo.h>
  18851. #endif
  18852. "
  18853. if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
  18854. then :
  18855. printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
  18856. fi
  18857. ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
  18858. # include <sys/sysinfo.h>
  18859. #endif
  18860. "
  18861. if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
  18862. then :
  18863. printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
  18864. fi
  18865. ac_save_LIBS="$LIBS"
  18866. LIBS="$LIBS -lm"
  18867. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
  18868. printf %s "checking for isfinite... " >&6; }
  18869. if test ${ac_cv_have_isfinite+y}
  18870. then :
  18871. printf %s "(cached) " >&6
  18872. else $as_nop
  18873. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18874. /* end confdefs.h. */
  18875. #include <math.h>
  18876. int
  18877. main (void)
  18878. {
  18879. float f = 0.0; return isfinite(f)
  18880. ;
  18881. return 0;
  18882. }
  18883. _ACEOF
  18884. if ac_fn_c_try_link "$LINENO"
  18885. then :
  18886. ac_cv_have_isfinite="yes"
  18887. else $as_nop
  18888. ac_cv_have_isfinite="no"
  18889. fi
  18890. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18891. conftest$ac_exeext conftest.$ac_ext
  18892. fi
  18893. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
  18894. printf "%s\n" "$ac_cv_have_isfinite" >&6; }
  18895. if test "$ac_cv_have_isfinite" = "yes"
  18896. then
  18897. printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
  18898. fi
  18899. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
  18900. printf %s "checking for isinf... " >&6; }
  18901. if test ${ac_cv_have_isinf+y}
  18902. then :
  18903. printf %s "(cached) " >&6
  18904. else $as_nop
  18905. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18906. /* end confdefs.h. */
  18907. #include <math.h>
  18908. int
  18909. main (void)
  18910. {
  18911. float f = 0.0; return isinf(f)
  18912. ;
  18913. return 0;
  18914. }
  18915. _ACEOF
  18916. if ac_fn_c_try_link "$LINENO"
  18917. then :
  18918. ac_cv_have_isinf="yes"
  18919. else $as_nop
  18920. ac_cv_have_isinf="no"
  18921. fi
  18922. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18923. conftest$ac_exeext conftest.$ac_ext
  18924. fi
  18925. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
  18926. printf "%s\n" "$ac_cv_have_isinf" >&6; }
  18927. if test "$ac_cv_have_isinf" = "yes"
  18928. then
  18929. printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
  18930. fi
  18931. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
  18932. printf %s "checking for isnan... " >&6; }
  18933. if test ${ac_cv_have_isnan+y}
  18934. then :
  18935. printf %s "(cached) " >&6
  18936. else $as_nop
  18937. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18938. /* end confdefs.h. */
  18939. #include <math.h>
  18940. int
  18941. main (void)
  18942. {
  18943. float f = 0.0; return isnan(f)
  18944. ;
  18945. return 0;
  18946. }
  18947. _ACEOF
  18948. if ac_fn_c_try_link "$LINENO"
  18949. then :
  18950. ac_cv_have_isnan="yes"
  18951. else $as_nop
  18952. ac_cv_have_isnan="no"
  18953. fi
  18954. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18955. conftest$ac_exeext conftest.$ac_ext
  18956. fi
  18957. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
  18958. printf "%s\n" "$ac_cv_have_isnan" >&6; }
  18959. if test "$ac_cv_have_isnan" = "yes"
  18960. then
  18961. printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
  18962. fi
  18963. LIBS="$ac_save_LIBS"
  18964. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
  18965. printf %s "checking for __builtin_popcount... " >&6; }
  18966. if test ${ac_cv_have___builtin_popcount+y}
  18967. then :
  18968. printf %s "(cached) " >&6
  18969. else $as_nop
  18970. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18971. /* end confdefs.h. */
  18972. int
  18973. main (void)
  18974. {
  18975. return __builtin_popcount(1)
  18976. ;
  18977. return 0;
  18978. }
  18979. _ACEOF
  18980. if ac_fn_c_try_link "$LINENO"
  18981. then :
  18982. ac_cv_have___builtin_popcount="yes"
  18983. else $as_nop
  18984. ac_cv_have___builtin_popcount="no"
  18985. fi
  18986. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18987. conftest$ac_exeext conftest.$ac_ext
  18988. fi
  18989. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
  18990. printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
  18991. if test "$ac_cv_have___builtin_popcount" = "yes"
  18992. then
  18993. printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
  18994. fi
  18995. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
  18996. printf %s "checking for __clear_cache... " >&6; }
  18997. if test ${ac_cv_have___clear_cache+y}
  18998. then :
  18999. printf %s "(cached) " >&6
  19000. else $as_nop
  19001. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19002. /* end confdefs.h. */
  19003. int
  19004. main (void)
  19005. {
  19006. __clear_cache((void*)0, (void*)0); return 0;
  19007. ;
  19008. return 0;
  19009. }
  19010. _ACEOF
  19011. if ac_fn_c_try_link "$LINENO"
  19012. then :
  19013. ac_cv_have___clear_cache="yes"
  19014. else $as_nop
  19015. ac_cv_have___clear_cache="no"
  19016. fi
  19017. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19018. conftest$ac_exeext conftest.$ac_ext
  19019. fi
  19020. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
  19021. printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
  19022. if test "$ac_cv_have___clear_cache" = "yes"
  19023. then
  19024. printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
  19025. fi
  19026. case $host_cpu in
  19027. *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
  19028. printf %s "checking whether we need to define __i386__... " >&6; }
  19029. if test ${ac_cv_cpp_def___i386__+y}
  19030. then :
  19031. printf %s "(cached) " >&6
  19032. else $as_nop
  19033. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19034. /* end confdefs.h. */
  19035. #ifndef __i386__
  19036. yes
  19037. #endif
  19038. _ACEOF
  19039. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19040. $EGREP "yes" >/dev/null 2>&1
  19041. then :
  19042. ac_cv_cpp_def___i386__=yes
  19043. else $as_nop
  19044. ac_cv_cpp_def___i386__=no
  19045. fi
  19046. rm -rf conftest*
  19047. fi
  19048. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
  19049. printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
  19050. if test "x$ac_cv_cpp_def___i386__" = xyes
  19051. then :
  19052. CFLAGS="$CFLAGS -D__i386__"
  19053. LINTFLAGS="$LINTFLAGS -D__i386__"
  19054. fi ;;
  19055. *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
  19056. printf %s "checking whether we need to define __x86_64__... " >&6; }
  19057. if test ${ac_cv_cpp_def___x86_64__+y}
  19058. then :
  19059. printf %s "(cached) " >&6
  19060. else $as_nop
  19061. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19062. /* end confdefs.h. */
  19063. #ifndef __x86_64__
  19064. yes
  19065. #endif
  19066. _ACEOF
  19067. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19068. $EGREP "yes" >/dev/null 2>&1
  19069. then :
  19070. ac_cv_cpp_def___x86_64__=yes
  19071. else $as_nop
  19072. ac_cv_cpp_def___x86_64__=no
  19073. fi
  19074. rm -rf conftest*
  19075. fi
  19076. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
  19077. printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
  19078. if test "x$ac_cv_cpp_def___x86_64__" = xyes
  19079. then :
  19080. CFLAGS="$CFLAGS -D__x86_64__"
  19081. LINTFLAGS="$LINTFLAGS -D__x86_64__"
  19082. fi ;;
  19083. *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
  19084. printf %s "checking whether we need to define __sparc64__... " >&6; }
  19085. if test ${ac_cv_cpp_def___sparc64__+y}
  19086. then :
  19087. printf %s "(cached) " >&6
  19088. else $as_nop
  19089. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19090. /* end confdefs.h. */
  19091. #ifndef __sparc64__
  19092. yes
  19093. #endif
  19094. _ACEOF
  19095. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19096. $EGREP "yes" >/dev/null 2>&1
  19097. then :
  19098. ac_cv_cpp_def___sparc64__=yes
  19099. else $as_nop
  19100. ac_cv_cpp_def___sparc64__=no
  19101. fi
  19102. rm -rf conftest*
  19103. fi
  19104. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
  19105. printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
  19106. if test "x$ac_cv_cpp_def___sparc64__" = xyes
  19107. then :
  19108. CFLAGS="$CFLAGS -D__sparc64__"
  19109. LINTFLAGS="$LINTFLAGS -D__sparc64__"
  19110. fi ;;
  19111. *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
  19112. printf %s "checking whether we need to define __sparc__... " >&6; }
  19113. if test ${ac_cv_cpp_def___sparc__+y}
  19114. then :
  19115. printf %s "(cached) " >&6
  19116. else $as_nop
  19117. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19118. /* end confdefs.h. */
  19119. #ifndef __sparc__
  19120. yes
  19121. #endif
  19122. _ACEOF
  19123. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19124. $EGREP "yes" >/dev/null 2>&1
  19125. then :
  19126. ac_cv_cpp_def___sparc__=yes
  19127. else $as_nop
  19128. ac_cv_cpp_def___sparc__=no
  19129. fi
  19130. rm -rf conftest*
  19131. fi
  19132. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
  19133. printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
  19134. if test "x$ac_cv_cpp_def___sparc__" = xyes
  19135. then :
  19136. CFLAGS="$CFLAGS -D__sparc__"
  19137. LINTFLAGS="$LINTFLAGS -D__sparc__"
  19138. fi ;;
  19139. *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
  19140. printf %s "checking whether we need to define __powerpc64__... " >&6; }
  19141. if test ${ac_cv_cpp_def___powerpc64__+y}
  19142. then :
  19143. printf %s "(cached) " >&6
  19144. else $as_nop
  19145. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19146. /* end confdefs.h. */
  19147. #ifndef __powerpc64__
  19148. yes
  19149. #endif
  19150. _ACEOF
  19151. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19152. $EGREP "yes" >/dev/null 2>&1
  19153. then :
  19154. ac_cv_cpp_def___powerpc64__=yes
  19155. else $as_nop
  19156. ac_cv_cpp_def___powerpc64__=no
  19157. fi
  19158. rm -rf conftest*
  19159. fi
  19160. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
  19161. printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
  19162. if test "x$ac_cv_cpp_def___powerpc64__" = xyes
  19163. then :
  19164. CFLAGS="$CFLAGS -D__powerpc64__"
  19165. LINTFLAGS="$LINTFLAGS -D__powerpc64__"
  19166. fi ;;
  19167. *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
  19168. printf %s "checking whether we need to define __powerpc__... " >&6; }
  19169. if test ${ac_cv_cpp_def___powerpc__+y}
  19170. then :
  19171. printf %s "(cached) " >&6
  19172. else $as_nop
  19173. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19174. /* end confdefs.h. */
  19175. #ifndef __powerpc__
  19176. yes
  19177. #endif
  19178. _ACEOF
  19179. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19180. $EGREP "yes" >/dev/null 2>&1
  19181. then :
  19182. ac_cv_cpp_def___powerpc__=yes
  19183. else $as_nop
  19184. ac_cv_cpp_def___powerpc__=no
  19185. fi
  19186. rm -rf conftest*
  19187. fi
  19188. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
  19189. printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
  19190. if test "x$ac_cv_cpp_def___powerpc__" = xyes
  19191. then :
  19192. CFLAGS="$CFLAGS -D__powerpc__"
  19193. LINTFLAGS="$LINTFLAGS -D__powerpc__"
  19194. fi ;;
  19195. *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
  19196. printf %s "checking whether we need to define __aarch64__... " >&6; }
  19197. if test ${ac_cv_cpp_def___aarch64__+y}
  19198. then :
  19199. printf %s "(cached) " >&6
  19200. else $as_nop
  19201. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19202. /* end confdefs.h. */
  19203. #ifndef __aarch64__
  19204. yes
  19205. #endif
  19206. _ACEOF
  19207. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19208. $EGREP "yes" >/dev/null 2>&1
  19209. then :
  19210. ac_cv_cpp_def___aarch64__=yes
  19211. else $as_nop
  19212. ac_cv_cpp_def___aarch64__=no
  19213. fi
  19214. rm -rf conftest*
  19215. fi
  19216. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
  19217. printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
  19218. if test "x$ac_cv_cpp_def___aarch64__" = xyes
  19219. then :
  19220. CFLAGS="$CFLAGS -D__aarch64__"
  19221. LINTFLAGS="$LINTFLAGS -D__aarch64__"
  19222. fi ;;
  19223. *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
  19224. printf %s "checking whether we need to define __arm__... " >&6; }
  19225. if test ${ac_cv_cpp_def___arm__+y}
  19226. then :
  19227. printf %s "(cached) " >&6
  19228. else $as_nop
  19229. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19230. /* end confdefs.h. */
  19231. #ifndef __arm__
  19232. yes
  19233. #endif
  19234. _ACEOF
  19235. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19236. $EGREP "yes" >/dev/null 2>&1
  19237. then :
  19238. ac_cv_cpp_def___arm__=yes
  19239. else $as_nop
  19240. ac_cv_cpp_def___arm__=no
  19241. fi
  19242. rm -rf conftest*
  19243. fi
  19244. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
  19245. printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
  19246. if test "x$ac_cv_cpp_def___arm__" = xyes
  19247. then :
  19248. CFLAGS="$CFLAGS -D__arm__"
  19249. LINTFLAGS="$LINTFLAGS -D__arm__"
  19250. fi ;;
  19251. esac
  19252. case $host_vendor in
  19253. *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
  19254. printf %s "checking whether we need to define __sun__... " >&6; }
  19255. if test ${ac_cv_cpp_def___sun__+y}
  19256. then :
  19257. printf %s "(cached) " >&6
  19258. else $as_nop
  19259. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19260. /* end confdefs.h. */
  19261. #ifndef __sun__
  19262. yes
  19263. #endif
  19264. _ACEOF
  19265. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19266. $EGREP "yes" >/dev/null 2>&1
  19267. then :
  19268. ac_cv_cpp_def___sun__=yes
  19269. else $as_nop
  19270. ac_cv_cpp_def___sun__=no
  19271. fi
  19272. rm -rf conftest*
  19273. fi
  19274. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
  19275. printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
  19276. if test "x$ac_cv_cpp_def___sun__" = xyes
  19277. then :
  19278. CFLAGS="$CFLAGS -D__sun__"
  19279. LINTFLAGS="$LINTFLAGS -D__sun__"
  19280. fi ;;
  19281. esac
  19282. ac_config_commands="$ac_config_commands include/stamp-h"
  19283. printf %s "creating Makefile rules..." >&6
  19284. makedep_flags=""
  19285. test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
  19286. wine_srcdir=
  19287. test "$srcdir" = . || wine_srcdir="$srcdir/"
  19288. ac_config_links="$ac_config_links wine:tools/winewrapper"
  19289. wine_fn_config_symlink wine
  19290. if test "x$enable_win64" != xno -o -n "$with_wine64"; then
  19291. ac_config_links="$ac_config_links wine64:tools/winewrapper"
  19292. wine_fn_config_symlink wine64
  19293. fi
  19294. wine_fn_config_makefile dlls/acledit enable_acledit
  19295. wine_fn_config_makefile dlls/aclui enable_aclui
  19296. wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
  19297. wine_fn_config_makefile dlls/activeds enable_activeds
  19298. wine_fn_config_makefile dlls/activeds/tests enable_tests
  19299. wine_fn_config_makefile dlls/actxprxy enable_actxprxy
  19300. wine_fn_config_makefile dlls/adsldp enable_adsldp
  19301. wine_fn_config_makefile dlls/adsldp/tests enable_tests
  19302. wine_fn_config_makefile dlls/adsldpc enable_adsldpc
  19303. wine_fn_config_makefile dlls/advapi32 enable_advapi32
  19304. wine_fn_config_makefile dlls/advapi32/tests enable_tests
  19305. wine_fn_config_makefile dlls/advpack enable_advpack
  19306. wine_fn_config_makefile dlls/advpack/tests enable_tests
  19307. wine_fn_config_makefile dlls/amsi enable_amsi
  19308. wine_fn_config_makefile dlls/amstream enable_amstream
  19309. wine_fn_config_makefile dlls/amstream/tests enable_tests
  19310. wine_fn_config_makefile dlls/apisetschema enable_apisetschema
  19311. wine_fn_config_makefile dlls/apphelp enable_apphelp
  19312. wine_fn_config_makefile dlls/apphelp/tests enable_tests
  19313. wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
  19314. wine_fn_config_makefile dlls/atl enable_atl
  19315. wine_fn_config_makefile dlls/atl/tests enable_tests
  19316. wine_fn_config_makefile dlls/atl100 enable_atl100
  19317. wine_fn_config_makefile dlls/atl100/tests enable_tests
  19318. wine_fn_config_makefile dlls/atl110 enable_atl110
  19319. wine_fn_config_makefile dlls/atl80 enable_atl80
  19320. wine_fn_config_makefile dlls/atl80/tests enable_tests
  19321. wine_fn_config_makefile dlls/atl90 enable_atl90
  19322. wine_fn_config_makefile dlls/atlthunk enable_atlthunk
  19323. wine_fn_config_makefile dlls/atlthunk/tests enable_tests
  19324. wine_fn_config_makefile dlls/atmlib enable_atmlib
  19325. wine_fn_config_makefile dlls/authz enable_authz
  19326. wine_fn_config_makefile dlls/avicap32 enable_avicap32
  19327. wine_fn_config_makefile dlls/avifil32 enable_avifil32
  19328. wine_fn_config_makefile dlls/avifil32/tests enable_tests
  19329. wine_fn_config_makefile dlls/avifile.dll16 enable_win16
  19330. wine_fn_config_makefile dlls/avrt enable_avrt
  19331. wine_fn_config_makefile dlls/bcrypt enable_bcrypt
  19332. wine_fn_config_makefile dlls/bcrypt/tests enable_tests
  19333. wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
  19334. wine_fn_config_makefile dlls/browseui enable_browseui
  19335. wine_fn_config_makefile dlls/browseui/tests enable_tests
  19336. wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
  19337. wine_fn_config_makefile dlls/cabinet enable_cabinet
  19338. wine_fn_config_makefile dlls/cabinet/tests enable_tests
  19339. wine_fn_config_makefile dlls/capi2032 enable_capi2032
  19340. wine_fn_config_makefile dlls/cards enable_cards
  19341. wine_fn_config_makefile dlls/cdosys enable_cdosys
  19342. wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
  19343. wine_fn_config_makefile dlls/clusapi enable_clusapi
  19344. wine_fn_config_makefile dlls/cng.sys enable_cng_sys
  19345. wine_fn_config_makefile dlls/combase enable_combase
  19346. wine_fn_config_makefile dlls/combase/tests enable_tests
  19347. wine_fn_config_makefile dlls/comcat enable_comcat
  19348. wine_fn_config_makefile dlls/comcat/tests enable_tests
  19349. wine_fn_config_makefile dlls/comctl32 enable_comctl32
  19350. wine_fn_config_makefile dlls/comctl32/tests enable_tests
  19351. wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
  19352. wine_fn_config_makefile dlls/comdlg32/tests enable_tests
  19353. wine_fn_config_makefile dlls/comm.drv16 enable_win16
  19354. wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
  19355. wine_fn_config_makefile dlls/compobj.dll16 enable_win16
  19356. wine_fn_config_makefile dlls/compstui enable_compstui
  19357. wine_fn_config_makefile dlls/comsvcs enable_comsvcs
  19358. wine_fn_config_makefile dlls/comsvcs/tests enable_tests
  19359. wine_fn_config_makefile dlls/concrt140 enable_concrt140
  19360. wine_fn_config_makefile dlls/concrt140/tests enable_tests
  19361. wine_fn_config_makefile dlls/connect enable_connect
  19362. wine_fn_config_makefile dlls/credui enable_credui
  19363. wine_fn_config_makefile dlls/credui/tests enable_tests
  19364. wine_fn_config_makefile dlls/crtdll enable_crtdll
  19365. wine_fn_config_makefile dlls/crypt32 enable_crypt32
  19366. wine_fn_config_makefile dlls/crypt32/tests enable_tests
  19367. wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
  19368. wine_fn_config_makefile dlls/cryptdll enable_cryptdll
  19369. wine_fn_config_makefile dlls/cryptext enable_cryptext
  19370. wine_fn_config_makefile dlls/cryptnet enable_cryptnet
  19371. wine_fn_config_makefile dlls/cryptnet/tests enable_tests
  19372. wine_fn_config_makefile dlls/cryptsp enable_cryptsp
  19373. wine_fn_config_makefile dlls/cryptui enable_cryptui
  19374. wine_fn_config_makefile dlls/cryptui/tests enable_tests
  19375. wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
  19376. wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
  19377. wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
  19378. wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
  19379. wine_fn_config_makefile dlls/d2d1 enable_d2d1
  19380. wine_fn_config_makefile dlls/d2d1/tests enable_tests
  19381. wine_fn_config_makefile dlls/d3d10 enable_d3d10
  19382. wine_fn_config_makefile dlls/d3d10/tests enable_tests
  19383. wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
  19384. wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
  19385. wine_fn_config_makefile dlls/d3d10core enable_d3d10core
  19386. wine_fn_config_makefile dlls/d3d10core/tests enable_tests
  19387. wine_fn_config_makefile dlls/d3d11 enable_d3d11
  19388. wine_fn_config_makefile dlls/d3d11/tests enable_tests
  19389. wine_fn_config_makefile dlls/d3d12 enable_d3d12
  19390. wine_fn_config_makefile dlls/d3d12/tests enable_tests
  19391. wine_fn_config_makefile dlls/d3d8 enable_d3d8
  19392. wine_fn_config_makefile dlls/d3d8/tests enable_tests
  19393. wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
  19394. wine_fn_config_makefile dlls/d3d9 enable_d3d9
  19395. wine_fn_config_makefile dlls/d3d9/tests enable_tests
  19396. wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
  19397. wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
  19398. wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
  19399. wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
  19400. wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
  19401. wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
  19402. wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
  19403. wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
  19404. wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
  19405. wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
  19406. wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
  19407. wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
  19408. wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
  19409. wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
  19410. wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
  19411. wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
  19412. wine_fn_config_makefile dlls/d3dim enable_d3dim
  19413. wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
  19414. wine_fn_config_makefile dlls/d3drm enable_d3drm
  19415. wine_fn_config_makefile dlls/d3drm/tests enable_tests
  19416. wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
  19417. wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
  19418. wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
  19419. wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
  19420. wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
  19421. wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
  19422. wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
  19423. wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
  19424. wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
  19425. wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
  19426. wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
  19427. wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
  19428. wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
  19429. wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
  19430. wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
  19431. wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
  19432. wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
  19433. wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
  19434. wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
  19435. wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
  19436. wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
  19437. wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
  19438. wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
  19439. wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
  19440. wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
  19441. wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
  19442. wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
  19443. wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
  19444. wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
  19445. wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
  19446. wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
  19447. wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
  19448. wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
  19449. wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
  19450. wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
  19451. wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
  19452. wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
  19453. wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
  19454. wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
  19455. wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
  19456. wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
  19457. wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
  19458. wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
  19459. wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
  19460. wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
  19461. wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
  19462. wine_fn_config_makefile dlls/d3dxof enable_d3dxof
  19463. wine_fn_config_makefile dlls/d3dxof/tests enable_tests
  19464. wine_fn_config_makefile dlls/davclnt enable_davclnt
  19465. wine_fn_config_makefile dlls/dbgeng enable_dbgeng
  19466. wine_fn_config_makefile dlls/dbgeng/tests enable_tests
  19467. wine_fn_config_makefile dlls/dbghelp enable_dbghelp
  19468. wine_fn_config_makefile dlls/dbghelp/tests enable_tests
  19469. wine_fn_config_makefile dlls/dciman32 enable_dciman32
  19470. wine_fn_config_makefile dlls/dcomp enable_dcomp
  19471. wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
  19472. wine_fn_config_makefile dlls/ddraw enable_ddraw
  19473. wine_fn_config_makefile dlls/ddraw/tests enable_tests
  19474. wine_fn_config_makefile dlls/ddrawex enable_ddrawex
  19475. wine_fn_config_makefile dlls/ddrawex/tests enable_tests
  19476. wine_fn_config_makefile dlls/devenum enable_devenum
  19477. wine_fn_config_makefile dlls/devenum/tests enable_tests
  19478. wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
  19479. wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
  19480. wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
  19481. wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
  19482. wine_fn_config_makefile dlls/diasymreader enable_diasymreader
  19483. wine_fn_config_makefile dlls/difxapi enable_difxapi
  19484. wine_fn_config_makefile dlls/dinput enable_dinput
  19485. wine_fn_config_makefile dlls/dinput/tests enable_tests
  19486. wine_fn_config_makefile dlls/dinput8 enable_dinput8
  19487. wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
  19488. wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
  19489. wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
  19490. wine_fn_config_makefile dlls/dispex enable_dispex
  19491. wine_fn_config_makefile dlls/dispex/tests enable_tests
  19492. wine_fn_config_makefile dlls/display.drv16 enable_win16
  19493. wine_fn_config_makefile dlls/dmband enable_dmband
  19494. wine_fn_config_makefile dlls/dmband/tests enable_tests
  19495. wine_fn_config_makefile dlls/dmcompos enable_dmcompos
  19496. wine_fn_config_makefile dlls/dmcompos/tests enable_tests
  19497. wine_fn_config_makefile dlls/dmime enable_dmime
  19498. wine_fn_config_makefile dlls/dmime/tests enable_tests
  19499. wine_fn_config_makefile dlls/dmloader enable_dmloader
  19500. wine_fn_config_makefile dlls/dmloader/tests enable_tests
  19501. wine_fn_config_makefile dlls/dmscript enable_dmscript
  19502. wine_fn_config_makefile dlls/dmscript/tests enable_tests
  19503. wine_fn_config_makefile dlls/dmstyle enable_dmstyle
  19504. wine_fn_config_makefile dlls/dmstyle/tests enable_tests
  19505. wine_fn_config_makefile dlls/dmsynth enable_dmsynth
  19506. wine_fn_config_makefile dlls/dmsynth/tests enable_tests
  19507. wine_fn_config_makefile dlls/dmusic enable_dmusic
  19508. wine_fn_config_makefile dlls/dmusic/tests enable_tests
  19509. wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
  19510. wine_fn_config_makefile dlls/dnsapi enable_dnsapi
  19511. wine_fn_config_makefile dlls/dnsapi/tests enable_tests
  19512. wine_fn_config_makefile dlls/dplay enable_dplay
  19513. wine_fn_config_makefile dlls/dplayx enable_dplayx
  19514. wine_fn_config_makefile dlls/dplayx/tests enable_tests
  19515. wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
  19516. wine_fn_config_makefile dlls/dpnet enable_dpnet
  19517. wine_fn_config_makefile dlls/dpnet/tests enable_tests
  19518. wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
  19519. wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
  19520. wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
  19521. wine_fn_config_makefile dlls/dpvoice enable_dpvoice
  19522. wine_fn_config_makefile dlls/dpvoice/tests enable_tests
  19523. wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
  19524. wine_fn_config_makefile dlls/drmclien enable_drmclien
  19525. wine_fn_config_makefile dlls/dsdmo enable_dsdmo
  19526. wine_fn_config_makefile dlls/dsdmo/tests enable_tests
  19527. wine_fn_config_makefile dlls/dsound enable_dsound
  19528. wine_fn_config_makefile dlls/dsound/tests enable_tests
  19529. wine_fn_config_makefile dlls/dsquery enable_dsquery
  19530. wine_fn_config_makefile dlls/dssenh enable_dssenh
  19531. wine_fn_config_makefile dlls/dssenh/tests enable_tests
  19532. wine_fn_config_makefile dlls/dsuiext enable_dsuiext
  19533. wine_fn_config_makefile dlls/dswave enable_dswave
  19534. wine_fn_config_makefile dlls/dswave/tests enable_tests
  19535. wine_fn_config_makefile dlls/dwmapi enable_dwmapi
  19536. wine_fn_config_makefile dlls/dwmapi/tests enable_tests
  19537. wine_fn_config_makefile dlls/dwrite enable_dwrite
  19538. wine_fn_config_makefile dlls/dwrite/tests enable_tests
  19539. wine_fn_config_makefile dlls/dx8vb enable_dx8vb
  19540. wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
  19541. wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
  19542. wine_fn_config_makefile dlls/dxgi enable_dxgi
  19543. wine_fn_config_makefile dlls/dxgi/tests enable_tests
  19544. wine_fn_config_makefile dlls/dxtrans enable_dxtrans
  19545. wine_fn_config_makefile dlls/dxva2 enable_dxva2
  19546. wine_fn_config_makefile dlls/dxva2/tests enable_tests
  19547. wine_fn_config_makefile dlls/esent enable_esent
  19548. wine_fn_config_makefile dlls/evr enable_evr
  19549. wine_fn_config_makefile dlls/evr/tests enable_tests
  19550. wine_fn_config_makefile dlls/explorerframe enable_explorerframe
  19551. wine_fn_config_makefile dlls/explorerframe/tests enable_tests
  19552. wine_fn_config_makefile dlls/faultrep enable_faultrep
  19553. wine_fn_config_makefile dlls/faultrep/tests enable_tests
  19554. wine_fn_config_makefile dlls/feclient enable_feclient
  19555. wine_fn_config_makefile dlls/fltlib enable_fltlib
  19556. wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
  19557. wine_fn_config_makefile dlls/fntcache enable_fntcache
  19558. wine_fn_config_makefile dlls/fontsub enable_fontsub
  19559. wine_fn_config_makefile dlls/fusion enable_fusion
  19560. wine_fn_config_makefile dlls/fusion/tests enable_tests
  19561. wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
  19562. wine_fn_config_makefile dlls/gameux enable_gameux
  19563. wine_fn_config_makefile dlls/gameux/tests enable_tests
  19564. wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
  19565. wine_fn_config_makefile dlls/gdi.exe16 enable_win16
  19566. wine_fn_config_makefile dlls/gdi32 enable_gdi32
  19567. wine_fn_config_makefile dlls/gdi32/tests enable_tests
  19568. wine_fn_config_makefile dlls/gdiplus enable_gdiplus
  19569. wine_fn_config_makefile dlls/gdiplus/tests enable_tests
  19570. wine_fn_config_makefile dlls/glu32 enable_glu32
  19571. wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
  19572. wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
  19573. wine_fn_config_makefile dlls/hal enable_hal
  19574. wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
  19575. wine_fn_config_makefile dlls/hid enable_hid
  19576. wine_fn_config_makefile dlls/hid/tests enable_tests
  19577. wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
  19578. wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
  19579. wine_fn_config_makefile dlls/hlink enable_hlink
  19580. wine_fn_config_makefile dlls/hlink/tests enable_tests
  19581. wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
  19582. wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
  19583. wine_fn_config_makefile dlls/http.sys enable_http_sys
  19584. wine_fn_config_makefile dlls/httpapi enable_httpapi
  19585. wine_fn_config_makefile dlls/httpapi/tests enable_tests
  19586. wine_fn_config_makefile dlls/iccvid enable_iccvid
  19587. wine_fn_config_makefile dlls/icmp enable_icmp
  19588. wine_fn_config_makefile dlls/ieframe enable_ieframe
  19589. wine_fn_config_makefile dlls/ieframe/tests enable_tests
  19590. wine_fn_config_makefile dlls/ieproxy enable_ieproxy
  19591. wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
  19592. wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
  19593. wine_fn_config_makefile dlls/imagehlp enable_imagehlp
  19594. wine_fn_config_makefile dlls/imagehlp/tests enable_tests
  19595. wine_fn_config_makefile dlls/imm.dll16 enable_win16
  19596. wine_fn_config_makefile dlls/imm32 enable_imm32
  19597. wine_fn_config_makefile dlls/imm32/tests enable_tests
  19598. wine_fn_config_makefile dlls/inetcomm enable_inetcomm
  19599. wine_fn_config_makefile dlls/inetcomm/tests enable_tests
  19600. wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
  19601. wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
  19602. wine_fn_config_makefile dlls/inetmib1/tests enable_tests
  19603. wine_fn_config_makefile dlls/infosoft enable_infosoft
  19604. wine_fn_config_makefile dlls/infosoft/tests enable_tests
  19605. wine_fn_config_makefile dlls/initpki enable_initpki
  19606. wine_fn_config_makefile dlls/inkobj enable_inkobj
  19607. wine_fn_config_makefile dlls/inseng enable_inseng
  19608. wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
  19609. wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
  19610. wine_fn_config_makefile dlls/iprop enable_iprop
  19611. wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
  19612. wine_fn_config_makefile dlls/itircl enable_itircl
  19613. wine_fn_config_makefile dlls/itss enable_itss
  19614. wine_fn_config_makefile dlls/itss/tests enable_tests
  19615. wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
  19616. wine_fn_config_makefile dlls/jscript enable_jscript
  19617. wine_fn_config_makefile dlls/jscript/tests enable_tests
  19618. wine_fn_config_makefile dlls/jsproxy enable_jsproxy
  19619. wine_fn_config_makefile dlls/jsproxy/tests enable_tests
  19620. wine_fn_config_makefile dlls/kerberos enable_kerberos
  19621. wine_fn_config_makefile dlls/kernel32 enable_kernel32
  19622. wine_fn_config_makefile dlls/kernel32/tests enable_tests
  19623. wine_fn_config_makefile dlls/kernelbase enable_kernelbase
  19624. wine_fn_config_makefile dlls/kernelbase/tests enable_tests
  19625. wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
  19626. wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
  19627. wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
  19628. wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
  19629. wine_fn_config_makefile dlls/ksuser enable_ksuser
  19630. wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
  19631. wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
  19632. wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
  19633. wine_fn_config_makefile dlls/loadperf enable_loadperf
  19634. wine_fn_config_makefile dlls/localspl enable_localspl
  19635. wine_fn_config_makefile dlls/localspl/tests enable_tests
  19636. wine_fn_config_makefile dlls/localui enable_localui
  19637. wine_fn_config_makefile dlls/localui/tests enable_tests
  19638. wine_fn_config_makefile dlls/lz32 enable_lz32
  19639. wine_fn_config_makefile dlls/lz32/tests enable_tests
  19640. wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
  19641. wine_fn_config_makefile dlls/mapi32 enable_mapi32
  19642. wine_fn_config_makefile dlls/mapi32/tests enable_tests
  19643. wine_fn_config_makefile dlls/mapistub enable_mapistub
  19644. wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
  19645. wine_fn_config_makefile dlls/mcicda enable_mcicda
  19646. wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
  19647. wine_fn_config_makefile dlls/mciseq enable_mciseq
  19648. wine_fn_config_makefile dlls/mciwave enable_mciwave
  19649. wine_fn_config_makefile dlls/mf enable_mf
  19650. wine_fn_config_makefile dlls/mf/tests enable_tests
  19651. wine_fn_config_makefile dlls/mf3216 enable_mf3216
  19652. wine_fn_config_makefile dlls/mferror enable_mferror
  19653. wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
  19654. wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
  19655. wine_fn_config_makefile dlls/mfplat enable_mfplat
  19656. wine_fn_config_makefile dlls/mfplat/tests enable_tests
  19657. wine_fn_config_makefile dlls/mfplay enable_mfplay
  19658. wine_fn_config_makefile dlls/mfplay/tests enable_tests
  19659. wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
  19660. wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
  19661. wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
  19662. wine_fn_config_makefile dlls/midimap enable_midimap
  19663. wine_fn_config_makefile dlls/mlang enable_mlang
  19664. wine_fn_config_makefile dlls/mlang/tests enable_tests
  19665. wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
  19666. wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
  19667. wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
  19668. wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
  19669. wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
  19670. wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
  19671. wine_fn_config_makefile dlls/monodebg.vxd enable_win16
  19672. wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
  19673. wine_fn_config_makefile dlls/mouse.drv16 enable_win16
  19674. wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
  19675. wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
  19676. wine_fn_config_makefile dlls/mpr enable_mpr
  19677. wine_fn_config_makefile dlls/mpr/tests enable_tests
  19678. wine_fn_config_makefile dlls/mprapi enable_mprapi
  19679. wine_fn_config_makefile dlls/msacm.dll16 enable_win16
  19680. wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
  19681. wine_fn_config_makefile dlls/msacm32 enable_msacm32
  19682. wine_fn_config_makefile dlls/msacm32/tests enable_tests
  19683. wine_fn_config_makefile dlls/msado15 enable_msado15
  19684. wine_fn_config_makefile dlls/msado15/tests enable_tests
  19685. wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
  19686. wine_fn_config_makefile dlls/msasn1 enable_msasn1
  19687. wine_fn_config_makefile dlls/msasn1/tests enable_tests
  19688. wine_fn_config_makefile dlls/mscat32 enable_mscat32
  19689. wine_fn_config_makefile dlls/mscms enable_mscms
  19690. wine_fn_config_makefile dlls/mscms/tests enable_tests
  19691. wine_fn_config_makefile dlls/mscoree enable_mscoree
  19692. wine_fn_config_makefile dlls/mscoree/tests enable_tests
  19693. wine_fn_config_makefile dlls/mscorwks enable_mscorwks
  19694. wine_fn_config_makefile dlls/msctf enable_msctf
  19695. wine_fn_config_makefile dlls/msctf/tests enable_tests
  19696. wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
  19697. wine_fn_config_makefile dlls/msctfp enable_msctfp
  19698. wine_fn_config_makefile dlls/msdaps enable_msdaps
  19699. wine_fn_config_makefile dlls/msdasql enable_msdasql
  19700. wine_fn_config_makefile dlls/msdasql/tests enable_tests
  19701. wine_fn_config_makefile dlls/msdelta enable_msdelta
  19702. wine_fn_config_makefile dlls/msdmo enable_msdmo
  19703. wine_fn_config_makefile dlls/msdmo/tests enable_tests
  19704. wine_fn_config_makefile dlls/msdrm enable_msdrm
  19705. wine_fn_config_makefile dlls/msftedit enable_msftedit
  19706. wine_fn_config_makefile dlls/msftedit/tests enable_tests
  19707. wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
  19708. wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
  19709. wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
  19710. wine_fn_config_makefile dlls/mshtml enable_mshtml
  19711. wine_fn_config_makefile dlls/mshtml/tests enable_tests
  19712. wine_fn_config_makefile dlls/msi enable_msi
  19713. wine_fn_config_makefile dlls/msi/tests enable_tests
  19714. wine_fn_config_makefile dlls/msident enable_msident
  19715. wine_fn_config_makefile dlls/msimg32 enable_msimg32
  19716. wine_fn_config_makefile dlls/msimsg enable_msimsg
  19717. wine_fn_config_makefile dlls/msimtf enable_msimtf
  19718. wine_fn_config_makefile dlls/msisip enable_msisip
  19719. wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
  19720. wine_fn_config_makefile dlls/msls31 enable_msls31
  19721. wine_fn_config_makefile dlls/msnet32 enable_msnet32
  19722. wine_fn_config_makefile dlls/mspatcha enable_mspatcha
  19723. wine_fn_config_makefile dlls/mspatcha/tests enable_tests
  19724. wine_fn_config_makefile dlls/msports enable_msports
  19725. wine_fn_config_makefile dlls/msrle32 enable_msrle32
  19726. wine_fn_config_makefile dlls/msrle32/tests enable_tests
  19727. wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
  19728. wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
  19729. wine_fn_config_makefile dlls/mssign32 enable_mssign32
  19730. wine_fn_config_makefile dlls/mssip32 enable_mssip32
  19731. wine_fn_config_makefile dlls/mstask enable_mstask
  19732. wine_fn_config_makefile dlls/mstask/tests enable_tests
  19733. wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
  19734. wine_fn_config_makefile dlls/msvcirt enable_msvcirt
  19735. wine_fn_config_makefile dlls/msvcirt/tests enable_tests
  19736. wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
  19737. wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
  19738. wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
  19739. wine_fn_config_makefile dlls/msvcp100/tests enable_tests
  19740. wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
  19741. wine_fn_config_makefile dlls/msvcp110/tests enable_tests
  19742. wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
  19743. wine_fn_config_makefile dlls/msvcp120/tests enable_tests
  19744. wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
  19745. wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
  19746. wine_fn_config_makefile dlls/msvcp140/tests enable_tests
  19747. wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
  19748. wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
  19749. wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
  19750. wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
  19751. wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
  19752. wine_fn_config_makefile dlls/msvcp60/tests enable_tests
  19753. wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
  19754. wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
  19755. wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
  19756. wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
  19757. wine_fn_config_makefile dlls/msvcp90/tests enable_tests
  19758. wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
  19759. wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
  19760. wine_fn_config_makefile dlls/msvcr100/tests enable_tests
  19761. wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
  19762. wine_fn_config_makefile dlls/msvcr110/tests enable_tests
  19763. wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
  19764. wine_fn_config_makefile dlls/msvcr120/tests enable_tests
  19765. wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
  19766. wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
  19767. wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
  19768. wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
  19769. wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
  19770. wine_fn_config_makefile dlls/msvcr90/tests enable_tests
  19771. wine_fn_config_makefile dlls/msvcrt enable_msvcrt
  19772. wine_fn_config_makefile dlls/msvcrt/tests enable_tests
  19773. wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
  19774. wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
  19775. wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
  19776. wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
  19777. wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
  19778. wine_fn_config_makefile dlls/msvfw32/tests enable_tests
  19779. wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
  19780. wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
  19781. wine_fn_config_makefile dlls/mswsock enable_mswsock
  19782. wine_fn_config_makefile dlls/msxml enable_msxml
  19783. wine_fn_config_makefile dlls/msxml2 enable_msxml2
  19784. wine_fn_config_makefile dlls/msxml3 enable_msxml3
  19785. wine_fn_config_makefile dlls/msxml3/tests enable_tests
  19786. wine_fn_config_makefile dlls/msxml4 enable_msxml4
  19787. wine_fn_config_makefile dlls/msxml6 enable_msxml6
  19788. wine_fn_config_makefile dlls/mtxdm enable_mtxdm
  19789. wine_fn_config_makefile dlls/ncrypt enable_ncrypt
  19790. wine_fn_config_makefile dlls/ncrypt/tests enable_tests
  19791. wine_fn_config_makefile dlls/nddeapi enable_nddeapi
  19792. wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
  19793. wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
  19794. wine_fn_config_makefile dlls/netapi32 enable_netapi32
  19795. wine_fn_config_makefile dlls/netapi32/tests enable_tests
  19796. wine_fn_config_makefile dlls/netcfgx enable_netcfgx
  19797. wine_fn_config_makefile dlls/netcfgx/tests enable_tests
  19798. wine_fn_config_makefile dlls/netio.sys enable_netio_sys
  19799. wine_fn_config_makefile dlls/netprofm enable_netprofm
  19800. wine_fn_config_makefile dlls/netprofm/tests enable_tests
  19801. wine_fn_config_makefile dlls/netutils enable_netutils
  19802. wine_fn_config_makefile dlls/newdev enable_newdev
  19803. wine_fn_config_makefile dlls/ninput enable_ninput
  19804. wine_fn_config_makefile dlls/ninput/tests enable_tests
  19805. wine_fn_config_makefile dlls/normaliz enable_normaliz
  19806. wine_fn_config_makefile dlls/npmshtml enable_npmshtml
  19807. wine_fn_config_makefile dlls/npptools enable_npptools
  19808. wine_fn_config_makefile dlls/nsi enable_nsi
  19809. wine_fn_config_makefile dlls/nsi/tests enable_tests
  19810. wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
  19811. wine_fn_config_makefile dlls/ntdll enable_ntdll
  19812. wine_fn_config_makefile dlls/ntdll/tests enable_tests
  19813. wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
  19814. wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
  19815. wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
  19816. wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
  19817. wine_fn_config_makefile dlls/ntprint enable_ntprint
  19818. wine_fn_config_makefile dlls/ntprint/tests enable_tests
  19819. wine_fn_config_makefile dlls/objsel enable_objsel
  19820. wine_fn_config_makefile dlls/odbc32 enable_odbc32
  19821. wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
  19822. wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
  19823. wine_fn_config_makefile dlls/odbccp32/tests enable_tests
  19824. wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
  19825. wine_fn_config_makefile dlls/ole2.dll16 enable_win16
  19826. wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
  19827. wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
  19828. wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
  19829. wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
  19830. wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
  19831. wine_fn_config_makefile dlls/ole32 enable_ole32
  19832. wine_fn_config_makefile dlls/ole32/tests enable_tests
  19833. wine_fn_config_makefile dlls/oleacc enable_oleacc
  19834. wine_fn_config_makefile dlls/oleacc/tests enable_tests
  19835. wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
  19836. wine_fn_config_makefile dlls/oleaut32/tests enable_tests
  19837. wine_fn_config_makefile dlls/olecli.dll16 enable_win16
  19838. wine_fn_config_makefile dlls/olecli32 enable_olecli32
  19839. wine_fn_config_makefile dlls/oledb32 enable_oledb32
  19840. wine_fn_config_makefile dlls/oledb32/tests enable_tests
  19841. wine_fn_config_makefile dlls/oledlg enable_oledlg
  19842. wine_fn_config_makefile dlls/oledlg/tests enable_tests
  19843. wine_fn_config_makefile dlls/olepro32 enable_olepro32
  19844. wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
  19845. wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
  19846. wine_fn_config_makefile dlls/olethk32 enable_olethk32
  19847. wine_fn_config_makefile dlls/opcservices enable_opcservices
  19848. wine_fn_config_makefile dlls/opcservices/tests enable_tests
  19849. wine_fn_config_makefile dlls/openal32 enable_openal32
  19850. wine_fn_config_makefile dlls/opencl enable_opencl
  19851. wine_fn_config_makefile dlls/opengl32 enable_opengl32
  19852. wine_fn_config_makefile dlls/opengl32/tests enable_tests
  19853. wine_fn_config_makefile dlls/packager enable_packager
  19854. wine_fn_config_makefile dlls/packager/tests enable_tests
  19855. wine_fn_config_makefile dlls/pdh enable_pdh
  19856. wine_fn_config_makefile dlls/pdh/tests enable_tests
  19857. wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
  19858. wine_fn_config_makefile dlls/pidgen enable_pidgen
  19859. wine_fn_config_makefile dlls/powrprof enable_powrprof
  19860. wine_fn_config_makefile dlls/printui enable_printui
  19861. wine_fn_config_makefile dlls/prntvpt enable_prntvpt
  19862. wine_fn_config_makefile dlls/prntvpt/tests enable_tests
  19863. wine_fn_config_makefile dlls/propsys enable_propsys
  19864. wine_fn_config_makefile dlls/propsys/tests enable_tests
  19865. wine_fn_config_makefile dlls/psapi enable_psapi
  19866. wine_fn_config_makefile dlls/psapi/tests enable_tests
  19867. wine_fn_config_makefile dlls/pstorec enable_pstorec
  19868. wine_fn_config_makefile dlls/pstorec/tests enable_tests
  19869. wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
  19870. wine_fn_config_makefile dlls/qasf enable_qasf
  19871. wine_fn_config_makefile dlls/qasf/tests enable_tests
  19872. wine_fn_config_makefile dlls/qcap enable_qcap
  19873. wine_fn_config_makefile dlls/qcap/tests enable_tests
  19874. wine_fn_config_makefile dlls/qdvd enable_qdvd
  19875. wine_fn_config_makefile dlls/qdvd/tests enable_tests
  19876. wine_fn_config_makefile dlls/qedit enable_qedit
  19877. wine_fn_config_makefile dlls/qedit/tests enable_tests
  19878. wine_fn_config_makefile dlls/qmgr enable_qmgr
  19879. wine_fn_config_makefile dlls/qmgr/tests enable_tests
  19880. wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
  19881. wine_fn_config_makefile dlls/quartz enable_quartz
  19882. wine_fn_config_makefile dlls/quartz/tests enable_tests
  19883. wine_fn_config_makefile dlls/query enable_query
  19884. wine_fn_config_makefile dlls/qwave enable_qwave
  19885. wine_fn_config_makefile dlls/qwave/tests enable_tests
  19886. wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
  19887. wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
  19888. wine_fn_config_makefile dlls/rasapi32/tests enable_tests
  19889. wine_fn_config_makefile dlls/rasdlg enable_rasdlg
  19890. wine_fn_config_makefile dlls/regapi enable_regapi
  19891. wine_fn_config_makefile dlls/resutils enable_resutils
  19892. wine_fn_config_makefile dlls/riched20 enable_riched20
  19893. wine_fn_config_makefile dlls/riched20/tests enable_tests
  19894. wine_fn_config_makefile dlls/riched32 enable_riched32
  19895. wine_fn_config_makefile dlls/riched32/tests enable_tests
  19896. wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
  19897. wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
  19898. wine_fn_config_makefile dlls/rsabase enable_rsabase
  19899. wine_fn_config_makefile dlls/rsaenh enable_rsaenh
  19900. wine_fn_config_makefile dlls/rsaenh/tests enable_tests
  19901. wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
  19902. wine_fn_config_makefile dlls/rtutils enable_rtutils
  19903. wine_fn_config_makefile dlls/rtworkq enable_rtworkq
  19904. wine_fn_config_makefile dlls/rtworkq/tests enable_tests
  19905. wine_fn_config_makefile dlls/samlib enable_samlib
  19906. wine_fn_config_makefile dlls/sane.ds enable_sane_ds
  19907. wine_fn_config_makefile dlls/sapi enable_sapi
  19908. wine_fn_config_makefile dlls/sapi/tests enable_tests
  19909. wine_fn_config_makefile dlls/sas enable_sas
  19910. wine_fn_config_makefile dlls/scarddlg enable_scarddlg
  19911. wine_fn_config_makefile dlls/sccbase enable_sccbase
  19912. wine_fn_config_makefile dlls/schannel enable_schannel
  19913. wine_fn_config_makefile dlls/schannel/tests enable_tests
  19914. wine_fn_config_makefile dlls/schedsvc enable_schedsvc
  19915. wine_fn_config_makefile dlls/schedsvc/tests enable_tests
  19916. wine_fn_config_makefile dlls/scrobj enable_scrobj
  19917. wine_fn_config_makefile dlls/scrobj/tests enable_tests
  19918. wine_fn_config_makefile dlls/scrrun enable_scrrun
  19919. wine_fn_config_makefile dlls/scrrun/tests enable_tests
  19920. wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
  19921. wine_fn_config_makefile dlls/sechost enable_sechost
  19922. wine_fn_config_makefile dlls/secur32 enable_secur32
  19923. wine_fn_config_makefile dlls/secur32/tests enable_tests
  19924. wine_fn_config_makefile dlls/security enable_security
  19925. wine_fn_config_makefile dlls/sensapi enable_sensapi
  19926. wine_fn_config_makefile dlls/serialui enable_serialui
  19927. wine_fn_config_makefile dlls/serialui/tests enable_tests
  19928. wine_fn_config_makefile dlls/setupapi enable_setupapi
  19929. wine_fn_config_makefile dlls/setupapi/tests enable_tests
  19930. wine_fn_config_makefile dlls/setupx.dll16 enable_win16
  19931. wine_fn_config_makefile dlls/sfc enable_sfc
  19932. wine_fn_config_makefile dlls/sfc_os enable_sfc_os
  19933. wine_fn_config_makefile dlls/shcore enable_shcore
  19934. wine_fn_config_makefile dlls/shcore/tests enable_tests
  19935. wine_fn_config_makefile dlls/shdoclc enable_shdoclc
  19936. wine_fn_config_makefile dlls/shdocvw enable_shdocvw
  19937. wine_fn_config_makefile dlls/shdocvw/tests enable_tests
  19938. wine_fn_config_makefile dlls/shell.dll16 enable_win16
  19939. wine_fn_config_makefile dlls/shell32 enable_shell32
  19940. wine_fn_config_makefile dlls/shell32/tests enable_tests
  19941. wine_fn_config_makefile dlls/shfolder enable_shfolder
  19942. wine_fn_config_makefile dlls/shlwapi enable_shlwapi
  19943. wine_fn_config_makefile dlls/shlwapi/tests enable_tests
  19944. wine_fn_config_makefile dlls/slbcsp enable_slbcsp
  19945. wine_fn_config_makefile dlls/slc enable_slc
  19946. wine_fn_config_makefile dlls/slc/tests enable_tests
  19947. wine_fn_config_makefile dlls/snmpapi enable_snmpapi
  19948. wine_fn_config_makefile dlls/snmpapi/tests enable_tests
  19949. wine_fn_config_makefile dlls/softpub enable_softpub
  19950. wine_fn_config_makefile dlls/sound.drv16 enable_win16
  19951. wine_fn_config_makefile dlls/spoolss enable_spoolss
  19952. wine_fn_config_makefile dlls/spoolss/tests enable_tests
  19953. wine_fn_config_makefile dlls/sppc enable_sppc
  19954. wine_fn_config_makefile dlls/srclient enable_srclient
  19955. wine_fn_config_makefile dlls/srvcli enable_srvcli
  19956. wine_fn_config_makefile dlls/sspicli enable_sspicli
  19957. wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
  19958. wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
  19959. wine_fn_config_makefile dlls/sti enable_sti
  19960. wine_fn_config_makefile dlls/sti/tests enable_tests
  19961. wine_fn_config_makefile dlls/storage.dll16 enable_win16
  19962. wine_fn_config_makefile dlls/stress.dll16 enable_win16
  19963. wine_fn_config_makefile dlls/strmdll enable_strmdll
  19964. wine_fn_config_makefile dlls/svrapi enable_svrapi
  19965. wine_fn_config_makefile dlls/sxs enable_sxs
  19966. wine_fn_config_makefile dlls/sxs/tests enable_tests
  19967. wine_fn_config_makefile dlls/system.drv16 enable_win16
  19968. wine_fn_config_makefile dlls/t2embed enable_t2embed
  19969. wine_fn_config_makefile dlls/t2embed/tests enable_tests
  19970. wine_fn_config_makefile dlls/tapi32 enable_tapi32
  19971. wine_fn_config_makefile dlls/tapi32/tests enable_tests
  19972. wine_fn_config_makefile dlls/taskschd enable_taskschd
  19973. wine_fn_config_makefile dlls/taskschd/tests enable_tests
  19974. wine_fn_config_makefile dlls/tbs enable_tbs
  19975. wine_fn_config_makefile dlls/tdh enable_tdh
  19976. wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
  19977. wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
  19978. wine_fn_config_makefile dlls/traffic enable_traffic
  19979. wine_fn_config_makefile dlls/twain.dll16 enable_win16
  19980. wine_fn_config_makefile dlls/twain_32 enable_twain_32
  19981. wine_fn_config_makefile dlls/twain_32/tests enable_tests
  19982. wine_fn_config_makefile dlls/typelib.dll16 enable_win16
  19983. wine_fn_config_makefile dlls/tzres enable_tzres
  19984. wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
  19985. wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
  19986. wine_fn_config_makefile dlls/uianimation enable_uianimation
  19987. wine_fn_config_makefile dlls/uianimation/tests enable_tests
  19988. wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
  19989. wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
  19990. wine_fn_config_makefile dlls/uiribbon enable_uiribbon
  19991. wine_fn_config_makefile dlls/unicows enable_unicows
  19992. wine_fn_config_makefile dlls/updspapi enable_updspapi
  19993. wine_fn_config_makefile dlls/url enable_url
  19994. wine_fn_config_makefile dlls/urlmon enable_urlmon
  19995. wine_fn_config_makefile dlls/urlmon/tests enable_tests
  19996. wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
  19997. wine_fn_config_makefile dlls/user.exe16 enable_win16
  19998. wine_fn_config_makefile dlls/user32 enable_user32
  19999. wine_fn_config_makefile dlls/user32/tests enable_tests
  20000. wine_fn_config_makefile dlls/userenv enable_userenv
  20001. wine_fn_config_makefile dlls/userenv/tests enable_tests
  20002. wine_fn_config_makefile dlls/usp10 enable_usp10
  20003. wine_fn_config_makefile dlls/usp10/tests enable_tests
  20004. wine_fn_config_makefile dlls/utildll enable_utildll
  20005. wine_fn_config_makefile dlls/uxtheme enable_uxtheme
  20006. wine_fn_config_makefile dlls/uxtheme/tests enable_tests
  20007. wine_fn_config_makefile dlls/vbscript enable_vbscript
  20008. wine_fn_config_makefile dlls/vbscript/tests enable_tests
  20009. wine_fn_config_makefile dlls/vcomp enable_vcomp
  20010. wine_fn_config_makefile dlls/vcomp/tests enable_tests
  20011. wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
  20012. wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
  20013. wine_fn_config_makefile dlls/vcomp110/tests enable_tests
  20014. wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
  20015. wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
  20016. wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
  20017. wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
  20018. wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
  20019. wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
  20020. wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
  20021. wine_fn_config_makefile dlls/ver.dll16 enable_win16
  20022. wine_fn_config_makefile dlls/version enable_version
  20023. wine_fn_config_makefile dlls/version/tests enable_tests
  20024. wine_fn_config_makefile dlls/vga enable_vga
  20025. wine_fn_config_makefile dlls/virtdisk enable_virtdisk
  20026. wine_fn_config_makefile dlls/virtdisk/tests enable_tests
  20027. wine_fn_config_makefile dlls/vmm.vxd enable_win16
  20028. wine_fn_config_makefile dlls/vnbt.vxd enable_win16
  20029. wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
  20030. wine_fn_config_makefile dlls/vssapi enable_vssapi
  20031. wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
  20032. wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
  20033. wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
  20034. wine_fn_config_makefile dlls/vwin32.vxd enable_win16
  20035. wine_fn_config_makefile dlls/w32skrnl enable_win16
  20036. wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
  20037. wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
  20038. wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
  20039. wine_fn_config_makefile dlls/wbemprox enable_wbemprox
  20040. wine_fn_config_makefile dlls/wbemprox/tests enable_tests
  20041. wine_fn_config_makefile dlls/wdscore enable_wdscore
  20042. wine_fn_config_makefile dlls/webservices enable_webservices
  20043. wine_fn_config_makefile dlls/webservices/tests enable_tests
  20044. wine_fn_config_makefile dlls/websocket enable_websocket
  20045. wine_fn_config_makefile dlls/wer enable_wer
  20046. wine_fn_config_makefile dlls/wer/tests enable_tests
  20047. wine_fn_config_makefile dlls/wevtapi enable_wevtapi
  20048. wine_fn_config_makefile dlls/wevtapi/tests enable_tests
  20049. wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
  20050. wine_fn_config_makefile dlls/wiaservc enable_wiaservc
  20051. wine_fn_config_makefile dlls/wiaservc/tests enable_tests
  20052. wine_fn_config_makefile dlls/wimgapi enable_wimgapi
  20053. wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
  20054. wine_fn_config_makefile dlls/win32u enable_win32u
  20055. wine_fn_config_makefile dlls/win32u/tests enable_tests
  20056. wine_fn_config_makefile dlls/win87em.dll16 enable_win16
  20057. wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
  20058. wine_fn_config_makefile dlls/windebug.dll16 enable_win16
  20059. wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
  20060. wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
  20061. wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
  20062. wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
  20063. wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
  20064. wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
  20065. wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
  20066. wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
  20067. wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
  20068. wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
  20069. wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
  20070. wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
  20071. wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
  20072. wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
  20073. wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
  20074. wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
  20075. wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
  20076. wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
  20077. wine_fn_config_makefile dlls/wined3d enable_wined3d
  20078. wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
  20079. wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
  20080. wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
  20081. wine_fn_config_makefile dlls/winemapi enable_winemapi
  20082. wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
  20083. wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
  20084. wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
  20085. wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
  20086. wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
  20087. wine_fn_config_makefile dlls/winevulkan enable_winevulkan
  20088. wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
  20089. wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
  20090. wine_fn_config_makefile dlls/wing.dll16 enable_win16
  20091. wine_fn_config_makefile dlls/wing32 enable_wing32
  20092. wine_fn_config_makefile dlls/winhttp enable_winhttp
  20093. wine_fn_config_makefile dlls/winhttp/tests enable_tests
  20094. wine_fn_config_makefile dlls/wininet enable_wininet
  20095. wine_fn_config_makefile dlls/wininet/tests enable_tests
  20096. wine_fn_config_makefile dlls/winmm enable_winmm
  20097. wine_fn_config_makefile dlls/winmm/tests enable_tests
  20098. wine_fn_config_makefile dlls/winnls.dll16 enable_win16
  20099. wine_fn_config_makefile dlls/winnls32 enable_winnls32
  20100. wine_fn_config_makefile dlls/winscard enable_winscard
  20101. wine_fn_config_makefile dlls/winsock.dll16 enable_win16
  20102. wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
  20103. wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
  20104. wine_fn_config_makefile dlls/winsta enable_winsta
  20105. wine_fn_config_makefile dlls/wintab.dll16 enable_win16
  20106. wine_fn_config_makefile dlls/wintab32 enable_wintab32
  20107. wine_fn_config_makefile dlls/wintab32/tests enable_tests
  20108. wine_fn_config_makefile dlls/wintrust enable_wintrust
  20109. wine_fn_config_makefile dlls/wintrust/tests enable_tests
  20110. wine_fn_config_makefile dlls/winusb enable_winusb
  20111. wine_fn_config_makefile dlls/wlanapi enable_wlanapi
  20112. wine_fn_config_makefile dlls/wlanapi/tests enable_tests
  20113. wine_fn_config_makefile dlls/wlanui enable_wlanui
  20114. wine_fn_config_makefile dlls/wldap32 enable_wldap32
  20115. wine_fn_config_makefile dlls/wldap32/tests enable_tests
  20116. wine_fn_config_makefile dlls/wmadmod enable_wmadmod
  20117. wine_fn_config_makefile dlls/wmadmod/tests enable_tests
  20118. wine_fn_config_makefile dlls/wmasf enable_wmasf
  20119. wine_fn_config_makefile dlls/wmi enable_wmi
  20120. wine_fn_config_makefile dlls/wmiutils enable_wmiutils
  20121. wine_fn_config_makefile dlls/wmiutils/tests enable_tests
  20122. wine_fn_config_makefile dlls/wmp enable_wmp
  20123. wine_fn_config_makefile dlls/wmp/tests enable_tests
  20124. wine_fn_config_makefile dlls/wmphoto enable_wmphoto
  20125. wine_fn_config_makefile dlls/wmvcore enable_wmvcore
  20126. wine_fn_config_makefile dlls/wmvcore/tests enable_tests
  20127. wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
  20128. wine_fn_config_makefile dlls/wow32 enable_win16
  20129. wine_fn_config_makefile dlls/wow64 enable_wow64
  20130. wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
  20131. wine_fn_config_makefile dlls/wow64win enable_wow64win
  20132. wine_fn_config_makefile dlls/wpc enable_wpc
  20133. wine_fn_config_makefile dlls/wpc/tests enable_tests
  20134. wine_fn_config_makefile dlls/wpcap enable_wpcap
  20135. wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
  20136. wine_fn_config_makefile dlls/ws2_32/tests enable_tests
  20137. wine_fn_config_makefile dlls/wsdapi enable_wsdapi
  20138. wine_fn_config_makefile dlls/wsdapi/tests enable_tests
  20139. wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
  20140. wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
  20141. wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
  20142. wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
  20143. wine_fn_config_makefile dlls/wsock32 enable_wsock32
  20144. wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
  20145. wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
  20146. wine_fn_config_makefile dlls/wuapi enable_wuapi
  20147. wine_fn_config_makefile dlls/wuaueng enable_wuaueng
  20148. wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
  20149. wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
  20150. wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
  20151. wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
  20152. wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
  20153. wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
  20154. wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
  20155. wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
  20156. wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
  20157. wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
  20158. wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
  20159. wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
  20160. wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
  20161. wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
  20162. wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
  20163. wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
  20164. wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
  20165. wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
  20166. wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
  20167. wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
  20168. wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
  20169. wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
  20170. wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
  20171. wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
  20172. wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
  20173. wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
  20174. wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
  20175. wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
  20176. wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
  20177. wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
  20178. wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
  20179. wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
  20180. wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
  20181. wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
  20182. wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
  20183. wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
  20184. wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
  20185. wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
  20186. wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
  20187. wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
  20188. wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
  20189. wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
  20190. wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
  20191. wine_fn_config_makefile dlls/xmllite enable_xmllite
  20192. wine_fn_config_makefile dlls/xmllite/tests enable_tests
  20193. wine_fn_config_makefile dlls/xolehlp enable_xolehlp
  20194. wine_fn_config_makefile dlls/xpsprint enable_xpsprint
  20195. wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
  20196. wine_fn_config_makefile fonts enable_fonts
  20197. wine_fn_config_makefile include enable_include
  20198. wine_fn_config_makefile libs/adsiid enable_adsiid
  20199. wine_fn_config_makefile libs/dmoguids enable_dmoguids
  20200. wine_fn_config_makefile libs/dxerr8 enable_dxerr8
  20201. wine_fn_config_makefile libs/dxerr9 enable_dxerr9
  20202. wine_fn_config_makefile libs/dxguid enable_dxguid
  20203. wine_fn_config_makefile libs/faudio enable_faudio
  20204. wine_fn_config_makefile libs/gsm enable_gsm
  20205. wine_fn_config_makefile libs/jpeg enable_jpeg
  20206. wine_fn_config_makefile libs/jxr enable_jxr
  20207. wine_fn_config_makefile libs/lcms2 enable_lcms2
  20208. wine_fn_config_makefile libs/mfuuid enable_mfuuid
  20209. wine_fn_config_makefile libs/mpg123 enable_mpg123
  20210. wine_fn_config_makefile libs/png enable_png
  20211. wine_fn_config_makefile libs/strmbase enable_strmbase
  20212. wine_fn_config_makefile libs/strmiids enable_strmiids
  20213. wine_fn_config_makefile libs/tiff enable_tiff
  20214. wine_fn_config_makefile libs/uuid enable_uuid
  20215. wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
  20216. wine_fn_config_makefile libs/wine enable_wine
  20217. wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
  20218. wine_fn_config_makefile libs/xml2 enable_xml2
  20219. wine_fn_config_makefile libs/xslt enable_xslt
  20220. wine_fn_config_makefile libs/zlib enable_zlib
  20221. wine_fn_config_makefile loader enable_loader
  20222. wine_fn_config_makefile nls enable_nls
  20223. wine_fn_config_makefile po enable_po
  20224. wine_fn_config_makefile programs/arp enable_arp
  20225. wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
  20226. wine_fn_config_makefile programs/attrib enable_attrib
  20227. wine_fn_config_makefile programs/cabarc enable_cabarc
  20228. wine_fn_config_makefile programs/cacls enable_cacls
  20229. wine_fn_config_makefile programs/chcp.com enable_chcp_com
  20230. wine_fn_config_makefile programs/clock enable_clock
  20231. wine_fn_config_makefile programs/cmd enable_cmd
  20232. wine_fn_config_makefile programs/cmd/tests enable_tests
  20233. wine_fn_config_makefile programs/conhost enable_conhost
  20234. wine_fn_config_makefile programs/conhost/tests enable_tests
  20235. wine_fn_config_makefile programs/control enable_control
  20236. wine_fn_config_makefile programs/cscript enable_cscript
  20237. wine_fn_config_makefile programs/dism enable_dism
  20238. wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
  20239. wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
  20240. wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
  20241. wine_fn_config_makefile programs/dxdiag enable_dxdiag
  20242. wine_fn_config_makefile programs/eject enable_eject
  20243. wine_fn_config_makefile programs/expand enable_expand
  20244. wine_fn_config_makefile programs/explorer enable_explorer
  20245. wine_fn_config_makefile programs/extrac32 enable_extrac32
  20246. wine_fn_config_makefile programs/fc enable_fc
  20247. wine_fn_config_makefile programs/find enable_find
  20248. wine_fn_config_makefile programs/find/tests enable_tests
  20249. wine_fn_config_makefile programs/findstr enable_findstr
  20250. wine_fn_config_makefile programs/fsutil enable_fsutil
  20251. wine_fn_config_makefile programs/fsutil/tests enable_tests
  20252. wine_fn_config_makefile programs/hh enable_hh
  20253. wine_fn_config_makefile programs/hostname enable_hostname
  20254. wine_fn_config_makefile programs/icacls enable_icacls
  20255. wine_fn_config_makefile programs/icinfo enable_icinfo
  20256. wine_fn_config_makefile programs/iexplore enable_iexplore
  20257. wine_fn_config_makefile programs/ipconfig enable_ipconfig
  20258. wine_fn_config_makefile programs/lodctr enable_lodctr
  20259. wine_fn_config_makefile programs/mofcomp enable_mofcomp
  20260. wine_fn_config_makefile programs/mshta enable_mshta
  20261. wine_fn_config_makefile programs/msidb enable_msidb
  20262. wine_fn_config_makefile programs/msiexec enable_msiexec
  20263. wine_fn_config_makefile programs/msinfo32 enable_msinfo32
  20264. wine_fn_config_makefile programs/net enable_net
  20265. wine_fn_config_makefile programs/netsh enable_netsh
  20266. wine_fn_config_makefile programs/netstat enable_netstat
  20267. wine_fn_config_makefile programs/ngen enable_ngen
  20268. wine_fn_config_makefile programs/notepad enable_notepad
  20269. wine_fn_config_makefile programs/oleview enable_oleview
  20270. wine_fn_config_makefile programs/ping enable_ping
  20271. wine_fn_config_makefile programs/plugplay enable_plugplay
  20272. wine_fn_config_makefile programs/powershell enable_powershell
  20273. wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
  20274. wine_fn_config_makefile programs/progman enable_progman
  20275. wine_fn_config_makefile programs/reg enable_reg
  20276. wine_fn_config_makefile programs/reg/tests enable_tests
  20277. wine_fn_config_makefile programs/regasm enable_regasm
  20278. wine_fn_config_makefile programs/regedit enable_regedit
  20279. wine_fn_config_makefile programs/regedit/tests enable_tests
  20280. wine_fn_config_makefile programs/regini enable_regini
  20281. wine_fn_config_makefile programs/regsvcs enable_regsvcs
  20282. wine_fn_config_makefile programs/regsvr32 enable_regsvr32
  20283. wine_fn_config_makefile programs/robocopy enable_robocopy
  20284. wine_fn_config_makefile programs/rpcss enable_rpcss
  20285. wine_fn_config_makefile programs/rundll.exe16 enable_win16
  20286. wine_fn_config_makefile programs/rundll32 enable_rundll32
  20287. wine_fn_config_makefile programs/sc enable_sc
  20288. wine_fn_config_makefile programs/schtasks enable_schtasks
  20289. wine_fn_config_makefile programs/schtasks/tests enable_tests
  20290. wine_fn_config_makefile programs/sdbinst enable_sdbinst
  20291. wine_fn_config_makefile programs/secedit enable_secedit
  20292. wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
  20293. wine_fn_config_makefile programs/services enable_services
  20294. wine_fn_config_makefile programs/services/tests enable_tests
  20295. wine_fn_config_makefile programs/shutdown enable_shutdown
  20296. wine_fn_config_makefile programs/spoolsv enable_spoolsv
  20297. wine_fn_config_makefile programs/start enable_start
  20298. wine_fn_config_makefile programs/subst enable_subst
  20299. wine_fn_config_makefile programs/svchost enable_svchost
  20300. wine_fn_config_makefile programs/systeminfo enable_systeminfo
  20301. wine_fn_config_makefile programs/taskkill enable_taskkill
  20302. wine_fn_config_makefile programs/tasklist enable_tasklist
  20303. wine_fn_config_makefile programs/taskmgr enable_taskmgr
  20304. wine_fn_config_makefile programs/termsv enable_termsv
  20305. wine_fn_config_makefile programs/uninstaller enable_uninstaller
  20306. wine_fn_config_makefile programs/unlodctr enable_unlodctr
  20307. wine_fn_config_makefile programs/view enable_view
  20308. wine_fn_config_makefile programs/wevtutil enable_wevtutil
  20309. wine_fn_config_makefile programs/where enable_where
  20310. wine_fn_config_makefile programs/whoami enable_whoami
  20311. wine_fn_config_makefile programs/wineboot enable_wineboot
  20312. wine_fn_config_makefile programs/winebrowser enable_winebrowser
  20313. wine_fn_config_makefile programs/winecfg enable_winecfg
  20314. wine_fn_config_makefile programs/wineconsole enable_wineconsole
  20315. wine_fn_config_makefile programs/winedbg enable_winedbg
  20316. wine_fn_config_makefile programs/winedevice enable_winedevice
  20317. wine_fn_config_makefile programs/winefile enable_winefile
  20318. wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
  20319. wine_fn_config_makefile programs/winemine enable_winemine
  20320. wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
  20321. wine_fn_config_makefile programs/winepath enable_winepath
  20322. wine_fn_config_makefile programs/winetest enable_winetest
  20323. wine_fn_config_makefile programs/winevdm enable_win16
  20324. wine_fn_config_makefile programs/winhelp.exe16 enable_win16
  20325. wine_fn_config_makefile programs/winhlp32 enable_winhlp32
  20326. wine_fn_config_makefile programs/winmgmt enable_winmgmt
  20327. wine_fn_config_makefile programs/winoldap.mod16 enable_win16
  20328. wine_fn_config_makefile programs/winver enable_winver
  20329. wine_fn_config_makefile programs/wmic enable_wmic
  20330. wine_fn_config_makefile programs/wmplayer enable_wmplayer
  20331. wine_fn_config_makefile programs/wordpad enable_wordpad
  20332. wine_fn_config_makefile programs/write enable_write
  20333. wine_fn_config_makefile programs/wscript enable_wscript
  20334. wine_fn_config_makefile programs/wscript/tests enable_tests
  20335. wine_fn_config_makefile programs/wuauserv enable_wuauserv
  20336. wine_fn_config_makefile programs/wusa enable_wusa
  20337. wine_fn_config_makefile programs/xcopy enable_xcopy
  20338. wine_fn_config_makefile programs/xcopy/tests enable_tests
  20339. wine_fn_config_makefile server enable_server
  20340. test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
  20341. test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
  20342. test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
  20343. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
  20344. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
  20345. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
  20346. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
  20347. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
  20348. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
  20349. wine_fn_append_file CONFIGURE_TARGETS "TAGS"
  20350. wine_fn_append_file CONFIGURE_TARGETS "tags"
  20351. wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
  20352. wine_fn_append_file CONFIGURE_TARGETS "config.log"
  20353. wine_fn_append_file CONFIGURE_TARGETS "config.status"
  20354. wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
  20355. wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
  20356. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
  20357. if test "x$enable_tools" != xno
  20358. then
  20359. wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
  20360. ac_config_commands="$ac_config_commands tools/makedep"
  20361. fi
  20362. ac_config_commands="$ac_config_commands Makefile"
  20363. SHELL=/bin/sh
  20364. wine_fn_append_rule "all: wine
  20365. @echo \"Wine build complete.\"
  20366. .INIT: Makefile
  20367. .MAKEFILEDEPS:
  20368. all: Makefile
  20369. Makefile: config.status \$(MAKEDEP)
  20370. @./config.status Makefile
  20371. depend: \$(MAKEDEP)
  20372. \$(MAKEDEP)$makedep_flags"
  20373. wine_fn_append_rule "config.status: ${wine_srcdir}configure
  20374. @./config.status --recheck
  20375. include/config.h: include/stamp-h
  20376. include/stamp-h: ${wine_srcdir}include/config.h.in config.status
  20377. @./config.status include/config.h include/stamp-h"
  20378. if test "x$enable_maintainer_mode" = xyes
  20379. then
  20380. wine_fn_append_rule "configure: configure.ac aclocal.m4
  20381. autoconf --warnings=all
  20382. include/config.h.in: include/stamp-h.in
  20383. include/stamp-h.in: configure.ac aclocal.m4
  20384. autoheader --warnings=all
  20385. @echo timestamp > \$@"
  20386. fi
  20387. if test "x$enable_tools" != xno
  20388. then
  20389. wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
  20390. @./config.status tools/makedep
  20391. Makefile: tools/makedep$ac_exeext"
  20392. else
  20393. wine_fn_append_rule "\$(MAKEDEP):
  20394. @echo \"You need to run make in $toolsdir first\" && false"
  20395. fi
  20396. if test -n "$with_wine64"
  20397. then
  20398. case "$with_wine64" in
  20399. /*) reldir="" ;;
  20400. *) reldir="../" ;;
  20401. esac
  20402. rm -f fonts server 2>/dev/null
  20403. wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
  20404. loader/wine64 loader/wine64-preloader:
  20405. rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
  20406. $with_wine64/loader/wine:
  20407. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
  20408. $with_wine64/loader/wine-preloader:
  20409. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
  20410. clean::
  20411. rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
  20412. else
  20413. TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
  20414. TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
  20415. fonts \
  20416. loader/wine.inf \
  20417. nls \
  20418. programs/msidb/msidb \
  20419. programs/msiexec/msiexec \
  20420. programs/notepad/notepad \
  20421. programs/regedit/regedit \
  20422. programs/regsvr32/regsvr32 \
  20423. programs/wineboot/wineboot \
  20424. programs/winecfg/winecfg \
  20425. programs/wineconsole/wineconsole \
  20426. programs/winedbg/winedbg \
  20427. programs/winefile/winefile \
  20428. programs/winemine/winemine \
  20429. programs/winepath/winepath \
  20430. server/wineserver"
  20431. case $host_os in
  20432. cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
  20433. *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
  20434. esac
  20435. fi
  20436. wine_fn_append_rule "distclean:: clean
  20437. rm -rf autom4te.cache
  20438. maintainer-clean::
  20439. rm -f configure include/config.h.in"
  20440. wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
  20441. @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)
  20442. programs/winetest/build.rc: dummy
  20443. @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)
  20444. programs/winetest/build.nfo:
  20445. @-\$(CC) -v 2>\$@
  20446. 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
  20447. cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
  20448. mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
  20449. TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
  20450. wine_fn_append_rule "TAGS etags:
  20451. rm -f TAGS
  20452. (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
  20453. tags ctags:
  20454. rm -f tags
  20455. (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
  20456. dummy:
  20457. .PHONY: depend dummy install-manpages"
  20458. printf "%s\n" " done" >&6
  20459. cat >confcache <<\_ACEOF
  20460. # This file is a shell script that caches the results of configure
  20461. # tests run on this system so they can be shared between configure
  20462. # scripts and configure runs, see configure's option --config-cache.
  20463. # It is not useful on other systems. If it contains results you don't
  20464. # want to keep, you may remove or edit it.
  20465. #
  20466. # config.status only pays attention to the cache file if you give it
  20467. # the --recheck option to rerun configure.
  20468. #
  20469. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  20470. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  20471. # following values.
  20472. _ACEOF
  20473. # The following way of writing the cache mishandles newlines in values,
  20474. # but we know of no workaround that is simple, portable, and efficient.
  20475. # So, we kill variables containing newlines.
  20476. # Ultrix sh set writes to stderr and can't be redirected directly,
  20477. # and sets the high bit in the cache file unless we assign to the vars.
  20478. (
  20479. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  20480. eval ac_val=\$$ac_var
  20481. case $ac_val in #(
  20482. *${as_nl}*)
  20483. case $ac_var in #(
  20484. *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  20485. printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  20486. esac
  20487. case $ac_var in #(
  20488. _ | IFS | as_nl) ;; #(
  20489. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  20490. *) { eval $ac_var=; unset $ac_var;} ;;
  20491. esac ;;
  20492. esac
  20493. done
  20494. (set) 2>&1 |
  20495. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  20496. *${as_nl}ac_space=\ *)
  20497. # `set' does not quote correctly, so add quotes: double-quote
  20498. # substitution turns \\\\ into \\, and sed turns \\ into \.
  20499. sed -n \
  20500. "s/'/'\\\\''/g;
  20501. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  20502. ;; #(
  20503. *)
  20504. # `set' quotes correctly as required by POSIX, so do not add quotes.
  20505. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  20506. ;;
  20507. esac |
  20508. sort
  20509. ) |
  20510. sed '
  20511. /^ac_cv_env_/b end
  20512. t clear
  20513. :clear
  20514. s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
  20515. t end
  20516. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  20517. :end' >>confcache
  20518. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  20519. if test -w "$cache_file"; then
  20520. if test "x$cache_file" != "x/dev/null"; then
  20521. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  20522. printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
  20523. if test ! -f "$cache_file" || test -h "$cache_file"; then
  20524. cat confcache >"$cache_file"
  20525. else
  20526. case $cache_file in #(
  20527. */* | ?:*)
  20528. mv -f confcache "$cache_file"$$ &&
  20529. mv -f "$cache_file"$$ "$cache_file" ;; #(
  20530. *)
  20531. mv -f confcache "$cache_file" ;;
  20532. esac
  20533. fi
  20534. fi
  20535. else
  20536. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  20537. printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
  20538. fi
  20539. fi
  20540. rm -f confcache
  20541. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  20542. # Let make expand exec_prefix.
  20543. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  20544. DEFS=-DHAVE_CONFIG_H
  20545. ac_libobjs=
  20546. ac_ltlibobjs=
  20547. U=
  20548. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  20549. # 1. Remove the extension, and $U if already installed.
  20550. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  20551. ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
  20552. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  20553. # will be set to the directory where LIBOBJS objects are built.
  20554. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  20555. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  20556. done
  20557. LIBOBJS=$ac_libobjs
  20558. LTLIBOBJS=$ac_ltlibobjs
  20559. : "${CONFIG_STATUS=./config.status}"
  20560. ac_write_fail=0
  20561. ac_clean_files_save=$ac_clean_files
  20562. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  20563. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  20564. printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
  20565. as_write_fail=0
  20566. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  20567. #! $SHELL
  20568. # Generated by $as_me.
  20569. # Run this file to recreate the current configuration.
  20570. # Compiler output produced by configure, useful for debugging
  20571. # configure, is in config.log if it exists.
  20572. debug=false
  20573. ac_cs_recheck=false
  20574. ac_cs_silent=false
  20575. SHELL=\${CONFIG_SHELL-$SHELL}
  20576. export SHELL
  20577. _ASEOF
  20578. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  20579. ## -------------------- ##
  20580. ## M4sh Initialization. ##
  20581. ## -------------------- ##
  20582. # Be more Bourne compatible
  20583. DUALCASE=1; export DUALCASE # for MKS sh
  20584. as_nop=:
  20585. if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  20586. then :
  20587. emulate sh
  20588. NULLCMD=:
  20589. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20590. # is contrary to our usage. Disable this feature.
  20591. alias -g '${1+"$@"}'='"$@"'
  20592. setopt NO_GLOB_SUBST
  20593. else $as_nop
  20594. case `(set -o) 2>/dev/null` in #(
  20595. *posix*) :
  20596. set -o posix ;; #(
  20597. *) :
  20598. ;;
  20599. esac
  20600. fi
  20601. # Reset variables that may have inherited troublesome values from
  20602. # the environment.
  20603. # IFS needs to be set, to space, tab, and newline, in precisely that order.
  20604. # (If _AS_PATH_WALK were called with IFS unset, it would have the
  20605. # side effect of setting IFS to empty, thus disabling word splitting.)
  20606. # Quoting is to prevent editors from complaining about space-tab.
  20607. as_nl='
  20608. '
  20609. export as_nl
  20610. IFS=" "" $as_nl"
  20611. PS1='$ '
  20612. PS2='> '
  20613. PS4='+ '
  20614. # Ensure predictable behavior from utilities with locale-dependent output.
  20615. LC_ALL=C
  20616. export LC_ALL
  20617. LANGUAGE=C
  20618. export LANGUAGE
  20619. # We cannot yet rely on "unset" to work, but we need these variables
  20620. # to be unset--not just set to an empty or harmless value--now, to
  20621. # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
  20622. # also avoids known problems related to "unset" and subshell syntax
  20623. # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  20624. for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  20625. do eval test \${$as_var+y} \
  20626. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  20627. done
  20628. # Ensure that fds 0, 1, and 2 are open.
  20629. if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  20630. if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  20631. if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
  20632. # The user is always right.
  20633. if ${PATH_SEPARATOR+false} :; then
  20634. PATH_SEPARATOR=:
  20635. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  20636. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  20637. PATH_SEPARATOR=';'
  20638. }
  20639. fi
  20640. # Find who we are. Look in the path if we contain no directory separator.
  20641. as_myself=
  20642. case $0 in #((
  20643. *[\\/]* ) as_myself=$0 ;;
  20644. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20645. for as_dir in $PATH
  20646. do
  20647. IFS=$as_save_IFS
  20648. case $as_dir in #(((
  20649. '') as_dir=./ ;;
  20650. */) ;;
  20651. *) as_dir=$as_dir/ ;;
  20652. esac
  20653. test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  20654. done
  20655. IFS=$as_save_IFS
  20656. ;;
  20657. esac
  20658. # We did not find ourselves, most probably we were run as `sh COMMAND'
  20659. # in which case we are not to be found in the path.
  20660. if test "x$as_myself" = x; then
  20661. as_myself=$0
  20662. fi
  20663. if test ! -f "$as_myself"; then
  20664. printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  20665. exit 1
  20666. fi
  20667. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  20668. # ----------------------------------------
  20669. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  20670. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  20671. # script with STATUS, using 1 if that was 0.
  20672. as_fn_error ()
  20673. {
  20674. as_status=$1; test $as_status -eq 0 && as_status=1
  20675. if test "$4"; then
  20676. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  20677. printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  20678. fi
  20679. printf "%s\n" "$as_me: error: $2" >&2
  20680. as_fn_exit $as_status
  20681. } # as_fn_error
  20682. # as_fn_set_status STATUS
  20683. # -----------------------
  20684. # Set $? to STATUS, without forking.
  20685. as_fn_set_status ()
  20686. {
  20687. return $1
  20688. } # as_fn_set_status
  20689. # as_fn_exit STATUS
  20690. # -----------------
  20691. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  20692. as_fn_exit ()
  20693. {
  20694. set +e
  20695. as_fn_set_status $1
  20696. exit $1
  20697. } # as_fn_exit
  20698. # as_fn_unset VAR
  20699. # ---------------
  20700. # Portably unset VAR.
  20701. as_fn_unset ()
  20702. {
  20703. { eval $1=; unset $1;}
  20704. }
  20705. as_unset=as_fn_unset
  20706. # as_fn_append VAR VALUE
  20707. # ----------------------
  20708. # Append the text in VALUE to the end of the definition contained in VAR. Take
  20709. # advantage of any shell optimizations that allow amortized linear growth over
  20710. # repeated appends, instead of the typical quadratic growth present in naive
  20711. # implementations.
  20712. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  20713. then :
  20714. eval 'as_fn_append ()
  20715. {
  20716. eval $1+=\$2
  20717. }'
  20718. else $as_nop
  20719. as_fn_append ()
  20720. {
  20721. eval $1=\$$1\$2
  20722. }
  20723. fi # as_fn_append
  20724. # as_fn_arith ARG...
  20725. # ------------------
  20726. # Perform arithmetic evaluation on the ARGs, and store the result in the
  20727. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  20728. # must be portable across $(()) and expr.
  20729. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  20730. then :
  20731. eval 'as_fn_arith ()
  20732. {
  20733. as_val=$(( $* ))
  20734. }'
  20735. else $as_nop
  20736. as_fn_arith ()
  20737. {
  20738. as_val=`expr "$@" || test $? -eq 1`
  20739. }
  20740. fi # as_fn_arith
  20741. if expr a : '\(a\)' >/dev/null 2>&1 &&
  20742. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  20743. as_expr=expr
  20744. else
  20745. as_expr=false
  20746. fi
  20747. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  20748. as_basename=basename
  20749. else
  20750. as_basename=false
  20751. fi
  20752. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  20753. as_dirname=dirname
  20754. else
  20755. as_dirname=false
  20756. fi
  20757. as_me=`$as_basename -- "$0" ||
  20758. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  20759. X"$0" : 'X\(//\)$' \| \
  20760. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  20761. printf "%s\n" X/"$0" |
  20762. sed '/^.*\/\([^/][^/]*\)\/*$/{
  20763. s//\1/
  20764. q
  20765. }
  20766. /^X\/\(\/\/\)$/{
  20767. s//\1/
  20768. q
  20769. }
  20770. /^X\/\(\/\).*/{
  20771. s//\1/
  20772. q
  20773. }
  20774. s/.*/./; q'`
  20775. # Avoid depending upon Character Ranges.
  20776. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  20777. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  20778. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  20779. as_cr_digits='0123456789'
  20780. as_cr_alnum=$as_cr_Letters$as_cr_digits
  20781. # Determine whether it's possible to make 'echo' print without a newline.
  20782. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  20783. # for compatibility with existing Makefiles.
  20784. ECHO_C= ECHO_N= ECHO_T=
  20785. case `echo -n x` in #(((((
  20786. -n*)
  20787. case `echo 'xy\c'` in
  20788. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  20789. xy) ECHO_C='\c';;
  20790. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  20791. ECHO_T=' ';;
  20792. esac;;
  20793. *)
  20794. ECHO_N='-n';;
  20795. esac
  20796. # For backward compatibility with old third-party macros, we provide
  20797. # the shell variables $as_echo and $as_echo_n. New code should use
  20798. # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  20799. as_echo='printf %s\n'
  20800. as_echo_n='printf %s'
  20801. rm -f conf$$ conf$$.exe conf$$.file
  20802. if test -d conf$$.dir; then
  20803. rm -f conf$$.dir/conf$$.file
  20804. else
  20805. rm -f conf$$.dir
  20806. mkdir conf$$.dir 2>/dev/null
  20807. fi
  20808. if (echo >conf$$.file) 2>/dev/null; then
  20809. if ln -s conf$$.file conf$$ 2>/dev/null; then
  20810. as_ln_s='ln -s'
  20811. # ... but there are two gotchas:
  20812. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  20813. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  20814. # In both cases, we have to default to `cp -pR'.
  20815. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  20816. as_ln_s='cp -pR'
  20817. elif ln conf$$.file conf$$ 2>/dev/null; then
  20818. as_ln_s=ln
  20819. else
  20820. as_ln_s='cp -pR'
  20821. fi
  20822. else
  20823. as_ln_s='cp -pR'
  20824. fi
  20825. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  20826. rmdir conf$$.dir 2>/dev/null
  20827. # as_fn_mkdir_p
  20828. # -------------
  20829. # Create "$as_dir" as a directory, including parents if necessary.
  20830. as_fn_mkdir_p ()
  20831. {
  20832. case $as_dir in #(
  20833. -*) as_dir=./$as_dir;;
  20834. esac
  20835. test -d "$as_dir" || eval $as_mkdir_p || {
  20836. as_dirs=
  20837. while :; do
  20838. case $as_dir in #(
  20839. *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20840. *) as_qdir=$as_dir;;
  20841. esac
  20842. as_dirs="'$as_qdir' $as_dirs"
  20843. as_dir=`$as_dirname -- "$as_dir" ||
  20844. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20845. X"$as_dir" : 'X\(//\)[^/]' \| \
  20846. X"$as_dir" : 'X\(//\)$' \| \
  20847. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20848. printf "%s\n" X"$as_dir" |
  20849. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20850. s//\1/
  20851. q
  20852. }
  20853. /^X\(\/\/\)[^/].*/{
  20854. s//\1/
  20855. q
  20856. }
  20857. /^X\(\/\/\)$/{
  20858. s//\1/
  20859. q
  20860. }
  20861. /^X\(\/\).*/{
  20862. s//\1/
  20863. q
  20864. }
  20865. s/.*/./; q'`
  20866. test -d "$as_dir" && break
  20867. done
  20868. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20869. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  20870. } # as_fn_mkdir_p
  20871. if mkdir -p . 2>/dev/null; then
  20872. as_mkdir_p='mkdir -p "$as_dir"'
  20873. else
  20874. test -d ./-p && rmdir ./-p
  20875. as_mkdir_p=false
  20876. fi
  20877. # as_fn_executable_p FILE
  20878. # -----------------------
  20879. # Test if FILE is an executable regular file.
  20880. as_fn_executable_p ()
  20881. {
  20882. test -f "$1" && test -x "$1"
  20883. } # as_fn_executable_p
  20884. as_test_x='test -x'
  20885. as_executable_p=as_fn_executable_p
  20886. # Sed expression to map a string onto a valid CPP name.
  20887. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  20888. # Sed expression to map a string onto a valid variable name.
  20889. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  20890. exec 6>&1
  20891. ## ----------------------------------- ##
  20892. ## Main body of $CONFIG_STATUS script. ##
  20893. ## ----------------------------------- ##
  20894. _ASEOF
  20895. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  20896. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20897. # Save the log message, to keep $0 and so on meaningful, and to
  20898. # report actual input values of CONFIG_FILES etc. instead of their
  20899. # values after options handling.
  20900. ac_log="
  20901. This file was extended by Wine $as_me 7.2, which was
  20902. generated by GNU Autoconf 2.71. Invocation command line was
  20903. CONFIG_FILES = $CONFIG_FILES
  20904. CONFIG_HEADERS = $CONFIG_HEADERS
  20905. CONFIG_LINKS = $CONFIG_LINKS
  20906. CONFIG_COMMANDS = $CONFIG_COMMANDS
  20907. $ $0 $@
  20908. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  20909. "
  20910. _ACEOF
  20911. case $ac_config_headers in *"
  20912. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  20913. esac
  20914. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20915. # Files that config.status was made for.
  20916. config_headers="$ac_config_headers"
  20917. config_links="$ac_config_links"
  20918. config_commands="$ac_config_commands"
  20919. _ACEOF
  20920. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20921. ac_cs_usage="\
  20922. \`$as_me' instantiates files and other configuration actions
  20923. from templates according to the current configuration. Unless the files
  20924. and actions are specified as TAGs, all are instantiated by default.
  20925. Usage: $0 [OPTION]... [TAG]...
  20926. -h, --help print this help, then exit
  20927. -V, --version print version number and configuration settings, then exit
  20928. --config print configuration, then exit
  20929. -q, --quiet, --silent
  20930. do not print progress messages
  20931. -d, --debug don't remove temporary files
  20932. --recheck update $as_me by reconfiguring in the same conditions
  20933. --header=FILE[:TEMPLATE]
  20934. instantiate the configuration header FILE
  20935. Configuration headers:
  20936. $config_headers
  20937. Configuration links:
  20938. $config_links
  20939. Configuration commands:
  20940. $config_commands
  20941. Report bugs to <wine-devel@winehq.org>.
  20942. Wine home page: <https://www.winehq.org>."
  20943. _ACEOF
  20944. ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
  20945. ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
  20946. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20947. ac_cs_config='$ac_cs_config_escaped'
  20948. ac_cs_version="\\
  20949. Wine config.status 7.2
  20950. configured by $0, generated by GNU Autoconf 2.71,
  20951. with options \\"\$ac_cs_config\\"
  20952. Copyright (C) 2021 Free Software Foundation, Inc.
  20953. This config.status script is free software; the Free Software Foundation
  20954. gives unlimited permission to copy, distribute and modify it."
  20955. ac_pwd='$ac_pwd'
  20956. srcdir='$srcdir'
  20957. test -n "\$AWK" || AWK=awk
  20958. _ACEOF
  20959. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20960. # The default lists apply if the user does not specify any file.
  20961. ac_need_defaults=:
  20962. while test $# != 0
  20963. do
  20964. case $1 in
  20965. --*=?*)
  20966. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20967. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  20968. ac_shift=:
  20969. ;;
  20970. --*=)
  20971. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20972. ac_optarg=
  20973. ac_shift=:
  20974. ;;
  20975. *)
  20976. ac_option=$1
  20977. ac_optarg=$2
  20978. ac_shift=shift
  20979. ;;
  20980. esac
  20981. case $ac_option in
  20982. # Handling of the options.
  20983. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  20984. ac_cs_recheck=: ;;
  20985. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  20986. printf "%s\n" "$ac_cs_version"; exit ;;
  20987. --config | --confi | --conf | --con | --co | --c )
  20988. printf "%s\n" "$ac_cs_config"; exit ;;
  20989. --debug | --debu | --deb | --de | --d | -d )
  20990. debug=: ;;
  20991. --header | --heade | --head | --hea )
  20992. $ac_shift
  20993. case $ac_optarg in
  20994. *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  20995. esac
  20996. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  20997. ac_need_defaults=false;;
  20998. --he | --h)
  20999. # Conflict between --help and --header
  21000. as_fn_error $? "ambiguous option: \`$1'
  21001. Try \`$0 --help' for more information.";;
  21002. --help | --hel | -h )
  21003. printf "%s\n" "$ac_cs_usage"; exit ;;
  21004. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  21005. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  21006. ac_cs_silent=: ;;
  21007. # This is an error.
  21008. -*) as_fn_error $? "unrecognized option: \`$1'
  21009. Try \`$0 --help' for more information." ;;
  21010. *) as_fn_append ac_config_targets " $1"
  21011. ac_need_defaults=false ;;
  21012. esac
  21013. shift
  21014. done
  21015. ac_configure_extra_args=
  21016. if $ac_cs_silent; then
  21017. exec 6>/dev/null
  21018. ac_configure_extra_args="$ac_configure_extra_args --silent"
  21019. fi
  21020. _ACEOF
  21021. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21022. if \$ac_cs_recheck; then
  21023. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  21024. shift
  21025. \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
  21026. CONFIG_SHELL='$SHELL'
  21027. export CONFIG_SHELL
  21028. exec "\$@"
  21029. fi
  21030. _ACEOF
  21031. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21032. exec 5>>config.log
  21033. {
  21034. echo
  21035. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  21036. ## Running $as_me. ##
  21037. _ASBOX
  21038. printf "%s\n" "$ac_log"
  21039. } >&5
  21040. _ACEOF
  21041. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21042. #
  21043. # INIT-COMMANDS
  21044. #
  21045. wine_fn_output_makedep ()
  21046. {
  21047. as_dir=tools; as_fn_mkdir_p
  21048. $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
  21049. }
  21050. wine_fn_output_makefile ()
  21051. {
  21052. cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
  21053. # This Makefile understands the following targets:
  21054. #
  21055. # all (default): build wine
  21056. # clean: remove all intermediate files
  21057. # distclean: also remove all files created by configure
  21058. # test: run tests
  21059. # testclean: clean test results to force running all tests again
  21060. # install-lib: install libraries needed to run applications
  21061. # install-dev: install development environment
  21062. # install: install everything
  21063. # uninstall: uninstall everything
  21064. # ctags: create a tags file for vim and others.
  21065. # etags: create a TAGS file for Emacs.
  21066. SHELL = $SHELL
  21067. PATH_SEPARATOR = $PATH_SEPARATOR
  21068. PACKAGE_NAME = $PACKAGE_NAME
  21069. PACKAGE_TARNAME = $PACKAGE_TARNAME
  21070. PACKAGE_VERSION = $PACKAGE_VERSION
  21071. PACKAGE_STRING = $PACKAGE_STRING
  21072. PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
  21073. PACKAGE_URL = $PACKAGE_URL
  21074. exec_prefix = $exec_prefix
  21075. prefix = $prefix
  21076. program_transform_name = $program_transform_name
  21077. bindir = $bindir
  21078. sbindir = $sbindir
  21079. libexecdir = $libexecdir
  21080. datarootdir = $datarootdir
  21081. datadir = $datadir
  21082. sysconfdir = $sysconfdir
  21083. sharedstatedir = $sharedstatedir
  21084. localstatedir = $localstatedir
  21085. runstatedir = $runstatedir
  21086. includedir = $includedir
  21087. oldincludedir = $oldincludedir
  21088. docdir = $docdir
  21089. infodir = $infodir
  21090. htmldir = $htmldir
  21091. dvidir = $dvidir
  21092. pdfdir = $pdfdir
  21093. psdir = $psdir
  21094. libdir = $libdir
  21095. localedir = $localedir
  21096. mandir = $mandir
  21097. DEFS = $DEFS
  21098. ECHO_C = $ECHO_C
  21099. ECHO_N = $ECHO_N
  21100. ECHO_T = $ECHO_T
  21101. LIBS = $LIBS
  21102. build_alias = $build_alias
  21103. host_alias = $host_alias
  21104. target_alias = $target_alias
  21105. system_dllpath = $system_dllpath
  21106. build = $build
  21107. build_cpu = $build_cpu
  21108. build_vendor = $build_vendor
  21109. build_os = $build_os
  21110. host = $host
  21111. host_cpu = $host_cpu
  21112. host_vendor = $host_vendor
  21113. host_os = $host_os
  21114. dlldir = $dlldir
  21115. fontdir = $fontdir
  21116. nlsdir = $nlsdir
  21117. srcdir = $srcdir
  21118. SET_MAKE = $SET_MAKE
  21119. CC = $CC
  21120. CFLAGS = $CFLAGS
  21121. LDFLAGS = $LDFLAGS
  21122. CPPFLAGS = $CPPFLAGS
  21123. ac_ct_CC = $ac_ct_CC
  21124. EXEEXT = $EXEEXT
  21125. OBJEXT = $OBJEXT
  21126. CXX = $CXX
  21127. CXXFLAGS = $CXXFLAGS
  21128. ac_ct_CXX = $ac_ct_CXX
  21129. CPPBIN = $CPPBIN
  21130. LD = $LD
  21131. TARGETFLAGS = $TARGETFLAGS
  21132. toolsext = $toolsext
  21133. toolsdir = $toolsdir
  21134. MAKEDEP = $MAKEDEP
  21135. RUNTESTFLAGS = $RUNTESTFLAGS
  21136. SED_CMD = $SED_CMD
  21137. FLEX = $FLEX
  21138. BISON = $BISON
  21139. AR = $AR
  21140. ac_ct_AR = $ac_ct_AR
  21141. STRIP = $STRIP
  21142. RANLIB = $RANLIB
  21143. LN_S = $LN_S
  21144. GREP = $GREP
  21145. EGREP = $EGREP
  21146. LDCONFIG = $LDCONFIG
  21147. MSGFMT = $MSGFMT
  21148. PKG_CONFIG = $PKG_CONFIG
  21149. FONTFORGE = $FONTFORGE
  21150. RSVG = $RSVG
  21151. CONVERT = $CONVERT
  21152. ICOTOOL = $ICOTOOL
  21153. I386_LIBS = $I386_LIBS
  21154. OPENGL_LIBS = $OPENGL_LIBS
  21155. DLLFLAGS = $DLLFLAGS
  21156. LDDLLFLAGS = $LDDLLFLAGS
  21157. LDEXECFLAGS = $LDEXECFLAGS
  21158. EXTRACFLAGS = $EXTRACFLAGS
  21159. UNIXDLLFLAGS = $UNIXDLLFLAGS
  21160. UNIXLDFLAGS = $UNIXLDFLAGS
  21161. TOP_INSTALL_LIB = $TOP_INSTALL_LIB
  21162. TOP_INSTALL_DEV = $TOP_INSTALL_DEV
  21163. WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
  21164. WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
  21165. LDD = $LDD
  21166. OTOOL = $OTOOL
  21167. READELF = $READELF
  21168. SUBDIRS = $SUBDIRS
  21169. DISABLED_SUBDIRS = $DISABLED_SUBDIRS
  21170. CONFIGURE_TARGETS = $CONFIGURE_TARGETS
  21171. WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
  21172. DLLTOOL = $DLLTOOL
  21173. OBJC = $OBJC
  21174. OBJCFLAGS = $OBJCFLAGS
  21175. ac_ct_OBJC = $ac_ct_OBJC
  21176. COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
  21177. IOKIT_LIBS = $IOKIT_LIBS
  21178. APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
  21179. CORESERVICES_LIBS = $CORESERVICES_LIBS
  21180. APPKIT_LIBS = $APPKIT_LIBS
  21181. SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
  21182. DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
  21183. SECURITY_LIBS = $SECURITY_LIBS
  21184. COREAUDIO_LIBS = $COREAUDIO_LIBS
  21185. OPENAL_LIBS = $OPENAL_LIBS
  21186. OPENCL_LIBS = $OPENCL_LIBS
  21187. CARBON_LIBS = $CARBON_LIBS
  21188. METAL_LIBS = $METAL_LIBS
  21189. LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
  21190. LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
  21191. WINELOADER_DEPENDS = $WINELOADER_DEPENDS
  21192. PRELINK = $PRELINK
  21193. LIBWINE_DEPENDS = $LIBWINE_DEPENDS
  21194. CROSSTARGET = $CROSSTARGET
  21195. CROSSCC = $CROSSCC
  21196. CROSSCFLAGS = $CROSSCFLAGS
  21197. EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
  21198. CROSSLDFLAGS = $CROSSLDFLAGS
  21199. DELAYLOADFLAG = $DELAYLOADFLAG
  21200. CROSSDEBUG = $CROSSDEBUG
  21201. EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
  21202. MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
  21203. FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
  21204. FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
  21205. GSM_PE_CFLAGS = $GSM_PE_CFLAGS
  21206. GSM_PE_LIBS = $GSM_PE_LIBS
  21207. JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
  21208. JPEG_PE_LIBS = $JPEG_PE_LIBS
  21209. JXR_PE_CFLAGS = $JXR_PE_CFLAGS
  21210. JXR_PE_LIBS = $JXR_PE_LIBS
  21211. LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
  21212. LCMS2_PE_LIBS = $LCMS2_PE_LIBS
  21213. MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
  21214. MPG123_PE_LIBS = $MPG123_PE_LIBS
  21215. PNG_PE_CFLAGS = $PNG_PE_CFLAGS
  21216. PNG_PE_LIBS = $PNG_PE_LIBS
  21217. TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
  21218. TIFF_PE_LIBS = $TIFF_PE_LIBS
  21219. XML2_PE_CFLAGS = $XML2_PE_CFLAGS
  21220. XML2_PE_LIBS = $XML2_PE_LIBS
  21221. XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
  21222. XSLT_PE_LIBS = $XSLT_PE_LIBS
  21223. ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
  21224. ZLIB_PE_LIBS = $ZLIB_PE_LIBS
  21225. PTHREAD_LIBS = $PTHREAD_LIBS
  21226. XMKMF = $XMKMF
  21227. CPP = $CPP
  21228. X_CFLAGS = $X_CFLAGS
  21229. X_PRE_LIBS = $X_PRE_LIBS
  21230. X_LIBS = $X_LIBS
  21231. X_EXTRA_LIBS = $X_EXTRA_LIBS
  21232. PCAP_LIBS = $PCAP_LIBS
  21233. INOTIFY_CFLAGS = $INOTIFY_CFLAGS
  21234. INOTIFY_LIBS = $INOTIFY_LIBS
  21235. DBUS_CFLAGS = $DBUS_CFLAGS
  21236. DBUS_LIBS = $DBUS_LIBS
  21237. GNUTLS_CFLAGS = $GNUTLS_CFLAGS
  21238. GNUTLS_LIBS = $GNUTLS_LIBS
  21239. SANE_CFLAGS = $SANE_CFLAGS
  21240. SANE_LIBS = $SANE_LIBS
  21241. USB_CFLAGS = $USB_CFLAGS
  21242. USB_LIBS = $USB_LIBS
  21243. GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
  21244. GPHOTO2_LIBS = $GPHOTO2_LIBS
  21245. GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
  21246. GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
  21247. RESOLV_LIBS = $RESOLV_LIBS
  21248. FREETYPE_CFLAGS = $FREETYPE_CFLAGS
  21249. FREETYPE_LIBS = $FREETYPE_LIBS
  21250. GETTEXTPO_LIBS = $GETTEXTPO_LIBS
  21251. PULSE_CFLAGS = $PULSE_CFLAGS
  21252. PULSE_LIBS = $PULSE_LIBS
  21253. GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
  21254. GSTREAMER_LIBS = $GSTREAMER_LIBS
  21255. ALSA_LIBS = $ALSA_LIBS
  21256. OSS4_CFLAGS = $OSS4_CFLAGS
  21257. OSS4_LIBS = $OSS4_LIBS
  21258. UDEV_CFLAGS = $UDEV_CFLAGS
  21259. UDEV_LIBS = $UDEV_LIBS
  21260. UNWIND_CFLAGS = $UNWIND_CFLAGS
  21261. UNWIND_LIBS = $UNWIND_LIBS
  21262. SDL2_CFLAGS = $SDL2_CFLAGS
  21263. SDL2_LIBS = $SDL2_LIBS
  21264. CAPI20_CFLAGS = $CAPI20_CFLAGS
  21265. CAPI20_LIBS = $CAPI20_LIBS
  21266. CUPS_CFLAGS = $CUPS_CFLAGS
  21267. CUPS_LIBS = $CUPS_LIBS
  21268. FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
  21269. FONTCONFIG_LIBS = $FONTCONFIG_LIBS
  21270. KRB5_CFLAGS = $KRB5_CFLAGS
  21271. KRB5_LIBS = $KRB5_LIBS
  21272. GSSAPI_CFLAGS = $GSSAPI_CFLAGS
  21273. GSSAPI_LIBS = $GSSAPI_LIBS
  21274. PROCSTAT_LIBS = $PROCSTAT_LIBS
  21275. NETAPI_CFLAGS = $NETAPI_CFLAGS
  21276. NETAPI_LIBS = $NETAPI_LIBS
  21277. VKD3D_CFLAGS = $VKD3D_CFLAGS
  21278. VKD3D_LIBS = $VKD3D_LIBS
  21279. VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
  21280. VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
  21281. MSVCRTFLAGS = $MSVCRTFLAGS
  21282. RT_LIBS = $RT_LIBS
  21283. LDAP_CFLAGS = $LDAP_CFLAGS
  21284. LDAP_LIBS = $LDAP_LIBS
  21285. TAGSFLAGS = $TAGSFLAGS
  21286. LIBOBJS = $LIBOBJS
  21287. LTLIBOBJS = $LTLIBOBJS
  21288. $SET_MAKE
  21289. $wine_rules
  21290. _WINE_EOF
  21291. as_fn_error $? "could not create Makefile" "$LINENO" 5
  21292. }
  21293. _ACEOF
  21294. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21295. # Handling of arguments.
  21296. for ac_config_target in $ac_config_targets
  21297. do
  21298. case $ac_config_target in
  21299. "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  21300. "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
  21301. "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
  21302. "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
  21303. "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
  21304. "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
  21305. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  21306. esac
  21307. done
  21308. # If the user did not use the arguments to specify the items to instantiate,
  21309. # then the envvar interface is used. Set only those that are not.
  21310. # We use the long form for the default assignment because of an extremely
  21311. # bizarre bug on SunOS 4.1.3.
  21312. if $ac_need_defaults; then
  21313. test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
  21314. test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
  21315. test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
  21316. fi
  21317. # Have a temporary directory for convenience. Make it in the build tree
  21318. # simply because there is no reason against having it here, and in addition,
  21319. # creating and moving files from /tmp can sometimes cause problems.
  21320. # Hook for its removal unless debugging.
  21321. # Note that there is a small window in which the directory will not be cleaned:
  21322. # after its creation but before its name has been assigned to `$tmp'.
  21323. $debug ||
  21324. {
  21325. tmp= ac_tmp=
  21326. trap 'exit_status=$?
  21327. : "${ac_tmp:=$tmp}"
  21328. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  21329. ' 0
  21330. trap 'as_fn_exit 1' 1 2 13 15
  21331. }
  21332. # Create a (secure) tmp directory for tmp files.
  21333. {
  21334. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  21335. test -d "$tmp"
  21336. } ||
  21337. {
  21338. tmp=./conf$$-$RANDOM
  21339. (umask 077 && mkdir "$tmp")
  21340. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  21341. ac_tmp=$tmp
  21342. # Set up the scripts for CONFIG_HEADERS section.
  21343. # No need to generate them if there are no CONFIG_HEADERS.
  21344. # This happens for instance with `./config.status Makefile'.
  21345. if test -n "$CONFIG_HEADERS"; then
  21346. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  21347. BEGIN {
  21348. _ACEOF
  21349. # Transform confdefs.h into an awk script `defines.awk', embedded as
  21350. # here-document in config.status, that substitutes the proper values into
  21351. # config.h.in to produce config.h.
  21352. # Create a delimiter string that does not exist in confdefs.h, to ease
  21353. # handling of long lines.
  21354. ac_delim='%!_!# '
  21355. for ac_last_try in false false :; do
  21356. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  21357. if test -z "$ac_tt"; then
  21358. break
  21359. elif $ac_last_try; then
  21360. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  21361. else
  21362. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  21363. fi
  21364. done
  21365. # For the awk script, D is an array of macro values keyed by name,
  21366. # likewise P contains macro parameters if any. Preserve backslash
  21367. # newline sequences.
  21368. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  21369. sed -n '
  21370. s/.\{148\}/&'"$ac_delim"'/g
  21371. t rset
  21372. :rset
  21373. s/^[ ]*#[ ]*define[ ][ ]*/ /
  21374. t def
  21375. d
  21376. :def
  21377. s/\\$//
  21378. t bsnl
  21379. s/["\\]/\\&/g
  21380. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  21381. D["\1"]=" \3"/p
  21382. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  21383. d
  21384. :bsnl
  21385. s/["\\]/\\&/g
  21386. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  21387. D["\1"]=" \3\\\\\\n"\\/p
  21388. t cont
  21389. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  21390. t cont
  21391. d
  21392. :cont
  21393. n
  21394. s/.\{148\}/&'"$ac_delim"'/g
  21395. t clear
  21396. :clear
  21397. s/\\$//
  21398. t bsnlc
  21399. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  21400. d
  21401. :bsnlc
  21402. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  21403. b cont
  21404. ' <confdefs.h | sed '
  21405. s/'"$ac_delim"'/"\\\
  21406. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  21407. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21408. for (key in D) D_is_set[key] = 1
  21409. FS = ""
  21410. }
  21411. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  21412. line = \$ 0
  21413. split(line, arg, " ")
  21414. if (arg[1] == "#") {
  21415. defundef = arg[2]
  21416. mac1 = arg[3]
  21417. } else {
  21418. defundef = substr(arg[1], 2)
  21419. mac1 = arg[2]
  21420. }
  21421. split(mac1, mac2, "(") #)
  21422. macro = mac2[1]
  21423. prefix = substr(line, 1, index(line, defundef) - 1)
  21424. if (D_is_set[macro]) {
  21425. # Preserve the white space surrounding the "#".
  21426. print prefix "define", macro P[macro] D[macro]
  21427. next
  21428. } else {
  21429. # Replace #undef with comments. This is necessary, for example,
  21430. # in the case of _POSIX_SOURCE, which is predefined and required
  21431. # on some systems where configure will not decide to define it.
  21432. if (defundef == "undef") {
  21433. print "/*", prefix defundef, macro, "*/"
  21434. next
  21435. }
  21436. }
  21437. }
  21438. { print }
  21439. _ACAWK
  21440. _ACEOF
  21441. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21442. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  21443. fi # test -n "$CONFIG_HEADERS"
  21444. eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  21445. shift
  21446. for ac_tag
  21447. do
  21448. case $ac_tag in
  21449. :[FHLC]) ac_mode=$ac_tag; continue;;
  21450. esac
  21451. case $ac_mode$ac_tag in
  21452. :[FHL]*:*);;
  21453. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  21454. :[FH]-) ac_tag=-:-;;
  21455. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  21456. esac
  21457. ac_save_IFS=$IFS
  21458. IFS=:
  21459. set x $ac_tag
  21460. IFS=$ac_save_IFS
  21461. shift
  21462. ac_file=$1
  21463. shift
  21464. case $ac_mode in
  21465. :L) ac_source=$1;;
  21466. :[FH])
  21467. ac_file_inputs=
  21468. for ac_f
  21469. do
  21470. case $ac_f in
  21471. -) ac_f="$ac_tmp/stdin";;
  21472. *) # Look for the file first in the build tree, then in the source tree
  21473. # (if the path is not absolute). The absolute path cannot be DOS-style,
  21474. # because $ac_f cannot contain `:'.
  21475. test -f "$ac_f" ||
  21476. case $ac_f in
  21477. [\\/$]*) false;;
  21478. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  21479. esac ||
  21480. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  21481. esac
  21482. case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  21483. as_fn_append ac_file_inputs " '$ac_f'"
  21484. done
  21485. # Let's still pretend it is `configure' which instantiates (i.e., don't
  21486. # use $as_me), people would be surprised to read:
  21487. # /* config.h. Generated by config.status. */
  21488. configure_input='Generated from '`
  21489. printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  21490. `' by configure.'
  21491. if test x"$ac_file" != x-; then
  21492. configure_input="$ac_file. $configure_input"
  21493. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  21494. printf "%s\n" "$as_me: creating $ac_file" >&6;}
  21495. fi
  21496. # Neutralize special characters interpreted by sed in replacement strings.
  21497. case $configure_input in #(
  21498. *\&* | *\|* | *\\* )
  21499. ac_sed_conf_input=`printf "%s\n" "$configure_input" |
  21500. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  21501. *) ac_sed_conf_input=$configure_input;;
  21502. esac
  21503. case $ac_tag in
  21504. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  21505. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  21506. esac
  21507. ;;
  21508. esac
  21509. ac_dir=`$as_dirname -- "$ac_file" ||
  21510. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  21511. X"$ac_file" : 'X\(//\)[^/]' \| \
  21512. X"$ac_file" : 'X\(//\)$' \| \
  21513. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  21514. printf "%s\n" X"$ac_file" |
  21515. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  21516. s//\1/
  21517. q
  21518. }
  21519. /^X\(\/\/\)[^/].*/{
  21520. s//\1/
  21521. q
  21522. }
  21523. /^X\(\/\/\)$/{
  21524. s//\1/
  21525. q
  21526. }
  21527. /^X\(\/\).*/{
  21528. s//\1/
  21529. q
  21530. }
  21531. s/.*/./; q'`
  21532. as_dir="$ac_dir"; as_fn_mkdir_p
  21533. ac_builddir=.
  21534. case "$ac_dir" in
  21535. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  21536. *)
  21537. ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  21538. # A ".." for each directory in $ac_dir_suffix.
  21539. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  21540. case $ac_top_builddir_sub in
  21541. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  21542. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  21543. esac ;;
  21544. esac
  21545. ac_abs_top_builddir=$ac_pwd
  21546. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  21547. # for backward compatibility:
  21548. ac_top_builddir=$ac_top_build_prefix
  21549. case $srcdir in
  21550. .) # We are building in place.
  21551. ac_srcdir=.
  21552. ac_top_srcdir=$ac_top_builddir_sub
  21553. ac_abs_top_srcdir=$ac_pwd ;;
  21554. [\\/]* | ?:[\\/]* ) # Absolute name.
  21555. ac_srcdir=$srcdir$ac_dir_suffix;
  21556. ac_top_srcdir=$srcdir
  21557. ac_abs_top_srcdir=$srcdir ;;
  21558. *) # Relative name.
  21559. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  21560. ac_top_srcdir=$ac_top_build_prefix$srcdir
  21561. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  21562. esac
  21563. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  21564. case $ac_mode in
  21565. :H)
  21566. #
  21567. # CONFIG_HEADER
  21568. #
  21569. if test x"$ac_file" != x-; then
  21570. {
  21571. printf "%s\n" "/* $configure_input */" >&1 \
  21572. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  21573. } >"$ac_tmp/config.h" \
  21574. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21575. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  21576. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  21577. printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
  21578. else
  21579. rm -f "$ac_file"
  21580. mv "$ac_tmp/config.h" "$ac_file" \
  21581. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21582. fi
  21583. else
  21584. printf "%s\n" "/* $configure_input */" >&1 \
  21585. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  21586. || as_fn_error $? "could not create -" "$LINENO" 5
  21587. fi
  21588. ;;
  21589. :L)
  21590. #
  21591. # CONFIG_LINK
  21592. #
  21593. if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  21594. :
  21595. else
  21596. # Prefer the file from the source tree if names are identical.
  21597. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  21598. ac_source=$srcdir/$ac_source
  21599. fi
  21600. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  21601. printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
  21602. if test ! -r "$ac_source"; then
  21603. as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  21604. fi
  21605. rm -f "$ac_file"
  21606. # Try a relative symlink, then a hard link, then a copy.
  21607. case $ac_source in
  21608. [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  21609. *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  21610. esac
  21611. ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  21612. ln "$ac_source" "$ac_file" 2>/dev/null ||
  21613. cp -p "$ac_source" "$ac_file" ||
  21614. as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  21615. fi
  21616. ;;
  21617. :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  21618. printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
  21619. ;;
  21620. esac
  21621. case $ac_file$ac_mode in
  21622. "include/stamp-h":C) echo timestamp > include/stamp-h ;;
  21623. "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
  21624. "Makefile":C) wine_fn_output_makefile Makefile ;;
  21625. esac
  21626. done # for ac_tag
  21627. as_fn_exit 0
  21628. _ACEOF
  21629. ac_clean_files=$ac_clean_files_save
  21630. test $ac_write_fail = 0 ||
  21631. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  21632. # configure is writing to config.log, and then calls config.status.
  21633. # config.status does its own redirection, appending to config.log.
  21634. # Unfortunately, on DOS this fails, as config.log is still kept open
  21635. # by configure, so config.status won't be able to write to it; its
  21636. # output is simply discarded. So we exec the FD to /dev/null,
  21637. # effectively closing config.log, so it can be properly (re)opened and
  21638. # appended to by config.status. When coming back to configure, we
  21639. # need to make the FD available again.
  21640. if test "$no_create" != yes; then
  21641. ac_cs_success=:
  21642. ac_config_status_args=
  21643. test "$silent" = yes &&
  21644. ac_config_status_args="$ac_config_status_args --quiet"
  21645. exec 5>/dev/null
  21646. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  21647. exec 5>>config.log
  21648. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  21649. # would make configure fail if this is the last instruction.
  21650. $ac_cs_success || as_fn_exit 1
  21651. fi
  21652. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  21653. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  21654. printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  21655. fi
  21656. if test "$no_create" = "yes"
  21657. then
  21658. exit 0
  21659. fi
  21660. ac_save_IFS="$IFS"
  21661. if test "x$wine_notices" != x; then
  21662. echo >&6
  21663. IFS="|"
  21664. for msg in $wine_notices; do
  21665. IFS="$ac_save_IFS"
  21666. if ${msg:+false} :
  21667. then :
  21668. else $as_nop
  21669. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
  21670. printf "%s\n" "$as_me: $msg" >&6;}
  21671. fi
  21672. done
  21673. fi
  21674. IFS="|"
  21675. for msg in $wine_warnings; do
  21676. IFS="$ac_save_IFS"
  21677. if ${msg:+false} :
  21678. then :
  21679. else $as_nop
  21680. echo >&2
  21681. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
  21682. printf "%s\n" "$as_me: WARNING: $msg" >&2;}
  21683. fi
  21684. done
  21685. IFS="$ac_save_IFS"
  21686. printf "%s\n" "
  21687. $as_me: Finished. Do '${ac_make}' to compile Wine.
  21688. " >&6