diff options
author | midipix <writeonce@midipix.org> | 2021-06-14 20:04:12 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-14 20:05:13 +0000 |
commit | 38fe6ef0e75fadc77f6f47efd783dc622b31d7d2 (patch) | |
tree | 12064e13ea5bb5be699d393d9356c9ca596f3502 | |
parent | d4638c81fe097e9831d6599ff17656df73629f36 (diff) | |
download | bautomake-38fe6ef0e75fadc77f6f47efd783dc622b31d7d2.tar.bz2 bautomake-38fe6ef0e75fadc77f6f47efd783dc622b31d7d2.tar.xz |
build system: modern.m4: m4_pathvar(): also convert hyphen to an underscore.
-rw-r--r-- | sofort/core/modern.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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] \]) |