configure.ac 139 KB

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