]>
Commit | Line | Data |
---|---|---|
dc266775 JB |
1 | --- libcaca-0.99.beta20/configure.ac.orig 2021-12-05 21:19:06.371427650 +0100 |
2 | +++ libcaca-0.99.beta20/configure.ac 2021-12-05 21:23:03.620142363 +0100 | |
3 | @@ -269,7 +269,7 @@ if test "${enable_cocoa}" != "no"; then | |
4 | [ac_cv_my_have_cocoa="yes"]) | |
5 | CFLAGS="$save_CFLAGS" | |
6 | if test "${ac_cv_my_have_cocoa}" = "yes"; then | |
7 | - [[[ "$target_os" =~ [0-9]+ ]]] && darwin_ver="${BASH_REMATCH[[0]]}" | |
c1b23ee8 | 8 | + [darwin_ver="$(echo "${target_os}" | sed -ne 's/[^0-9]*\([0-9]\+\).*/\1/p')"] |
dc266775 JB |
9 | case x${target} in |
10 | xpowerpc*darwin*) | |
11 | # 10.3 needed to link with X11 |