From dd45b68a8ac8e68e78235ee0d1d2a79332b87afe Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 14 2018 23:05:52 +0000 Subject: cfgtest.sh: cfgtest_interface_presence(): always output also a "simple" macro. --- 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 }