From 2f815cfc436d2df715abcafe8634f496a938d357 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 14 Jun 2021 20:04:12 +0000 Subject: build system: modern.m4: m4_pathvar(): also convert hyphen to an underscore. --- sofort/core/modern.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sofort/core/modern.m4 b/sofort/core/modern.m4 index ddee8bf..ad75ca9 100644 --- a/sofort/core/modern.m4 +++ b/sofort/core/modern.m4 @@ -88,7 +88,7 @@ m4_define([_],m4_defn([m4_dnl])) m4_define([m4_toupper],[m4_translit([[$1]],[[abcdefghijklmnopqrstuvwxyz]],[[ABCDEFGHIJKLMNOPQRSTUVWXYZ]])]) m4_define([m4_tolower],[m4_translit([[$1]],[[ABCDEFGHIJKLMNOPQRSTUVWXYZ]],[[abcdefghijklmnopqrstuvwxyz]])]) -m4_define([m4_pathvar],[m4_translit(m4_toupper([[$1]]),[/],[_])]) +m4_define([m4_pathvar],[m4_translit(m4_toupper([[$1]]),[/-],[__])]) m4_define([m4_srclist],[[$1] = \]) m4_define([m4_srcitem],[m4_tab[$1] \]) -- cgit v1.2.3