Commit aa48acf9b1a655375e74e4a5334afce09e0ec115

Thomas de Grivel 2024-02-27T16:57:58

fix compilation on mac

diff --git a/libc3/window/cairo/configure b/libc3/window/cairo/configure
index 5fff858..11d853e 100755
--- a/libc3/window/cairo/configure
+++ b/libc3/window/cairo/configure
@@ -45,6 +45,7 @@ config_asan
 config_gnu
 pkg_config libbsd-overlay
 pkg_config libffi
+pkg_config libmd
 pkg_config cairo
 pkg_config cairo-ft
 pkg_config freetype2
diff --git a/libc3/window/cairo/demo/configure b/libc3/window/cairo/demo/configure
index 535863a..9c56396 100755
--- a/libc3/window/cairo/demo/configure
+++ b/libc3/window/cairo/demo/configure
@@ -44,6 +44,7 @@ config_asan
 config_gnu
 pkg_config libbsd-overlay
 pkg_config libffi
+pkg_config libmd
 pkg_config cairo
 pkg_config xkbcommon
 config_define PREFIX "\"${PREFIX}\""
diff --git a/libc3/window/cairo/quartz/configure b/libc3/window/cairo/quartz/configure
index 6d24937..3f6a9b1 100755
--- a/libc3/window/cairo/quartz/configure
+++ b/libc3/window/cairo/quartz/configure
@@ -59,6 +59,7 @@ pkg_config cairo
 pkg_config cairo-ft
 config_lib COCOA -framework Cocoa
 pkg_config libffi
+pkg_config libmd
 pkg_config xkbcommon
 
 # Asan config
diff --git a/libc3/window/cairo/quartz/demo/configure b/libc3/window/cairo/quartz/demo/configure
index f2e7cbd..db1070e 100755
--- a/libc3/window/cairo/quartz/demo/configure
+++ b/libc3/window/cairo/quartz/demo/configure
@@ -82,6 +82,7 @@ config_gnu
 pkg_config cairo
 pkg_config cairo-ft
 pkg_config libffi
+pkg_config libmd
 pkg_config xkbcommon
 
 # Asan config
diff --git a/libc3/window/cairo/win32/configure b/libc3/window/cairo/win32/configure
index f612b27..b687eb2 100644
--- a/libc3/window/cairo/win32/configure
+++ b/libc3/window/cairo/win32/configure
@@ -51,6 +51,7 @@ pkg_config xkbcommon
 pkg_config cairo
 pkg_config cairo-win32
 pkg_config libbsd-overlay
+pkg_config libmd
 config_define PREFIX "\"${PREFIX}\""
 update_config_h
 LIBS="$LIBS -lxkbcommon"
diff --git a/libc3/window/cairo/xcb/configure b/libc3/window/cairo/xcb/configure
index 3e7cf94..b406827 100755
--- a/libc3/window/cairo/xcb/configure
+++ b/libc3/window/cairo/xcb/configure
@@ -44,9 +44,11 @@ config_asan
 config_gnu
 pkg_config libbsd-overlay
 pkg_config libffi
+pkg_config libmd
 pkg_config xcb
 pkg_config xkbcommon
 pkg_config cairo
+pkg_config cairo-xcb
 config_define PREFIX "\"${PREFIX}\""
 update_config_h
 LIBS="$LIBS -lxkbcommon -lxkbcommon-x11"
diff --git a/libc3/window/cairo/xcb/demo/configure b/libc3/window/cairo/xcb/demo/configure
index cce9afb..e37a7e0 100755
--- a/libc3/window/cairo/xcb/demo/configure
+++ b/libc3/window/cairo/xcb/demo/configure
@@ -50,6 +50,7 @@ config_asan
 config_gnu
 pkg_config libbsd-overlay
 pkg_config libffi
+pkg_config libmd
 pkg_config xcb
 pkg_config cairo
 LIBS="$LIBS"
diff --git a/libc3/window/configure b/libc3/window/configure
index 9f6ab94..8454536 100755
--- a/libc3/window/configure
+++ b/libc3/window/configure
@@ -44,6 +44,7 @@ config_asan
 config_gnu
 pkg_config libbsd-overlay
 pkg_config libffi
+pkg_config libmd
 config_define PREFIX "\"${PREFIX}\""
 
 # Address Sanitizer config
diff --git a/libc3/window/sdl2/configure b/libc3/window/sdl2/configure
index f5216c8..0c68373 100755
--- a/libc3/window/sdl2/configure
+++ b/libc3/window/sdl2/configure
@@ -44,6 +44,7 @@ LIBS="$LIBS -rpath ${PREFIX}/lib"
 config_asan
 config_gnu
 pkg_config libbsd-overlay
+pkg_config libmd
 pkg_config freetype2
 pkg_config gl
 pkg_config glew
diff --git a/libc3/window/sdl2/demo/configure b/libc3/window/sdl2/demo/configure
index 0529b69..65a0a4e 100755
--- a/libc3/window/sdl2/demo/configure
+++ b/libc3/window/sdl2/demo/configure
@@ -51,6 +51,7 @@ LIBS="$LIBS -lm -fopenmp"
 config_asan
 config_gnu
 pkg_config libbsd-overlay
+pkg_config libmd
 pkg_config freetype2
 pkg_config gl
 pkg_config glew