configure.ac 155 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858
  1. dnl Process this file with autoconf to produce a configure script.
  2. dnl Original author: Michael Patra
  3. dnl For detailed change history, see the git commit logs.
  4. m4_define(WINE_VERSION,regexp(m4_include(VERSION),[version \([-.0-9A-Za-z]+\)],[\1]))
  5. dnl autoconf versions before 2.63b don't have AS_VAR_APPEND or AS_VAR_IF
  6. AC_PREREQ(2.63b)
  7. AC_INIT([Wine],[WINE_VERSION],[wine-devel@winehq.org],[wine],[https://www.winehq.org])
  8. AC_CONFIG_SRCDIR(server/atom.c)
  9. AC_CONFIG_HEADERS(include/config.h)
  10. AC_CONFIG_AUX_DIR(tools)
  11. libwine_version="1.0"
  12. dnl **** Command-line arguments ****
  13. AC_ARG_ENABLE(win16, AS_HELP_STRING([--disable-win16],[do not include Win16 support]))
  14. AC_ARG_ENABLE(win64, AS_HELP_STRING([--enable-win64],[build a Win64 emulator on AMD64 (won't run Win32 binaries)]))
  15. AC_ARG_ENABLE(tests, AS_HELP_STRING([--disable-tests],[do not build the regression tests]))
  16. AC_ARG_ENABLE(build-id, AS_HELP_STRING([--enable-build-id],[include .buildid section in output objects]))
  17. AC_ARG_ENABLE(maintainer-mode, AS_HELP_STRING([--enable-maintainer-mode],[enable maintainer-specific build rules]))
  18. AC_ARG_ENABLE(silent-rules, AS_HELP_STRING([--enable-silent-rules],[use silent build rules (override: "make V=1")]))
  19. AC_ARG_ENABLE(werror, AS_HELP_STRING([--enable-werror],[treat compilation warnings as errors]))
  20. AC_ARG_WITH(alsa, AS_HELP_STRING([--without-alsa],[do not use the Alsa sound support]))
  21. AC_ARG_WITH(capi, AS_HELP_STRING([--without-capi],[do not use CAPI (ISDN support)]))
  22. AC_ARG_WITH(coreaudio, AS_HELP_STRING([--without-coreaudio],[do not use the CoreAudio sound support]),
  23. [if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi])
  24. AC_ARG_WITH(cups, AS_HELP_STRING([--without-cups],[do not use CUPS]))
  25. AC_ARG_WITH(dbus, AS_HELP_STRING([--without-dbus],[do not use DBus (dynamic device support)]))
  26. AC_ARG_WITH(float-abi, AS_HELP_STRING([--with-float-abi=abi],[specify the ABI (soft|softfp|hard) for ARM platforms]))
  27. AC_ARG_WITH(fontconfig,AS_HELP_STRING([--without-fontconfig],[do not use fontconfig]))
  28. AC_ARG_WITH(freetype, AS_HELP_STRING([--without-freetype],[do not use the FreeType library]))
  29. AC_ARG_WITH(gettext, AS_HELP_STRING([--without-gettext],[do not use gettext]))
  30. AC_ARG_WITH(gettextpo, AS_HELP_STRING([--with-gettextpo],[use the GetTextPO library to rebuild po files]),
  31. [if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi])
  32. AC_ARG_WITH(gphoto, AS_HELP_STRING([--without-gphoto],[do not use gphoto (Digital Camera support)]))
  33. AC_ARG_WITH(gnutls, AS_HELP_STRING([--without-gnutls],[do not use GnuTLS (schannel support)]))
  34. AC_ARG_WITH(gssapi, AS_HELP_STRING([--without-gssapi],[do not use GSSAPI (Kerberos SSP support)]))
  35. AC_ARG_WITH(gstreamer, AS_HELP_STRING([--without-gstreamer],[do not use GStreamer (codecs support)]))
  36. AC_ARG_WITH(inotify, AS_HELP_STRING([--without-inotify],[do not use inotify (filesystem change notifications)]))
  37. AC_ARG_WITH(krb5, AS_HELP_STRING([--without-krb5],[do not use krb5 (Kerberos)]))
  38. AC_ARG_WITH(ldap, AS_HELP_STRING([--without-ldap],[do not use LDAP]),
  39. [if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi])
  40. AC_ARG_WITH(mingw, AS_HELP_STRING([--without-mingw],[do not use the MinGW cross-compiler]))
  41. AC_ARG_WITH(netapi, AS_HELP_STRING([--without-netapi],[do not use the Samba NetAPI library]))
  42. AC_ARG_WITH(openal, AS_HELP_STRING([--without-openal],[do not use OpenAL]),
  43. [if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi])
  44. AC_ARG_WITH(opencl, AS_HELP_STRING([--without-opencl],[do not use OpenCL]),
  45. [if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi])
  46. AC_ARG_WITH(opengl, AS_HELP_STRING([--without-opengl],[do not use OpenGL]))
  47. AC_ARG_WITH(osmesa, AS_HELP_STRING([--without-osmesa],[do not use the OSMesa library]))
  48. AC_ARG_WITH(oss, AS_HELP_STRING([--without-oss],[do not use the OSS sound support]))
  49. AC_ARG_WITH(pcap, AS_HELP_STRING([--without-pcap],[do not use the Packet Capture library]),
  50. [if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi])
  51. AC_ARG_WITH(pthread, AS_HELP_STRING([--without-pthread],[do not use the pthread library]),
  52. [if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi])
  53. AC_ARG_WITH(pulse, AS_HELP_STRING([--without-pulse],[do not use PulseAudio sound support]))
  54. AC_ARG_WITH(sane, AS_HELP_STRING([--without-sane],[do not use SANE (scanner support)]))
  55. AC_ARG_WITH(sdl, AS_HELP_STRING([--without-sdl],[do not use SDL]))
  56. AC_ARG_WITH(udev, AS_HELP_STRING([--without-udev],[do not use udev (plug and play support)]))
  57. AC_ARG_WITH(unwind, AS_HELP_STRING([--without-unwind],[do not use the libunwind library (exception handling)]))
  58. AC_ARG_WITH(usb, AS_HELP_STRING([--without-usb],[do not use the libusb library]))
  59. AC_ARG_WITH(v4l2, AS_HELP_STRING([--without-v4l2],[do not use v4l2 (video capture)]))
  60. AC_ARG_WITH(vkd3d, AS_HELP_STRING([--without-vkd3d],[do not use vkd3d (Direct3D 12 support)]))
  61. AC_ARG_WITH(vulkan, AS_HELP_STRING([--without-vulkan],[do not use Vulkan]))
  62. AC_ARG_WITH(xcomposite,AS_HELP_STRING([--without-xcomposite],[do not use the Xcomposite extension]),
  63. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi])
  64. AC_ARG_WITH(xcursor, AS_HELP_STRING([--without-xcursor],[do not use the Xcursor extension]),
  65. [if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi])
  66. AC_ARG_WITH(xfixes, AS_HELP_STRING([--without-xfixes],[do not use Xfixes for clipboard change notifications]),
  67. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi])
  68. AC_ARG_WITH(xinerama, AS_HELP_STRING([--without-xinerama],[do not use Xinerama (legacy multi-monitor support)]),
  69. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi])
  70. AC_ARG_WITH(xinput, AS_HELP_STRING([--without-xinput],[do not use the Xinput extension]),
  71. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi])
  72. AC_ARG_WITH(xinput2, AS_HELP_STRING([--without-xinput2],[do not use the Xinput 2 extension]),
  73. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi])
  74. AC_ARG_WITH(xrandr, AS_HELP_STRING([--without-xrandr],[do not use Xrandr (multi-monitor support)]),
  75. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi])
  76. AC_ARG_WITH(xrender, AS_HELP_STRING([--without-xrender],[do not use the Xrender extension]),
  77. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi])
  78. AC_ARG_WITH(xshape, AS_HELP_STRING([--without-xshape],[do not use the Xshape extension]),
  79. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi])
  80. AC_ARG_WITH(xshm, AS_HELP_STRING([--without-xshm],[do not use XShm (shared memory extension)]),
  81. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi])
  82. AC_ARG_WITH(xxf86vm, AS_HELP_STRING([--without-xxf86vm],[do not use XFree video mode extension]),
  83. [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi])
  84. AC_ARG_WITH(system-dllpath,AS_HELP_STRING([--with-system-dllpath=PATH],[load external PE dependencies from colon-separated path PATH]),
  85. AC_SUBST(system_dllpath,[$withval]))
  86. AC_ARG_WITH(wine-tools,AS_HELP_STRING([--with-wine-tools=DIR],[use Wine tools from directory DIR]))
  87. AC_ARG_WITH(wine64, AS_HELP_STRING([--with-wine64=DIR],[use the 64-bit Wine in DIR for a Wow64 build]))
  88. AC_CANONICAL_HOST
  89. AC_SUBST(dlldir,[\${libdir}/wine])
  90. AC_SUBST(fontdir,[\${datadir}/wine/fonts])
  91. AC_SUBST(nlsdir,[\${datadir}/wine/nls])
  92. AC_SUBST(srcdir)
  93. dnl **** Check for some programs ****
  94. AC_PROG_MAKE_SET
  95. AC_PROG_CC
  96. AC_PROG_CXX
  97. dnl We can't use AC_PROG_CPP for winegcc, it uses by default $(CC) -E
  98. AC_CHECK_TOOL(CPPBIN,cpp,cpp)
  99. AC_DEFINE_UNQUOTED(EXEEXT,["$ac_exeext"],[Define to the file extension for executables.])
  100. AC_CHECK_TOOL(LD,ld)
  101. case $host in
  102. *-darwin*)
  103. with_fontconfig=${with_fontconfig:-no}
  104. ;;
  105. *-mingw32*|*-cygwin*)
  106. enable_win16=${enable_win16:-no}
  107. with_mingw=${with_mingw:-no}
  108. ;;
  109. esac
  110. AC_SUBST(TARGETFLAGS)
  111. case $host in
  112. x86_64*|amd64*)
  113. if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
  114. then
  115. CC="$CC -m32"
  116. CXX="$CXX -m32"
  117. AC_CACHE_CHECK([whether $CC works], wine_cv_cc_m32,
  118. [AC_LINK_IFELSE([AC_LANG_PROGRAM()],[wine_cv_cc_m32=yes],[wine_cv_cc_m32=no])])
  119. test $wine_cv_cc_m32 != no || AC_MSG_ERROR([Cannot build a 32-bit program, you need to install 32-bit development libraries.])
  120. host_cpu="i386"
  121. notice_platform="32-bit "
  122. TARGETFLAGS="$TARGETFLAGS -m32"
  123. PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
  124. export PKG_CONFIG_PATH
  125. enable_win16=${enable_win16:-yes}
  126. with_unwind=${with_unwind:-no}
  127. else
  128. if test "x${GCC}" = "xyes"
  129. then
  130. AC_CACHE_CHECK([whether $CC supports __builtin_ms_va_list],wine_cv_builtin_ms_va_list,
  131. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>]], [[void func(__builtin_ms_va_list *args);]])],
  132. [wine_cv_builtin_ms_va_list=yes],[wine_cv_builtin_ms_va_list=no])])
  133. test $wine_cv_builtin_ms_va_list != no || AC_MSG_ERROR([You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit.])
  134. fi
  135. CC="$CC -m64"
  136. CXX="$CXX -m64"
  137. host_cpu="x86_64"
  138. notice_platform="64-bit "
  139. TARGETFLAGS="$TARGETFLAGS -m64"
  140. enable_wow64=${enable_wow64:-yes}
  141. enable_wow64win=${enable_wow64win:-yes}
  142. enable_wow64cpu=${enable_wow64cpu:-yes}
  143. fi
  144. ;;
  145. arm*)
  146. AC_CACHE_CHECK([whether $CC supports Thumb-2],wine_cv_thumb2,
  147. [WINE_TRY_ASM_LINK([".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}"],,,
  148. [wine_cv_thumb2=yes],[wine_cv_thumb2=no])])
  149. if test x"$wine_cv_thumb2" = xyes
  150. then
  151. CFLAGS="$CFLAGS -mthumb"
  152. TARGETFLAGS="$TARGETFLAGS -mthumb"
  153. else
  154. CFLAGS="$CFLAGS -marm"
  155. TARGETFLAGS="$TARGETFLAGS -marm"
  156. fi
  157. case $with_float_abi in
  158. soft|softfp|hard)
  159. float_abi=$with_float_abi ;;
  160. *)
  161. case $host_os in
  162. *eabihf)
  163. float_abi=hard ;;
  164. *)
  165. float_abi=softfp
  166. saved_CFLAGS=$CFLAGS
  167. CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
  168. AC_CACHE_CHECK([whether $CC supports -mfloat-abi=$float_abi],wine_cv_float_abi,
  169. [WINE_TRY_ASM_LINK(["vmrs r2,fpscr"],,,[wine_cv_float_abi=yes],[wine_cv_float_abi=no])])
  170. if test $wine_cv_float_abi = no
  171. then
  172. float_abi=soft
  173. WINE_WARNING([Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries.])
  174. fi
  175. CFLAGS=$saved_CFLAGS
  176. esac
  177. ;;
  178. esac
  179. CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
  180. TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
  181. ;;
  182. aarch64*)
  183. AC_CACHE_CHECK([whether $CC supports __builtin_ms_va_list],wine_cv_builtin_ms_va_list,
  184. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>]], [[void func(__builtin_ms_va_list *args);]])],
  185. [wine_cv_builtin_ms_va_list=yes],[wine_cv_builtin_ms_va_list=no])])
  186. test $wine_cv_builtin_ms_va_list != no || AC_MSG_ERROR([You need clang >= 5.0 to build Wine for arm64.])
  187. enable_wow64=${enable_wow64:-yes}
  188. enable_wow64win=${enable_wow64win:-yes}
  189. ;;
  190. i[[3456789]]86*)
  191. enable_win16=${enable_win16:-yes}
  192. with_unwind=${with_unwind:-no}
  193. ;;
  194. esac
  195. dnl enable_win16 defaults to yes on x86, to no on other CPUs
  196. enable_win16=${enable_win16:-no}
  197. enable_win64=${enable_win64:-no}
  198. enable_wow64=${enable_wow64:-no}
  199. enable_wow64win=${enable_wow64win:-no}
  200. enable_wow64cpu=${enable_wow64cpu:-no}
  201. dnl Disable winetest too if tests are disabled
  202. enable_winetest=${enable_winetest:-$enable_tests}
  203. dnl Some special cases for the 64-bit build
  204. if test "x$enable_win64" = "xyes"
  205. then
  206. test -z "$with_wine64" || AC_MSG_ERROR([--enable-win64 and --with-wine64 are mutually exclusive.
  207. --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree.])
  208. fi
  209. case $build_os in
  210. cygwin*|mingw32*) AC_SUBST(toolsext,".exe") ;;
  211. *) AC_SUBST(toolsext,"") ;;
  212. esac
  213. AC_CACHE_CHECK([for the directory containing the Wine tools], wine_cv_toolsdir,
  214. [wine_cv_toolsdir="$with_wine_tools"
  215. if test -z "$with_wine_tools"; then
  216. if test "$cross_compiling" = "yes"; then
  217. AC_MSG_ERROR([you must use the --with-wine-tools option when cross-compiling.])
  218. elif test -n "$with_wine64"; then
  219. wine_cv_toolsdir="$with_wine64"
  220. fi
  221. fi])
  222. if test -z "$wine_cv_toolsdir"; then
  223. wine_makedep=tools/makedep$toolsext
  224. elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
  225. wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
  226. enable_tools=${enable_tools:-no}
  227. test -f "$wine_makedep" || AC_MSG_ERROR([the Wine tools have not yet been built in $wine_cv_toolsdir])
  228. else
  229. AC_MSG_ERROR([could not find Wine tools in $wine_cv_toolsdir])
  230. fi
  231. AC_SUBST(toolsdir,[$wine_cv_toolsdir])
  232. AC_SUBST(MAKEDEP,[$wine_makedep])
  233. AC_SUBST(RUNTESTFLAGS,["-q -P wine"])
  234. AC_SUBST(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'"])
  235. AC_SUBST(api_manext,[3w])
  236. if test -n "$host_alias" -a "$host_alias" != "$build_alias"
  237. then
  238. TARGETFLAGS="-b $host_alias $TARGETFLAGS"
  239. fi
  240. dnl Check for flex
  241. AC_CHECK_PROGS(FLEX,flex,none)
  242. if test "$FLEX" = "none"
  243. then
  244. AC_MSG_ERROR([no suitable flex found. Please install the 'flex' package.])
  245. fi
  246. AC_CACHE_CHECK([whether flex is recent enough],wine_cv_recent_flex,
  247. [cat >conftest.l <<EOF
  248. %top{
  249. #include "prediluvian.h"
  250. }
  251. %%
  252. EOF
  253. if $FLEX -t conftest.l >/dev/null 2>&AS_MESSAGE_LOG_FD
  254. then
  255. wine_cv_recent_flex=yes
  256. else
  257. wine_cv_recent_flex=no
  258. fi])
  259. test $wine_cv_recent_flex != no || AC_MSG_ERROR([Your flex version is too old. Please install flex version 2.5.33 or newer.])
  260. dnl Check for bison
  261. AC_CHECK_PROGS(BISON,bison,none)
  262. if test "$BISON" = "none"
  263. then
  264. AC_MSG_ERROR([no suitable bison found. Please install the 'bison' package.])
  265. fi
  266. AC_CACHE_CHECK([whether bison is recent enough],wine_cv_recent_bison,
  267. [cat >conftest.y <<EOF
  268. %define parse.error verbose
  269. %%
  270. empty: ;
  271. EOF
  272. if $BISON conftest.y >/dev/null 2>&AS_MESSAGE_LOG_FD
  273. then
  274. wine_cv_recent_bison=yes
  275. else
  276. wine_cv_recent_bison=no
  277. fi])
  278. test $wine_cv_recent_bison != no || AC_MSG_ERROR([Your bison version is too old. Please install bison version 3.0 or newer.])
  279. AC_CHECK_TOOLS(AR,[ar gar],ar)
  280. AC_CHECK_TOOL(STRIP,strip,strip)
  281. AC_PROG_RANLIB
  282. AC_PROG_LN_S
  283. AC_PROG_EGREP
  284. AC_PATH_PROG(LDCONFIG, ldconfig, true, [/sbin /usr/sbin $PATH])
  285. AC_CHECK_PROGS(MSGFMT, msgfmt, false)
  286. WINE_PATH_PKG_CONFIG
  287. if test "x$enable_maintainer_mode" != "xyes"
  288. then
  289. FONTFORGE=""
  290. RSVG=""
  291. CONVERT=""
  292. ICOTOOL=""
  293. else
  294. test "$srcdir" = . || AC_MSG_ERROR([Maintainer mode cannot work out of tree.])
  295. AC_CHECK_PROGS(FONTFORGE, fontforge, false)
  296. AC_CHECK_PROGS(RSVG, rsvg-convert rsvg, false)
  297. AC_CHECK_PROGS(CONVERT, convert, false)
  298. AC_CHECK_PROGS(ICOTOOL, icotool, false)
  299. test "$FONTFORGE" != "false" || AC_MSG_ERROR([You need fontforge to rebuild fonts in maintainer mode.])
  300. test "$RSVG" != "false" || AC_MSG_ERROR([You need rsvg to rebuild icons in maintainer mode.])
  301. dnl Check the imagemagick version
  302. if test "$CONVERT" = false
  303. then
  304. AC_MSG_ERROR([You need imagemagick to rebuild icons in maintainer mode.])
  305. else
  306. AC_MSG_CHECKING([for recent enough imagemagick])
  307. convert_version=`convert --version | head -n1`
  308. if test "x$convert_version" != "x"
  309. then
  310. convert_version_major=`expr "$convert_version" : '.* \([[0-9]]*\)\.[[0-9]]*'`
  311. convert_version_minor=`expr "$convert_version" : '.* [[0-9]]*\.\([[0-9]]*\)'`
  312. if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
  313. then
  314. CONVERT=false
  315. fi
  316. fi
  317. if test "$CONVERT" = false
  318. then
  319. AC_MSG_RESULT([no ($convert_version_major.$convert_version_minor)])
  320. AC_MSG_ERROR([You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode.])
  321. else
  322. AC_MSG_RESULT([yes ($convert_version_major.$convert_version_minor)])
  323. fi
  324. fi
  325. dnl Check the icotool version
  326. if test "$ICOTOOL" = false
  327. then
  328. AC_MSG_ERROR([You need icotool to rebuild icons in maintainer mode.])
  329. else
  330. AC_MSG_CHECKING([for recent enough icotool])
  331. icotool_version=`icotool --version | head -n1`
  332. if test "x$icotool_version" != "x"
  333. then
  334. icotool_version_major=`expr "$icotool_version" : '.* \([[0-9]]*\)\.[[0-9]]*'`
  335. icotool_version_minor=`expr "$icotool_version" : '.* [[0-9]]*\.\([[0-9]]*\)'`
  336. if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
  337. then
  338. ICOTOOL=false
  339. WINE_WARNING([icotool version 0.29.0 or newer is needed to rebuild icons.])
  340. fi
  341. fi
  342. if test "$ICOTOOL" = false
  343. then
  344. AC_MSG_RESULT([no ($icotool_version_major.$icotool_version_minor)])
  345. AC_MSG_ERROR([You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode.])
  346. else
  347. AC_MSG_RESULT([yes ($icotool_version_major.$icotool_version_minor)])
  348. fi
  349. fi
  350. dnl Maintainer mode requires gettext
  351. with_gettext=yes
  352. with_gettextpo=yes
  353. dnl Maintainer mode wants -Werror
  354. enable_werror=yes
  355. fi
  356. test "x$with_gettext" != xno || MSGFMT=false
  357. if test "$MSGFMT" != "false"
  358. then
  359. AC_CACHE_CHECK([whether msgfmt supports contexts],wine_cv_msgfmt_contexts,
  360. [cat >conftest.po <<EOF
  361. # comment
  362. msgctxt "ctxt"
  363. msgid "id"
  364. msgstr "str"
  365. EOF
  366. if $MSGFMT -o /dev/null conftest.po 2>&AS_MESSAGE_LOG_FD
  367. then
  368. wine_cv_msgfmt_contexts=yes
  369. else
  370. wine_cv_msgfmt_contexts=no
  371. fi])
  372. test $wine_cv_msgfmt_contexts != no || MSGFMT=false
  373. fi
  374. WINE_WARNING_WITH(gettext,[test "$MSGFMT" = false],
  375. [gettext tools not found (or too old), translations won't be built.],
  376. [enable_po])
  377. dnl **** Check for some libraries ****
  378. dnl Check for -li386 for NetBSD and OpenBSD
  379. AC_CHECK_LIB(i386,i386_set_ldt,[AC_SUBST(I386_LIBS, "-li386")])
  380. AC_SUBST(OPENGL_LIBS,"")
  381. dnl **** Check for header files ****
  382. AC_SYS_LARGEFILE()
  383. AC_CHECK_HEADERS(\
  384. AL/al.h \
  385. ApplicationServices/ApplicationServices.h \
  386. CL/cl.h \
  387. Carbon/Carbon.h \
  388. CoreAudio/CoreAudio.h \
  389. DiskArbitration/DiskArbitration.h \
  390. EGL/egl.h \
  391. IOKit/IOKitLib.h \
  392. IOKit/hid/IOHIDLib.h \
  393. OpenAL/al.h \
  394. OpenCL/opencl.h \
  395. Security/Security.h \
  396. SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
  397. SystemConfiguration/SCNetworkConfiguration.h \
  398. arpa/inet.h \
  399. arpa/nameser.h \
  400. asm/types.h \
  401. asm/user.h \
  402. elf.h \
  403. float.h \
  404. gettext-po.h \
  405. ieeefp.h \
  406. libproc.h \
  407. link.h \
  408. linux/cdrom.h \
  409. linux/filter.h \
  410. linux/hdreg.h \
  411. linux/hidraw.h \
  412. linux/input.h \
  413. linux/ioctl.h \
  414. linux/major.h \
  415. linux/param.h \
  416. linux/serial.h \
  417. linux/types.h \
  418. linux/ucdrom.h \
  419. lwp.h \
  420. mach-o/loader.h \
  421. mach/mach.h \
  422. machine/cpu.h \
  423. machine/sysarch.h \
  424. mntent.h \
  425. netdb.h \
  426. netinet/in.h \
  427. netinet/in_systm.h \
  428. netinet/tcp.h \
  429. netinet/tcp_fsm.h \
  430. pcap/pcap.h \
  431. port.h \
  432. pthread.h \
  433. pwd.h \
  434. sasl/sasl.h \
  435. sched.h \
  436. scsi/scsi.h \
  437. scsi/scsi_ioctl.h \
  438. scsi/sg.h \
  439. stdint.h \
  440. sys/attr.h \
  441. sys/auxv.h \
  442. sys/cdio.h \
  443. sys/epoll.h \
  444. sys/event.h \
  445. sys/filio.h \
  446. sys/ipc.h \
  447. sys/link.h \
  448. sys/modem.h \
  449. sys/mtio.h \
  450. sys/param.h \
  451. sys/prctl.h \
  452. sys/ptrace.h \
  453. sys/queue.h \
  454. sys/random.h \
  455. sys/resource.h \
  456. sys/scsiio.h \
  457. sys/shm.h \
  458. sys/signal.h \
  459. sys/socketvar.h \
  460. sys/sockio.h \
  461. sys/statvfs.h \
  462. sys/strtio.h \
  463. sys/syscall.h \
  464. sys/sysinfo.h \
  465. sys/times.h \
  466. sys/uio.h \
  467. sys/user.h \
  468. sys/utsname.h \
  469. sys/vnode.h \
  470. syscall.h \
  471. utime.h \
  472. valgrind/memcheck.h \
  473. valgrind/valgrind.h
  474. )
  475. WINE_HEADER_MAJOR()
  476. AC_HEADER_STAT()
  477. dnl **** Checks for headers that depend on other ones ****
  478. AC_CHECK_HEADERS([sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h],,,
  479. [#include <sys/types.h>
  480. #ifdef HAVE_SYS_PARAM_H
  481. # include <sys/param.h>
  482. #endif])
  483. dnl check for broken Linux sysctl.h that causes deprecation warnings
  484. saved_sysctl_h_CFLAGS=$CFLAGS
  485. test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
  486. AC_CHECK_HEADERS([sys/sysctl.h],,,
  487. [#include <sys/types.h>
  488. #ifdef HAVE_SYS_PARAM_H
  489. # include <sys/param.h>
  490. #endif])
  491. CFLAGS=$saved_sysctl_h_CFLAGS
  492. AC_CHECK_HEADERS(\
  493. netinet/ip.h \
  494. net/if.h \
  495. net/if_arp.h \
  496. net/if_dl.h \
  497. net/if_types.h \
  498. net/route.h \
  499. netinet/if_ether.h \
  500. netinet/in_pcb.h \
  501. netinet/ip_icmp.h \
  502. netinet/ip_var.h \
  503. netinet/udp.h \
  504. netipx/ipx.h \
  505. sys/un.h \
  506. ,,,[#include <sys/types.h>
  507. #include <sys/socket.h>
  508. #ifdef HAVE_SYS_SOCKETVAR_H
  509. # include <sys/socketvar.h>
  510. #endif
  511. #ifdef HAVE_NET_ROUTE_H
  512. # include <net/route.h>
  513. #endif
  514. #ifdef HAVE_NETINET_IN_H
  515. # include <netinet/in.h>
  516. #endif
  517. #ifdef HAVE_NETINET_IN_SYSTM_H
  518. # include <netinet/in_systm.h>
  519. #endif
  520. #ifdef HAVE_NET_IF_H
  521. # include <net/if.h>
  522. #endif
  523. #ifdef HAVE_NETINET_IP_H
  524. # include <netinet/ip.h>
  525. #endif])
  526. AC_CHECK_HEADERS([netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h ],,,
  527. [#include <sys/types.h>
  528. #include <sys/socket.h>
  529. #ifdef HAVE_SYS_SOCKETVAR_H
  530. # include <sys/socketvar.h>
  531. #endif
  532. #ifdef HAVE_NETINET_IN_H
  533. # include <netinet/in.h>
  534. #endif
  535. #ifdef HAVE_NETINET_IN_SYSTM_H
  536. # include <netinet/in_systm.h>
  537. #endif
  538. #ifdef HAVE_NETINET_IP_H
  539. # include <netinet/ip.h>
  540. #endif
  541. #ifdef HAVE_NETINET_IP_VAR_H
  542. # include <netinet/ip_var.h>
  543. #endif
  544. #ifdef HAVE_NETINET_IP_ICMP_H
  545. # include <netinet/ip_icmp.h>
  546. #endif
  547. #ifdef HAVE_NETINET_UDP_H
  548. # include <netinet/udp.h>
  549. #endif
  550. #ifdef HAVE_NETINET_TCP_H
  551. # include <netinet/tcp.h>
  552. #endif])
  553. AC_CHECK_HEADERS([linux/ipx.h linux/irda.h linux/rtnetlink.h],,,
  554. [#include <sys/types.h>
  555. #include <sys/socket.h>
  556. #ifdef HAVE_ASM_TYPES_H
  557. # include <asm/types.h>
  558. #endif
  559. #ifdef HAVE_LINUX_TYPES_H
  560. # include <linux/types.h>
  561. #endif])
  562. AC_CHECK_HEADERS([resolv.h],,,
  563. [#include <sys/types.h>
  564. #include <sys/socket.h>
  565. #ifdef HAVE_NETINET_IN_H
  566. # include <netinet/in.h>
  567. #endif
  568. #ifdef HAVE_ARPA_NAMESER_H
  569. # include <arpa/nameser.h>
  570. #endif])
  571. AC_CHECK_HEADERS([ifaddrs.h],,,[#include <sys/types.h>])
  572. AC_CHECK_HEADERS(sys/ucontext.h,,,[#include <signal.h>])
  573. AC_CHECK_HEADERS([sys/thr.h],,,
  574. [#include <sys/types.h>
  575. #ifdef HAVE_SYS_UCONTEXT_H
  576. #include <sys/ucontext.h>
  577. #endif])
  578. AC_CHECK_HEADERS([pthread_np.h],,,
  579. [#ifdef HAVE_PTHREAD_H
  580. #include <pthread.h>
  581. #endif])
  582. AC_CHECK_HEADERS([linux/videodev2.h],,,
  583. [#include <sys/time.h>
  584. #include <sys/types.h>
  585. #ifdef HAVE_ASM_TYPES_H
  586. #include <asm/types.h>
  587. #endif])
  588. AC_CHECK_HEADERS([libprocstat.h],,,
  589. [#ifdef HAVE_SYS_PARAM_H
  590. #include <sys/param.h>
  591. #endif
  592. #include <sys/socket.h>
  593. #ifdef HAVE_SYS_QUEUE_H
  594. #include <sys/queue.h>
  595. #endif])
  596. dnl **** Check for working dll ****
  597. AC_SUBST(DLLFLAGS,"")
  598. AC_SUBST(LDDLLFLAGS,"")
  599. AC_SUBST(LDEXECFLAGS,"")
  600. AC_SUBST(EXTRACFLAGS,"")
  601. AC_SUBST(UNIXDLLFLAGS,"-fPIC")
  602. AC_SUBST(UNIXLDFLAGS,["-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"])
  603. AC_SUBST(TOP_INSTALL_LIB,"")
  604. AC_SUBST(TOP_INSTALL_DEV,"")
  605. AC_SUBST(WINELOADER_LDFLAGS,"")
  606. AC_SUBST(WINEPRELOADER_LDFLAGS,"")
  607. LIBEXT="so"
  608. WINE_PATH_SONAME_TOOLS
  609. WINE_CONFIG_HELPERS
  610. wine_binary="wine"
  611. test "x$enable_win64" != "xyes" || wine_binary="wine64"
  612. AC_SUBST(WINELOADER_PROGRAMS,"$wine_binary")
  613. libwine_soversion=`expr $libwine_version : '\([[0-9]]*\)\..*'`
  614. case $host_os in
  615. cygwin*|mingw32*)
  616. AC_CHECK_TOOL(DLLTOOL,dlltool,false)
  617. LIBEXT="dll"
  618. EXTRACFLAGS="-D__WINE_PE_BUILD"
  619. dnl Disable stdcall fixups to catch prototype mismatches
  620. case $host_cpu in
  621. *i[[3456]]86*) WINE_TRY_CFLAGS([-Wl,--disable-stdcall-fixup],
  622. [LDDLLFLAGS="-Wl,--disable-stdcall-fixup"]) ;;
  623. esac
  624. dnl Disable modules that can't be used on Windows
  625. enable_mountmgr_sys=${enable_mountmgr_sys:-no}
  626. enable_loader=${enable_loader:-no}
  627. enable_server=${enable_server:-no}
  628. dnl Disable dependencies that are not useful on Windows
  629. with_x=${with_x:-no}
  630. with_pthread=${with_pthread:-no}
  631. ;;
  632. darwin*|macosx*)
  633. AC_LANG_PUSH([Objective C])
  634. AC_CHECK_HEADERS(Metal/Metal.h)
  635. AC_LANG_POP([Objective C])
  636. LIBEXT="dylib"
  637. DLLFLAGS="$DLLFLAGS -fPIC"
  638. LDDLLFLAGS="-fPIC"
  639. dnl declare needed frameworks
  640. AC_SUBST(COREFOUNDATION_LIBS,"-framework CoreFoundation")
  641. AC_SUBST(IOKIT_LIBS,"-framework IOKit -framework CoreFoundation")
  642. AC_SUBST(APPLICATIONSERVICES_LIBS,"-framework ApplicationServices")
  643. AC_SUBST(CORESERVICES_LIBS,"-framework CoreServices")
  644. AC_SUBST(APPKIT_LIBS,"-framework AppKit")
  645. AC_SUBST(SYSTEMCONFIGURATION_LIBS,"-framework SystemConfiguration")
  646. WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
  647. wine_can_build_preloader=yes
  648. 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"
  649. WINE_TRY_CFLAGS([-Wl,-no_new_main -e _main],
  650. [WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
  651. WINE_TRY_CFLAGS([-Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs],
  652. [WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"],
  653. [wine_can_build_preloader=no])],
  654. [WINE_TRY_CFLAGS([-mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs],
  655. [WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"],
  656. [wine_can_build_preloader=no])])
  657. if test "$wine_can_build_preloader" = "yes"
  658. then
  659. WINE_TRY_CFLAGS([-Wl,-no_pie],
  660. [WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"])
  661. test "$wine_binary" = wine || WINE_IGNORE_FILE("loader/wine-preloader")
  662. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  663. else
  664. WINE_WARNING([can't build Wine preloader; many programs won't work])
  665. fi
  666. if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
  667. then
  668. dnl DiskArbitration API is not public on Darwin < 8.0, use it only if header found
  669. AC_SUBST(DISKARBITRATION_LIBS,"-framework DiskArbitration -framework CoreFoundation")
  670. fi
  671. if test "$ac_cv_header_Security_Security_h" = "yes"
  672. then
  673. AC_SUBST(SECURITY_LIBS,"-framework Security -framework CoreFoundation")
  674. fi
  675. if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
  676. then
  677. AC_SUBST(COREAUDIO_LIBS,"-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI")
  678. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
  679. fi
  680. if test "$ac_cv_header_OpenAL_al_h" = "yes"
  681. then
  682. AC_SUBST(OPENAL_LIBS,"-framework OpenAL")
  683. AC_DEFINE_UNQUOTED(HAVE_OPENAL,1,[Define to 1 if OpenAL is available])
  684. ac_cv_lib_openal=yes
  685. fi
  686. if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
  687. then
  688. AC_SUBST(OPENCL_LIBS,"-framework OpenCL")
  689. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  690. fi
  691. if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
  692. then
  693. ac_save_LIBS="$LIBS"
  694. LIBS="$LIBS $IOKIT_LIBS"
  695. AC_CHECK_FUNCS(IOHIDManagerCreate)
  696. LIBS="$ac_save_LIBS"
  697. fi
  698. if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
  699. then
  700. AC_SUBST(CARBON_LIBS,"-framework Carbon")
  701. fi
  702. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  703. then
  704. AC_SUBST(METAL_LIBS,"-framework Metal")
  705. fi
  706. dnl Check for MTLDevice registryID property
  707. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  708. then
  709. AC_MSG_CHECKING([whether MTLDevice protocol supports registryID property])
  710. AC_LANG_PUSH([Objective C])
  711. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <Metal/Metal.h>]], [[id<MTLDevice> device; device.registryID;]])],
  712. [AC_MSG_RESULT(yes)
  713. AC_DEFINE(HAVE_MTLDEVICE_REGISTRYID, 1, [Define if MTLDevice protocol has registryID property.])],
  714. [AC_MSG_RESULT(no)])
  715. AC_LANG_POP([Objective C])
  716. fi
  717. dnl Enable Mac driver on Mac OS X 10.6 or later
  718. if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
  719. then
  720. ac_save_LIBS="$LIBS"
  721. LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
  722. AC_CHECK_FUNC(CGDisplayModeGetWidth,enable_winemac_drv=${enable_winemac_drv:-yes})
  723. LIBS="$ac_save_LIBS"
  724. fi
  725. UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
  726. AC_SUBST(LIBWINE_SHAREDLIB,"libwine.$libwine_version.dylib")
  727. AC_SUBST(LIBWINE_LDFLAGS,["-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"])
  728. AC_SUBST(WINELOADER_DEPENDS,"wine_info.plist")
  729. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
  730. ;;
  731. linux-android*)
  732. AC_DEFINE(_GNU_SOURCE,1,[Define to 1 to enable GNU extensions on Linux])
  733. DLLFLAGS="$DLLFLAGS -fPIC"
  734. LDDLLFLAGS="-fPIC"
  735. LDEXECFLAGS="-Wl,-pie"
  736. enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
  737. WINE_TRY_CFLAGS([-Wl,-z,defs],[UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"])
  738. WINE_TRY_CFLAGS([-fPIC -Wl,--export-dynamic],[WINELOADER_LDFLAGS="-Wl,--export-dynamic"])
  739. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  740. WINE_CHECK_SONAME(EGL,eglGetProcAddress)
  741. WINE_CHECK_SONAME(GLESv2,glFlush)
  742. if test "x$exec_prefix" = xNONE
  743. then
  744. case $host_cpu in
  745. *i[[3456]]86*) exec_prefix='${prefix}/x86' ;;
  746. *x86_64*) exec_prefix='${prefix}/x86_64' ;;
  747. *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
  748. *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
  749. esac
  750. fi
  751. ;;
  752. *)
  753. AC_DEFINE(_GNU_SOURCE,1,[Define to 1 to enable GNU extensions on Linux])
  754. case $host_cpu in
  755. *i[[3456789]]86*)
  756. DLLFLAGS="$DLLFLAGS -fno-PIC"
  757. LDDLLFLAGS="-fno-PIC"
  758. WINE_TRY_CFLAGS([-fno-PIC -Wl,-z,notext],[LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"])
  759. ;;
  760. *)
  761. DLLFLAGS="$DLLFLAGS -fPIC"
  762. LDDLLFLAGS="-fPIC" ;;
  763. esac
  764. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
  765. echo '{ global: *; };' >conftest.map
  766. WINE_TRY_CFLAGS([-shared -Wl,--version-script=conftest.map],
  767. [LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"])
  768. rm -f conftest.map
  769. WINE_TRY_CFLAGS([-Wl,-z,defs],[UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"])
  770. WINE_TRY_CFLAGS([-Wl,--export-dynamic],[WINELOADER_LDFLAGS="-Wl,--export-dynamic"])
  771. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  772. case $host_cpu in
  773. *i[[3456789]]86* | x86_64 | *aarch64* | arm*)
  774. WINE_TRY_CFLAGS([-Wl,-Ttext-segment=0x7bc00000],
  775. [case $host_os in
  776. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
  777. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
  778. esac],
  779. [WINE_TRY_CFLAGS([-Wl,--section-start,.interp=0x7d000400],
  780. [case $host_os in
  781. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
  782. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
  783. esac])
  784. AC_PATH_PROG(PRELINK, prelink, false, [/sbin /usr/sbin $PATH])
  785. if test "x$PRELINK" = xfalse
  786. then
  787. WINE_WARNING([prelink not found and linker does not support relocation, base address of core dlls won't be set correctly.])
  788. fi])
  789. WINE_TRY_CFLAGS([-Wl,-z,max-page-size=0x1000],
  790. [WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"])
  791. ;;
  792. esac
  793. AC_SUBST(LIBWINE_SHAREDLIB,"libwine.so.$libwine_version")
  794. AC_SUBST(LIBWINE_DEPENDS,"wine.map")
  795. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
  796. ;;
  797. esac
  798. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
  799. enable_wineandroid_drv=${enable_wineandroid_drv:-no}
  800. enable_winemac_drv=${enable_winemac_drv:-no}
  801. dnl Check for cross compiler to build test programs
  802. AC_SUBST(CROSSTARGET)
  803. if test "x$with_mingw" != xno
  804. then
  805. case "x$with_mingw" in
  806. x|xyes) WINE_CHECK_MINGW_PROG(CROSSCC,false) ;;
  807. *) CROSSCC=$with_mingw ;;
  808. esac
  809. if test "$CROSSCC" != "false"
  810. then
  811. ac_save_CC="$CC"
  812. saved_CFLAGS=$CFLAGS
  813. saved_LDFLAGS=$LDFLAGS
  814. AC_SUBST(CROSSCFLAGS,${CROSSCFLAGS:-"-g -O2"})
  815. AC_SUBST(EXTRACROSSCFLAGS,"-D__WINE_PE_BUILD -Wall")
  816. AC_SUBST(CROSSLDFLAGS)
  817. CC="$CROSSCC"
  818. CFLAGS=$CROSSCFLAGS
  819. LDFLAGS=$CROSSLDFLAGS
  820. AC_CACHE_CHECK([whether $CROSSCC works], wine_cv_crosscc,
  821. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],[wine_cv_crosscc=yes],[wine_cv_crosscc=no])])
  822. if test $wine_cv_crosscc = yes
  823. then
  824. set x $CROSSCC
  825. shift
  826. while test $# -ge 1
  827. do
  828. case "$1" in
  829. *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
  830. *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
  831. esac
  832. shift
  833. done
  834. dnl Check if cross compiler supports -target argument
  835. llvm_target=$CROSSTARGET
  836. llvm_cflags="-fuse-ld=lld"
  837. if test -z "$llvm_target"
  838. then
  839. case $host_cpu in
  840. *i[[3456789]]86*) llvm_target=i686-windows ;;
  841. *) llvm_target=$host_cpu-windows ;;
  842. esac
  843. fi
  844. case $llvm_target in
  845. *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
  846. esac
  847. WINE_TRY_CROSSCFLAGS([-target $llvm_target $llvm_cflags],
  848. [CROSSTARGET=$llvm_target
  849. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
  850. AC_SUBST(DELAYLOADFLAG,["-Wl,-delayload,"])
  851. CFLAGS="$CFLAGS $llvm_cflags"])
  852. fi
  853. WINE_TRY_CROSSCFLAGS([-fno-strict-aliasing])
  854. dnl clang needs to be told to fail on unknown options
  855. WINE_TRY_CROSSCFLAGS([-Werror=unknown-warning-option],[CFLAGS="$CFLAGS -Werror=unknown-warning-option"])
  856. WINE_TRY_CROSSCFLAGS([-Werror=ignored-optimization-argument],[CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"])
  857. WINE_TRY_CROSSCFLAGS([-Wdeclaration-after-statement])
  858. WINE_TRY_CROSSCFLAGS([-Wempty-body])
  859. WINE_TRY_CROSSCFLAGS([-Wignored-qualifiers])
  860. WINE_TRY_CROSSCFLAGS([-Winit-self])
  861. WINE_TRY_CROSSCFLAGS([-Wpacked-not-aligned],[EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"])
  862. WINE_TRY_CROSSCFLAGS([-Wpragma-pack],[EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"])
  863. WINE_TRY_CROSSCFLAGS([-Wshift-overflow=2])
  864. WINE_TRY_CROSSCFLAGS([-Wstrict-prototypes])
  865. WINE_TRY_CROSSCFLAGS([-Wtype-limits])
  866. WINE_TRY_CROSSCFLAGS([-Wunused-but-set-parameter])
  867. WINE_TRY_CROSSCFLAGS([-Wvla])
  868. WINE_TRY_CROSSCFLAGS([-Wwrite-strings])
  869. WINE_TRY_CROSSCFLAGS([-Wpointer-arith])
  870. WINE_TRY_CROSSCFLAGS([-Wlogical-op])
  871. WINE_TRY_CROSSCFLAGS([-Wabsolute-value])
  872. case $host_cpu in
  873. *i[[3456789]]86*) WINE_TRY_CROSSCFLAGS([-fno-omit-frame-pointer]) ;;
  874. x86_64) WINE_TRY_CROSSCFLAGS([-Wno-format])
  875. WINE_TRY_CROSSCFLAGS([-Wformat-overflow])
  876. WINE_TRY_CROSSCFLAGS([-Wnonnull])
  877. WINE_TRY_CROSSCFLAGS([-mcx16]) ;;
  878. aarch64) WINE_TRY_CROSSCFLAGS([-Wno-format]) ;;
  879. esac
  880. dnl Determine debug info format
  881. AC_SUBST(CROSSDEBUG)
  882. if test -z "$CROSSDEBUG"
  883. then
  884. for ac_flag in $CROSSCFLAGS; do
  885. case $ac_flag in
  886. -gdwarf*) CROSSDEBUG=dwarf ;;
  887. -gcodeview) CROSSDEBUG=pdb ;;
  888. -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
  889. esac
  890. done
  891. fi
  892. ac_debug_format_seen=""
  893. for ac_flag in $CROSSCFLAGS; do
  894. case $ac_flag in
  895. -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
  896. esac
  897. done
  898. if test "x$ac_debug_format_seen" = x
  899. then
  900. case $CROSSDEBUG in
  901. *dwarf) WINE_TRY_CROSSCFLAGS([-gdwarf-4]) ;;
  902. pdb) WINE_TRY_CROSSCFLAGS([-gcodeview]) ;;
  903. esac
  904. fi
  905. WINE_TRY_CROSSCFLAGS([-fexcess-precision=standard],[AC_SUBST(EXCESS_PRECISION_CFLAGS,"-fexcess-precision=standard")])
  906. if test "x$enable_werror" = "xyes"
  907. then
  908. WINE_TRY_CROSSCFLAGS([-Werror])
  909. fi
  910. if test "x$enable_build_id" = "xyes"
  911. then
  912. WINE_TRY_CROSSCFLAGS([-Wl,--build-id], [CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
  913. CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"])
  914. fi
  915. CFLAGS=$saved_CFLAGS
  916. LDFLAGS=$saved_LDFLAGS
  917. CC="$ac_save_CC"
  918. fi
  919. fi
  920. WINE_NOTICE_WITH(mingw,[test "x$CROSSTARGET" = "x"],
  921. [MinGW compiler not found, cross-compiling PE files won't be supported.])
  922. dnl **** External libraries ****
  923. if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
  924. then
  925. WINE_MINGW_PACKAGE_FLAGS(FAUDIO,[FAudio],[-lFAudio],
  926. [WINE_CHECK_MINGW_HEADER(FAudio.h,
  927. [WINE_CHECK_MINGW_LIB(FAudio,FAudio_CommitOperationSet,[:],[FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""],[$FAUDIO_PE_LIBS])],
  928. [FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""])])
  929. if test "x$FAUDIO_PE_LIBS" = "x"
  930. then
  931. WINE_NOTICE([FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version.])
  932. fi
  933. WINE_MINGW_PACKAGE_FLAGS(JPEG,[libjpeg],,
  934. [WINE_CHECK_MINGW_HEADER(jpeglib.h,
  935. [WINE_CHECK_MINGW_LIB(jpeg,jpeg_start_decompress,[:],[JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""],[$JPEG_PE_LIBS])],
  936. [JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""],
  937. [#include <stddef.h>
  938. #include <stdio.h>])])
  939. if test "x$JPEG_PE_LIBS" = "x"
  940. then
  941. WINE_NOTICE([libjpeg ${notice_platform}MinGW development files not found; using bundled version.])
  942. fi
  943. WINE_MINGW_PACKAGE_FLAGS(LCMS2,[lcms2],[-llcms2],
  944. [WINE_CHECK_MINGW_HEADER(lcms2.h,
  945. [WINE_CHECK_MINGW_LIB(lcms2,cmsOpenProfileFromFile,[:],[LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""],[$LCMS2_PE_LIBS])],
  946. [LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""])])
  947. if test "x$LCMS2_PE_LIBS" = "x"
  948. then
  949. WINE_NOTICE([liblcms2 ${notice_platform}MinGW development files not found; using bundled version.])
  950. fi
  951. WINE_MINGW_PACKAGE_FLAGS(MPG123,[libmpg123],[-lmpg123],
  952. [WINE_CHECK_MINGW_HEADER(mpg123.h,
  953. [WINE_CHECK_MINGW_LIB(mpg123,mpg123_feed,[:],[MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""],[$MPG123_PE_LIBS])],
  954. [MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""])])
  955. if test "x$MPG123_PE_LIBS" = "x"
  956. then
  957. WINE_NOTICE([libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version.])
  958. fi
  959. WINE_MINGW_PACKAGE_FLAGS(PNG,[libpng],,
  960. [WINE_CHECK_MINGW_HEADER(png.h,
  961. [WINE_CHECK_MINGW_LIB(png,png_create_read_struct,[:],[PNG_PE_CFLAGS=""; PNG_PE_LIBS=""],[$PNG_PE_LIBS])],
  962. [PNG_PE_CFLAGS=""; PNG_PE_LIBS=""])])
  963. if test "x$PNG_PE_LIBS" = "x"
  964. then
  965. WINE_NOTICE([libpng ${notice_platform}MinGW development files not found; using bundled version.])
  966. fi
  967. WINE_MINGW_PACKAGE_FLAGS(TIFF,[libtiff-4],,
  968. [WINE_CHECK_MINGW_HEADER(tiffio.h,
  969. [WINE_CHECK_MINGW_LIB(tiff,TIFFClientOpen,[:],[TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""],[$TIFF_PE_LIBS])],
  970. [TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""])])
  971. if test "x$TIFF_PE_LIBS" = "x"
  972. then
  973. WINE_NOTICE([libtiff ${notice_platform}MinGW development files not found; using bundled version.])
  974. fi
  975. WINE_MINGW_PACKAGE_FLAGS(XML2,[libxml-2.0],[-lxml2],
  976. [WINE_CHECK_MINGW_HEADER(libxml/parser.h)
  977. WINE_CHECK_MINGW_HEADER(libxml/xmlsave.h)
  978. WINE_CHECK_MINGW_HEADER(libxml/SAX2.h)
  979. 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"
  980. then
  981. WINE_CHECK_MINGW_LIB(xml2,xmlFirstElementChild,[:],[XML2_PE_CFLAGS=""; XML2_PE_LIBS=""],[$XML2_PE_LIBS])
  982. else
  983. XML2_PE_CFLAGS=""
  984. XML2_PE_LIBS=""
  985. fi])
  986. if test "x$XML2_PE_LIBS" = "x"
  987. then
  988. WINE_NOTICE([libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version.])
  989. fi
  990. WINE_MINGW_PACKAGE_FLAGS(XSLT,[libxslt],[-lxslt],
  991. [WINE_CHECK_MINGW_HEADER(libxslt/pattern.h)
  992. WINE_CHECK_MINGW_HEADER(libxslt/transform.h)
  993. if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
  994. then
  995. WINE_CHECK_MINGW_LIB(xslt,xsltCompilePattern,[:],[XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""],[$XSLT_PE_LIBS])
  996. else
  997. XSLT_PE_CFLAGS=""
  998. XSLT_PE_LIBS=""
  999. fi])
  1000. if test "x$XSLT_PE_LIBS" = "x"
  1001. then
  1002. WINE_NOTICE([libxslt ${notice_platform}MinGW development files not found; using bundled version.])
  1003. fi
  1004. WINE_MINGW_PACKAGE_FLAGS(ZLIB,[zlib],[-lz],
  1005. [WINE_CHECK_MINGW_HEADER(zlib.h,
  1006. [WINE_CHECK_MINGW_LIB(z,inflate,[:],[ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""],[$ZLIB_PE_LIBS])],
  1007. [ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""])])
  1008. if test "x$ZLIB_PE_LIBS" = "x"
  1009. then
  1010. WINE_NOTICE([zlib ${notice_platform}MinGW development files not found; using bundled version.])
  1011. fi
  1012. fi
  1013. WINE_EXTLIB_FLAGS(FAUDIO, faudio, "faudio mfplat mfreadwrite mfuuid propsys", "-I\$(top_srcdir)/libs/faudio/include")
  1014. WINE_EXTLIB_FLAGS(GSM, gsm, gsm, "-I\$(top_srcdir)/libs/gsm/inc")
  1015. WINE_EXTLIB_FLAGS(JPEG, jpeg, jpeg, "-I\$(top_srcdir)/libs/jpeg")
  1016. WINE_EXTLIB_FLAGS(JXR, jxr, jxr, "-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys")
  1017. WINE_EXTLIB_FLAGS(LCMS2, lcms2, lcms2, "-I\$(top_srcdir)/libs/lcms2/include")
  1018. WINE_EXTLIB_FLAGS(MPG123, mpg123, mpg123, "-I\$(top_srcdir)/libs/mpg123/src/libmpg123")
  1019. WINE_EXTLIB_FLAGS(PNG, png, "png \$(ZLIB_PE_LIBS)", "-I\$(top_srcdir)/libs/png")
  1020. WINE_EXTLIB_FLAGS(TIFF, tiff, tiff, "-I\$(top_srcdir)/libs/tiff/libtiff")
  1021. WINE_EXTLIB_FLAGS(XML2, xml2, xml2, "-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC")
  1022. WINE_EXTLIB_FLAGS(XSLT, xslt, xslt, "-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC")
  1023. WINE_EXTLIB_FLAGS(ZLIB, zlib, z, "-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO")
  1024. dnl **** Check for pthread ****
  1025. if test "$ac_cv_header_pthread_h" = "yes"
  1026. then
  1027. AC_CHECK_FUNC(pthread_create,,[AC_CHECK_LIB(pthread,pthread_create,[AC_SUBST(PTHREAD_LIBS,"-lpthread")])])
  1028. fi
  1029. WINE_ERROR_WITH(pthread,[test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x],
  1030. [pthread ${notice_platform}development files not found.
  1031. Wine cannot support threads without libpthread.])
  1032. dnl **** Check for X11 ****
  1033. AC_PATH_XTRA
  1034. if test "$have_x" = "yes"
  1035. then
  1036. ac_save_CPPFLAGS="$CPPFLAGS"
  1037. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  1038. WINE_CHECK_SONAME(X11,XCreateWindow,,,[$X_LIBS $X_EXTRA_LIBS])
  1039. WINE_CHECK_SONAME(Xext,XextCreateExtension,[X_LIBS="$X_LIBS -lXext"],,[$X_LIBS -lX11 $X_EXTRA_LIBS])
  1040. X_LIBS="$X_LIBS -lX11"
  1041. dnl *** All of the following tests require X11/Xlib.h
  1042. AC_CHECK_HEADERS([X11/Xlib.h \
  1043. X11/XKBlib.h \
  1044. X11/Xutil.h \
  1045. X11/Xcursor/Xcursor.h \
  1046. X11/extensions/shape.h \
  1047. X11/extensions/XInput.h \
  1048. X11/extensions/XInput2.h \
  1049. X11/extensions/XShm.h \
  1050. X11/extensions/Xcomposite.h \
  1051. X11/extensions/Xfixes.h \
  1052. X11/extensions/Xinerama.h \
  1053. X11/extensions/Xrandr.h \
  1054. X11/extensions/Xrender.h \
  1055. X11/extensions/xf86vmode.h \
  1056. X11/extensions/xf86vmproto.h],,,
  1057. [#ifdef HAVE_X11_XLIB_H
  1058. # include <X11/Xlib.h>
  1059. #endif
  1060. #ifdef HAVE_X11_XUTIL_H
  1061. # include <X11/Xutil.h>
  1062. #endif])
  1063. dnl *** Check for X keyboard extension
  1064. if test "$ac_cv_header_X11_XKBlib_h" = "yes"
  1065. then
  1066. AC_CHECK_LIB(X11, XkbQueryExtension,
  1067. AC_DEFINE(HAVE_XKB, 1, [Define if you have the XKB extension]),,[$X_LIBS $X_EXTRA_LIBS])
  1068. fi
  1069. dnl *** Check for X cursor
  1070. if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
  1071. then
  1072. WINE_CHECK_SONAME(Xcursor,XcursorImageLoadCursor,,,[$X_LIBS $X_EXTRA_LIBS])
  1073. fi
  1074. WINE_NOTICE_WITH(xcursor,[test "x$ac_cv_lib_soname_Xcursor" = "x"],
  1075. [libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.])
  1076. dnl *** Check for X input extension
  1077. if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
  1078. then
  1079. WINE_CHECK_SONAME(Xi,XOpenDevice,,,[$X_LIBS $X_EXTRA_LIBS])
  1080. fi
  1081. WINE_NOTICE_WITH(xinput,[test "x$ac_cv_lib_soname_Xi" = "x"],
  1082. [libxi ${notice_platform}development files not found, the Xinput extension won't be supported.])
  1083. dnl *** Check for X input 2 extension
  1084. if test "x$ac_cv_lib_soname_Xi" != x
  1085. then
  1086. WINE_NOTICE_WITH(xinput2,[test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"],
  1087. [XInput2 headers not found, the XInput 2 extension won't be supported.])
  1088. fi
  1089. dnl *** Check for X Shm extension
  1090. if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
  1091. then
  1092. AC_CHECK_LIB(Xext, XShmQueryExtension,
  1093. AC_DEFINE(HAVE_LIBXXSHM, 1, [Define if you have the X Shm extension]),,[$X_LIBS $X_EXTRA_LIBS])
  1094. fi
  1095. WINE_NOTICE_WITH(xshm,[test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"],
  1096. [XShm ${notice_platform}development files not found, X Shared Memory won't be supported.])
  1097. dnl *** Check for X shape extension
  1098. if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
  1099. then
  1100. AC_CHECK_LIB(Xext,XShapeQueryExtension,
  1101. AC_DEFINE(HAVE_LIBXSHAPE, 1, [Define if you have the X Shape extension]),,[$X_LIBS $X_EXTRA_LIBS])
  1102. fi
  1103. WINE_NOTICE_WITH(xshape,[test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"],
  1104. [XShape ${notice_platform}development files not found, XShape won't be supported.])
  1105. dnl *** Check for XFree86 VMODE extension
  1106. if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
  1107. then
  1108. WINE_CHECK_SONAME(Xxf86vm,XF86VidModeQueryExtension,,,[$X_LIBS $X_EXTRA_LIBS])
  1109. fi
  1110. WINE_NOTICE_WITH(xxf86vm,[test "x$ac_cv_lib_soname_Xxf86vm" = "x"],
  1111. [libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.])
  1112. dnl *** Check for Transform functions in Xrender
  1113. if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
  1114. then
  1115. WINE_CHECK_SONAME(Xrender,XRenderQueryExtension,
  1116. [AC_CHECK_LIB(Xrender,XRenderSetPictureTransform,
  1117. [AC_DEFINE(HAVE_XRENDERSETPICTURETRANSFORM, 1,
  1118. [Define if Xrender has the XRenderSetPictureTransform function])],,[$X_LIBS $X_EXTRA_LIBS])
  1119. AC_CHECK_LIB(Xrender,XRenderCreateLinearGradient,
  1120. [AC_DEFINE(HAVE_XRENDERCREATELINEARGRADIENT, 1,
  1121. [Define if Xrender has the XRenderCreateLinearGradient function])],,[$X_LIBS $X_EXTRA_LIBS])],,[$X_LIBS $X_EXTRA_LIBS])
  1122. fi
  1123. WINE_WARNING_WITH(xrender,[test "x$ac_cv_lib_soname_Xrender" = "x"],
  1124. [libxrender ${notice_platform}development files not found, XRender won't be supported.])
  1125. dnl *** Check for X RandR extension
  1126. if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
  1127. then
  1128. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>
  1129. #include <X11/extensions/Xrandr.h>]], [[static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;]])],
  1130. [WINE_CHECK_SONAME(Xrandr,XRRQueryExtension,
  1131. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>
  1132. #include <X11/extensions/Xrandr.h>]], [[static typeof(XRRGetProviderResources) *f; if (f) return 0;]])],
  1133. [AC_DEFINE(HAVE_XRRGETPROVIDERRESOURCES, 1,
  1134. [Define if Xrandr has the XRRGetProviderResources function])],
  1135. [WINE_NOTICE([libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported.])])],,[$X_LIBS $X_EXTRA_LIBS])])
  1136. fi
  1137. WINE_NOTICE_WITH(xrandr,[test "x$ac_cv_lib_soname_Xrandr" = "x"],
  1138. [libxrandr ${notice_platform}development files not found, XRandr won't be supported.])
  1139. dnl *** Check for Xfixes extension
  1140. if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
  1141. then
  1142. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>
  1143. #include <X11/extensions/Xfixes.h>]], [[static typeof(XFixesQueryVersion) * func; if (func) return 0;]])],
  1144. [WINE_CHECK_SONAME(Xfixes,XFixesQueryVersion,,,[$X_LIBS $X_EXTRA_LIBS])])
  1145. fi
  1146. WINE_NOTICE_WITH(xfixes,[test "x$ac_cv_lib_soname_Xfixes" = "x"],
  1147. [libxfixes ${notice_platform}development files not found, Xfixes won't be supported.])
  1148. dnl *** Check for Xinerama extension
  1149. if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
  1150. then
  1151. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>
  1152. #include <X11/extensions/Xinerama.h>]], [[static typeof(XineramaQueryScreens) * func; if (func) return 0;]])],
  1153. [WINE_CHECK_SONAME(Xinerama,XineramaQueryScreens,,,[$X_LIBS $X_EXTRA_LIBS])])
  1154. fi
  1155. WINE_NOTICE_WITH(xinerama,[test "x$ac_cv_lib_soname_Xinerama" = "x"],
  1156. [libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.])
  1157. dnl *** Check for X Composite extension
  1158. if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
  1159. then
  1160. WINE_CHECK_SONAME(Xcomposite,XCompositeRedirectWindow,,,[$X_LIBS $X_EXTRA_LIBS])
  1161. fi
  1162. WINE_NOTICE_WITH(xcomposite,[test "x$ac_cv_lib_soname_Xcomposite" = "x"],
  1163. [libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.])
  1164. dnl *** Check for XICCallback struct
  1165. AC_CHECK_MEMBERS([XICCallback.callback, XEvent.xcookie],,,
  1166. [#ifdef HAVE_X11_XLIB_H
  1167. #include <X11/Xlib.h>
  1168. #endif])
  1169. dnl *** End of X11/Xlib.h check
  1170. dnl Check for the presence of OpenGL
  1171. opengl_msg=""
  1172. if test "x$with_opengl" != "xno"
  1173. then
  1174. WINE_CHECK_SONAME(GL,glXCreateContext,
  1175. [OPENGL_LIBS="-lGL"],
  1176. [WINE_CHECK_SONAME(GL,glXCreateContext,
  1177. [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"],
  1178. [if test -f /usr/X11R6/lib/libGL.a
  1179. then
  1180. opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
  1181. This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
  1182. else
  1183. opengl_msg="No OpenGL library found on this system."
  1184. fi],
  1185. $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)],
  1186. $X_LIBS -lm $X_EXTRA_LIBS)
  1187. if test "x$with_osmesa" != "xno"
  1188. then
  1189. WINE_CHECK_SONAME(OSMesa,OSMesaGetProcAddress,,,[$X_LIBS -lm $X_EXTRA_LIBS])
  1190. WINE_NOTICE_WITH(osmesa,[test "x$ac_cv_lib_soname_OSMesa" = "x"],
  1191. [libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.])
  1192. fi
  1193. fi
  1194. WINE_WARNING_WITH(opengl,[test -n "$opengl_msg"],[$opengl_msg
  1195. OpenGL and Direct3D won't be supported.])
  1196. CPPFLAGS="$ac_save_CPPFLAGS"
  1197. else
  1198. X_CFLAGS=""
  1199. X_LIBS=""
  1200. fi
  1201. if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
  1202. then
  1203. WINE_ERROR_WITH(x,[test "x$X_LIBS" = "x"],
  1204. [X ${notice_platform}development files not found. Wine will be built
  1205. without X support, which probably isn't what you want. You will need
  1206. to install ${notice_platform}development packages of Xlib at the very least.],
  1207. [enable_winex11_drv])
  1208. else
  1209. WINE_NOTICE_WITH(x,[test "x$X_LIBS" = "x"],
  1210. [X ${notice_platform}development files not found, the X11 driver won't be supported.],
  1211. [enable_winex11_drv])
  1212. fi
  1213. dnl **** Check for OpenCL ****
  1214. if test "$ac_cv_header_CL_cl_h" = "yes"
  1215. then
  1216. AC_CHECK_LIB(OpenCL,clGetPlatformInfo,[AC_SUBST(OPENCL_LIBS,["-lOpenCL"])])
  1217. fi
  1218. WINE_NOTICE_WITH(opencl,[test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes],
  1219. [OpenCL ${notice_platform}development files not found, OpenCL won't be supported.],
  1220. [enable_opencl])
  1221. dnl **** Check for libpcap ****
  1222. if test "$ac_cv_header_pcap_pcap_h" = "yes"
  1223. then
  1224. AC_CHECK_LIB(pcap,pcap_create,[AC_SUBST(PCAP_LIBS,["-lpcap"])])
  1225. fi
  1226. WINE_NOTICE_WITH(pcap,[test "x$ac_cv_lib_pcap_pcap_create" != xyes],
  1227. [pcap ${notice_platform}development files not found, wpcap won't be supported.],
  1228. [enable_wpcap])
  1229. dnl **** Check for inotify ****
  1230. if test "x$with_inotify" != "xno"
  1231. then
  1232. WINE_PACKAGE_FLAGS(INOTIFY,[libinotify],,,,
  1233. [AC_CHECK_HEADERS([sys/inotify.h])
  1234. AC_CHECK_LIB(inotify,inotify_add_watch,[:],[INOTIFY_LIBS=""],[$INOTIFY_LIBS])])
  1235. fi
  1236. WINE_NOTICE_WITH(inotify,[test "$ac_cv_header_sys_inotify_h" != "yes"],
  1237. [libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.])
  1238. dnl **** Check for libdbus ****
  1239. if test "x$with_dbus" != "xno"
  1240. then
  1241. WINE_PACKAGE_FLAGS(DBUS,[dbus-1],,,,
  1242. [AC_CHECK_HEADER([dbus/dbus.h],
  1243. [WINE_CHECK_SONAME(dbus-1, dbus_connection_close,,[DBUS_CFLAGS=""],[$DBUS_LIBS])],
  1244. [DBUS_CFLAGS=""])])
  1245. fi
  1246. WINE_NOTICE_WITH(dbus,[test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
  1247. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"],
  1248. [libdbus ${notice_platform}development files not found, no dynamic device support.])
  1249. dnl **** Check for libgnutls ****
  1250. if test "x$with_gnutls" != "xno"
  1251. then
  1252. WINE_PACKAGE_FLAGS(GNUTLS,[gnutls],[-lgnutls],,,
  1253. [AC_CHECK_HEADER(gnutls/gnutls.h,
  1254. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>
  1255. #include <gnutls/crypto.h>]], [[static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;]])],
  1256. [WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS],[[libgnutls\\(-deb0\\)\\{0,1\\}]])
  1257. WINE_CHECK_LIB_FUNCS(gnutls_cipher_init,[$GNUTLS_LIBS],,
  1258. [WINE_NOTICE([libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported.])])])],
  1259. [GNUTLS_CFLAGS=""])])
  1260. fi
  1261. WINE_WARNING_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"],
  1262. [libgnutls ${notice_platform}development files not found, no schannel support.])
  1263. dnl **** Check for SANE ****
  1264. if test "x$with_sane" != "xno"
  1265. then
  1266. WINE_PACKAGE_FLAGS(SANE,[sane-backends],,[`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`],[`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`],
  1267. [AC_CHECK_HEADER(sane/sane.h,
  1268. [AC_CHECK_LIB(sane,sane_init,[:],,[$SANE_LIBS])])])
  1269. fi
  1270. WINE_NOTICE_WITH(sane,[test "$ac_cv_lib_sane_sane_init" != "yes"],
  1271. [libsane ${notice_platform}development files not found, scanners won't be supported.],
  1272. [enable_sane_ds])
  1273. dnl **** Check for libusb ****
  1274. if test "x$with_usb" != "xno"
  1275. then
  1276. WINE_PACKAGE_FLAGS(USB,[libusb-1.0],[-lusb-1.0],,,
  1277. [AC_CHECK_HEADER([libusb.h],
  1278. [AC_CHECK_LIB(usb-1.0,libusb_interrupt_event_handler,[:],[USB_LIBS=""],[$USB_LIBS])],
  1279. [USB_LIBS=""])])
  1280. fi
  1281. WINE_NOTICE_WITH(usb,[test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"],
  1282. [libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.],
  1283. [enable_wineusb_sys])
  1284. dnl **** Check for libv4l2 ****
  1285. if test "x$with_v4l2" != "xno"
  1286. then
  1287. WINE_CHECK_SONAME(v4l2,v4l2_open)
  1288. fi
  1289. WINE_NOTICE_WITH(v4l2,[test "x$ac_cv_lib_soname_v4l2" = "x"],
  1290. [libv4l2 ${notice_platform}development files not found.])
  1291. dnl **** Check for libgphoto2 ****
  1292. if test "x$with_gphoto" != "xno"
  1293. then
  1294. WINE_PACKAGE_FLAGS(GPHOTO2,[libgphoto2],[-lgphoto2],
  1295. [`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`],[`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`],
  1296. [AC_CHECK_HEADER(gphoto2-camera.h,
  1297. [AC_CHECK_LIB(gphoto2,gp_camera_new,[:],,[$GPHOTO2_LIBS])])])
  1298. WINE_PACKAGE_FLAGS(GPHOTO2_PORT,[libgphoto2_port],[-lgphoto2_port],
  1299. [`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`],
  1300. [`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`],
  1301. [AC_CHECK_HEADER(gphoto2-port.h,
  1302. [AC_CHECK_LIB(gphoto2_port,gp_port_info_list_new,
  1303. [AC_DEFINE(HAVE_GPHOTO2_PORT, 1, [Define if we have the libgphoto2_port development environment])],
  1304. [GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""],
  1305. [$GPHOTO2_PORT_LIBS])],
  1306. [GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""])])
  1307. fi
  1308. WINE_NOTICE_WITH(gphoto,[test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"],
  1309. [libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.],
  1310. [enable_gphoto2_ds])
  1311. WINE_NOTICE_WITH(gphoto,[test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"],
  1312. [libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.])
  1313. dnl **** Check for resolver library ***
  1314. if test "$ac_cv_header_resolv_h" = "yes"
  1315. then
  1316. AC_CACHE_CHECK([for resolver library], ac_cv_have_resolv,
  1317. [ac_save_LIBS="$LIBS"
  1318. for lib in '' -lresolv
  1319. do
  1320. LIBS="$lib $ac_save_LIBS"
  1321. AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_NETINET_IN_H
  1322. #include <netinet/in.h>
  1323. #endif
  1324. #include <resolv.h>]],[[if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)]])],
  1325. [ac_cv_have_resolv=${lib:-"none required"}],[ac_cv_have_resolv="not found"])
  1326. test "x$ac_cv_have_resolv" = "xnot found" || break
  1327. done
  1328. LIBS="$ac_save_LIBS"])
  1329. case "$ac_cv_have_resolv" in
  1330. "not found") ;;
  1331. "none required")
  1332. AC_DEFINE(HAVE_RESOLV, 1, [Define if you have the resolver library and header]) ;;
  1333. *)
  1334. AC_DEFINE(HAVE_RESOLV, 1)
  1335. AC_SUBST(RESOLV_LIBS,$ac_cv_have_resolv) ;;
  1336. esac
  1337. if test "x$ac_cv_have_resolv" != "xnot found"
  1338. then
  1339. AC_CACHE_CHECK([for res_getservers], ac_cv_have_res_getservers,
  1340. [ac_save_LIBS="$LIBS"
  1341. LIBS="$RESOLV_LIBS $LIBS"
  1342. AC_LINK_IFELSE([AC_LANG_PROGRAM(
  1343. [[#include <resolv.h>]],[[res_getservers(NULL, NULL, 0);]])],[ac_cv_have_res_getservers=yes],[ac_cv_have_res_getservers=no])
  1344. LIBS="$ac_save_LIBS"])
  1345. if test "$ac_cv_have_res_getservers" = "yes"
  1346. then
  1347. AC_DEFINE(HAVE_RES_GETSERVERS, 1, [Define to 1 if you have the `res_getservers' function.])
  1348. fi
  1349. fi
  1350. fi
  1351. dnl **** Check for FreeType 2 ****
  1352. if test "x$with_freetype" != "xno"
  1353. then
  1354. WINE_PACKAGE_FLAGS(FREETYPE,[freetype2],[-lfreetype],
  1355. [`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`],
  1356. [`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`],
  1357. [AC_CHECK_HEADERS([ft2build.h])
  1358. if test "$ac_cv_header_ft2build_h" = "yes"
  1359. then
  1360. WINE_CHECK_SONAME(freetype,FT_Init_FreeType,
  1361. [AC_DEFINE(HAVE_FREETYPE, 1, [Define if FreeType 2 is installed])
  1362. AC_CHECK_TYPES(FT_TrueTypeEngineType,,,[#include <ft2build.h>
  1363. #include FT_MODULE_H])],
  1364. [FREETYPE_LIBS=""],[$FREETYPE_LIBS])
  1365. else
  1366. FREETYPE_CFLAGS=""
  1367. FREETYPE_LIBS=""
  1368. fi])
  1369. fi
  1370. WINE_ERROR_WITH(freetype,[test "x$ac_cv_lib_soname_freetype" = x],
  1371. [FreeType ${notice_platform}development files not found. Fonts will not be built.],
  1372. [enable_fonts])
  1373. dnl **** Check for pthread functions ****
  1374. WINE_CHECK_LIB_FUNCS(\
  1375. pthread_getthreadid_np,
  1376. [$PTHREAD_LIBS])
  1377. dnl **** Check for gettextpo ****
  1378. if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
  1379. then
  1380. if test "$ac_cv_header_gettext_po_h" = "yes"
  1381. then
  1382. AC_CHECK_LIB(gettextpo,po_message_msgctxt,
  1383. [AC_DEFINE(HAVE_LIBGETTEXTPO,1,[Define to 1 if you have the `gettextpo' library (-lgettextpo).])
  1384. AC_SUBST(GETTEXTPO_LIBS,"-lgettextpo")])
  1385. fi
  1386. WINE_NOTICE_WITH(gettextpo,[test "x$GETTEXTPO_LIBS" = "x"],
  1387. [GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.])
  1388. WINE_NOTICE_WITH(gettextpo,[test "$srcdir" != .],
  1389. [Rebuilding po files is not supported for out of tree builds.])
  1390. fi
  1391. dnl **** Check for PulseAudio ****
  1392. if test "x$with_pulse" != "xno";
  1393. then
  1394. WINE_PACKAGE_FLAGS(PULSE,[libpulse],,,,
  1395. [AC_CHECK_HEADERS(pulse/pulseaudio.h,
  1396. [AC_CHECK_LIB(pulse, pa_stream_is_corked,[:],[PULSE_LIBS=""],[$PULSE_LIBS])],
  1397. [PULSE_LIBS=""])])
  1398. fi
  1399. WINE_NOTICE_WITH(pulse, [test -z "$PULSE_LIBS"],
  1400. [libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.],
  1401. [enable_winepulse_drv])
  1402. dnl **** Check for gstreamer ****
  1403. if test "x$with_gstreamer" != "xno"
  1404. then
  1405. WINE_PACKAGE_FLAGS(GSTREAMER,[gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0],,,,
  1406. [AC_CHECK_HEADER([gst/gst.h],
  1407. [AC_MSG_CHECKING([whether gint64 defined by gst/gst.h is indeed 64-bit])
  1408. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gst/gst.h>]],
  1409. [[static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;]])],
  1410. [AC_MSG_RESULT([yes])
  1411. AC_CHECK_LIB(gstreamer-1.0,gst_pad_new,[:],,[$GSTREAMER_LIBS])],
  1412. [AC_MSG_RESULT([no])
  1413. ac_glib2_broken=yes
  1414. WINE_NOTICE([glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built.])])])])
  1415. fi
  1416. WINE_NOTICE_WITH(gstreamer,[test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes],
  1417. [gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.],
  1418. [enable_winegstreamer])
  1419. dnl **** Check for ALSA 1.x ****
  1420. AC_SUBST(ALSA_LIBS,"")
  1421. if test "x$with_alsa" != "xno"
  1422. then
  1423. AC_CHECK_LIB(asound,snd_pcm_hw_params_get_access_mask,
  1424. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <alsa/asoundlib.h>]], [[snd_pcm_hw_params_get_access_mask(NULL, NULL)]])],
  1425. [ALSA_LIBS="-lasound"])])
  1426. fi
  1427. test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
  1428. dnl **** Check for OSSv4 ****
  1429. if test "x$with_oss" != xno
  1430. then
  1431. ac_save_CPPFLAGS="$CPPFLAGS"
  1432. if test -f /etc/oss.conf
  1433. then
  1434. . /etc/oss.conf
  1435. fi
  1436. ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
  1437. CPPFLAGS="$CPPFLAGS $ac_oss_incl"
  1438. AC_CHECK_HEADER([sys/soundcard.h],
  1439. [AC_CHECK_MEMBERS([oss_sysinfo.numaudioengines],
  1440. [AC_SUBST(OSS4_CFLAGS,"$ac_oss_incl")
  1441. AC_CHECK_LIB(ossaudio,_oss_ioctl,
  1442. [AC_SUBST(OSS4_LIBS,"-lossaudio")])],,
  1443. [#include <sys/soundcard.h>])])
  1444. CPPFLAGS="$ac_save_CPPFLAGS"
  1445. fi
  1446. WINE_NOTICE_WITH(oss,[test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes],
  1447. [OSS sound system found but too old (OSSv4 needed), OSS won't be supported.],
  1448. [enable_wineoss_drv])
  1449. dnl **** Check for libudev ****
  1450. if test "x$with_udev" != "xno"
  1451. then
  1452. WINE_PACKAGE_FLAGS(UDEV,[libudev],[-ludev],,,
  1453. [AC_CHECK_HEADERS(libudev.h,
  1454. [AC_CHECK_LIB(udev,udev_new,
  1455. AC_DEFINE(HAVE_UDEV,1,[Define to 1 if you have the `udev' library (-ludev).]),
  1456. [UDEV_LIBS=""],[$UDEV_LIBS])],
  1457. [UDEV_LIBS=""])])
  1458. fi
  1459. WINE_NOTICE_WITH(udev,[test "x$UDEV_LIBS" = "x"],
  1460. [libudev ${notice_platform}development files not found, plug and play won't be supported.])
  1461. dnl **** Check for libunwind ****
  1462. if test "x$with_unwind" != xno
  1463. then
  1464. WINE_PACKAGE_FLAGS(UNWIND,[libunwind],[-lunwind],,,
  1465. [AC_CACHE_CHECK([for unw_step],wine_cv_have_unw_step,
  1466. [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define UNW_LOCAL_ONLY
  1467. #include <libunwind.h>]],
  1468. [[unw_cursor_t cursor; unw_step( &cursor );]])],
  1469. [wine_cv_have_unw_step="yes"],[wine_cv_have_unw_step="no"])])
  1470. if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
  1471. then
  1472. save_libs=$LIBS
  1473. dnl Force static libgcc, libunwind breaks libgcc_s unwinding
  1474. UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
  1475. LIBS="$UNWIND_LIBS $LIBS"
  1476. AC_CACHE_CHECK([for unw_step in libunwind],wine_cv_have_libunwind_unw_step,
  1477. [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define UNW_LOCAL_ONLY
  1478. #include <libunwind.h>]],
  1479. [[unw_cursor_t cursor; unw_step( &cursor );]])],
  1480. [wine_cv_have_libunwind_unw_step="yes"],
  1481. [wine_cv_have_libunwind_unw_step="no"])])
  1482. LIBS=$save_libs
  1483. fi
  1484. test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
  1485. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
  1486. then
  1487. AC_DEFINE(HAVE_LIBUNWIND,1,[Define to 1 if you have the `unwind' library (-lunwind).])
  1488. fi])
  1489. fi
  1490. case $host in
  1491. aarch64*|*-darwin*)
  1492. WINE_NOTICE_WITH(unwind,[test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono],
  1493. [libunwind ${notice_platform}development files not found, stack unwinding won't work.]) ;;
  1494. esac
  1495. dnl **** Check for libSDL2 ****
  1496. if test "x$with_sdl" != "xno"
  1497. then
  1498. WINE_PACKAGE_FLAGS(SDL2,[sdl2],[-lSDL2],,,
  1499. [AC_CHECK_HEADERS([SDL.h],
  1500. [WINE_CHECK_SONAME(SDL2,SDL_Init,,,[$SDL2_LIBS],[[libSDL2-2.0*]])])])
  1501. fi
  1502. WINE_NOTICE_WITH(sdl,[test "x$ac_cv_lib_soname_SDL2" = "x"],
  1503. [libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.])
  1504. dnl **** Check for capi4linux ****
  1505. if test "x$with_capi" != "xno"
  1506. then
  1507. WINE_PACKAGE_FLAGS(CAPI20,[capi20],,,,
  1508. dnl Check for broken kernel header that doesn't define __user
  1509. [AC_CHECK_HEADERS([capi20.h linux/capi.h],,,[#define __user])
  1510. if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
  1511. then
  1512. AC_CHECK_LIB(capi20,capi20_register,[:],[CAPI20_LIBS=""],[$CAPI20_LIBS])
  1513. fi])
  1514. fi
  1515. WINE_NOTICE_WITH(capi,[test "x$ac_cv_lib_capi20_capi20_register" = "x"],
  1516. [libcapi20 ${notice_platform}development files not found, ISDN won't be supported.],
  1517. [enable_capi2032])
  1518. dnl **** Check for cups ****
  1519. if test "x$with_cups" != "xno"
  1520. then
  1521. WINE_PACKAGE_FLAGS(CUPS,[cups],[-lcups],
  1522. [`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`],
  1523. [`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`],
  1524. [AC_CHECK_HEADERS(cups/cups.h cups/ppd.h)
  1525. if test "$ac_cv_header_cups_cups_h" = "yes"
  1526. then
  1527. WINE_CHECK_SONAME(cups,cupsGetDefault,,[CUPS_LIBS=""],[$CUPS_LIBS])
  1528. else
  1529. CUPS_CFLAGS=""
  1530. CUPS_LIBS=""
  1531. fi])
  1532. fi
  1533. WINE_NOTICE_WITH(cups,[test "x$ac_cv_lib_soname_cups" = "x"],
  1534. [libcups ${notice_platform}development files not found, CUPS won't be supported.])
  1535. dnl **** Check for fontconfig ****
  1536. if test "x$with_fontconfig" != "xno"
  1537. then
  1538. WINE_PACKAGE_FLAGS(FONTCONFIG,[fontconfig],,[$X_CFLAGS],[$X_LIBS],
  1539. [AC_CHECK_HEADERS([fontconfig/fontconfig.h])
  1540. if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
  1541. then
  1542. WINE_CHECK_SONAME(fontconfig,FcInit,,[FONTCONFIG_CFLAGS=""],[$FONTCONFIG_LIBS])
  1543. else
  1544. FONTCONFIG_CFLAGS=""
  1545. fi])
  1546. fi
  1547. WINE_NOTICE_WITH(fontconfig,[test "x$ac_cv_lib_soname_fontconfig" = "x"],
  1548. [fontconfig ${notice_platform}development files not found, fontconfig won't be supported.])
  1549. dnl **** Check for krb5 ****
  1550. if test "x$with_krb5" != "xno"
  1551. then
  1552. WINE_PACKAGE_FLAGS(KRB5,[krb5],,
  1553. [`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`],
  1554. [`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`],
  1555. [AC_CHECK_HEADERS([krb5/krb5.h])
  1556. if test "$ac_cv_header_krb5_krb5_h" = "yes"
  1557. then
  1558. WINE_CHECK_SONAME(krb5,krb5_is_config_principal,,[KRB5_CFLAGS=""],[$KRB5_LIBS])
  1559. else
  1560. KRB5_CFLAGS=""
  1561. fi])
  1562. fi
  1563. WINE_NOTICE_WITH(krb5,[test "x$ac_cv_lib_soname_krb5" = "x"],
  1564. [libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.])
  1565. test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
  1566. dnl **** Check for gssapi ****
  1567. if test "x$with_gssapi" != "xno"
  1568. then
  1569. WINE_PACKAGE_FLAGS(GSSAPI,[krb5-gssapi],,
  1570. [`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`],
  1571. [`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`],
  1572. [AC_CHECK_HEADERS([gssapi/gssapi.h gssapi/gssapi_ext.h])
  1573. if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
  1574. then
  1575. WINE_CHECK_SONAME(gssapi_krb5, gss_init_sec_context,,[GSSAPI_CFLAGS=""],[$GSSAPI_LIBS])
  1576. else
  1577. GSSAPI_CFLAGS=""
  1578. fi])
  1579. fi
  1580. WINE_NOTICE_WITH(gssapi,[test "x$ac_cv_lib_soname_gssapi_krb5" = "x"],
  1581. [libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.])
  1582. dnl **** Check for OpenAL 1.1 ****
  1583. if test "$ac_cv_header_AL_al_h" = "yes"
  1584. then
  1585. WINE_CHECK_SONAME(openal,alGetSource3i,[AC_SUBST(OPENAL_LIBS,"-lopenal")
  1586. ac_cv_lib_openal=yes
  1587. AC_DEFINE_UNQUOTED(HAVE_OPENAL,1,[Define to 1 if OpenAL is available])],,)
  1588. fi
  1589. WINE_NOTICE_WITH(openal,[test "x$ac_cv_lib_openal" != xyes],
  1590. [libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.],
  1591. [enable_openal32])
  1592. dnl **** Check for libprocstat ****
  1593. if test "$ac_cv_header_libprocstat_h" = "yes"
  1594. then
  1595. AC_CHECK_LIB(procstat,procstat_open_sysctl,
  1596. [AC_DEFINE(HAVE_LIBPROCSTAT, 1, [Define to 1 if you have the `procstat' library (-lprocstat).])
  1597. AC_SUBST(PROCSTAT_LIBS,"-lprocstat")])
  1598. fi
  1599. dnl **** Check for libodbc ****
  1600. WINE_CHECK_SONAME(odbc,SQLConnect,,[AC_DEFINE_UNQUOTED(SONAME_LIBODBC,["libodbc.$LIBEXT"])])
  1601. dnl **** Check for libnetapi ****
  1602. if test "x$with_netapi" != "xno"
  1603. then
  1604. WINE_PACKAGE_FLAGS(NETAPI,[netapi],,,,
  1605. [WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])],[$NETAPI_LIBS])])
  1606. fi
  1607. WINE_NOTICE_WITH(netapi,[test "x$ac_cv_lib_soname_netapi" = "x"],
  1608. [libnetapi not found, Samba NetAPI won't be supported.],
  1609. [enable_netapi])
  1610. dnl **** Check for any sound system ****
  1611. if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
  1612. "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
  1613. then
  1614. WINE_WARNING([No sound system was found. Windows applications will be silent.])
  1615. fi
  1616. dnl *** Check for Vulkan ***
  1617. if test "x$with_vulkan" != "xno"
  1618. then
  1619. WINE_CHECK_SONAME(vulkan, vkGetInstanceProcAddr)
  1620. if test "x$ac_cv_lib_soname_vulkan" = "x"
  1621. then
  1622. WINE_CHECK_SONAME(MoltenVK, vkGetInstanceProcAddr)
  1623. fi
  1624. fi
  1625. WINE_NOTICE_WITH(vulkan,[test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"],
  1626. [libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.])
  1627. dnl **** Check for vkd3d ****
  1628. if test "x$with_vkd3d" != "xno"
  1629. then
  1630. WINE_PACKAGE_FLAGS(VKD3D,[libvkd3d],,,,
  1631. [WINE_CHECK_SONAME(vkd3d,vkd3d_serialize_versioned_root_signature,,,[$VKD3D_LIBS])])
  1632. WINE_PACKAGE_FLAGS(VKD3D_SHADER,[libvkd3d-shader],,,,
  1633. [WINE_CHECK_SONAME(vkd3d-shader,vkd3d_shader_compile,,,[$VKD3D_SHADER_LIBS])])
  1634. fi
  1635. WINE_NOTICE_WITH(vkd3d,[test "x$ac_cv_lib_soname_vkd3d" = "x"],
  1636. [vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.])
  1637. test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
  1638. dnl **** Check for gcc specific options ****
  1639. if test "x${GCC}" = "xyes"
  1640. then
  1641. EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
  1642. dnl Check for some compiler flags
  1643. dnl clang needs to be told to fail on unknown options
  1644. saved_CFLAGS=$CFLAGS
  1645. WINE_TRY_CFLAGS([-Werror=unknown-warning-option],[CFLAGS="$CFLAGS -Werror=unknown-warning-option"])
  1646. WINE_TRY_CFLAGS([-Werror=unused-command-line-argument],[CFLAGS="$CFLAGS -Werror=unused-command-line-argument"])
  1647. WINE_TRY_CFLAGS([-Werror=ignored-optimization-argument],[CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"])
  1648. WINE_TRY_CFLAGS([-fcf-protection=none])
  1649. WINE_TRY_CFLAGS([-fno-stack-protector])
  1650. WINE_TRY_CFLAGS([-fno-strict-aliasing])
  1651. WINE_TRY_CFLAGS([-Wdeclaration-after-statement])
  1652. WINE_TRY_CFLAGS([-Wempty-body])
  1653. WINE_TRY_CFLAGS([-Wignored-qualifiers])
  1654. WINE_TRY_CFLAGS([-Winit-self])
  1655. WINE_TRY_CFLAGS([-Wpacked-not-aligned],[EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"])
  1656. WINE_TRY_CFLAGS([-Wpragma-pack],[EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"])
  1657. WINE_TRY_CFLAGS([-Wshift-overflow=2])
  1658. WINE_TRY_CFLAGS([-Wstrict-prototypes])
  1659. WINE_TRY_CFLAGS([-Wtype-limits])
  1660. WINE_TRY_CFLAGS([-Wunused-but-set-parameter])
  1661. WINE_TRY_CFLAGS([-Wvla])
  1662. WINE_TRY_CFLAGS([-Wwrite-strings])
  1663. if test -z "$CROSSTARGET"
  1664. then
  1665. WINE_TRY_CFLAGS([-fexcess-precision=standard],[AC_SUBST(EXCESS_PRECISION_CFLAGS,"-fexcess-precision=standard")])
  1666. fi
  1667. dnl Check for noisy string.h
  1668. WINE_TRY_CFLAGS([-Wpointer-arith],
  1669. [saved_string_h_CFLAGS=$CFLAGS
  1670. CFLAGS="$CFLAGS -Wpointer-arith -Werror"
  1671. AC_CACHE_CHECK([for broken string.h that generates warnings with -Wpointer-arith], ac_cv_c_string_h_warnings,
  1672. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string.h>]])],[ac_cv_c_string_h_warnings=no],[ac_cv_c_string_h_warnings=yes]))
  1673. test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
  1674. CFLAGS=$saved_string_h_CFLAGS])
  1675. dnl Check for noisy string.h on logical ops
  1676. WINE_TRY_CFLAGS([-Wlogical-op],
  1677. [saved_string_h_CFLAGS=$CFLAGS
  1678. CFLAGS="$CFLAGS -Wlogical-op -Werror"
  1679. AC_CACHE_CHECK([for broken string.h that generates warnings with -Wlogical-op], ac_cv_c_logicalop_noisy,
  1680. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string.h>
  1681. char*f(const char *h,char n) {return strchr(h,n);}]])],[ac_cv_c_logicalop_noisy=no],[ac_cv_c_logicalop_noisy=yes]))
  1682. CFLAGS=$saved_string_h_CFLAGS
  1683. test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"])
  1684. dnl Check for 64-bit compare-and-swap
  1685. AC_CACHE_CHECK([for flags needed for 64-bit compare-and-swap support], wine_cv_64bit_compare_swap,
  1686. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  1687. #error no
  1688. #endif]])],
  1689. [wine_cv_64bit_compare_swap="none needed"],
  1690. [case $host_cpu in
  1691. *i[[3456]]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
  1692. *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
  1693. *) wine_cv_64bit_compare_swap="unknown" ;;
  1694. esac
  1695. if test "x$wine_cv_64bit_compare_swap" != xunknown
  1696. then
  1697. dnl try with the new flags
  1698. CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
  1699. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  1700. #error no
  1701. #endif]])],,[wine_cv_64bit_compare_swap="unknown"])
  1702. CFLAGS=$saved_CFLAGS
  1703. fi])])
  1704. case "$wine_cv_64bit_compare_swap" in
  1705. unknown) AC_MSG_ERROR([gcc doesn't support 64-bit compare-and-swap on this platform]) ;;
  1706. "none needed") ;;
  1707. *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
  1708. esac
  1709. dnl Determine debug info format
  1710. ac_debug_format_seen=""
  1711. for ac_flag in $CFLAGS; do
  1712. case $ac_flag in
  1713. -gdwarf*) ac_debug_format_seen=yes ;;
  1714. -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
  1715. esac
  1716. done
  1717. if test "x$ac_debug_format_seen" = xdefault
  1718. then
  1719. WINE_TRY_CFLAGS([-gdwarf-4])
  1720. fi
  1721. dnl Disable gcc builtins except for Mingw
  1722. AC_SUBST(MSVCRTFLAGS,"")
  1723. case $host_os in
  1724. mingw32*) dnl Check for delayload linker support
  1725. WINE_TRY_CFLAGS([-Wl,-delayload,autoconftest.dll],[AC_SUBST(DELAYLOADFLAG,["-Wl,-delayload,"])]) ;;
  1726. *) MSVCRTFLAGS="-D_WIN32"
  1727. WINE_TRY_CFLAGS([-fno-builtin],[MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"])
  1728. WINE_TRY_CFLAGS([-fshort-wchar],[MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"]) ;;
  1729. esac
  1730. case $host_cpu in
  1731. dnl gcc-4.6+ omits frame pointers by default, breaking some copy protections
  1732. *i[[3456789]]86*) WINE_TRY_CFLAGS([-fno-omit-frame-pointer]) ;;
  1733. *x86_64*)
  1734. case $host_os in
  1735. dnl Mingw uses Windows 64-bit types, not Unix ones
  1736. cygwin*|mingw32*) WINE_TRY_CFLAGS([-Wno-format]) ;;
  1737. dnl Default to ms_abi on 64-bit
  1738. *) WINE_TRY_CFLAGS([-mabi=ms],[MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"]) ;;
  1739. esac ;;
  1740. esac
  1741. CFLAGS=$saved_CFLAGS
  1742. dnl Enable -Werror
  1743. if test "x$enable_werror" = "xyes"
  1744. then
  1745. WINE_TRY_CFLAGS([-Werror])
  1746. fi
  1747. if test "x$enable_build_id" = "xyes"
  1748. then
  1749. WINE_TRY_CFLAGS([-Wl,--build-id], [CFLAGS="$CFLAGS -Wl,--build-id"
  1750. LDFLAGS="$LDFLAGS -Wl,--build-id"])
  1751. fi
  1752. fi
  1753. dnl **** Disable Fortify, it has too many false positives
  1754. AC_CACHE_CHECK([for the need to disable Fortify], ac_cv_c_fortify_enabled,
  1755. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string.h>]],
  1756. [[#if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
  1757. #error Fortify enabled
  1758. #endif]])],
  1759. [ac_cv_c_fortify_enabled=no],[ac_cv_c_fortify_enabled=yes]))
  1760. if test "$ac_cv_c_fortify_enabled" = yes
  1761. then
  1762. CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
  1763. fi
  1764. dnl **** Check for CFI directives support ****
  1765. AC_CACHE_CHECK([whether CFI directives are supported in assembly code], ac_cv_c_cfi_support,
  1766. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");]])],
  1767. ac_cv_c_cfi_support="yes",ac_cv_c_cfi_support="no"))
  1768. if test "$ac_cv_c_cfi_support" = "yes"
  1769. then
  1770. DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
  1771. LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
  1772. UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
  1773. else
  1774. if test "x$enable_win64" = "xyes"
  1775. then
  1776. WINE_WARNING([building 64-bit Wine without support for CFI directives; exception handling will not work properly.])
  1777. fi
  1778. fi
  1779. dnl **** Platform-specific checks ****
  1780. case $host_os in
  1781. linux*)
  1782. case $host_cpu in
  1783. *i[[3456789]]86*|x86_64*|*aarch64*|arm*)
  1784. test "$wine_binary" = wine || WINE_IGNORE_FILE("loader/wine-preloader")
  1785. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  1786. ;;
  1787. esac
  1788. ;;
  1789. esac
  1790. dnl **** Check for functions ****
  1791. ac_save_CFLAGS="$CFLAGS"
  1792. CFLAGS="$CFLAGS $BUILTINFLAG"
  1793. AC_CHECK_FUNCS(\
  1794. epoll_create \
  1795. fstatfs \
  1796. futimens \
  1797. futimes \
  1798. futimesat \
  1799. getattrlist \
  1800. getauxval \
  1801. getifaddrs \
  1802. getrandom \
  1803. kqueue \
  1804. mach_continuous_time \
  1805. pipe2 \
  1806. port_create \
  1807. posix_fadvise \
  1808. posix_fallocate \
  1809. prctl \
  1810. proc_pidinfo \
  1811. sched_yield \
  1812. setproctitle \
  1813. setprogname \
  1814. sigprocmask \
  1815. sysinfo \
  1816. tcdrain \
  1817. thr_kill2
  1818. )
  1819. CFLAGS="$ac_save_CFLAGS"
  1820. dnl Check for -ldl
  1821. AC_SEARCH_LIBS(dlopen, dl)
  1822. WINE_CHECK_LIB_FUNCS(dlinfo,[$DL_LIBS])
  1823. dnl Check for -lnsl for Solaris
  1824. AC_SEARCH_LIBS(gethostbyname, nsl)
  1825. dnl Check for -lsocket for Solaris
  1826. AC_SEARCH_LIBS(connect, socket)
  1827. dnl Check for -lresolv for Solaris
  1828. AC_SEARCH_LIBS(inet_aton, resolv)
  1829. dnl **** Check for functions which may rely on -lsocket on Solaris.
  1830. AC_CHECK_FUNCS(getaddrinfo)
  1831. dnl Check for clock_gettime which may be in -lrt
  1832. case $host_os in
  1833. darwin*|macosx*) ;;
  1834. *) ac_save_LIBS=$LIBS
  1835. AC_SEARCH_LIBS(clock_gettime, rt,
  1836. [AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define to 1 if you have the `clock_gettime' function.])
  1837. test "$ac_res" = "none required" || AC_SUBST(RT_LIBS,"$ac_res")])
  1838. LIBS=$ac_save_LIBS
  1839. ;;
  1840. esac
  1841. dnl **** Check for OpenLDAP ***
  1842. if test "x$with_ldap" != "xno"
  1843. then
  1844. dnl Actually there's no pkg-config support for ldap, but this way we can still override the flags
  1845. WINE_PACKAGE_FLAGS(LDAP,[openldap],[-lldap -llber],,,
  1846. [AC_CHECK_HEADERS([ldap.h lber.h])
  1847. if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
  1848. then
  1849. AC_CHECK_TYPE(LDAPSortKey,
  1850. [AC_CHECK_LIB(ldap, ldap_initialize,
  1851. [AC_CHECK_LIB(lber, ber_init,
  1852. [AC_DEFINE(HAVE_LDAP, 1, [Define if you have the OpenLDAP development environment])],
  1853. [LDAP_LIBS=""],
  1854. [$PTHREAD_LIBS $LDAP_LIBS])],
  1855. [LDAP_LIBS=""],
  1856. [$PTHREAD_LIBS $LDAP_LIBS])],
  1857. [LDAP_LIBS=""],
  1858. [#include <ldap.h>])
  1859. else
  1860. LDAP_LIBS=""
  1861. fi])
  1862. fi
  1863. WINE_NOTICE_WITH(ldap,[test "x$LDAP_LIBS" = "x"],
  1864. [libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.])
  1865. AC_CACHE_CHECK([for sched_setaffinity],wine_cv_have_sched_setaffinity,
  1866. AC_LINK_IFELSE([AC_LANG_PROGRAM(
  1867. [[#include <sched.h>]], [[sched_setaffinity(0, 0, 0);]])],[wine_cv_have_sched_setaffinity=yes],[wine_cv_have_sched_setaffinity=no]))
  1868. if test "$wine_cv_have_sched_setaffinity" = "yes"
  1869. then
  1870. AC_DEFINE(HAVE_SCHED_SETAFFINITY, 1, [Define to 1 if you have the `sched_setaffinity' function.])
  1871. fi
  1872. dnl **** Check for types ****
  1873. AC_C_INLINE
  1874. AC_CHECK_TYPES([sigset_t],,,[#include <sys/types.h>
  1875. #include <signal.h>])
  1876. AC_CHECK_TYPES([request_sense],,,[#include <linux/cdrom.h>])
  1877. AC_CHECK_TYPES([struct xinpgen],,,
  1878. [#include <sys/types.h>
  1879. #include <sys/socket.h>
  1880. #ifdef HAVE_SYS_SOCKETVAR_H
  1881. #include <sys/socketvar.h>
  1882. #endif
  1883. #ifdef HAVE_NET_ROUTE_H
  1884. #include <net/route.h>
  1885. #endif
  1886. #ifdef HAVE_NETINET_IN_H
  1887. #include <netinet/in.h>
  1888. #endif
  1889. #ifdef HAVE_NETINET_IN_SYSTM_H
  1890. #include <netinet/in_systm.h>
  1891. #endif
  1892. #ifdef HAVE_NETINET_IP_H
  1893. #include <netinet/ip.h>
  1894. #endif
  1895. #ifdef HAVE_NETINET_IN_PCB_H
  1896. #include <netinet/in_pcb.h>
  1897. #endif])
  1898. AC_CACHE_CHECK([for sigaddset],wine_cv_have_sigaddset,
  1899. AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <signal.h>]], [[sigset_t set; sigaddset(&set,SIGTERM);]])],[wine_cv_have_sigaddset=yes],[wine_cv_have_sigaddset=no]))
  1900. if test "$wine_cv_have_sigaddset" = "yes"
  1901. then
  1902. AC_DEFINE(HAVE_SIGADDSET, 1, [Define if sigaddset is supported])
  1903. fi
  1904. AC_CACHE_CHECK([whether we can use re-entrant gethostbyname_r Linux style],
  1905. wine_cv_linux_gethostbyname_r_6,
  1906. AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]],[[
  1907. char *name=0;
  1908. struct hostent he;
  1909. struct hostent *result;
  1910. char *buf=0;
  1911. int bufsize=0;
  1912. int errnr;
  1913. char *addr=0;
  1914. int addrlen=0;
  1915. int addrtype=0;
  1916. gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
  1917. gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
  1918. ]])],[wine_cv_linux_gethostbyname_r_6=yes],[wine_cv_linux_gethostbyname_r_6=no
  1919. ])
  1920. )
  1921. if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
  1922. then
  1923. AC_DEFINE(HAVE_LINUX_GETHOSTBYNAME_R_6, 1,
  1924. [Define if Linux-style gethostbyname_r and gethostbyaddr_r are available])
  1925. fi
  1926. dnl Check for socket structure members
  1927. AC_CHECK_MEMBERS([struct msghdr.msg_accrights, struct sockaddr_un.sun_len],,,
  1928. [#include <sys/types.h>
  1929. #include <sys/socket.h>
  1930. #ifdef HAVE_SYS_UN_H
  1931. # include <sys/un.h>
  1932. #endif])
  1933. dnl Check for scsireq_t and sg_io_hdr_t members
  1934. AC_CHECK_MEMBERS([scsireq_t.cmd, sg_io_hdr_t.interface_id],,,
  1935. [#include <sys/types.h>
  1936. #ifdef HAVE_SCSI_SG_H
  1937. #include <scsi/sg.h>
  1938. #endif])
  1939. dnl Check for siginfo_t members
  1940. AC_CHECK_MEMBERS([siginfo_t.si_fd],,,[#include <signal.h>])
  1941. dnl Check for struct mtget members
  1942. AC_CHECK_MEMBERS([struct mtget.mt_blksiz, struct mtget.mt_gstat, struct mtget.mt_blkno],,,
  1943. [#include <sys/types.h>
  1944. #ifdef HAVE_SYS_MTIO_H
  1945. #include <sys/mtio.h>
  1946. #endif])
  1947. dnl Check for stat.st_blocks and ns-resolved times
  1948. AC_CHECK_MEMBERS([
  1949. struct stat.st_mtim,
  1950. struct stat.st_mtimespec,
  1951. struct stat.st_ctim,
  1952. struct stat.st_ctimespec,
  1953. struct stat.st_atim,
  1954. struct stat.st_atimespec,
  1955. struct stat.st_birthtime,
  1956. struct stat.st_birthtim,
  1957. struct stat.st_birthtimespec,
  1958. struct stat.__st_birthtime,
  1959. struct stat.__st_birthtim])
  1960. dnl Check for sin6_scope_id
  1961. AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id],,,
  1962. [#include <sys/types.h>
  1963. #ifdef HAVE_NETINET_IN_H
  1964. #include <netinet/in.h>
  1965. #endif])
  1966. dnl Check for struct __res_state._u._ext.nscount6
  1967. AC_CHECK_MEMBERS([struct __res_state._u._ext.nscount6],,,
  1968. [#ifdef HAVE_RESOLV_H
  1969. #include <resolv.h>
  1970. #endif])
  1971. dnl Check for struct in6_pktinfo
  1972. AC_CHECK_MEMBERS([struct in6_pktinfo.ipi6_addr],,,
  1973. [#ifdef HAVE_NETINET_IN_H
  1974. #include <netinet/in.h>
  1975. #endif])
  1976. dnl Check for struct ipstat
  1977. AC_CHECK_MEMBERS([struct ipstat.ips_total],,,
  1978. [#include <sys/types.h>
  1979. #ifdef HAVE_SYS_SOCKETVAR_H
  1980. #include <sys/socketvar.h>
  1981. #endif
  1982. #ifdef HAVE_NETINET_IN_H
  1983. #include <netinet/in.h>
  1984. #endif
  1985. #ifdef HAVE_NETINET_IP_VAR_H
  1986. #include <netinet/ip_var.h>
  1987. #endif])
  1988. dnl Check for struct ip_stats
  1989. AC_CHECK_MEMBERS([struct ip_stats.ips_total],,,
  1990. [#ifdef HAVE_NETINET_IP_VAR_H
  1991. #include <netinet/ip_var.h>
  1992. #endif])
  1993. dnl Check for struct tcpstat
  1994. AC_CHECK_MEMBERS([struct tcpstat.tcps_connattempt],,,
  1995. [#include <sys/types.h>
  1996. #ifdef HAVE_SYS_SOCKETVAR_H
  1997. #include <sys/socketvar.h>
  1998. #endif
  1999. #ifdef HAVE_NETINET_IN_H
  2000. #include <netinet/in.h>
  2001. #endif
  2002. #ifdef HAVE_NETINET_TCP_H
  2003. #include <netinet/tcp.h>
  2004. #endif
  2005. #ifdef HAVE_NETINET_TCP_VAR_H
  2006. #include <netinet/tcp_var.h>
  2007. #endif])
  2008. dnl Check for struct tcp_stats
  2009. AC_CHECK_MEMBERS([struct tcp_stats.tcps_connattempt],,,
  2010. [#ifdef HAVE_NETINET_TCP_VAR_H
  2011. #include <netinet/tcp_var.h>
  2012. #endif])
  2013. dnl Check for struct udpstat
  2014. AC_CHECK_MEMBERS([struct udpstat.udps_ipackets],,,
  2015. [#include <sys/types.h>
  2016. #ifdef HAVE_NETINET_IN_H
  2017. #include <netinet/in.h>
  2018. #endif
  2019. #ifdef HAVE_NETINET_IP_VAR_H
  2020. #include <netinet/ip_var.h>
  2021. #endif
  2022. #ifdef HAVE_NETINET_UDP_H
  2023. #include <netinet/udp.h>
  2024. #endif
  2025. #ifdef HAVE_NETINET_UDP_VAR_H
  2026. #include <netinet/udp_var.h>
  2027. #endif])
  2028. dnl Check for struct ifreq.ifr_hwaddr
  2029. AC_CHECK_MEMBERS([struct ifreq.ifr_hwaddr],,,
  2030. [#include <sys/types.h>
  2031. #ifdef HAVE_NET_IF_H
  2032. # include <net/if.h>
  2033. #endif])
  2034. dnl Check for struct sysinfo members totalram and mem_unit
  2035. AC_CHECK_MEMBERS([struct sysinfo.totalram, struct sysinfo.mem_unit],,,
  2036. [#ifdef HAVE_SYS_SYSINFO_H
  2037. # include <sys/sysinfo.h>
  2038. #endif])
  2039. dnl Check for isfinite
  2040. ac_save_LIBS="$LIBS"
  2041. LIBS="$LIBS -lm"
  2042. AC_CACHE_CHECK([for isfinite], ac_cv_have_isfinite,
  2043. AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isfinite(f)]])],[ac_cv_have_isfinite="yes"],[ac_cv_have_isfinite="no"]))
  2044. if test "$ac_cv_have_isfinite" = "yes"
  2045. then
  2046. AC_DEFINE(HAVE_ISFINITE, 1, [Define to 1 if you have the `isfinite' function.])
  2047. fi
  2048. dnl Check for isinf
  2049. AC_CACHE_CHECK([for isinf], ac_cv_have_isinf,
  2050. AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isinf(f)]])],[ac_cv_have_isinf="yes"],[ac_cv_have_isinf="no"]))
  2051. if test "$ac_cv_have_isinf" = "yes"
  2052. then
  2053. AC_DEFINE(HAVE_ISINF, 1, [Define to 1 if you have the `isinf' function.])
  2054. fi
  2055. dnl Check for isnan
  2056. AC_CACHE_CHECK([for isnan], ac_cv_have_isnan,
  2057. AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isnan(f)]])],[ac_cv_have_isnan="yes"],[ac_cv_have_isnan="no"]))
  2058. if test "$ac_cv_have_isnan" = "yes"
  2059. then
  2060. AC_DEFINE(HAVE_ISNAN, 1, [Define to 1 if you have the `isnan' function.])
  2061. fi
  2062. LIBS="$ac_save_LIBS"
  2063. dnl Check for __builtin_popcount
  2064. AC_CACHE_CHECK([for __builtin_popcount], ac_cv_have___builtin_popcount,
  2065. AC_LINK_IFELSE([AC_LANG_PROGRAM(,[[return __builtin_popcount(1)]])],
  2066. [ac_cv_have___builtin_popcount="yes"], [ac_cv_have___builtin_popcount="no"]))
  2067. if test "$ac_cv_have___builtin_popcount" = "yes"
  2068. then
  2069. AC_DEFINE(HAVE___BUILTIN_POPCOUNT, 1, [Define to 1 if you have the `__builtin_popcount' built-in function.])
  2070. fi
  2071. AC_CACHE_CHECK([for __clear_cache], ac_cv_have___clear_cache,
  2072. AC_LINK_IFELSE([AC_LANG_PROGRAM(,[[__clear_cache((void*)0, (void*)0); return 0;]])],
  2073. [ac_cv_have___clear_cache="yes"], [ac_cv_have___clear_cache="no"]))
  2074. if test "$ac_cv_have___clear_cache" = "yes"
  2075. then
  2076. AC_DEFINE(HAVE___CLEAR_CACHE, 1, [Define to 1 if you have the `__clear_cache' (potentially built-in) function.])
  2077. fi
  2078. dnl *** check for the need to define platform-specific symbols
  2079. case $host_cpu in
  2080. *i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
  2081. *x86_64*) WINE_CHECK_DEFINE([__x86_64__]) ;;
  2082. *sparc64*) WINE_CHECK_DEFINE([__sparc64__]) ;;
  2083. *sparc*) WINE_CHECK_DEFINE([__sparc__]) ;;
  2084. *powerpc64*) WINE_CHECK_DEFINE([__powerpc64__]) ;;
  2085. *powerpc*) WINE_CHECK_DEFINE([__powerpc__]) ;;
  2086. *aarch64*) WINE_CHECK_DEFINE([__aarch64__]) ;;
  2087. *arm*) WINE_CHECK_DEFINE([__arm__]) ;;
  2088. esac
  2089. case $host_vendor in
  2090. *sun*) WINE_CHECK_DEFINE([__sun__]) ;;
  2091. esac
  2092. dnl **** Generate output files ****
  2093. AH_TOP([#ifndef __WINE_CONFIG_H
  2094. #define __WINE_CONFIG_H])
  2095. AH_BOTTOM([#endif /* __WINE_CONFIG_H */])
  2096. AC_CONFIG_COMMANDS([include/stamp-h], [echo timestamp > include/stamp-h])
  2097. AS_ECHO_N("creating Makefile rules...") >&AS_MESSAGE_FD
  2098. makedep_flags=""
  2099. test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
  2100. wine_srcdir=
  2101. test "$srcdir" = . || wine_srcdir="$srcdir/"
  2102. WINE_CONFIG_SYMLINK(wine,tools/winewrapper)
  2103. WINE_CONFIG_SYMLINK(wine64,tools/winewrapper,["x$enable_win64" != xno -o -n "$with_wine64"])
  2104. WINE_CONFIG_MAKEFILE(dlls/acledit)
  2105. WINE_CONFIG_MAKEFILE(dlls/aclui)
  2106. WINE_CONFIG_MAKEFILE(dlls/activeds.tlb)
  2107. WINE_CONFIG_MAKEFILE(dlls/activeds)
  2108. WINE_CONFIG_MAKEFILE(dlls/activeds/tests)
  2109. WINE_CONFIG_MAKEFILE(dlls/actxprxy)
  2110. WINE_CONFIG_MAKEFILE(dlls/adsldp)
  2111. WINE_CONFIG_MAKEFILE(dlls/adsldp/tests)
  2112. WINE_CONFIG_MAKEFILE(dlls/adsldpc)
  2113. WINE_CONFIG_MAKEFILE(dlls/advapi32)
  2114. WINE_CONFIG_MAKEFILE(dlls/advapi32/tests)
  2115. WINE_CONFIG_MAKEFILE(dlls/advpack)
  2116. WINE_CONFIG_MAKEFILE(dlls/advpack/tests)
  2117. WINE_CONFIG_MAKEFILE(dlls/amsi)
  2118. WINE_CONFIG_MAKEFILE(dlls/amstream)
  2119. WINE_CONFIG_MAKEFILE(dlls/amstream/tests)
  2120. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-appmodel-identity-l1-1-0)
  2121. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-appmodel-runtime-l1-1-0)
  2122. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-appmodel-runtime-l1-1-1)
  2123. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-appmodel-runtime-l1-1-2)
  2124. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-apiquery-l1-1-0)
  2125. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-appcompat-l1-1-1)
  2126. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-appinit-l1-1-0)
  2127. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-atoms-l1-1-0)
  2128. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-bem-l1-1-0)
  2129. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-l1-1-0)
  2130. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-l1-1-1)
  2131. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-private-l1-1-0)
  2132. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-comm-l1-1-0)
  2133. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l1-1-0)
  2134. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l1-2-0)
  2135. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l2-1-0)
  2136. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l3-2-0)
  2137. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-crt-l1-1-0)
  2138. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-crt-l2-1-0)
  2139. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-datetime-l1-1-0)
  2140. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-datetime-l1-1-1)
  2141. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-debug-l1-1-0)
  2142. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-debug-l1-1-1)
  2143. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-delayload-l1-1-0)
  2144. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-delayload-l1-1-1)
  2145. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-errorhandling-l1-1-0)
  2146. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-errorhandling-l1-1-1)
  2147. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-errorhandling-l1-1-2)
  2148. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-errorhandling-l1-1-3)
  2149. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-featurestaging-l1-1-0)
  2150. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-fibers-l1-1-0)
  2151. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-fibers-l1-1-1)
  2152. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-ansi-l2-1-0)
  2153. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-fromapp-l1-1-0)
  2154. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l1-1-0)
  2155. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l1-2-0)
  2156. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l1-2-1)
  2157. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l1-2-2)
  2158. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l2-1-0)
  2159. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l2-1-1)
  2160. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l2-1-2)
  2161. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-handle-l1-1-0)
  2162. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-heap-l1-1-0)
  2163. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-heap-l1-2-0)
  2164. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-heap-l2-1-0)
  2165. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-heap-obsolete-l1-1-0)
  2166. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-interlocked-l1-1-0)
  2167. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-interlocked-l1-2-0)
  2168. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-io-l1-1-0)
  2169. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-io-l1-1-1)
  2170. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-job-l1-1-0)
  2171. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-job-l2-1-0)
  2172. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-legacy-l1-1-0)
  2173. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-legacy-l1-1-1)
  2174. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-legacy-l1-1-2)
  2175. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-legacy-l1-1-5)
  2176. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-private-l1-1-1)
  2177. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-largeinteger-l1-1-0)
  2178. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-1-0)
  2179. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-1-1)
  2180. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-2-0)
  2181. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-2-1)
  2182. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-2-2)
  2183. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l2-1-0)
  2184. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l1-1-0)
  2185. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l1-2-0)
  2186. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l1-2-1)
  2187. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l1-2-2)
  2188. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l2-1-0)
  2189. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-obsolete-l1-1-0)
  2190. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-obsolete-l1-2-0)
  2191. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-obsolete-l1-3-0)
  2192. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-private-l1-1-0)
  2193. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localregistry-l1-1-0)
  2194. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-0)
  2195. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-1)
  2196. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-2)
  2197. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-3)
  2198. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-4)
  2199. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-misc-l1-1-0)
  2200. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-namedpipe-ansi-l1-1-0)
  2201. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-namedpipe-l1-1-0)
  2202. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-namedpipe-l1-2-0)
  2203. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-namespace-l1-1-0)
  2204. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-normalization-l1-1-0)
  2205. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-path-l1-1-0)
  2206. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-privateprofile-l1-1-1)
  2207. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processenvironment-l1-1-0)
  2208. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processenvironment-l1-2-0)
  2209. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processthreads-l1-1-0)
  2210. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processthreads-l1-1-1)
  2211. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processthreads-l1-1-2)
  2212. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processthreads-l1-1-3)
  2213. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processtopology-l1-1-0)
  2214. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processtopology-obsolete-l1-1-0)
  2215. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-profile-l1-1-0)
  2216. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-psapi-ansi-l1-1-0)
  2217. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-psapi-l1-1-0)
  2218. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-psapi-obsolete-l1-1-0)
  2219. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-psm-appnotify-l1-1-0)
  2220. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-quirks-l1-1-0)
  2221. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-realtime-l1-1-0)
  2222. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-realtime-l1-1-1)
  2223. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-registry-l1-1-0)
  2224. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-registry-l2-1-0)
  2225. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-registry-l2-2-0)
  2226. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-registryuserspecific-l1-1-0)
  2227. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-rtlsupport-l1-1-0)
  2228. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-rtlsupport-l1-2-0)
  2229. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-shlwapi-legacy-l1-1-0)
  2230. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0)
  2231. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0)
  2232. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-shutdown-l1-1-0)
  2233. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-sidebyside-l1-1-0)
  2234. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-string-l1-1-0)
  2235. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-string-l2-1-0)
  2236. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-string-obsolete-l1-1-0)
  2237. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-stringansi-l1-1-0)
  2238. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-stringloader-l1-1-1)
  2239. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-synch-ansi-l1-1-0)
  2240. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-synch-l1-1-0)
  2241. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-synch-l1-2-0)
  2242. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-synch-l1-2-1)
  2243. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-sysinfo-l1-1-0)
  2244. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-sysinfo-l1-2-0)
  2245. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-sysinfo-l1-2-1)
  2246. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-systemtopology-l1-1-0)
  2247. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-threadpool-l1-1-0)
  2248. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-threadpool-l1-2-0)
  2249. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-threadpool-legacy-l1-1-0)
  2250. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-threadpool-private-l1-1-0)
  2251. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-timezone-l1-1-0)
  2252. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-toolhelp-l1-1-0)
  2253. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-url-l1-1-0)
  2254. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-util-l1-1-0)
  2255. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-version-l1-1-0)
  2256. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-version-l1-1-1)
  2257. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-version-private-l1-1-0)
  2258. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-versionansi-l1-1-0)
  2259. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-windowserrorreporting-l1-1-0)
  2260. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-windowserrorreporting-l1-1-1)
  2261. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-error-l1-1-0)
  2262. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-error-l1-1-1)
  2263. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-errorprivate-l1-1-1)
  2264. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-l1-1-0)
  2265. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-registration-l1-1-0)
  2266. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0)
  2267. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-string-l1-1-0)
  2268. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-string-l1-1-1)
  2269. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-wow64-l1-1-0)
  2270. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-wow64-l1-1-1)
  2271. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-xstate-l1-1-0)
  2272. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-xstate-l2-1-0)
  2273. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-conio-l1-1-0)
  2274. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-convert-l1-1-0)
  2275. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-environment-l1-1-0)
  2276. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-filesystem-l1-1-0)
  2277. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-heap-l1-1-0)
  2278. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-locale-l1-1-0)
  2279. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-math-l1-1-0)
  2280. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-multibyte-l1-1-0)
  2281. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-private-l1-1-0)
  2282. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-process-l1-1-0)
  2283. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-runtime-l1-1-0)
  2284. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-stdio-l1-1-0)
  2285. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-string-l1-1-0)
  2286. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-time-l1-1-0)
  2287. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-utility-l1-1-0)
  2288. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-devices-config-l1-1-0)
  2289. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-devices-config-l1-1-1)
  2290. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-devices-query-l1-1-1)
  2291. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-advapi32-l1-1-0)
  2292. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-advapi32-l2-1-0)
  2293. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-kernel32-l2-1-0)
  2294. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-normaliz-l1-1-0)
  2295. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-ole32-l1-1-0)
  2296. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-shell32-l1-1-0)
  2297. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-shlwapi-l1-1-0)
  2298. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-shlwapi-l2-1-0)
  2299. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-user32-l1-1-0)
  2300. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-version-l1-1-0)
  2301. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-dx-d3dkmt-l1-1-0)
  2302. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-classicprovider-l1-1-0)
  2303. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-consumer-l1-1-0)
  2304. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-controller-l1-1-0)
  2305. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-legacy-l1-1-0)
  2306. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-provider-l1-1-0)
  2307. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventlog-legacy-l1-1-0)
  2308. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-gaming-tcui-l1-1-0)
  2309. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-gdi-dpiinfo-l1-1-0)
  2310. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-mm-joystick-l1-1-0)
  2311. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-mm-misc-l1-1-1)
  2312. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-mm-mme-l1-1-0)
  2313. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-mm-time-l1-1-0)
  2314. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-ntuser-dc-access-l1-1-0)
  2315. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-ntuser-rectangle-l1-1-0)
  2316. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-ntuser-sysparams-l1-1-0)
  2317. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-perf-legacy-l1-1-0)
  2318. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-power-base-l1-1-0)
  2319. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-power-setting-l1-1-0)
  2320. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0)
  2321. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-private-l1-1-0)
  2322. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-private-l1-1-4)
  2323. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-window-l1-1-0)
  2324. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0)
  2325. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0)
  2326. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3)
  2327. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-activedirectoryclient-l1-1-0)
  2328. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-audit-l1-1-1)
  2329. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-base-l1-1-0)
  2330. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-base-l1-2-0)
  2331. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-base-private-l1-1-1)
  2332. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-credentials-l1-1-0)
  2333. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-cryptoapi-l1-1-0)
  2334. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-grouppolicy-l1-1-0)
  2335. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsalookup-l1-1-0)
  2336. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsalookup-l1-1-1)
  2337. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsalookup-l2-1-0)
  2338. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsalookup-l2-1-1)
  2339. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsapolicy-l1-1-0)
  2340. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-provider-l1-1-0)
  2341. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-sddl-l1-1-0)
  2342. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-systemfunctions-l1-1-0)
  2343. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-core-l1-1-0)
  2344. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-core-l1-1-1)
  2345. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-management-l1-1-0)
  2346. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-management-l2-1-0)
  2347. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-private-l1-1-1)
  2348. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-winsvc-l1-1-0)
  2349. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-winsvc-l1-2-0)
  2350. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-obsolete-l1-1-0)
  2351. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-scaling-l1-1-0)
  2352. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-scaling-l1-1-1)
  2353. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-stream-l1-1-0)
  2354. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-stream-winrt-l1-1-0)
  2355. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-thread-l1-1-0)
  2356. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shell-shellcom-l1-1-0)
  2357. WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shell-shellfolders-l1-1-0)
  2358. WINE_CONFIG_MAKEFILE(dlls/apphelp)
  2359. WINE_CONFIG_MAKEFILE(dlls/apphelp/tests)
  2360. WINE_CONFIG_MAKEFILE(dlls/appwiz.cpl)
  2361. WINE_CONFIG_MAKEFILE(dlls/atl)
  2362. WINE_CONFIG_MAKEFILE(dlls/atl/tests)
  2363. WINE_CONFIG_MAKEFILE(dlls/atl100)
  2364. WINE_CONFIG_MAKEFILE(dlls/atl100/tests)
  2365. WINE_CONFIG_MAKEFILE(dlls/atl110)
  2366. WINE_CONFIG_MAKEFILE(dlls/atl80)
  2367. WINE_CONFIG_MAKEFILE(dlls/atl80/tests)
  2368. WINE_CONFIG_MAKEFILE(dlls/atl90)
  2369. WINE_CONFIG_MAKEFILE(dlls/atlthunk)
  2370. WINE_CONFIG_MAKEFILE(dlls/atlthunk/tests)
  2371. WINE_CONFIG_MAKEFILE(dlls/atmlib)
  2372. WINE_CONFIG_MAKEFILE(dlls/authz)
  2373. WINE_CONFIG_MAKEFILE(dlls/avicap32)
  2374. WINE_CONFIG_MAKEFILE(dlls/avifil32)
  2375. WINE_CONFIG_MAKEFILE(dlls/avifil32/tests)
  2376. WINE_CONFIG_MAKEFILE(dlls/avifile.dll16,enable_win16)
  2377. WINE_CONFIG_MAKEFILE(dlls/avrt)
  2378. WINE_CONFIG_MAKEFILE(dlls/bcrypt)
  2379. WINE_CONFIG_MAKEFILE(dlls/bcrypt/tests)
  2380. WINE_CONFIG_MAKEFILE(dlls/bluetoothapis)
  2381. WINE_CONFIG_MAKEFILE(dlls/browseui)
  2382. WINE_CONFIG_MAKEFILE(dlls/browseui/tests)
  2383. WINE_CONFIG_MAKEFILE(dlls/bthprops.cpl)
  2384. WINE_CONFIG_MAKEFILE(dlls/cabinet)
  2385. WINE_CONFIG_MAKEFILE(dlls/cabinet/tests)
  2386. WINE_CONFIG_MAKEFILE(dlls/capi2032)
  2387. WINE_CONFIG_MAKEFILE(dlls/cards)
  2388. WINE_CONFIG_MAKEFILE(dlls/cdosys)
  2389. WINE_CONFIG_MAKEFILE(dlls/cfgmgr32)
  2390. WINE_CONFIG_MAKEFILE(dlls/clusapi)
  2391. WINE_CONFIG_MAKEFILE(dlls/cng.sys)
  2392. WINE_CONFIG_MAKEFILE(dlls/combase)
  2393. WINE_CONFIG_MAKEFILE(dlls/combase/tests)
  2394. WINE_CONFIG_MAKEFILE(dlls/comcat)
  2395. WINE_CONFIG_MAKEFILE(dlls/comcat/tests)
  2396. WINE_CONFIG_MAKEFILE(dlls/comctl32)
  2397. WINE_CONFIG_MAKEFILE(dlls/comctl32/tests)
  2398. WINE_CONFIG_MAKEFILE(dlls/comdlg32)
  2399. WINE_CONFIG_MAKEFILE(dlls/comdlg32/tests)
  2400. WINE_CONFIG_MAKEFILE(dlls/comm.drv16,enable_win16)
  2401. WINE_CONFIG_MAKEFILE(dlls/commdlg.dll16,enable_win16)
  2402. WINE_CONFIG_MAKEFILE(dlls/compobj.dll16,enable_win16)
  2403. WINE_CONFIG_MAKEFILE(dlls/compstui)
  2404. WINE_CONFIG_MAKEFILE(dlls/comsvcs)
  2405. WINE_CONFIG_MAKEFILE(dlls/comsvcs/tests)
  2406. WINE_CONFIG_MAKEFILE(dlls/concrt140)
  2407. WINE_CONFIG_MAKEFILE(dlls/concrt140/tests)
  2408. WINE_CONFIG_MAKEFILE(dlls/connect)
  2409. WINE_CONFIG_MAKEFILE(dlls/credui)
  2410. WINE_CONFIG_MAKEFILE(dlls/credui/tests)
  2411. WINE_CONFIG_MAKEFILE(dlls/crtdll)
  2412. WINE_CONFIG_MAKEFILE(dlls/crypt32)
  2413. WINE_CONFIG_MAKEFILE(dlls/crypt32/tests)
  2414. WINE_CONFIG_MAKEFILE(dlls/cryptdlg)
  2415. WINE_CONFIG_MAKEFILE(dlls/cryptdll)
  2416. WINE_CONFIG_MAKEFILE(dlls/cryptext)
  2417. WINE_CONFIG_MAKEFILE(dlls/cryptnet)
  2418. WINE_CONFIG_MAKEFILE(dlls/cryptnet/tests)
  2419. WINE_CONFIG_MAKEFILE(dlls/cryptsp)
  2420. WINE_CONFIG_MAKEFILE(dlls/cryptui)
  2421. WINE_CONFIG_MAKEFILE(dlls/cryptui/tests)
  2422. WINE_CONFIG_MAKEFILE(dlls/ctapi32)
  2423. WINE_CONFIG_MAKEFILE(dlls/ctl3d.dll16,enable_win16)
  2424. WINE_CONFIG_MAKEFILE(dlls/ctl3d32)
  2425. WINE_CONFIG_MAKEFILE(dlls/ctl3dv2.dll16,enable_win16)
  2426. WINE_CONFIG_MAKEFILE(dlls/d2d1)
  2427. WINE_CONFIG_MAKEFILE(dlls/d2d1/tests)
  2428. WINE_CONFIG_MAKEFILE(dlls/d3d10)
  2429. WINE_CONFIG_MAKEFILE(dlls/d3d10/tests)
  2430. WINE_CONFIG_MAKEFILE(dlls/d3d10_1)
  2431. WINE_CONFIG_MAKEFILE(dlls/d3d10_1/tests)
  2432. WINE_CONFIG_MAKEFILE(dlls/d3d10core)
  2433. WINE_CONFIG_MAKEFILE(dlls/d3d10core/tests)
  2434. WINE_CONFIG_MAKEFILE(dlls/d3d11)
  2435. WINE_CONFIG_MAKEFILE(dlls/d3d11/tests)
  2436. WINE_CONFIG_MAKEFILE(dlls/d3d12)
  2437. WINE_CONFIG_MAKEFILE(dlls/d3d12/tests)
  2438. WINE_CONFIG_MAKEFILE(dlls/d3d8)
  2439. WINE_CONFIG_MAKEFILE(dlls/d3d8/tests)
  2440. WINE_CONFIG_MAKEFILE(dlls/d3d8thk)
  2441. WINE_CONFIG_MAKEFILE(dlls/d3d9)
  2442. WINE_CONFIG_MAKEFILE(dlls/d3d9/tests)
  2443. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_33)
  2444. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_34)
  2445. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_35)
  2446. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_36)
  2447. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_37)
  2448. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_38)
  2449. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_39)
  2450. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_40)
  2451. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_41)
  2452. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_42)
  2453. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_43)
  2454. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_43/tests)
  2455. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_46)
  2456. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_46/tests)
  2457. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_47)
  2458. WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_47/tests)
  2459. WINE_CONFIG_MAKEFILE(dlls/d3dim)
  2460. WINE_CONFIG_MAKEFILE(dlls/d3dim700)
  2461. WINE_CONFIG_MAKEFILE(dlls/d3drm)
  2462. WINE_CONFIG_MAKEFILE(dlls/d3drm/tests)
  2463. WINE_CONFIG_MAKEFILE(dlls/d3dx10_33)
  2464. WINE_CONFIG_MAKEFILE(dlls/d3dx10_34)
  2465. WINE_CONFIG_MAKEFILE(dlls/d3dx10_34/tests)
  2466. WINE_CONFIG_MAKEFILE(dlls/d3dx10_35)
  2467. WINE_CONFIG_MAKEFILE(dlls/d3dx10_35/tests)
  2468. WINE_CONFIG_MAKEFILE(dlls/d3dx10_36)
  2469. WINE_CONFIG_MAKEFILE(dlls/d3dx10_36/tests)
  2470. WINE_CONFIG_MAKEFILE(dlls/d3dx10_37)
  2471. WINE_CONFIG_MAKEFILE(dlls/d3dx10_37/tests)
  2472. WINE_CONFIG_MAKEFILE(dlls/d3dx10_38)
  2473. WINE_CONFIG_MAKEFILE(dlls/d3dx10_38/tests)
  2474. WINE_CONFIG_MAKEFILE(dlls/d3dx10_39)
  2475. WINE_CONFIG_MAKEFILE(dlls/d3dx10_39/tests)
  2476. WINE_CONFIG_MAKEFILE(dlls/d3dx10_40)
  2477. WINE_CONFIG_MAKEFILE(dlls/d3dx10_40/tests)
  2478. WINE_CONFIG_MAKEFILE(dlls/d3dx10_41)
  2479. WINE_CONFIG_MAKEFILE(dlls/d3dx10_41/tests)
  2480. WINE_CONFIG_MAKEFILE(dlls/d3dx10_42)
  2481. WINE_CONFIG_MAKEFILE(dlls/d3dx10_42/tests)
  2482. WINE_CONFIG_MAKEFILE(dlls/d3dx10_43)
  2483. WINE_CONFIG_MAKEFILE(dlls/d3dx10_43/tests)
  2484. WINE_CONFIG_MAKEFILE(dlls/d3dx11_42)
  2485. WINE_CONFIG_MAKEFILE(dlls/d3dx11_42/tests)
  2486. WINE_CONFIG_MAKEFILE(dlls/d3dx11_43)
  2487. WINE_CONFIG_MAKEFILE(dlls/d3dx11_43/tests)
  2488. WINE_CONFIG_MAKEFILE(dlls/d3dx9_24)
  2489. WINE_CONFIG_MAKEFILE(dlls/d3dx9_25)
  2490. WINE_CONFIG_MAKEFILE(dlls/d3dx9_26)
  2491. WINE_CONFIG_MAKEFILE(dlls/d3dx9_27)
  2492. WINE_CONFIG_MAKEFILE(dlls/d3dx9_28)
  2493. WINE_CONFIG_MAKEFILE(dlls/d3dx9_29)
  2494. WINE_CONFIG_MAKEFILE(dlls/d3dx9_30)
  2495. WINE_CONFIG_MAKEFILE(dlls/d3dx9_31)
  2496. WINE_CONFIG_MAKEFILE(dlls/d3dx9_32)
  2497. WINE_CONFIG_MAKEFILE(dlls/d3dx9_33)
  2498. WINE_CONFIG_MAKEFILE(dlls/d3dx9_34)
  2499. WINE_CONFIG_MAKEFILE(dlls/d3dx9_35)
  2500. WINE_CONFIG_MAKEFILE(dlls/d3dx9_36)
  2501. WINE_CONFIG_MAKEFILE(dlls/d3dx9_36/tests)
  2502. WINE_CONFIG_MAKEFILE(dlls/d3dx9_37)
  2503. WINE_CONFIG_MAKEFILE(dlls/d3dx9_38)
  2504. WINE_CONFIG_MAKEFILE(dlls/d3dx9_39)
  2505. WINE_CONFIG_MAKEFILE(dlls/d3dx9_40)
  2506. WINE_CONFIG_MAKEFILE(dlls/d3dx9_41)
  2507. WINE_CONFIG_MAKEFILE(dlls/d3dx9_42)
  2508. WINE_CONFIG_MAKEFILE(dlls/d3dx9_43)
  2509. WINE_CONFIG_MAKEFILE(dlls/d3dxof)
  2510. WINE_CONFIG_MAKEFILE(dlls/d3dxof/tests)
  2511. WINE_CONFIG_MAKEFILE(dlls/davclnt)
  2512. WINE_CONFIG_MAKEFILE(dlls/dbgeng)
  2513. WINE_CONFIG_MAKEFILE(dlls/dbgeng/tests)
  2514. WINE_CONFIG_MAKEFILE(dlls/dbghelp)
  2515. WINE_CONFIG_MAKEFILE(dlls/dbghelp/tests)
  2516. WINE_CONFIG_MAKEFILE(dlls/dciman32)
  2517. WINE_CONFIG_MAKEFILE(dlls/dcomp)
  2518. WINE_CONFIG_MAKEFILE(dlls/ddeml.dll16,enable_win16)
  2519. WINE_CONFIG_MAKEFILE(dlls/ddraw)
  2520. WINE_CONFIG_MAKEFILE(dlls/ddraw/tests)
  2521. WINE_CONFIG_MAKEFILE(dlls/ddrawex)
  2522. WINE_CONFIG_MAKEFILE(dlls/ddrawex/tests)
  2523. WINE_CONFIG_MAKEFILE(dlls/devenum)
  2524. WINE_CONFIG_MAKEFILE(dlls/devenum/tests)
  2525. WINE_CONFIG_MAKEFILE(dlls/dhcpcsvc)
  2526. WINE_CONFIG_MAKEFILE(dlls/dhcpcsvc/tests)
  2527. WINE_CONFIG_MAKEFILE(dlls/dhcpcsvc6)
  2528. WINE_CONFIG_MAKEFILE(dlls/dhtmled.ocx)
  2529. WINE_CONFIG_MAKEFILE(dlls/difxapi)
  2530. WINE_CONFIG_MAKEFILE(dlls/dinput)
  2531. WINE_CONFIG_MAKEFILE(dlls/dinput/tests)
  2532. WINE_CONFIG_MAKEFILE(dlls/dinput8)
  2533. WINE_CONFIG_MAKEFILE(dlls/directmanipulation)
  2534. WINE_CONFIG_MAKEFILE(dlls/directmanipulation/tests)
  2535. WINE_CONFIG_MAKEFILE(dlls/dispdib.dll16,enable_win16)
  2536. WINE_CONFIG_MAKEFILE(dlls/dispex)
  2537. WINE_CONFIG_MAKEFILE(dlls/dispex/tests)
  2538. WINE_CONFIG_MAKEFILE(dlls/display.drv16,enable_win16)
  2539. WINE_CONFIG_MAKEFILE(dlls/dmband)
  2540. WINE_CONFIG_MAKEFILE(dlls/dmband/tests)
  2541. WINE_CONFIG_MAKEFILE(dlls/dmcompos)
  2542. WINE_CONFIG_MAKEFILE(dlls/dmcompos/tests)
  2543. WINE_CONFIG_MAKEFILE(dlls/dmime)
  2544. WINE_CONFIG_MAKEFILE(dlls/dmime/tests)
  2545. WINE_CONFIG_MAKEFILE(dlls/dmloader)
  2546. WINE_CONFIG_MAKEFILE(dlls/dmloader/tests)
  2547. WINE_CONFIG_MAKEFILE(dlls/dmscript)
  2548. WINE_CONFIG_MAKEFILE(dlls/dmscript/tests)
  2549. WINE_CONFIG_MAKEFILE(dlls/dmstyle)
  2550. WINE_CONFIG_MAKEFILE(dlls/dmstyle/tests)
  2551. WINE_CONFIG_MAKEFILE(dlls/dmsynth)
  2552. WINE_CONFIG_MAKEFILE(dlls/dmsynth/tests)
  2553. WINE_CONFIG_MAKEFILE(dlls/dmusic)
  2554. WINE_CONFIG_MAKEFILE(dlls/dmusic/tests)
  2555. WINE_CONFIG_MAKEFILE(dlls/dmusic32)
  2556. WINE_CONFIG_MAKEFILE(dlls/dnsapi)
  2557. WINE_CONFIG_MAKEFILE(dlls/dnsapi/tests)
  2558. WINE_CONFIG_MAKEFILE(dlls/dplay)
  2559. WINE_CONFIG_MAKEFILE(dlls/dplayx)
  2560. WINE_CONFIG_MAKEFILE(dlls/dplayx/tests)
  2561. WINE_CONFIG_MAKEFILE(dlls/dpnaddr)
  2562. WINE_CONFIG_MAKEFILE(dlls/dpnet)
  2563. WINE_CONFIG_MAKEFILE(dlls/dpnet/tests)
  2564. WINE_CONFIG_MAKEFILE(dlls/dpnhpast)
  2565. WINE_CONFIG_MAKEFILE(dlls/dpnhupnp)
  2566. WINE_CONFIG_MAKEFILE(dlls/dpnlobby)
  2567. WINE_CONFIG_MAKEFILE(dlls/dpvoice)
  2568. WINE_CONFIG_MAKEFILE(dlls/dpvoice/tests)
  2569. WINE_CONFIG_MAKEFILE(dlls/dpwsockx)
  2570. WINE_CONFIG_MAKEFILE(dlls/drmclien)
  2571. WINE_CONFIG_MAKEFILE(dlls/dsdmo)
  2572. WINE_CONFIG_MAKEFILE(dlls/dsdmo/tests)
  2573. WINE_CONFIG_MAKEFILE(dlls/dsound)
  2574. WINE_CONFIG_MAKEFILE(dlls/dsound/tests)
  2575. WINE_CONFIG_MAKEFILE(dlls/dsquery)
  2576. WINE_CONFIG_MAKEFILE(dlls/dssenh)
  2577. WINE_CONFIG_MAKEFILE(dlls/dssenh/tests)
  2578. WINE_CONFIG_MAKEFILE(dlls/dsuiext)
  2579. WINE_CONFIG_MAKEFILE(dlls/dswave)
  2580. WINE_CONFIG_MAKEFILE(dlls/dswave/tests)
  2581. WINE_CONFIG_MAKEFILE(dlls/dwmapi)
  2582. WINE_CONFIG_MAKEFILE(dlls/dwmapi/tests)
  2583. WINE_CONFIG_MAKEFILE(dlls/dwrite)
  2584. WINE_CONFIG_MAKEFILE(dlls/dwrite/tests)
  2585. WINE_CONFIG_MAKEFILE(dlls/dx8vb)
  2586. WINE_CONFIG_MAKEFILE(dlls/dxdiagn)
  2587. WINE_CONFIG_MAKEFILE(dlls/dxdiagn/tests)
  2588. WINE_CONFIG_MAKEFILE(dlls/dxgi)
  2589. WINE_CONFIG_MAKEFILE(dlls/dxgi/tests)
  2590. WINE_CONFIG_MAKEFILE(dlls/dxtrans)
  2591. WINE_CONFIG_MAKEFILE(dlls/dxva2)
  2592. WINE_CONFIG_MAKEFILE(dlls/dxva2/tests)
  2593. WINE_CONFIG_MAKEFILE(dlls/esent)
  2594. WINE_CONFIG_MAKEFILE(dlls/evr)
  2595. WINE_CONFIG_MAKEFILE(dlls/evr/tests)
  2596. WINE_CONFIG_MAKEFILE(dlls/explorerframe)
  2597. WINE_CONFIG_MAKEFILE(dlls/explorerframe/tests)
  2598. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-authz-context-l1-1-0)
  2599. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-domainjoin-netjoin-l1-1-0)
  2600. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-dwmapi-ext-l1-1-0)
  2601. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-dc-create-l1-1-0)
  2602. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-dc-create-l1-1-1)
  2603. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-dc-l1-2-0)
  2604. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-devcaps-l1-1-0)
  2605. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-draw-l1-1-0)
  2606. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-draw-l1-1-1)
  2607. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-font-l1-1-0)
  2608. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-font-l1-1-1)
  2609. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-render-l1-1-0)
  2610. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-kernel32-package-current-l1-1-0)
  2611. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-kernel32-package-l1-1-1)
  2612. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-dialogbox-l1-1-0)
  2613. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-draw-l1-1-0)
  2614. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-gui-l1-1-0)
  2615. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-gui-l1-3-0)
  2616. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-keyboard-l1-3-0)
  2617. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-message-l1-1-0)
  2618. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-message-l1-1-1)
  2619. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-misc-l1-1-0)
  2620. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-misc-l1-2-0)
  2621. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-misc-l1-5-1)
  2622. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-mouse-l1-1-0)
  2623. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-private-l1-1-1)
  2624. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-private-l1-3-1)
  2625. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0)
  2626. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0)
  2627. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-window-l1-1-0)
  2628. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-window-l1-1-1)
  2629. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-window-l1-1-4)
  2630. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-windowclass-l1-1-0)
  2631. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-windowclass-l1-1-1)
  2632. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-oleacc-l1-1-0)
  2633. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ras-rasapi32-l1-1-0)
  2634. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0)
  2635. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-gdi-object-l1-1-0)
  2636. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0)
  2637. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0)
  2638. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0)
  2639. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0)
  2640. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0)
  2641. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0)
  2642. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0)
  2643. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0)
  2644. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-security-credui-l1-1-0)
  2645. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-security-cryptui-l1-1-0)
  2646. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-shell-comctl32-init-l1-1-0)
  2647. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-shell-comdlg32-l1-1-0)
  2648. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-shell-shell32-l1-2-0)
  2649. WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-uxtheme-themes-l1-1-0)
  2650. WINE_CONFIG_MAKEFILE(dlls/faultrep)
  2651. WINE_CONFIG_MAKEFILE(dlls/faultrep/tests)
  2652. WINE_CONFIG_MAKEFILE(dlls/feclient)
  2653. WINE_CONFIG_MAKEFILE(dlls/fltlib)
  2654. WINE_CONFIG_MAKEFILE(dlls/fltmgr.sys)
  2655. WINE_CONFIG_MAKEFILE(dlls/fntcache)
  2656. WINE_CONFIG_MAKEFILE(dlls/fontsub)
  2657. WINE_CONFIG_MAKEFILE(dlls/fusion)
  2658. WINE_CONFIG_MAKEFILE(dlls/fusion/tests)
  2659. WINE_CONFIG_MAKEFILE(dlls/fwpuclnt)
  2660. WINE_CONFIG_MAKEFILE(dlls/gameux)
  2661. WINE_CONFIG_MAKEFILE(dlls/gameux/tests)
  2662. WINE_CONFIG_MAKEFILE(dlls/gamingtcui)
  2663. WINE_CONFIG_MAKEFILE(dlls/gdi.exe16,enable_win16)
  2664. WINE_CONFIG_MAKEFILE(dlls/gdi32)
  2665. WINE_CONFIG_MAKEFILE(dlls/gdi32/tests)
  2666. WINE_CONFIG_MAKEFILE(dlls/gdiplus)
  2667. WINE_CONFIG_MAKEFILE(dlls/gdiplus/tests)
  2668. WINE_CONFIG_MAKEFILE(dlls/glu32)
  2669. WINE_CONFIG_MAKEFILE(dlls/gphoto2.ds)
  2670. WINE_CONFIG_MAKEFILE(dlls/gpkcsp)
  2671. WINE_CONFIG_MAKEFILE(dlls/hal)
  2672. WINE_CONFIG_MAKEFILE(dlls/hhctrl.ocx)
  2673. WINE_CONFIG_MAKEFILE(dlls/hid)
  2674. WINE_CONFIG_MAKEFILE(dlls/hid/tests)
  2675. WINE_CONFIG_MAKEFILE(dlls/hidclass.sys)
  2676. WINE_CONFIG_MAKEFILE(dlls/hidparse.sys)
  2677. WINE_CONFIG_MAKEFILE(dlls/hlink)
  2678. WINE_CONFIG_MAKEFILE(dlls/hlink/tests)
  2679. WINE_CONFIG_MAKEFILE(dlls/hnetcfg)
  2680. WINE_CONFIG_MAKEFILE(dlls/hnetcfg/tests)
  2681. WINE_CONFIG_MAKEFILE(dlls/http.sys)
  2682. WINE_CONFIG_MAKEFILE(dlls/httpapi)
  2683. WINE_CONFIG_MAKEFILE(dlls/httpapi/tests)
  2684. WINE_CONFIG_MAKEFILE(dlls/iccvid)
  2685. WINE_CONFIG_MAKEFILE(dlls/icmp)
  2686. WINE_CONFIG_MAKEFILE(dlls/ieframe)
  2687. WINE_CONFIG_MAKEFILE(dlls/ieframe/tests)
  2688. WINE_CONFIG_MAKEFILE(dlls/ieproxy)
  2689. WINE_CONFIG_MAKEFILE(dlls/ifsmgr.vxd,enable_win16)
  2690. WINE_CONFIG_MAKEFILE(dlls/imaadp32.acm)
  2691. WINE_CONFIG_MAKEFILE(dlls/imagehlp)
  2692. WINE_CONFIG_MAKEFILE(dlls/imagehlp/tests)
  2693. WINE_CONFIG_MAKEFILE(dlls/imm.dll16,enable_win16)
  2694. WINE_CONFIG_MAKEFILE(dlls/imm32)
  2695. WINE_CONFIG_MAKEFILE(dlls/imm32/tests)
  2696. WINE_CONFIG_MAKEFILE(dlls/inetcomm)
  2697. WINE_CONFIG_MAKEFILE(dlls/inetcomm/tests)
  2698. WINE_CONFIG_MAKEFILE(dlls/inetcpl.cpl)
  2699. WINE_CONFIG_MAKEFILE(dlls/inetmib1)
  2700. WINE_CONFIG_MAKEFILE(dlls/inetmib1/tests)
  2701. WINE_CONFIG_MAKEFILE(dlls/infosoft)
  2702. WINE_CONFIG_MAKEFILE(dlls/infosoft/tests)
  2703. WINE_CONFIG_MAKEFILE(dlls/initpki)
  2704. WINE_CONFIG_MAKEFILE(dlls/inkobj)
  2705. WINE_CONFIG_MAKEFILE(dlls/inseng)
  2706. WINE_CONFIG_MAKEFILE(dlls/iphlpapi)
  2707. WINE_CONFIG_MAKEFILE(dlls/iphlpapi/tests)
  2708. WINE_CONFIG_MAKEFILE(dlls/iprop)
  2709. WINE_CONFIG_MAKEFILE(dlls/irprops.cpl)
  2710. WINE_CONFIG_MAKEFILE(dlls/itircl)
  2711. WINE_CONFIG_MAKEFILE(dlls/itss)
  2712. WINE_CONFIG_MAKEFILE(dlls/itss/tests)
  2713. WINE_CONFIG_MAKEFILE(dlls/joy.cpl)
  2714. WINE_CONFIG_MAKEFILE(dlls/jscript)
  2715. WINE_CONFIG_MAKEFILE(dlls/jscript/tests)
  2716. WINE_CONFIG_MAKEFILE(dlls/jsproxy)
  2717. WINE_CONFIG_MAKEFILE(dlls/jsproxy/tests)
  2718. WINE_CONFIG_MAKEFILE(dlls/kerberos)
  2719. WINE_CONFIG_MAKEFILE(dlls/kernel32)
  2720. WINE_CONFIG_MAKEFILE(dlls/kernel32/tests)
  2721. WINE_CONFIG_MAKEFILE(dlls/kernelbase)
  2722. WINE_CONFIG_MAKEFILE(dlls/kernelbase/tests)
  2723. WINE_CONFIG_MAKEFILE(dlls/keyboard.drv16,enable_win16)
  2724. WINE_CONFIG_MAKEFILE(dlls/krnl386.exe16,enable_win16)
  2725. WINE_CONFIG_MAKEFILE(dlls/ksecdd.sys)
  2726. WINE_CONFIG_MAKEFILE(dlls/ksproxy.ax)
  2727. WINE_CONFIG_MAKEFILE(dlls/ksuser)
  2728. WINE_CONFIG_MAKEFILE(dlls/ktmw32)
  2729. WINE_CONFIG_MAKEFILE(dlls/l3codeca.acm)
  2730. WINE_CONFIG_MAKEFILE(dlls/light.msstyles)
  2731. WINE_CONFIG_MAKEFILE(dlls/loadperf)
  2732. WINE_CONFIG_MAKEFILE(dlls/localspl)
  2733. WINE_CONFIG_MAKEFILE(dlls/localspl/tests)
  2734. WINE_CONFIG_MAKEFILE(dlls/localui)
  2735. WINE_CONFIG_MAKEFILE(dlls/localui/tests)
  2736. WINE_CONFIG_MAKEFILE(dlls/lz32)
  2737. WINE_CONFIG_MAKEFILE(dlls/lz32/tests)
  2738. WINE_CONFIG_MAKEFILE(dlls/lzexpand.dll16,enable_win16)
  2739. WINE_CONFIG_MAKEFILE(dlls/mapi32)
  2740. WINE_CONFIG_MAKEFILE(dlls/mapi32/tests)
  2741. WINE_CONFIG_MAKEFILE(dlls/mapistub)
  2742. WINE_CONFIG_MAKEFILE(dlls/mciavi32)
  2743. WINE_CONFIG_MAKEFILE(dlls/mcicda)
  2744. WINE_CONFIG_MAKEFILE(dlls/mciqtz32)
  2745. WINE_CONFIG_MAKEFILE(dlls/mciseq)
  2746. WINE_CONFIG_MAKEFILE(dlls/mciwave)
  2747. WINE_CONFIG_MAKEFILE(dlls/mf)
  2748. WINE_CONFIG_MAKEFILE(dlls/mf/tests)
  2749. WINE_CONFIG_MAKEFILE(dlls/mf3216)
  2750. WINE_CONFIG_MAKEFILE(dlls/mferror)
  2751. WINE_CONFIG_MAKEFILE(dlls/mfmediaengine)
  2752. WINE_CONFIG_MAKEFILE(dlls/mfmediaengine/tests)
  2753. WINE_CONFIG_MAKEFILE(dlls/mfplat)
  2754. WINE_CONFIG_MAKEFILE(dlls/mfplat/tests)
  2755. WINE_CONFIG_MAKEFILE(dlls/mfplay)
  2756. WINE_CONFIG_MAKEFILE(dlls/mfplay/tests)
  2757. WINE_CONFIG_MAKEFILE(dlls/mfreadwrite)
  2758. WINE_CONFIG_MAKEFILE(dlls/mfreadwrite/tests)
  2759. WINE_CONFIG_MAKEFILE(dlls/mgmtapi)
  2760. WINE_CONFIG_MAKEFILE(dlls/midimap)
  2761. WINE_CONFIG_MAKEFILE(dlls/mlang)
  2762. WINE_CONFIG_MAKEFILE(dlls/mlang/tests)
  2763. WINE_CONFIG_MAKEFILE(dlls/mmcndmgr)
  2764. WINE_CONFIG_MAKEFILE(dlls/mmcndmgr/tests)
  2765. WINE_CONFIG_MAKEFILE(dlls/mmdevapi)
  2766. WINE_CONFIG_MAKEFILE(dlls/mmdevapi/tests)
  2767. WINE_CONFIG_MAKEFILE(dlls/mmdevldr.vxd,enable_win16)
  2768. WINE_CONFIG_MAKEFILE(dlls/mmsystem.dll16,enable_win16)
  2769. WINE_CONFIG_MAKEFILE(dlls/monodebg.vxd,enable_win16)
  2770. WINE_CONFIG_MAKEFILE(dlls/mountmgr.sys)
  2771. WINE_CONFIG_MAKEFILE(dlls/mouse.drv16,enable_win16)
  2772. WINE_CONFIG_MAKEFILE(dlls/mp3dmod)
  2773. WINE_CONFIG_MAKEFILE(dlls/mp3dmod/tests)
  2774. WINE_CONFIG_MAKEFILE(dlls/mpr)
  2775. WINE_CONFIG_MAKEFILE(dlls/mpr/tests)
  2776. WINE_CONFIG_MAKEFILE(dlls/mprapi)
  2777. WINE_CONFIG_MAKEFILE(dlls/msacm.dll16,enable_win16)
  2778. WINE_CONFIG_MAKEFILE(dlls/msacm32.drv)
  2779. WINE_CONFIG_MAKEFILE(dlls/msacm32)
  2780. WINE_CONFIG_MAKEFILE(dlls/msacm32/tests)
  2781. WINE_CONFIG_MAKEFILE(dlls/msado15)
  2782. WINE_CONFIG_MAKEFILE(dlls/msado15/tests)
  2783. WINE_CONFIG_MAKEFILE(dlls/msadp32.acm)
  2784. WINE_CONFIG_MAKEFILE(dlls/msasn1)
  2785. WINE_CONFIG_MAKEFILE(dlls/msasn1/tests)
  2786. WINE_CONFIG_MAKEFILE(dlls/mscat32)
  2787. WINE_CONFIG_MAKEFILE(dlls/mscms)
  2788. WINE_CONFIG_MAKEFILE(dlls/mscms/tests)
  2789. WINE_CONFIG_MAKEFILE(dlls/mscoree)
  2790. WINE_CONFIG_MAKEFILE(dlls/mscoree/tests)
  2791. WINE_CONFIG_MAKEFILE(dlls/mscorwks)
  2792. WINE_CONFIG_MAKEFILE(dlls/msctf)
  2793. WINE_CONFIG_MAKEFILE(dlls/msctf/tests)
  2794. WINE_CONFIG_MAKEFILE(dlls/msctfmonitor)
  2795. WINE_CONFIG_MAKEFILE(dlls/msctfp)
  2796. WINE_CONFIG_MAKEFILE(dlls/msdaps)
  2797. WINE_CONFIG_MAKEFILE(dlls/msdasql)
  2798. WINE_CONFIG_MAKEFILE(dlls/msdasql/tests)
  2799. WINE_CONFIG_MAKEFILE(dlls/msdelta)
  2800. WINE_CONFIG_MAKEFILE(dlls/msdmo)
  2801. WINE_CONFIG_MAKEFILE(dlls/msdmo/tests)
  2802. WINE_CONFIG_MAKEFILE(dlls/msdrm)
  2803. WINE_CONFIG_MAKEFILE(dlls/msftedit)
  2804. WINE_CONFIG_MAKEFILE(dlls/msftedit/tests)
  2805. WINE_CONFIG_MAKEFILE(dlls/msg711.acm)
  2806. WINE_CONFIG_MAKEFILE(dlls/msgsm32.acm)
  2807. WINE_CONFIG_MAKEFILE(dlls/mshtml.tlb)
  2808. WINE_CONFIG_MAKEFILE(dlls/mshtml)
  2809. WINE_CONFIG_MAKEFILE(dlls/mshtml/tests)
  2810. WINE_CONFIG_MAKEFILE(dlls/msi)
  2811. WINE_CONFIG_MAKEFILE(dlls/msi/tests)
  2812. WINE_CONFIG_MAKEFILE(dlls/msident)
  2813. WINE_CONFIG_MAKEFILE(dlls/msimg32)
  2814. WINE_CONFIG_MAKEFILE(dlls/msimsg)
  2815. WINE_CONFIG_MAKEFILE(dlls/msimtf)
  2816. WINE_CONFIG_MAKEFILE(dlls/msisip)
  2817. WINE_CONFIG_MAKEFILE(dlls/msisys.ocx)
  2818. WINE_CONFIG_MAKEFILE(dlls/msls31)
  2819. WINE_CONFIG_MAKEFILE(dlls/msnet32)
  2820. WINE_CONFIG_MAKEFILE(dlls/mspatcha)
  2821. WINE_CONFIG_MAKEFILE(dlls/mspatcha/tests)
  2822. WINE_CONFIG_MAKEFILE(dlls/msports)
  2823. WINE_CONFIG_MAKEFILE(dlls/msrle32)
  2824. WINE_CONFIG_MAKEFILE(dlls/msrle32/tests)
  2825. WINE_CONFIG_MAKEFILE(dlls/msscript.ocx)
  2826. WINE_CONFIG_MAKEFILE(dlls/msscript.ocx/tests)
  2827. WINE_CONFIG_MAKEFILE(dlls/mssign32)
  2828. WINE_CONFIG_MAKEFILE(dlls/mssip32)
  2829. WINE_CONFIG_MAKEFILE(dlls/mstask)
  2830. WINE_CONFIG_MAKEFILE(dlls/mstask/tests)
  2831. WINE_CONFIG_MAKEFILE(dlls/msv1_0)
  2832. WINE_CONFIG_MAKEFILE(dlls/msvcirt)
  2833. WINE_CONFIG_MAKEFILE(dlls/msvcirt/tests)
  2834. WINE_CONFIG_MAKEFILE(dlls/msvcm80)
  2835. WINE_CONFIG_MAKEFILE(dlls/msvcm90)
  2836. WINE_CONFIG_MAKEFILE(dlls/msvcp100)
  2837. WINE_CONFIG_MAKEFILE(dlls/msvcp100/tests)
  2838. WINE_CONFIG_MAKEFILE(dlls/msvcp110)
  2839. WINE_CONFIG_MAKEFILE(dlls/msvcp110/tests)
  2840. WINE_CONFIG_MAKEFILE(dlls/msvcp120)
  2841. WINE_CONFIG_MAKEFILE(dlls/msvcp120/tests)
  2842. WINE_CONFIG_MAKEFILE(dlls/msvcp120_app)
  2843. WINE_CONFIG_MAKEFILE(dlls/msvcp140)
  2844. WINE_CONFIG_MAKEFILE(dlls/msvcp140/tests)
  2845. WINE_CONFIG_MAKEFILE(dlls/msvcp140_1)
  2846. WINE_CONFIG_MAKEFILE(dlls/msvcp140_1/tests)
  2847. WINE_CONFIG_MAKEFILE(dlls/msvcp60)
  2848. WINE_CONFIG_MAKEFILE(dlls/msvcp60/tests)
  2849. WINE_CONFIG_MAKEFILE(dlls/msvcp70)
  2850. WINE_CONFIG_MAKEFILE(dlls/msvcp71)
  2851. WINE_CONFIG_MAKEFILE(dlls/msvcp80)
  2852. WINE_CONFIG_MAKEFILE(dlls/msvcp90)
  2853. WINE_CONFIG_MAKEFILE(dlls/msvcp90/tests)
  2854. WINE_CONFIG_MAKEFILE(dlls/msvcp_win)
  2855. WINE_CONFIG_MAKEFILE(dlls/msvcr100)
  2856. WINE_CONFIG_MAKEFILE(dlls/msvcr100/tests)
  2857. WINE_CONFIG_MAKEFILE(dlls/msvcr110)
  2858. WINE_CONFIG_MAKEFILE(dlls/msvcr110/tests)
  2859. WINE_CONFIG_MAKEFILE(dlls/msvcr120)
  2860. WINE_CONFIG_MAKEFILE(dlls/msvcr120/tests)
  2861. WINE_CONFIG_MAKEFILE(dlls/msvcr120_app)
  2862. WINE_CONFIG_MAKEFILE(dlls/msvcr70)
  2863. WINE_CONFIG_MAKEFILE(dlls/msvcr71)
  2864. WINE_CONFIG_MAKEFILE(dlls/msvcr80)
  2865. WINE_CONFIG_MAKEFILE(dlls/msvcr90)
  2866. WINE_CONFIG_MAKEFILE(dlls/msvcr90/tests)
  2867. WINE_CONFIG_MAKEFILE(dlls/msvcrt)
  2868. WINE_CONFIG_MAKEFILE(dlls/msvcrt/tests)
  2869. WINE_CONFIG_MAKEFILE(dlls/msvcrt20)
  2870. WINE_CONFIG_MAKEFILE(dlls/msvcrt40)
  2871. WINE_CONFIG_MAKEFILE(dlls/msvcrtd)
  2872. WINE_CONFIG_MAKEFILE(dlls/msvcrtd/tests)
  2873. WINE_CONFIG_MAKEFILE(dlls/msvfw32)
  2874. WINE_CONFIG_MAKEFILE(dlls/msvfw32/tests)
  2875. WINE_CONFIG_MAKEFILE(dlls/msvidc32)
  2876. WINE_CONFIG_MAKEFILE(dlls/msvideo.dll16,enable_win16)
  2877. WINE_CONFIG_MAKEFILE(dlls/mswsock)
  2878. WINE_CONFIG_MAKEFILE(dlls/msxml)
  2879. WINE_CONFIG_MAKEFILE(dlls/msxml2)
  2880. WINE_CONFIG_MAKEFILE(dlls/msxml3)
  2881. WINE_CONFIG_MAKEFILE(dlls/msxml3/tests)
  2882. WINE_CONFIG_MAKEFILE(dlls/msxml4)
  2883. WINE_CONFIG_MAKEFILE(dlls/msxml6)
  2884. WINE_CONFIG_MAKEFILE(dlls/mtxdm)
  2885. WINE_CONFIG_MAKEFILE(dlls/ncrypt)
  2886. WINE_CONFIG_MAKEFILE(dlls/nddeapi)
  2887. WINE_CONFIG_MAKEFILE(dlls/ndis.sys)
  2888. WINE_CONFIG_MAKEFILE(dlls/ndis.sys/tests)
  2889. WINE_CONFIG_MAKEFILE(dlls/netapi32)
  2890. WINE_CONFIG_MAKEFILE(dlls/netapi32/tests)
  2891. WINE_CONFIG_MAKEFILE(dlls/netcfgx)
  2892. WINE_CONFIG_MAKEFILE(dlls/netcfgx/tests)
  2893. WINE_CONFIG_MAKEFILE(dlls/netio.sys)
  2894. WINE_CONFIG_MAKEFILE(dlls/netprofm)
  2895. WINE_CONFIG_MAKEFILE(dlls/netprofm/tests)
  2896. WINE_CONFIG_MAKEFILE(dlls/netutils)
  2897. WINE_CONFIG_MAKEFILE(dlls/newdev)
  2898. WINE_CONFIG_MAKEFILE(dlls/ninput)
  2899. WINE_CONFIG_MAKEFILE(dlls/ninput/tests)
  2900. WINE_CONFIG_MAKEFILE(dlls/normaliz)
  2901. WINE_CONFIG_MAKEFILE(dlls/npmshtml)
  2902. WINE_CONFIG_MAKEFILE(dlls/npptools)
  2903. WINE_CONFIG_MAKEFILE(dlls/nsi)
  2904. WINE_CONFIG_MAKEFILE(dlls/nsi/tests)
  2905. WINE_CONFIG_MAKEFILE(dlls/nsiproxy.sys)
  2906. WINE_CONFIG_MAKEFILE(dlls/ntdll)
  2907. WINE_CONFIG_MAKEFILE(dlls/ntdll/tests)
  2908. WINE_CONFIG_MAKEFILE(dlls/ntdsapi)
  2909. WINE_CONFIG_MAKEFILE(dlls/ntdsapi/tests)
  2910. WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe)
  2911. WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe/tests)
  2912. WINE_CONFIG_MAKEFILE(dlls/ntprint)
  2913. WINE_CONFIG_MAKEFILE(dlls/ntprint/tests)
  2914. WINE_CONFIG_MAKEFILE(dlls/objsel)
  2915. WINE_CONFIG_MAKEFILE(dlls/odbc32)
  2916. WINE_CONFIG_MAKEFILE(dlls/odbcbcp)
  2917. WINE_CONFIG_MAKEFILE(dlls/odbccp32)
  2918. WINE_CONFIG_MAKEFILE(dlls/odbccp32/tests)
  2919. WINE_CONFIG_MAKEFILE(dlls/odbccu32)
  2920. WINE_CONFIG_MAKEFILE(dlls/ole2.dll16,enable_win16)
  2921. WINE_CONFIG_MAKEFILE(dlls/ole2conv.dll16,enable_win16)
  2922. WINE_CONFIG_MAKEFILE(dlls/ole2disp.dll16,enable_win16)
  2923. WINE_CONFIG_MAKEFILE(dlls/ole2nls.dll16,enable_win16)
  2924. WINE_CONFIG_MAKEFILE(dlls/ole2prox.dll16,enable_win16)
  2925. WINE_CONFIG_MAKEFILE(dlls/ole2thk.dll16,enable_win16)
  2926. WINE_CONFIG_MAKEFILE(dlls/ole32)
  2927. WINE_CONFIG_MAKEFILE(dlls/ole32/tests)
  2928. WINE_CONFIG_MAKEFILE(dlls/oleacc)
  2929. WINE_CONFIG_MAKEFILE(dlls/oleacc/tests)
  2930. WINE_CONFIG_MAKEFILE(dlls/oleaut32)
  2931. WINE_CONFIG_MAKEFILE(dlls/oleaut32/tests)
  2932. WINE_CONFIG_MAKEFILE(dlls/olecli.dll16,enable_win16)
  2933. WINE_CONFIG_MAKEFILE(dlls/olecli32)
  2934. WINE_CONFIG_MAKEFILE(dlls/oledb32)
  2935. WINE_CONFIG_MAKEFILE(dlls/oledb32/tests)
  2936. WINE_CONFIG_MAKEFILE(dlls/oledlg)
  2937. WINE_CONFIG_MAKEFILE(dlls/oledlg/tests)
  2938. WINE_CONFIG_MAKEFILE(dlls/olepro32)
  2939. WINE_CONFIG_MAKEFILE(dlls/olesvr.dll16,enable_win16)
  2940. WINE_CONFIG_MAKEFILE(dlls/olesvr32)
  2941. WINE_CONFIG_MAKEFILE(dlls/olethk32)
  2942. WINE_CONFIG_MAKEFILE(dlls/opcservices)
  2943. WINE_CONFIG_MAKEFILE(dlls/opcservices/tests)
  2944. WINE_CONFIG_MAKEFILE(dlls/openal32)
  2945. WINE_CONFIG_MAKEFILE(dlls/opencl)
  2946. WINE_CONFIG_MAKEFILE(dlls/opengl32)
  2947. WINE_CONFIG_MAKEFILE(dlls/opengl32/tests)
  2948. WINE_CONFIG_MAKEFILE(dlls/packager)
  2949. WINE_CONFIG_MAKEFILE(dlls/packager/tests)
  2950. WINE_CONFIG_MAKEFILE(dlls/pdh)
  2951. WINE_CONFIG_MAKEFILE(dlls/pdh/tests)
  2952. WINE_CONFIG_MAKEFILE(dlls/photometadatahandler)
  2953. WINE_CONFIG_MAKEFILE(dlls/pidgen)
  2954. WINE_CONFIG_MAKEFILE(dlls/powrprof)
  2955. WINE_CONFIG_MAKEFILE(dlls/printui)
  2956. WINE_CONFIG_MAKEFILE(dlls/prntvpt)
  2957. WINE_CONFIG_MAKEFILE(dlls/prntvpt/tests)
  2958. WINE_CONFIG_MAKEFILE(dlls/propsys)
  2959. WINE_CONFIG_MAKEFILE(dlls/propsys/tests)
  2960. WINE_CONFIG_MAKEFILE(dlls/psapi)
  2961. WINE_CONFIG_MAKEFILE(dlls/psapi/tests)
  2962. WINE_CONFIG_MAKEFILE(dlls/pstorec)
  2963. WINE_CONFIG_MAKEFILE(dlls/pstorec/tests)
  2964. WINE_CONFIG_MAKEFILE(dlls/pwrshplugin)
  2965. WINE_CONFIG_MAKEFILE(dlls/qasf)
  2966. WINE_CONFIG_MAKEFILE(dlls/qasf/tests)
  2967. WINE_CONFIG_MAKEFILE(dlls/qcap)
  2968. WINE_CONFIG_MAKEFILE(dlls/qcap/tests)
  2969. WINE_CONFIG_MAKEFILE(dlls/qdvd)
  2970. WINE_CONFIG_MAKEFILE(dlls/qdvd/tests)
  2971. WINE_CONFIG_MAKEFILE(dlls/qedit)
  2972. WINE_CONFIG_MAKEFILE(dlls/qedit/tests)
  2973. WINE_CONFIG_MAKEFILE(dlls/qmgr)
  2974. WINE_CONFIG_MAKEFILE(dlls/qmgr/tests)
  2975. WINE_CONFIG_MAKEFILE(dlls/qmgrprxy)
  2976. WINE_CONFIG_MAKEFILE(dlls/quartz)
  2977. WINE_CONFIG_MAKEFILE(dlls/quartz/tests)
  2978. WINE_CONFIG_MAKEFILE(dlls/query)
  2979. WINE_CONFIG_MAKEFILE(dlls/qwave)
  2980. WINE_CONFIG_MAKEFILE(dlls/qwave/tests)
  2981. WINE_CONFIG_MAKEFILE(dlls/rasapi16.dll16,enable_win16)
  2982. WINE_CONFIG_MAKEFILE(dlls/rasapi32)
  2983. WINE_CONFIG_MAKEFILE(dlls/rasapi32/tests)
  2984. WINE_CONFIG_MAKEFILE(dlls/rasdlg)
  2985. WINE_CONFIG_MAKEFILE(dlls/regapi)
  2986. WINE_CONFIG_MAKEFILE(dlls/resutils)
  2987. WINE_CONFIG_MAKEFILE(dlls/riched20)
  2988. WINE_CONFIG_MAKEFILE(dlls/riched20/tests)
  2989. WINE_CONFIG_MAKEFILE(dlls/riched32)
  2990. WINE_CONFIG_MAKEFILE(dlls/riched32/tests)
  2991. WINE_CONFIG_MAKEFILE(dlls/rpcrt4)
  2992. WINE_CONFIG_MAKEFILE(dlls/rpcrt4/tests)
  2993. WINE_CONFIG_MAKEFILE(dlls/rsabase)
  2994. WINE_CONFIG_MAKEFILE(dlls/rsaenh)
  2995. WINE_CONFIG_MAKEFILE(dlls/rsaenh/tests)
  2996. WINE_CONFIG_MAKEFILE(dlls/rstrtmgr)
  2997. WINE_CONFIG_MAKEFILE(dlls/rtutils)
  2998. WINE_CONFIG_MAKEFILE(dlls/rtworkq)
  2999. WINE_CONFIG_MAKEFILE(dlls/rtworkq/tests)
  3000. WINE_CONFIG_MAKEFILE(dlls/samlib)
  3001. WINE_CONFIG_MAKEFILE(dlls/sane.ds)
  3002. WINE_CONFIG_MAKEFILE(dlls/sapi)
  3003. WINE_CONFIG_MAKEFILE(dlls/sapi/tests)
  3004. WINE_CONFIG_MAKEFILE(dlls/sas)
  3005. WINE_CONFIG_MAKEFILE(dlls/scarddlg)
  3006. WINE_CONFIG_MAKEFILE(dlls/sccbase)
  3007. WINE_CONFIG_MAKEFILE(dlls/schannel)
  3008. WINE_CONFIG_MAKEFILE(dlls/schannel/tests)
  3009. WINE_CONFIG_MAKEFILE(dlls/schedsvc)
  3010. WINE_CONFIG_MAKEFILE(dlls/schedsvc/tests)
  3011. WINE_CONFIG_MAKEFILE(dlls/scrobj)
  3012. WINE_CONFIG_MAKEFILE(dlls/scrobj/tests)
  3013. WINE_CONFIG_MAKEFILE(dlls/scrrun)
  3014. WINE_CONFIG_MAKEFILE(dlls/scrrun/tests)
  3015. WINE_CONFIG_MAKEFILE(dlls/scsiport.sys)
  3016. WINE_CONFIG_MAKEFILE(dlls/sechost)
  3017. WINE_CONFIG_MAKEFILE(dlls/secur32)
  3018. WINE_CONFIG_MAKEFILE(dlls/secur32/tests)
  3019. WINE_CONFIG_MAKEFILE(dlls/security)
  3020. WINE_CONFIG_MAKEFILE(dlls/sensapi)
  3021. WINE_CONFIG_MAKEFILE(dlls/serialui)
  3022. WINE_CONFIG_MAKEFILE(dlls/serialui/tests)
  3023. WINE_CONFIG_MAKEFILE(dlls/setupapi)
  3024. WINE_CONFIG_MAKEFILE(dlls/setupapi/tests)
  3025. WINE_CONFIG_MAKEFILE(dlls/setupx.dll16,enable_win16)
  3026. WINE_CONFIG_MAKEFILE(dlls/sfc)
  3027. WINE_CONFIG_MAKEFILE(dlls/sfc_os)
  3028. WINE_CONFIG_MAKEFILE(dlls/shcore)
  3029. WINE_CONFIG_MAKEFILE(dlls/shcore/tests)
  3030. WINE_CONFIG_MAKEFILE(dlls/shdoclc)
  3031. WINE_CONFIG_MAKEFILE(dlls/shdocvw)
  3032. WINE_CONFIG_MAKEFILE(dlls/shdocvw/tests)
  3033. WINE_CONFIG_MAKEFILE(dlls/shell.dll16,enable_win16)
  3034. WINE_CONFIG_MAKEFILE(dlls/shell32)
  3035. WINE_CONFIG_MAKEFILE(dlls/shell32/tests)
  3036. WINE_CONFIG_MAKEFILE(dlls/shfolder)
  3037. WINE_CONFIG_MAKEFILE(dlls/shlwapi)
  3038. WINE_CONFIG_MAKEFILE(dlls/shlwapi/tests)
  3039. WINE_CONFIG_MAKEFILE(dlls/slbcsp)
  3040. WINE_CONFIG_MAKEFILE(dlls/slc)
  3041. WINE_CONFIG_MAKEFILE(dlls/slc/tests)
  3042. WINE_CONFIG_MAKEFILE(dlls/snmpapi)
  3043. WINE_CONFIG_MAKEFILE(dlls/snmpapi/tests)
  3044. WINE_CONFIG_MAKEFILE(dlls/softpub)
  3045. WINE_CONFIG_MAKEFILE(dlls/sound.drv16,enable_win16)
  3046. WINE_CONFIG_MAKEFILE(dlls/spoolss)
  3047. WINE_CONFIG_MAKEFILE(dlls/spoolss/tests)
  3048. WINE_CONFIG_MAKEFILE(dlls/sppc)
  3049. WINE_CONFIG_MAKEFILE(dlls/srclient)
  3050. WINE_CONFIG_MAKEFILE(dlls/srvcli)
  3051. WINE_CONFIG_MAKEFILE(dlls/sspicli)
  3052. WINE_CONFIG_MAKEFILE(dlls/stdole2.tlb)
  3053. WINE_CONFIG_MAKEFILE(dlls/stdole32.tlb)
  3054. WINE_CONFIG_MAKEFILE(dlls/sti)
  3055. WINE_CONFIG_MAKEFILE(dlls/sti/tests)
  3056. WINE_CONFIG_MAKEFILE(dlls/storage.dll16,enable_win16)
  3057. WINE_CONFIG_MAKEFILE(dlls/stress.dll16,enable_win16)
  3058. WINE_CONFIG_MAKEFILE(dlls/strmdll)
  3059. WINE_CONFIG_MAKEFILE(dlls/svrapi)
  3060. WINE_CONFIG_MAKEFILE(dlls/sxs)
  3061. WINE_CONFIG_MAKEFILE(dlls/sxs/tests)
  3062. WINE_CONFIG_MAKEFILE(dlls/system.drv16,enable_win16)
  3063. WINE_CONFIG_MAKEFILE(dlls/t2embed)
  3064. WINE_CONFIG_MAKEFILE(dlls/t2embed/tests)
  3065. WINE_CONFIG_MAKEFILE(dlls/tapi32)
  3066. WINE_CONFIG_MAKEFILE(dlls/tapi32/tests)
  3067. WINE_CONFIG_MAKEFILE(dlls/taskschd)
  3068. WINE_CONFIG_MAKEFILE(dlls/taskschd/tests)
  3069. WINE_CONFIG_MAKEFILE(dlls/tbs)
  3070. WINE_CONFIG_MAKEFILE(dlls/tdh)
  3071. WINE_CONFIG_MAKEFILE(dlls/tdi.sys)
  3072. WINE_CONFIG_MAKEFILE(dlls/toolhelp.dll16,enable_win16)
  3073. WINE_CONFIG_MAKEFILE(dlls/traffic)
  3074. WINE_CONFIG_MAKEFILE(dlls/twain.dll16,enable_win16)
  3075. WINE_CONFIG_MAKEFILE(dlls/twain_32)
  3076. WINE_CONFIG_MAKEFILE(dlls/twain_32/tests)
  3077. WINE_CONFIG_MAKEFILE(dlls/typelib.dll16,enable_win16)
  3078. WINE_CONFIG_MAKEFILE(dlls/tzres)
  3079. WINE_CONFIG_MAKEFILE(dlls/ucrtbase)
  3080. WINE_CONFIG_MAKEFILE(dlls/ucrtbase/tests)
  3081. WINE_CONFIG_MAKEFILE(dlls/uianimation)
  3082. WINE_CONFIG_MAKEFILE(dlls/uianimation/tests)
  3083. WINE_CONFIG_MAKEFILE(dlls/uiautomationcore)
  3084. WINE_CONFIG_MAKEFILE(dlls/uiautomationcore/tests)
  3085. WINE_CONFIG_MAKEFILE(dlls/uiribbon)
  3086. WINE_CONFIG_MAKEFILE(dlls/unicows)
  3087. WINE_CONFIG_MAKEFILE(dlls/updspapi)
  3088. WINE_CONFIG_MAKEFILE(dlls/url)
  3089. WINE_CONFIG_MAKEFILE(dlls/urlmon)
  3090. WINE_CONFIG_MAKEFILE(dlls/urlmon/tests)
  3091. WINE_CONFIG_MAKEFILE(dlls/usbd.sys)
  3092. WINE_CONFIG_MAKEFILE(dlls/user.exe16,enable_win16)
  3093. WINE_CONFIG_MAKEFILE(dlls/user32)
  3094. WINE_CONFIG_MAKEFILE(dlls/user32/tests)
  3095. WINE_CONFIG_MAKEFILE(dlls/userenv)
  3096. WINE_CONFIG_MAKEFILE(dlls/userenv/tests)
  3097. WINE_CONFIG_MAKEFILE(dlls/usp10)
  3098. WINE_CONFIG_MAKEFILE(dlls/usp10/tests)
  3099. WINE_CONFIG_MAKEFILE(dlls/utildll)
  3100. WINE_CONFIG_MAKEFILE(dlls/uxtheme)
  3101. WINE_CONFIG_MAKEFILE(dlls/uxtheme/tests)
  3102. WINE_CONFIG_MAKEFILE(dlls/vbscript)
  3103. WINE_CONFIG_MAKEFILE(dlls/vbscript/tests)
  3104. WINE_CONFIG_MAKEFILE(dlls/vcomp)
  3105. WINE_CONFIG_MAKEFILE(dlls/vcomp/tests)
  3106. WINE_CONFIG_MAKEFILE(dlls/vcomp100)
  3107. WINE_CONFIG_MAKEFILE(dlls/vcomp110)
  3108. WINE_CONFIG_MAKEFILE(dlls/vcomp110/tests)
  3109. WINE_CONFIG_MAKEFILE(dlls/vcomp120)
  3110. WINE_CONFIG_MAKEFILE(dlls/vcomp140)
  3111. WINE_CONFIG_MAKEFILE(dlls/vcomp90)
  3112. WINE_CONFIG_MAKEFILE(dlls/vcruntime140)
  3113. WINE_CONFIG_MAKEFILE(dlls/vcruntime140_1)
  3114. WINE_CONFIG_MAKEFILE(dlls/vdhcp.vxd,enable_win16)
  3115. WINE_CONFIG_MAKEFILE(dlls/vdmdbg)
  3116. WINE_CONFIG_MAKEFILE(dlls/ver.dll16,enable_win16)
  3117. WINE_CONFIG_MAKEFILE(dlls/version)
  3118. WINE_CONFIG_MAKEFILE(dlls/version/tests)
  3119. WINE_CONFIG_MAKEFILE(dlls/vga)
  3120. WINE_CONFIG_MAKEFILE(dlls/virtdisk)
  3121. WINE_CONFIG_MAKEFILE(dlls/virtdisk/tests)
  3122. WINE_CONFIG_MAKEFILE(dlls/vmm.vxd,enable_win16)
  3123. WINE_CONFIG_MAKEFILE(dlls/vnbt.vxd,enable_win16)
  3124. WINE_CONFIG_MAKEFILE(dlls/vnetbios.vxd,enable_win16)
  3125. WINE_CONFIG_MAKEFILE(dlls/vssapi)
  3126. WINE_CONFIG_MAKEFILE(dlls/vtdapi.vxd,enable_win16)
  3127. WINE_CONFIG_MAKEFILE(dlls/vulkan-1)
  3128. WINE_CONFIG_MAKEFILE(dlls/vulkan-1/tests)
  3129. WINE_CONFIG_MAKEFILE(dlls/vwin32.vxd,enable_win16)
  3130. WINE_CONFIG_MAKEFILE(dlls/w32skrnl,enable_win16)
  3131. WINE_CONFIG_MAKEFILE(dlls/w32sys.dll16,enable_win16)
  3132. WINE_CONFIG_MAKEFILE(dlls/wbemdisp)
  3133. WINE_CONFIG_MAKEFILE(dlls/wbemdisp/tests)
  3134. WINE_CONFIG_MAKEFILE(dlls/wbemprox)
  3135. WINE_CONFIG_MAKEFILE(dlls/wbemprox/tests)
  3136. WINE_CONFIG_MAKEFILE(dlls/wdscore)
  3137. WINE_CONFIG_MAKEFILE(dlls/webservices)
  3138. WINE_CONFIG_MAKEFILE(dlls/webservices/tests)
  3139. WINE_CONFIG_MAKEFILE(dlls/websocket)
  3140. WINE_CONFIG_MAKEFILE(dlls/wer)
  3141. WINE_CONFIG_MAKEFILE(dlls/wer/tests)
  3142. WINE_CONFIG_MAKEFILE(dlls/wevtapi)
  3143. WINE_CONFIG_MAKEFILE(dlls/wevtapi/tests)
  3144. WINE_CONFIG_MAKEFILE(dlls/wevtsvc)
  3145. WINE_CONFIG_MAKEFILE(dlls/wiaservc)
  3146. WINE_CONFIG_MAKEFILE(dlls/wiaservc/tests)
  3147. WINE_CONFIG_MAKEFILE(dlls/wimgapi)
  3148. WINE_CONFIG_MAKEFILE(dlls/win32s16.dll16,enable_win16)
  3149. WINE_CONFIG_MAKEFILE(dlls/win32u)
  3150. WINE_CONFIG_MAKEFILE(dlls/win32u/tests)
  3151. WINE_CONFIG_MAKEFILE(dlls/win87em.dll16,enable_win16)
  3152. WINE_CONFIG_MAKEFILE(dlls/winaspi.dll16,enable_win16)
  3153. WINE_CONFIG_MAKEFILE(dlls/windebug.dll16,enable_win16)
  3154. WINE_CONFIG_MAKEFILE(dlls/windows.devices.enumeration)
  3155. WINE_CONFIG_MAKEFILE(dlls/windows.gaming.input)
  3156. WINE_CONFIG_MAKEFILE(dlls/windows.gaming.input/tests)
  3157. WINE_CONFIG_MAKEFILE(dlls/windows.globalization)
  3158. WINE_CONFIG_MAKEFILE(dlls/windows.globalization/tests)
  3159. WINE_CONFIG_MAKEFILE(dlls/windows.media.devices)
  3160. WINE_CONFIG_MAKEFILE(dlls/windows.media.devices/tests)
  3161. WINE_CONFIG_MAKEFILE(dlls/windows.media.speech)
  3162. WINE_CONFIG_MAKEFILE(dlls/windows.media.speech/tests)
  3163. WINE_CONFIG_MAKEFILE(dlls/windowscodecs)
  3164. WINE_CONFIG_MAKEFILE(dlls/windowscodecs/tests)
  3165. WINE_CONFIG_MAKEFILE(dlls/windowscodecsext)
  3166. WINE_CONFIG_MAKEFILE(dlls/windowscodecsext/tests)
  3167. WINE_CONFIG_MAKEFILE(dlls/winealsa.drv)
  3168. WINE_CONFIG_MAKEFILE(dlls/wineandroid.drv)
  3169. WINE_CONFIG_MAKEFILE(dlls/winebus.sys)
  3170. WINE_CONFIG_MAKEFILE(dlls/winecoreaudio.drv)
  3171. WINE_CONFIG_MAKEFILE(dlls/winecrt0)
  3172. WINE_CONFIG_MAKEFILE(dlls/wined3d)
  3173. WINE_CONFIG_MAKEFILE(dlls/winegstreamer)
  3174. WINE_CONFIG_MAKEFILE(dlls/winehid.sys)
  3175. WINE_CONFIG_MAKEFILE(dlls/winemac.drv)
  3176. WINE_CONFIG_MAKEFILE(dlls/winemapi)
  3177. WINE_CONFIG_MAKEFILE(dlls/wineoss.drv)
  3178. WINE_CONFIG_MAKEFILE(dlls/wineps.drv)
  3179. WINE_CONFIG_MAKEFILE(dlls/wineps16.drv16,enable_win16)
  3180. WINE_CONFIG_MAKEFILE(dlls/winepulse.drv)
  3181. WINE_CONFIG_MAKEFILE(dlls/wineusb.sys)
  3182. WINE_CONFIG_MAKEFILE(dlls/winevulkan)
  3183. WINE_CONFIG_MAKEFILE(dlls/winex11.drv)
  3184. WINE_CONFIG_MAKEFILE(dlls/winexinput.sys)
  3185. WINE_CONFIG_MAKEFILE(dlls/wing.dll16,enable_win16)
  3186. WINE_CONFIG_MAKEFILE(dlls/wing32)
  3187. WINE_CONFIG_MAKEFILE(dlls/winhttp)
  3188. WINE_CONFIG_MAKEFILE(dlls/winhttp/tests)
  3189. WINE_CONFIG_MAKEFILE(dlls/wininet)
  3190. WINE_CONFIG_MAKEFILE(dlls/wininet/tests)
  3191. WINE_CONFIG_MAKEFILE(dlls/winmm)
  3192. WINE_CONFIG_MAKEFILE(dlls/winmm/tests)
  3193. WINE_CONFIG_MAKEFILE(dlls/winnls.dll16,enable_win16)
  3194. WINE_CONFIG_MAKEFILE(dlls/winnls32)
  3195. WINE_CONFIG_MAKEFILE(dlls/winscard)
  3196. WINE_CONFIG_MAKEFILE(dlls/winsock.dll16,enable_win16)
  3197. WINE_CONFIG_MAKEFILE(dlls/winspool.drv)
  3198. WINE_CONFIG_MAKEFILE(dlls/winspool.drv/tests)
  3199. WINE_CONFIG_MAKEFILE(dlls/winsta)
  3200. WINE_CONFIG_MAKEFILE(dlls/wintab.dll16,enable_win16)
  3201. WINE_CONFIG_MAKEFILE(dlls/wintab32)
  3202. WINE_CONFIG_MAKEFILE(dlls/wintab32/tests)
  3203. WINE_CONFIG_MAKEFILE(dlls/wintrust)
  3204. WINE_CONFIG_MAKEFILE(dlls/wintrust/tests)
  3205. WINE_CONFIG_MAKEFILE(dlls/winusb)
  3206. WINE_CONFIG_MAKEFILE(dlls/wlanapi)
  3207. WINE_CONFIG_MAKEFILE(dlls/wlanapi/tests)
  3208. WINE_CONFIG_MAKEFILE(dlls/wlanui)
  3209. WINE_CONFIG_MAKEFILE(dlls/wldap32)
  3210. WINE_CONFIG_MAKEFILE(dlls/wldap32/tests)
  3211. WINE_CONFIG_MAKEFILE(dlls/wmasf)
  3212. WINE_CONFIG_MAKEFILE(dlls/wmi)
  3213. WINE_CONFIG_MAKEFILE(dlls/wmiutils)
  3214. WINE_CONFIG_MAKEFILE(dlls/wmiutils/tests)
  3215. WINE_CONFIG_MAKEFILE(dlls/wmp)
  3216. WINE_CONFIG_MAKEFILE(dlls/wmp/tests)
  3217. WINE_CONFIG_MAKEFILE(dlls/wmphoto)
  3218. WINE_CONFIG_MAKEFILE(dlls/wmvcore)
  3219. WINE_CONFIG_MAKEFILE(dlls/wmvcore/tests)
  3220. WINE_CONFIG_MAKEFILE(dlls/wnaspi32)
  3221. WINE_CONFIG_MAKEFILE(dlls/wow32,enable_win16)
  3222. WINE_CONFIG_MAKEFILE(dlls/wow64)
  3223. WINE_CONFIG_MAKEFILE(dlls/wow64cpu)
  3224. WINE_CONFIG_MAKEFILE(dlls/wow64win)
  3225. WINE_CONFIG_MAKEFILE(dlls/wpc)
  3226. WINE_CONFIG_MAKEFILE(dlls/wpc/tests)
  3227. WINE_CONFIG_MAKEFILE(dlls/wpcap)
  3228. WINE_CONFIG_MAKEFILE(dlls/ws2_32)
  3229. WINE_CONFIG_MAKEFILE(dlls/ws2_32/tests)
  3230. WINE_CONFIG_MAKEFILE(dlls/wsdapi)
  3231. WINE_CONFIG_MAKEFILE(dlls/wsdapi/tests)
  3232. WINE_CONFIG_MAKEFILE(dlls/wshom.ocx)
  3233. WINE_CONFIG_MAKEFILE(dlls/wshom.ocx/tests)
  3234. WINE_CONFIG_MAKEFILE(dlls/wsnmp32)
  3235. WINE_CONFIG_MAKEFILE(dlls/wsnmp32/tests)
  3236. WINE_CONFIG_MAKEFILE(dlls/wsock32)
  3237. WINE_CONFIG_MAKEFILE(dlls/wtsapi32)
  3238. WINE_CONFIG_MAKEFILE(dlls/wtsapi32/tests)
  3239. WINE_CONFIG_MAKEFILE(dlls/wuapi)
  3240. WINE_CONFIG_MAKEFILE(dlls/wuaueng)
  3241. WINE_CONFIG_MAKEFILE(dlls/x3daudio1_0)
  3242. WINE_CONFIG_MAKEFILE(dlls/x3daudio1_1)
  3243. WINE_CONFIG_MAKEFILE(dlls/x3daudio1_2)
  3244. WINE_CONFIG_MAKEFILE(dlls/x3daudio1_3)
  3245. WINE_CONFIG_MAKEFILE(dlls/x3daudio1_4)
  3246. WINE_CONFIG_MAKEFILE(dlls/x3daudio1_5)
  3247. WINE_CONFIG_MAKEFILE(dlls/x3daudio1_6)
  3248. WINE_CONFIG_MAKEFILE(dlls/x3daudio1_7)
  3249. WINE_CONFIG_MAKEFILE(dlls/xactengine2_0)
  3250. WINE_CONFIG_MAKEFILE(dlls/xactengine2_4)
  3251. WINE_CONFIG_MAKEFILE(dlls/xactengine2_7)
  3252. WINE_CONFIG_MAKEFILE(dlls/xactengine2_9)
  3253. WINE_CONFIG_MAKEFILE(dlls/xactengine3_0)
  3254. WINE_CONFIG_MAKEFILE(dlls/xactengine3_1)
  3255. WINE_CONFIG_MAKEFILE(dlls/xactengine3_2)
  3256. WINE_CONFIG_MAKEFILE(dlls/xactengine3_3)
  3257. WINE_CONFIG_MAKEFILE(dlls/xactengine3_4)
  3258. WINE_CONFIG_MAKEFILE(dlls/xactengine3_5)
  3259. WINE_CONFIG_MAKEFILE(dlls/xactengine3_6)
  3260. WINE_CONFIG_MAKEFILE(dlls/xactengine3_7)
  3261. WINE_CONFIG_MAKEFILE(dlls/xactengine3_7/tests)
  3262. WINE_CONFIG_MAKEFILE(dlls/xapofx1_1)
  3263. WINE_CONFIG_MAKEFILE(dlls/xapofx1_2)
  3264. WINE_CONFIG_MAKEFILE(dlls/xapofx1_3)
  3265. WINE_CONFIG_MAKEFILE(dlls/xapofx1_4)
  3266. WINE_CONFIG_MAKEFILE(dlls/xapofx1_5)
  3267. WINE_CONFIG_MAKEFILE(dlls/xaudio2_0)
  3268. WINE_CONFIG_MAKEFILE(dlls/xaudio2_1)
  3269. WINE_CONFIG_MAKEFILE(dlls/xaudio2_2)
  3270. WINE_CONFIG_MAKEFILE(dlls/xaudio2_3)
  3271. WINE_CONFIG_MAKEFILE(dlls/xaudio2_4)
  3272. WINE_CONFIG_MAKEFILE(dlls/xaudio2_5)
  3273. WINE_CONFIG_MAKEFILE(dlls/xaudio2_6)
  3274. WINE_CONFIG_MAKEFILE(dlls/xaudio2_7)
  3275. WINE_CONFIG_MAKEFILE(dlls/xaudio2_7/tests)
  3276. WINE_CONFIG_MAKEFILE(dlls/xaudio2_8)
  3277. WINE_CONFIG_MAKEFILE(dlls/xaudio2_9)
  3278. WINE_CONFIG_MAKEFILE(dlls/xinput1_1)
  3279. WINE_CONFIG_MAKEFILE(dlls/xinput1_2)
  3280. WINE_CONFIG_MAKEFILE(dlls/xinput1_3)
  3281. WINE_CONFIG_MAKEFILE(dlls/xinput1_3/tests)
  3282. WINE_CONFIG_MAKEFILE(dlls/xinput1_4)
  3283. WINE_CONFIG_MAKEFILE(dlls/xinput9_1_0)
  3284. WINE_CONFIG_MAKEFILE(dlls/xmllite)
  3285. WINE_CONFIG_MAKEFILE(dlls/xmllite/tests)
  3286. WINE_CONFIG_MAKEFILE(dlls/xolehlp)
  3287. WINE_CONFIG_MAKEFILE(dlls/xpsprint)
  3288. WINE_CONFIG_MAKEFILE(dlls/xpssvcs)
  3289. WINE_CONFIG_MAKEFILE(fonts)
  3290. WINE_CONFIG_MAKEFILE(include)
  3291. WINE_CONFIG_MAKEFILE(libs/adsiid)
  3292. WINE_CONFIG_MAKEFILE(libs/dmoguids)
  3293. WINE_CONFIG_MAKEFILE(libs/dxerr8)
  3294. WINE_CONFIG_MAKEFILE(libs/dxerr9)
  3295. WINE_CONFIG_MAKEFILE(libs/dxguid)
  3296. WINE_CONFIG_MAKEFILE(libs/faudio)
  3297. WINE_CONFIG_MAKEFILE(libs/gsm)
  3298. WINE_CONFIG_MAKEFILE(libs/jpeg)
  3299. WINE_CONFIG_MAKEFILE(libs/jxr)
  3300. WINE_CONFIG_MAKEFILE(libs/lcms2)
  3301. WINE_CONFIG_MAKEFILE(libs/mfuuid)
  3302. WINE_CONFIG_MAKEFILE(libs/mpg123)
  3303. WINE_CONFIG_MAKEFILE(libs/png)
  3304. WINE_CONFIG_MAKEFILE(libs/strmbase)
  3305. WINE_CONFIG_MAKEFILE(libs/strmiids)
  3306. WINE_CONFIG_MAKEFILE(libs/tiff)
  3307. WINE_CONFIG_MAKEFILE(libs/uuid)
  3308. WINE_CONFIG_MAKEFILE(libs/wbemuuid)
  3309. WINE_CONFIG_MAKEFILE(libs/wine)
  3310. WINE_CONFIG_MAKEFILE(libs/wmcodecdspuuid)
  3311. WINE_CONFIG_MAKEFILE(libs/xml2)
  3312. WINE_CONFIG_MAKEFILE(libs/xslt)
  3313. WINE_CONFIG_MAKEFILE(libs/zlib)
  3314. WINE_CONFIG_MAKEFILE(loader)
  3315. WINE_CONFIG_MAKEFILE(nls)
  3316. WINE_CONFIG_MAKEFILE(po)
  3317. WINE_CONFIG_MAKEFILE(programs/arp)
  3318. WINE_CONFIG_MAKEFILE(programs/aspnet_regiis)
  3319. WINE_CONFIG_MAKEFILE(programs/attrib)
  3320. WINE_CONFIG_MAKEFILE(programs/cabarc)
  3321. WINE_CONFIG_MAKEFILE(programs/cacls)
  3322. WINE_CONFIG_MAKEFILE(programs/chcp.com)
  3323. WINE_CONFIG_MAKEFILE(programs/clock)
  3324. WINE_CONFIG_MAKEFILE(programs/cmd)
  3325. WINE_CONFIG_MAKEFILE(programs/cmd/tests)
  3326. WINE_CONFIG_MAKEFILE(programs/conhost)
  3327. WINE_CONFIG_MAKEFILE(programs/conhost/tests)
  3328. WINE_CONFIG_MAKEFILE(programs/control)
  3329. WINE_CONFIG_MAKEFILE(programs/cscript)
  3330. WINE_CONFIG_MAKEFILE(programs/dism)
  3331. WINE_CONFIG_MAKEFILE(programs/dplaysvr)
  3332. WINE_CONFIG_MAKEFILE(programs/dpnsvr)
  3333. WINE_CONFIG_MAKEFILE(programs/dpvsetup)
  3334. WINE_CONFIG_MAKEFILE(programs/dxdiag)
  3335. WINE_CONFIG_MAKEFILE(programs/eject)
  3336. WINE_CONFIG_MAKEFILE(programs/expand)
  3337. WINE_CONFIG_MAKEFILE(programs/explorer)
  3338. WINE_CONFIG_MAKEFILE(programs/extrac32)
  3339. WINE_CONFIG_MAKEFILE(programs/fc)
  3340. WINE_CONFIG_MAKEFILE(programs/find)
  3341. WINE_CONFIG_MAKEFILE(programs/find/tests)
  3342. WINE_CONFIG_MAKEFILE(programs/findstr)
  3343. WINE_CONFIG_MAKEFILE(programs/fsutil)
  3344. WINE_CONFIG_MAKEFILE(programs/fsutil/tests)
  3345. WINE_CONFIG_MAKEFILE(programs/hh)
  3346. WINE_CONFIG_MAKEFILE(programs/hostname)
  3347. WINE_CONFIG_MAKEFILE(programs/icacls)
  3348. WINE_CONFIG_MAKEFILE(programs/icinfo)
  3349. WINE_CONFIG_MAKEFILE(programs/iexplore)
  3350. WINE_CONFIG_MAKEFILE(programs/ipconfig)
  3351. WINE_CONFIG_MAKEFILE(programs/lodctr)
  3352. WINE_CONFIG_MAKEFILE(programs/mofcomp)
  3353. WINE_CONFIG_MAKEFILE(programs/mshta)
  3354. WINE_CONFIG_MAKEFILE(programs/msidb)
  3355. WINE_CONFIG_MAKEFILE(programs/msiexec)
  3356. WINE_CONFIG_MAKEFILE(programs/msinfo32)
  3357. WINE_CONFIG_MAKEFILE(programs/net)
  3358. WINE_CONFIG_MAKEFILE(programs/netsh)
  3359. WINE_CONFIG_MAKEFILE(programs/netstat)
  3360. WINE_CONFIG_MAKEFILE(programs/ngen)
  3361. WINE_CONFIG_MAKEFILE(programs/notepad)
  3362. WINE_CONFIG_MAKEFILE(programs/oleview)
  3363. WINE_CONFIG_MAKEFILE(programs/ping)
  3364. WINE_CONFIG_MAKEFILE(programs/plugplay)
  3365. WINE_CONFIG_MAKEFILE(programs/powershell)
  3366. WINE_CONFIG_MAKEFILE(programs/presentationfontcache)
  3367. WINE_CONFIG_MAKEFILE(programs/progman)
  3368. WINE_CONFIG_MAKEFILE(programs/reg)
  3369. WINE_CONFIG_MAKEFILE(programs/reg/tests)
  3370. WINE_CONFIG_MAKEFILE(programs/regasm)
  3371. WINE_CONFIG_MAKEFILE(programs/regedit)
  3372. WINE_CONFIG_MAKEFILE(programs/regedit/tests)
  3373. WINE_CONFIG_MAKEFILE(programs/regini)
  3374. WINE_CONFIG_MAKEFILE(programs/regsvcs)
  3375. WINE_CONFIG_MAKEFILE(programs/regsvr32)
  3376. WINE_CONFIG_MAKEFILE(programs/robocopy)
  3377. WINE_CONFIG_MAKEFILE(programs/rpcss)
  3378. WINE_CONFIG_MAKEFILE(programs/rundll.exe16,enable_win16)
  3379. WINE_CONFIG_MAKEFILE(programs/rundll32)
  3380. WINE_CONFIG_MAKEFILE(programs/sc)
  3381. WINE_CONFIG_MAKEFILE(programs/schtasks)
  3382. WINE_CONFIG_MAKEFILE(programs/schtasks/tests)
  3383. WINE_CONFIG_MAKEFILE(programs/sdbinst)
  3384. WINE_CONFIG_MAKEFILE(programs/secedit)
  3385. WINE_CONFIG_MAKEFILE(programs/servicemodelreg)
  3386. WINE_CONFIG_MAKEFILE(programs/services)
  3387. WINE_CONFIG_MAKEFILE(programs/services/tests)
  3388. WINE_CONFIG_MAKEFILE(programs/shutdown)
  3389. WINE_CONFIG_MAKEFILE(programs/spoolsv)
  3390. WINE_CONFIG_MAKEFILE(programs/start)
  3391. WINE_CONFIG_MAKEFILE(programs/subst)
  3392. WINE_CONFIG_MAKEFILE(programs/svchost)
  3393. WINE_CONFIG_MAKEFILE(programs/systeminfo)
  3394. WINE_CONFIG_MAKEFILE(programs/taskkill)
  3395. WINE_CONFIG_MAKEFILE(programs/tasklist)
  3396. WINE_CONFIG_MAKEFILE(programs/taskmgr)
  3397. WINE_CONFIG_MAKEFILE(programs/termsv)
  3398. WINE_CONFIG_MAKEFILE(programs/uninstaller)
  3399. WINE_CONFIG_MAKEFILE(programs/unlodctr)
  3400. WINE_CONFIG_MAKEFILE(programs/view)
  3401. WINE_CONFIG_MAKEFILE(programs/wevtutil)
  3402. WINE_CONFIG_MAKEFILE(programs/where)
  3403. WINE_CONFIG_MAKEFILE(programs/whoami)
  3404. WINE_CONFIG_MAKEFILE(programs/wineboot)
  3405. WINE_CONFIG_MAKEFILE(programs/winebrowser)
  3406. WINE_CONFIG_MAKEFILE(programs/winecfg)
  3407. WINE_CONFIG_MAKEFILE(programs/wineconsole)
  3408. WINE_CONFIG_MAKEFILE(programs/winedbg)
  3409. WINE_CONFIG_MAKEFILE(programs/winedevice)
  3410. WINE_CONFIG_MAKEFILE(programs/winefile)
  3411. WINE_CONFIG_MAKEFILE(programs/winemenubuilder)
  3412. WINE_CONFIG_MAKEFILE(programs/winemine)
  3413. WINE_CONFIG_MAKEFILE(programs/winemsibuilder)
  3414. WINE_CONFIG_MAKEFILE(programs/winepath)
  3415. WINE_CONFIG_MAKEFILE(programs/winetest)
  3416. WINE_CONFIG_MAKEFILE(programs/winevdm,enable_win16)
  3417. WINE_CONFIG_MAKEFILE(programs/winhelp.exe16,enable_win16)
  3418. WINE_CONFIG_MAKEFILE(programs/winhlp32)
  3419. WINE_CONFIG_MAKEFILE(programs/winmgmt)
  3420. WINE_CONFIG_MAKEFILE(programs/winoldap.mod16,enable_win16)
  3421. WINE_CONFIG_MAKEFILE(programs/winver)
  3422. WINE_CONFIG_MAKEFILE(programs/wmic)
  3423. WINE_CONFIG_MAKEFILE(programs/wmplayer)
  3424. WINE_CONFIG_MAKEFILE(programs/wordpad)
  3425. WINE_CONFIG_MAKEFILE(programs/write)
  3426. WINE_CONFIG_MAKEFILE(programs/wscript)
  3427. WINE_CONFIG_MAKEFILE(programs/wscript/tests)
  3428. WINE_CONFIG_MAKEFILE(programs/wuauserv)
  3429. WINE_CONFIG_MAKEFILE(programs/wusa)
  3430. WINE_CONFIG_MAKEFILE(programs/xcopy)
  3431. WINE_CONFIG_MAKEFILE(programs/xcopy/tests)
  3432. WINE_CONFIG_MAKEFILE(server)
  3433. WINE_CONFIG_MAKEFILE(tools,,[test "x$enable_tools" = xno])
  3434. WINE_CONFIG_MAKEFILE(tools/sfnt2fon,,[test "x$enable_tools" = xno])
  3435. WINE_CONFIG_MAKEFILE(tools/widl,,[test "x$enable_tools" = xno])
  3436. WINE_CONFIG_MAKEFILE(tools/winebuild,,[test "x$enable_tools" = xno])
  3437. WINE_CONFIG_MAKEFILE(tools/winedump,,[test "x$enable_tools" = xno])
  3438. WINE_CONFIG_MAKEFILE(tools/winegcc,,[test "x$enable_tools" = xno])
  3439. WINE_CONFIG_MAKEFILE(tools/winemaker,,[test "x$enable_tools" = xno])
  3440. WINE_CONFIG_MAKEFILE(tools/wmc,,[test "x$enable_tools" = xno])
  3441. WINE_CONFIG_MAKEFILE(tools/wrc,,[test "x$enable_tools" = xno])
  3442. dnl End of auto-generated output commands
  3443. dnl Main ignore file
  3444. WINE_IGNORE_FILE("TAGS")
  3445. WINE_IGNORE_FILE("tags")
  3446. WINE_IGNORE_FILE("autom4te.cache")
  3447. WINE_IGNORE_FILE("config.log")
  3448. WINE_IGNORE_FILE("config.status")
  3449. WINE_IGNORE_FILE("include/config.h")
  3450. WINE_IGNORE_FILE("include/stamp-h")
  3451. test "$wine_binary" = wine || WINE_IGNORE_FILE("loader/wine")
  3452. if test "x$enable_tools" != xno
  3453. then
  3454. WINE_IGNORE_FILE("tools/makedep$ac_exeext")
  3455. AC_CONFIG_COMMANDS([tools/makedep],[wine_fn_output_makedep || AS_EXIT],
  3456. [wine_fn_output_makedep ()
  3457. {
  3458. AS_MKDIR_P(tools)
  3459. $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
  3460. }])
  3461. fi
  3462. AC_CONFIG_COMMANDS([Makefile], [wine_fn_output_makefile Makefile],
  3463. [wine_fn_output_makefile ()
  3464. {
  3465. cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$[]1 && "$wine_makedep"$makedep_flags && return
  3466. # This Makefile understands the following targets:
  3467. #
  3468. # all (default): build wine
  3469. # clean: remove all intermediate files
  3470. # distclean: also remove all files created by configure
  3471. # test: run tests
  3472. # testclean: clean test results to force running all tests again
  3473. # install-lib: install libraries needed to run applications
  3474. # install-dev: install development environment
  3475. # install: install everything
  3476. # uninstall: uninstall everything
  3477. # ctags: create a tags file for vim and others.
  3478. # etags: create a TAGS file for Emacs.
  3479. # manpages: compile manpages for Wine API
  3480. # htmlpages: compile html pages for Wine API
  3481. # sgmlpages: compile sgml source for the Wine API Guide
  3482. # xmlpages: compile xml source for the Wine API Guide
  3483. m4_set_foreach([_AC_SUBST_VARS],[var],[var = $var
  3484. ])$SET_MAKE
  3485. $wine_rules
  3486. _WINE_EOF
  3487. AS_ERROR([could not create Makefile])
  3488. }])
  3489. dnl Main makefile
  3490. AC_SUBST(SHELL,[/bin/sh])
  3491. WINE_APPEND_RULE(
  3492. [all: wine
  3493. @echo \"Wine build complete.\"
  3494. .INIT: Makefile
  3495. .MAKEFILEDEPS:
  3496. all: Makefile
  3497. Makefile: config.status \$(MAKEDEP)
  3498. @./config.status Makefile
  3499. depend: \$(MAKEDEP)
  3500. \$(MAKEDEP)$makedep_flags])
  3501. dnl Rules for re-running configure
  3502. WINE_APPEND_RULE(
  3503. [config.status: ${wine_srcdir}configure
  3504. @./config.status --recheck
  3505. include/config.h: include/stamp-h
  3506. include/stamp-h: ${wine_srcdir}include/config.h.in config.status
  3507. @./config.status include/config.h include/stamp-h])
  3508. if test "x$enable_maintainer_mode" = xyes
  3509. then
  3510. WINE_APPEND_RULE(
  3511. [configure: configure.ac aclocal.m4
  3512. autoconf --warnings=all
  3513. include/config.h.in: include/stamp-h.in
  3514. include/stamp-h.in: configure.ac aclocal.m4
  3515. autoheader --warnings=all
  3516. @echo timestamp > \$[@]])
  3517. fi
  3518. if test "x$enable_tools" != xno
  3519. then
  3520. WINE_APPEND_RULE(
  3521. [tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
  3522. @./config.status tools/makedep
  3523. Makefile: tools/makedep$ac_exeext])
  3524. else
  3525. WINE_APPEND_RULE(
  3526. [\$(MAKEDEP):
  3527. @echo \"You need to run make in $toolsdir first\" && false])
  3528. fi
  3529. dnl Rules for wineloader
  3530. if test -n "$with_wine64"
  3531. then
  3532. case "$with_wine64" in
  3533. /*) reldir="" ;;
  3534. *) reldir="../" ;;
  3535. esac
  3536. dnl Get rid of old symlinks
  3537. rm -f fonts server 2>/dev/null
  3538. WINE_APPEND_RULE(
  3539. [all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
  3540. loader/wine64 loader/wine64-preloader:
  3541. rm -f \$[@] && \$(LN_S) $reldir$with_wine64/\$[@] \$[@]
  3542. $with_wine64/loader/wine:
  3543. rm -f \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@]
  3544. $with_wine64/loader/wine-preloader:
  3545. rm -f \$[@] && \$(LN_S) $ac_pwd/loader/wine-preloader \$[@]
  3546. clean::
  3547. rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
  3548. else
  3549. TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
  3550. TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
  3551. fonts \
  3552. loader/wine.inf \
  3553. nls \
  3554. programs/msidb/msidb \
  3555. programs/msiexec/msiexec \
  3556. programs/notepad/notepad \
  3557. programs/regedit/regedit \
  3558. programs/regsvr32/regsvr32 \
  3559. programs/wineboot/wineboot \
  3560. programs/winecfg/winecfg \
  3561. programs/wineconsole/wineconsole \
  3562. programs/winedbg/winedbg \
  3563. programs/winefile/winefile \
  3564. programs/winemine/winemine \
  3565. programs/winepath/winepath \
  3566. server/wineserver"
  3567. case $host_os in
  3568. cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
  3569. *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
  3570. esac
  3571. fi
  3572. dnl Rules for cleaning
  3573. WINE_APPEND_RULE(
  3574. [distclean:: clean
  3575. rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)])
  3576. dnl Rules for API documentation
  3577. WINE_APPEND_RULE(
  3578. [install-manpages:: manpages
  3579. for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done])
  3580. dnl Rules for generated source files
  3581. WINE_APPEND_RULE(
  3582. [dlls/ntdll/unix/version.c: dummy
  3583. @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)
  3584. programs/winetest/build.rc: dummy
  3585. @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)
  3586. programs/winetest/build.nfo:
  3587. @-\$(CC) -v 2>\$[@]
  3588. 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
  3589. cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
  3590. mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$[@]])
  3591. dnl Misc rules
  3592. AC_SUBST(TAGSFLAGS,["--langmap='c:+.idl.l.rh,make:(Make*.in)'"])
  3593. WINE_APPEND_RULE(
  3594. [TAGS etags:
  3595. rm -f TAGS
  3596. (test -d .git && git ls-files || find -L $srcdir -name '*.[[ch]]' -print) | xargs etags -a \$(TAGSFLAGS)
  3597. tags ctags:
  3598. rm -f tags
  3599. (test -d .git && git ls-files || find -L $srcdir -name '*.[[ch]]' -print) | xargs ctags -a \$(TAGSFLAGS)
  3600. dummy:
  3601. .PHONY: depend dummy install-manpages])
  3602. AS_ECHO(" done") >&AS_MESSAGE_FD
  3603. AC_OUTPUT
  3604. if test "$no_create" = "yes"
  3605. then
  3606. exit 0
  3607. fi
  3608. WINE_PRINT_MESSAGES
  3609. AS_ECHO("
  3610. $as_me: Finished. Do '${ac_make}' to compile Wine.
  3611. ") >&AS_MESSAGE_FD
  3612. dnl Local Variables:
  3613. dnl comment-start: "dnl "
  3614. dnl comment-end: ""
  3615. dnl comment-start-skip: "\\bdnl\\b\\s *"
  3616. dnl compile-command: "autoreconf --warnings=all"
  3617. dnl End: