gambas-source-code/gb.gtk3/configure.ac
Laurent Carlier 2fc17bacba
gb.gtk3.opengl: in some circumstances, opengl component needs linking with gl libraries
[GB.GTK3.OPENGL]
* BUG: Add linking against openGL libraries.
2022-03-13 13:57:14 +01:00

51 lines
1.1 KiB
Text

dnl ---- configure.ac for gb.gtk3 component
m4_include([../version.m4])
AC_INIT(gambas3-gb-gtk3, GB_VERSION, GB_MAIL, [], GB_URL)
AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.gtk3)
AC_PROG_LIBTOOL
GB_CHECK_XWINDOW()
GB_COMPONENT_PKG_CONFIG(
gtk3, GTK3, gb.gtk3, [src],
'gtk+-3.0 >= 3.4' 'librsvg-2.0 >= 2.14.3' 'cairo >= 1.6.0' 'cairo-ft >= 1.6.0' 'gtk+-unix-print-3.0 >= 3.4' sm ice
)
GB_COMPONENT_PKG_CONFIG(
gtk3x11, GTK3X11, gb.gtk3.x11, [x11],
'gtk+-3.0 >= 3.4' gdk-x11-3.0
)
GB_COMPONENT_PKG_CONFIG(
gtk3wayland, GTK3WAYLAND, gb.gtk3.wayland, [wayland],
'gtk+-3.0 >= 3.4' gdk-wayland-3.0
)
GB_COMPONENT_PKG_CONFIG(
gtk3webview, GTK3WEBVIEW, gb.gtk3.webview, [webview],
'gtk+-3.0 >= 3.4' 'webkit2gtk-4.0 >= 2.20'
)
GB_COMPONENT_PKG_CONFIG_AGAIN(
gtk3webview, GTK3WEBVIEW, gb.gtk3.webview, [webview],
'gtk+-3.0 >= 3.4' 'webkit2gtk-4.1 >= 2.20',
[Try again with webkit2gtk-4.1])
GB_COMPONENT_PKG_CONFIG(
gtk3opengl, GTK3OPENGL, gb.gtk3.opengl, [opengl],
'gtk+-3.0 >= 3.16' gl
)
AC_OUTPUT( \
Makefile \
src/Makefile \
src/x11/Makefile \
src/wayland/Makefile \
src/webview/Makefile \
src/opengl/Makefile
)
GB_PRINT_MESSAGES