diff options
author | midipix <writeonce@midipix.org> | 2018-12-14 18:02:16 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-14 18:05:52 -0500 |
commit | dd45b68a8ac8e68e78235ee0d1d2a79332b87afe (patch) | |
tree | cabcb8dae38f4a912c37b89836bdc1819e1a73df | |
parent | 5a50911c692dd51c582709b7c02e1fee86ee0c42 (diff) | |
download | sofort-dd45b68a8ac8e68e78235ee0d1d2a79332b87afe.tar.bz2 sofort-dd45b68a8ac8e68e78235ee0d1d2a79332b87afe.tar.xz |
cfgtest.sh: cfgtest_interface_presence(): always output also a "simple" macro.
-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 } |