diff options
author | midipix <writeonce@midipix.org> | 2018-12-14 18:02:16 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-14 18:02:16 -0500 |
commit | 5025501c77fe186f3ae23d0e8825482277c142e0 (patch) | |
tree | ea7a51c7d7a86dfb67285f1fb1fb6398f8d4432a /sofort | |
parent | ded2ca77772d8b2cb9ada3ea33e70e11bbf92150 (diff) | |
download | sbpython2-5025501c77fe186f3ae23d0e8825482277c142e0.tar.bz2 sbpython2-5025501c77fe186f3ae23d0e8825482277c142e0.tar.xz |
cfgtest.sh: cfgtest_interface_presence(): always output also a "simple" macro.
Diffstat (limited to 'sofort')
-rw-r--r-- | sofort/cfgtest.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sofort/cfgtest.sh b/sofort/cfgtest.sh index cb1e069..77ce1ea 100644 --- a/sofort/cfgtest.sh +++ b/sofort/cfgtest.sh @@ -146,6 +146,12 @@ cfgtest_interface_presence() > /dev/null 2>/dev/null \ || return 1 + mb_internal_str=$(printf '%s%s' '-DHAVE_' "$@" \ + | sed -e 's/\./_/g' \ + | tr "[:lower:]" "[:upper:]") + + cfgtest_cflags_append "$mb_internal_str" + return 0 } |