Commit 42a96e6f33702f1a1be6b891d41b01fac16912e5

Thomas de Grivel 2024-04-03T13:59:51

wip macos

diff --git a/.ic3_history b/.ic3_history
index bebc422..7e24c02 100644
--- a/.ic3_history
+++ b/.ic3_history
@@ -1,9 +1,3 @@
-type(beaucoup)
-beaucoup
-def beaucoup = (U8) beaucoup
-type(beaucoup)
-beacoup
-beaucoup
 1 / 4
 (Ratio) 1 / 4
 (Ratio) 1 / 4 * 2
@@ -97,3 +91,9 @@ defmodule Plop do
   def sq = fn (x) { x + x }
 end
 Plop.sq(4)
+defmodule Plop do def a = 1 end
+Plop.a
+(Sw) 123\
+(Sw) 123
+(Sw) 123/2
+(Sw) 123 / 2
diff --git a/config.subr b/config.subr
index d1db345..9ee7fb1 100644
--- a/config.subr
+++ b/config.subr
@@ -110,7 +110,7 @@ c_o_rule() {
 }
 
 c_ext_rule() {
-    c_o_rule "$2" "$3" | sed -e "s/[.]o:/$1:/"
+    c_o_rule "$2" "$3" | sed -e "s/\.o:/$1:/"
 }
 
 c_lo_rule() {
@@ -387,7 +387,7 @@ objc_o_rule() {
 }
 
 objc_ext_rule() {
-    objc_o_rule "$2" "$3" | sed -e "s/[.]o:/$1:/"
+    objc_o_rule "$2" "$3" | sed -e "s/\.o:/$1:/"
 }
 
 objc2ext() {
diff --git a/libc3_window/cairo/quartz/configure b/libc3_window/cairo/quartz/configure
index c395e23..f88f62b 100755
--- a/libc3_window/cairo/quartz/configure
+++ b/libc3_window/cairo/quartz/configure
@@ -37,11 +37,9 @@ OBJECTS_ASAN="$(c2ext .asan.lo "$SOURCES")"
 OBJECTS_ASAN="$OBJECTS_ASAN $(objc2ext .asan.lo "$OBJC_SOURCES")"
 echo "OBJECTS_ASAN = $OBJECTS_ASAN" >> ${CONFIG_MK}
 
-if $HAVE_GCOV; then
-    OBJECTS_COV="$(c2ext .cov.lo "$SOURCES")"
-    OBJECTS_COV="$OBJECTS_COV $(objc2ext .cov.lo "$OBJC_SOURCES")"
-    echo "OBJECTS_COV = $OBJECTS_COV" >> ${CONFIG_MK}
-fi
+OBJECTS_COV="$(c2ext .cov.lo "$SOURCES")"
+OBJECTS_COV="$OBJECTS_COV $(objc2ext .cov.lo "$OBJC_SOURCES")"
+echo "OBJECTS_COV = $OBJECTS_COV" >> ${CONFIG_MK}
 
 OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
 OBJECTS_DEBUG="$OBJECTS_DEBUG $(objc2ext .debug.lo "$OBJC_SOURCES")"