From 86ce91746df24ff0ab6d53b91797f988ac4c85e9 Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 19 2018 01:38:38 +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 }